All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: netdev@vger.kernel.org
Cc: Jakub Kicinski <kuba@kernel.org>,
	"David S. Miller" <davem@davemloft.net>,
	Paolo Abeni <pabeni@redhat.com>,
	Eric Dumazet <edumazet@google.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Andrew Lunn <andrew@lunn.ch>, Vladimir Oltean <olteanv@gmail.com>,
	Claudiu Manoil <claudiu.manoil@nxp.com>,
	Alexandre Belloni <alexandre.belloni@bootlin.com>,
	UNGLinuxDriver@microchip.com,
	Xiaoliang Yang <xiaoliang.yang_1@nxp.com>,
	Colin Foster <colin.foster@in-advantage.com>
Subject: [PATCH net-next 0/5] Ocelot VCAP cleanups
Date: Tue,  3 May 2022 15:01:45 +0300	[thread overview]
Message-ID: <20220503120150.837233-1-vladimir.oltean@nxp.com> (raw)

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


             reply	other threads:[~2022-05-03 12:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-03 12:01 Vladimir Oltean [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220503120150.837233-1-vladimir.oltean@nxp.com \
    --to=vladimir.oltean@nxp.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=alexandre.belloni@bootlin.com \
    --cc=andrew@lunn.ch \
    --cc=claudiu.manoil@nxp.com \
    --cc=colin.foster@in-advantage.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=f.fainelli@gmail.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=vivien.didelot@gmail.com \
    --cc=xiaoliang.yang_1@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.