net/i40e: enable DCB on SRIOV VFs
authorJingjing Wu <jingjing.wu@intel.com>
Tue, 28 Feb 2017 06:26:30 +0000 (14:26 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:51 +0000 (15:52 +0200)
commit6f0a707e5b555293ab71a75202ac3935bb32667e
tree51b440582b506da102488e963359c6e46b18c9ce
parentbcd0e4326647b1dcf564dbbdfd5d8a1a58224d75
net/i40e: enable DCB on SRIOV VFs

enable DCB on SRIOV VFs, including
 - UP and TC mapping according to dcb_tc in struct rte_eth_dcb_rx_conf.
 - TC and queue mapping: queues are divided equally for each TC.
 - UP insert when sending packet according to the TC the Tx queue
   belongs to.

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_pf.c