[PATCH v5 0/3] Enable DCB/PFC support for ICE PMD
Vladimir Medvedkin
vladimir.medvedkin at intel.com
Fri Oct 3 14:40:34 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
v5:
- drop base code patches
- rebase on top of the next-net
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 (3):
net/ice: enable DCB support
net/ice: enable PFC support
net/ice: add PFC statistics
drivers/net/intel/ice/ice_ethdev.c | 370 +++++++++++++++++++++++++++++
drivers/net/intel/ice/ice_rxtx.c | 21 ++
2 files changed, 391 insertions(+)
--
2.43.0
More information about the dev
mailing list