All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] Ocelot VCAP cleanups
@ 2022-05-03 12:01 Vladimir Oltean
  2022-05-03 12:01 ` [PATCH net-next 1/5] net: mscc: ocelot: use list_add_tail in ocelot_vcap_filter_add_to_block() Vladimir Oltean
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vladimir Oltean @ 2022-05-03 12:01 UTC (permalink / raw)
  To: netdev
  Cc: Jakub Kicinski, David S. Miller, Paolo Abeni, Eric Dumazet,
	Florian Fainelli, Vivien Didelot, Andrew Lunn, Vladimir Oltean,
	Claudiu Manoil, Alexandre Belloni, UNGLinuxDriver,
	Xiaoliang Yang, Colin Foster

This is a series of minor code cleanups brought to the Ocelot switch
driver logic for VCAP filters.

- don't use list_for_each_safe() in ocelot_vcap_filter_add_to_block
- don't use magic numbers for OCELOT_POLICER_DISCARD

Vladimir Oltean (5):
  net: mscc: ocelot: use list_add_tail in
    ocelot_vcap_filter_add_to_block()
  net: mscc: ocelot: add to tail of empty list in
    ocelot_vcap_filter_add_to_block
  net: mscc: ocelot: use list_for_each_entry in
    ocelot_vcap_filter_add_to_block
  net: mscc: ocelot: drop port argument from qos_policer_conf_set
  net: mscc: ocelot: don't use magic numbers for OCELOT_POLICER_DISCARD

 drivers/net/ethernet/mscc/ocelot_police.c | 26 +++++++++-------
 drivers/net/ethernet/mscc/ocelot_police.h |  2 +-
 drivers/net/ethernet/mscc/ocelot_vcap.c   | 38 +++++++++--------------
 3 files changed, 31 insertions(+), 35 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-05  3:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-03 12:01 [PATCH net-next 0/5] Ocelot VCAP cleanups Vladimir Oltean
2022-05-03 12:01 ` [PATCH net-next 1/5] net: mscc: ocelot: use list_add_tail in ocelot_vcap_filter_add_to_block() Vladimir Oltean
2022-05-03 12:01 ` [PATCH net-next 2/5] net: mscc: ocelot: add to tail of empty list in ocelot_vcap_filter_add_to_block Vladimir Oltean
2022-05-03 12:01 ` [PATCH net-next 3/5] net: mscc: ocelot: use list_for_each_entry " Vladimir Oltean
2022-05-03 12:01 ` [PATCH net-next 4/5] net: mscc: ocelot: drop port argument from qos_policer_conf_set Vladimir Oltean
2022-05-03 12:01 ` [PATCH net-next 5/5] net: mscc: ocelot: don't use magic numbers for OCELOT_POLICER_DISCARD Vladimir Oltean
2022-05-05  3:50 ` [PATCH net-next 0/5] Ocelot VCAP cleanups patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.