[PATCH v2 0/6] Enable DCB/PFC support for ICE PMD
Vladimir Medvedkin
vladimir.medvedkin at intel.com
Mon Aug 11 15:42:55 CEST 2025
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
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 | 178 +++++++++---
drivers/net/intel/ice/base/ice_common.h | 12 +-
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, 634 insertions(+), 61 deletions(-)
--
2.43.0
More information about the dev
mailing list