[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220503120150.837233-1-vladimir.oltean@nxp.com>
Date: Tue, 3 May 2022 15:01:45 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org
Cc: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vivien Didelot <vivien.didelot@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vladimir Oltean <olteanv@...il.com>,
Claudiu Manoil <claudiu.manoil@....com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
UNGLinuxDriver@...rochip.com,
Xiaoliang Yang <xiaoliang.yang_1@....com>,
Colin Foster <colin.foster@...advantage.com>
Subject: [PATCH net-next 0/5] Ocelot VCAP cleanups
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
Powered by blists - more mailing lists