From: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
To: dev@dpdk.org
Cc: bruce.richardson@intel.com, anatoly.burakov@intel.com
Subject: [PATCH v4 0/6] Enable DCB/PFC support for ICE PMD
Date: Sun, 17 Aug 2025 13:01:46 +0000 [thread overview]
Message-ID: <20250817130152.682972-1-vladimir.medvedkin@intel.com> (raw)
In-Reply-To: <20250812173252.507954-1-vladimir.medvedkin@intel.com>
This series introduces an initial implementation of DCB and PFC to the ICE PMD.
This includes adding support for TCs in ice_aq_set_mac_cfg() and asymmetric DCB/PFC configuration in base code.
Current implementation relies on current API and has a number of limitation and assumptions such as:
- Symmetric DCB configuration with respect to RX/TX, only dcb_rx_conf is used
- All TCs are configured equally with respect to BW they share
- No support for Low Latency TCs
- All existing queues are split evenly across TCs. Number of queues must be power of 2 and be no less than configured nb_tcs
- TX queues assigned to TCs the same way as RX queues
v4:
- fix more endianness
v3:
- ice_get_tc_by_up() is renamed to ice_get_tc_by_priority() for better clarity
- added ice_aq_set_mac_pfc_cfg(). Old ice_aq_set_mac_cfg() is a wrapper around a new function to keep better backward compatibility with an old code
- removed rte_memcpy() and memcry() with direct assignment
- addressed various style-related comments
v2:
- fix spelling
- replace rte_memcpy with memcpy()
- fix endianness in several places
Vladimir Medvedkin (6):
net/ice/base: add utility functions
net/ice/base: make set MAC config TC aware
net/ice/base: add support for asymmetric PFC
net/ice: enable DCB support
net/ice: enable PFC support
net/ice: add PFC statistics
drivers/net/intel/ice/base/ice_common.c | 191 +++++++++---
drivers/net/intel/ice/base/ice_common.h | 11 +
drivers/net/intel/ice/base/ice_dcb.c | 96 +++++-
drivers/net/intel/ice/base/ice_dcb.h | 16 +-
drivers/net/intel/ice/base/ice_type.h | 2 +
drivers/net/intel/ice/ice_ethdev.c | 370 ++++++++++++++++++++++++
drivers/net/intel/ice/ice_rxtx.c | 21 ++
7 files changed, 650 insertions(+), 57 deletions(-)
--
2.43.0
next prev parent reply other threads:[~2025-08-17 13:02 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-07 12:22 [PATCH " Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 1/6] net/ice/base: add utility functions Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 2/6] net/ice/base: make set MAC config TC aware Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 3/6] net/ice/base: add supports for assymetric PFC Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 4/6] net/ice: enable DCB support Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 5/6] net/ice: enable PFC support Vladimir Medvedkin
2025-08-07 12:22 ` [PATCH 6/6] net/ice: add PFC statistics Vladimir Medvedkin
2025-08-11 13:42 ` [PATCH v2 0/6] Enable DCB/PFC support for ICE PMD Vladimir Medvedkin
2025-08-11 13:42 ` [PATCH v2 1/6] net/ice/base: add utility functions Vladimir Medvedkin
2025-08-11 14:02 ` Bruce Richardson
2025-08-11 13:42 ` [PATCH v2 2/6] net/ice/base: make set MAC config TC aware Vladimir Medvedkin
2025-08-11 13:42 ` [PATCH v2 3/6] net/ice/base: add support for asymmetric PFC Vladimir Medvedkin
2025-08-11 13:42 ` [PATCH v2 4/6] net/ice: enable DCB support Vladimir Medvedkin
2025-08-11 16:09 ` Bruce Richardson
2025-08-11 13:43 ` [PATCH v2 5/6] net/ice: enable PFC support Vladimir Medvedkin
2025-08-11 13:43 ` [PATCH v2 6/6] net/ice: add PFC statistics Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 0/6] Enable DCB/PFC support for ICE PMD Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 1/6] net/ice/base: add utility functions Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 2/6] net/ice/base: make set MAC config TC aware Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 3/6] net/ice/base: add support for asymmetric PFC Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 4/6] net/ice: enable DCB support Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 5/6] net/ice: enable PFC support Vladimir Medvedkin
2025-08-12 17:32 ` [PATCH v3 6/6] net/ice: add PFC statistics Vladimir Medvedkin
2025-08-17 13:01 ` Vladimir Medvedkin [this message]
2025-08-17 13:01 ` [PATCH v4 1/6] net/ice/base: add utility functions Vladimir Medvedkin
2025-08-17 13:01 ` [PATCH v4 2/6] net/ice/base: make set MAC config TC aware Vladimir Medvedkin
2025-08-17 13:01 ` [PATCH v4 3/6] net/ice/base: add support for asymmetric PFC Vladimir Medvedkin
2025-08-17 13:01 ` [PATCH v4 4/6] net/ice: enable DCB support Vladimir Medvedkin
2025-08-17 13:01 ` [PATCH v4 5/6] net/ice: enable PFC support Vladimir Medvedkin
2025-08-17 13:01 ` [PATCH v4 6/6] net/ice: add PFC statistics Vladimir Medvedkin
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=20250817130152.682972-1-vladimir.medvedkin@intel.com \
--to=vladimir.medvedkin@intel.com \
--cc=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=dev@dpdk.org \
/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;
as well as URLs for NNTP newsgroup(s).