This patchset enables DCB in SRIOV (ETH_MQ_RX_VMDQ_DCB and ETH_MQ_TX_VMDQ_DCB) for each VF and PF for ixgbe driver.
As a side effect this allow to use multiple queues for TX in VF (8 if there is 16 or less VFs or 4 if there is 32 or less VFs) when PFC is not enabled. PATCH v4 changes: - resend patch as previous was sent by mistake with different one. PATCH v3 changes: - Rework patch to fit ixgbe RSS in VT mode changes. - move driver specific code from rte_ethdev.c to driver code. - fix bug ixgbe driver VLAN filter enable in PF discoveded during testing. PATCH v2 changes: - Split patch for easer review. - Remove "pmd: add api version negotiation for ixgbe driver" and "pmd: extend mailbox api to report number of RX/TX queues" patches as those are already already marged from other patch Pawel Wodkowski (7): ethdev: Allow zero rx/tx queues in SRIOV mode pmd igb: fix VMDQ mode checking pmd: igb/ixgbe split nb_q_per_pool to rx and tx nb_q_per_pool move rte_eth_dev_check_mq_mode() logic to ixgbe driver pmd ixgbe: enable DCB in SRIOV tespmd: fix DCB in SRIOV mode support pmd ixgbe: fix vlan setting in in PF app/test-pmd/cmdline.c | 4 +- app/test-pmd/testpmd.c | 39 +++++-- app/test-pmd/testpmd.h | 10 -- lib/librte_ether/rte_ethdev.c | 212 ++-------------------------------- lib/librte_ether/rte_ethdev.h | 3 +- lib/librte_pmd_e1000/igb_ethdev.c | 45 +++++++- lib/librte_pmd_e1000/igb_pf.c | 3 +- lib/librte_pmd_e1000/igb_rxtx.c | 2 +- lib/librte_pmd_ixgbe/ixgbe_ethdev.c | 126 ++++++++++++++++++--- lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 5 +- lib/librte_pmd_ixgbe/ixgbe_pf.c | 220 +++++++++++++++++++++++++++++++----- lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 18 +-- 12 files changed, 407 insertions(+), 280 deletions(-) -- 1.9.1