From: Horatiu Vultur <horatiu.vultur@microchip.com>
To: <linux-kernel@vger.kernel.org>, <netdev@vger.kernel.org>
Cc: <davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <UNGLinuxDriver@microchip.com>,
<daniel.machon@microchip.com>, <piotr.raczynski@intel.com>,
Horatiu Vultur <horatiu.vultur@microchip.com>
Subject: [PATCH net-next v2 0/7] net: lan966x: Add support for PCP, DEI, DSCP
Date: Tue, 16 May 2023 22:14:01 +0200 [thread overview]
Message-ID: <20230516201408.3172428-1-horatiu.vultur@microchip.com> (raw)
This patch series extends lan966x to offload to the hardware the
following features:
- PCP: this configuration is per port both at ingress and egress.
- App trust: which allows to specify a trust order of app selectors.
This can be PCP or DSCP or DSCP/PCP.
- default priority
- DSCP: this configuration is shared between the ports both at ingress
and egress.
v1->v2:
- fix whitespace between app_itr and .priority in patch 2
- simplify function lan966x_dcb_ieee_setapp by removing goto and use
returns instead
- remove check against 0
Horatiu Vultur (7):
net: lan966x: Add registers to configure PCP, DEI, DSCP
net: lan966x: Add support for offloading pcp table
net: lan966x: Add support for apptrust
net: lan966x: Add support for offloading dscp table
net: lan966x: Add support for offloading default prio
net: lan966x: Add support for PCP rewrite
net: lan966x: Add support for DSCP rewrite
.../net/ethernet/microchip/lan966x/Kconfig | 11 +
.../net/ethernet/microchip/lan966x/Makefile | 1 +
.../ethernet/microchip/lan966x/lan966x_dcb.c | 365 ++++++++++++++++++
.../ethernet/microchip/lan966x/lan966x_main.c | 2 +
.../ethernet/microchip/lan966x/lan966x_main.h | 57 +++
.../ethernet/microchip/lan966x/lan966x_port.c | 149 +++++++
.../ethernet/microchip/lan966x/lan966x_regs.h | 132 +++++++
7 files changed, 717 insertions(+)
create mode 100644 drivers/net/ethernet/microchip/lan966x/lan966x_dcb.c
--
2.38.0
next reply other threads:[~2023-05-16 20:14 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 20:14 Horatiu Vultur [this message]
2023-05-16 20:14 ` [PATCH net-next v2 1/7] net: lan966x: Add registers to configure " Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 2/7] net: lan966x: Add support for offloading pcp table Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 3/7] net: lan966x: Add support for apptrust Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 4/7] net: lan966x: Add support for offloading dscp table Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 5/7] net: lan966x: Add support for offloading default prio Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 6/7] net: lan966x: Add support for PCP rewrite Horatiu Vultur
2023-05-16 20:14 ` [PATCH net-next v2 7/7] net: lan966x: Add support for DSCP rewrite Horatiu Vultur
2023-05-18 13:50 ` [PATCH net-next v2 0/7] net: lan966x: Add support for PCP, DEI, DSCP 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=20230516201408.3172428-1-horatiu.vultur@microchip.com \
--to=horatiu.vultur@microchip.com \
--cc=UNGLinuxDriver@microchip.com \
--cc=daniel.machon@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=piotr.raczynski@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®