[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-29 Thread Lu, Wenzhuo
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Friday, August 26, 2016 6:04 PM > To: Lu, Wenzhuo; dev at dpdk.org > Cc: De Lara Guarch, Pablo; Wu, Jingjing > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixg

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-26 Thread Iremonger, Bernard
Hi Wenzhuo, > > > > If nb_rxq and nb_txq are set to max_rx_queues and max_tx_queues > > > > respectively, there is a failure when the port is started in > > > > ixgbe_check_mq_mode() at line > > > > 1990 in ixgbe_ethdev.c. > > > > SRIOV is active, nb_rx_q=128 nb_tx_q=128 queue number must be

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-26 Thread Lu, Wenzhuo
Hi Bernard, > > > > > > > > The return value of rte_eth_dev_configure() should be checked. > > > > Calling rte_eth_dev_configure() with parameters nb_rx_q and > > > > nb_tx_q equal to 0 returns -EINVAL, and does nothing. > > > > Should the values of nb_rx_q and nb_tx_q be non zero? > > The 0 is

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-25 Thread Iremonger, Bernard
Hi Wenzhuo, > > > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on > > > > ixgbe > > > > > > > > An issue is found that DCB cannot be configured on ixgbe NICs. > > > > It's said the TX queue number is not right. >

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-25 Thread Lu, Wenzhuo
Hi Bernard, > -Original Message- > From: Iremonger, Bernard > Sent: Wednesday, August 24, 2016 11:22 PM > To: Iremonger, Bernard; Lu, Wenzhuo; dev at dpdk.org > Cc: De Lara Guarch, Pablo; Lu, Wenzhuo > Subject: RE: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issu

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-24 Thread Iremonger, Bernard
Hi Wenzhuo, > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe > > > > An issue is found that DCB cannot be configured on ixgbe NICs. It's > > said the TX queue number is not right. > > On ixgbe the max TX queue number is not fixed, it d

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-24 Thread Iremonger, Bernard
Hi Wenzhuo, > -Original Message- > From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Wenzhuo Lu > Sent: Friday, August 5, 2016 6:20 AM > To: dev at dpdk.org > Cc: De Lara Guarch, Pablo ; Lu, Wenzhuo > > Subject: [dpdk-dev] [PATCH] app/testpmd: fix DCB

[dpdk-dev] [PATCH] app/testpmd: fix DCB config issue on ixgbe

2016-08-05 Thread Wenzhuo Lu
An issue is found that DCB cannot be configured on ixgbe NICs. It's said the TX queue number is not right. On ixgbe the max TX queue number is not fixed, it depends on the multi-queue mode. This patch adds the device configuration before getting info in the DCB configuration process. So the right