The patch set enables DCB feature on Intel XL710/X710 NICs, including: - Receive queue classification based on traffic class - Round Robin ETS schedule (rx and tx). - Priority flow control To make the testpmd and ethdev lib more generic on DCB feature, this patch set also - adds a new API to get DCB related information on NICs. - changes the DCB test forwarding in testpmd to be on traffic class. - move specific validation from lib and application to drivers. Additionally, this patch set also corrects some coding style issues.
v2 changes: - add a command in testpmd to display dcb info - update testpmd guide and release note Jingjing Wu (10): ethdev: rename dcb_queue to dcb_tc in dcb config struct ethdev: move the multi-queue checking to specific drivers i40e: enable DCB feature on FVL ixgbe: enable DCB+RSS multi-queue mode ethdev: new API to get dcb related information ixgbe: get_dcb_info ops implement i40e: get_dcb_info ops implement app/testpmd: set up DCB forwarding based on traffic class app/testpmd: add command to display DCB info doc: update testpmd guide and release note app/test-pmd/cmdline.c | 54 ++- app/test-pmd/config.c | 202 +++++----- app/test-pmd/testpmd.c | 151 ++++---- app/test-pmd/testpmd.h | 24 +- doc/guides/rel_notes/release_2_2.rst | 6 + doc/guides/testpmd_app_ug/testpmd_funcs.rst | 12 +- drivers/net/e1000/igb_ethdev.c | 84 +++- drivers/net/i40e/i40e_ethdev.c | 574 +++++++++++++++++++++++++++- drivers/net/i40e/i40e_ethdev.h | 14 + drivers/net/i40e/i40e_rxtx.c | 32 +- drivers/net/i40e/i40e_rxtx.h | 2 + drivers/net/ixgbe/ixgbe_ethdev.c | 251 ++++++++++++ drivers/net/ixgbe/ixgbe_ethdev.h | 3 + drivers/net/ixgbe/ixgbe_rxtx.c | 58 +-- examples/vmdq_dcb/main.c | 4 +- lib/librte_ether/rte_ethdev.c | 217 +---------- lib/librte_ether/rte_ethdev.h | 68 +++- 17 files changed, 1303 insertions(+), 453 deletions(-) -- 2.4.0