Go to file
Yanglong Wu 03231aec44 net/ixgbe: fix max queue number for VF
VF can't run in multiple queue mode, if nb_q_per_pool is set to 1.
Nb_q_per_pool is passed through to max_rx_q and max_tx_q in VF.
So if nb_q_per_pool is equal to 1, max_rx_q and max_tx_q shouldn't
be more than 1, otherwise VF multiple queue mode will fail.

RTE_ETH_DEV_SRIOV(dev).nb_q_per_pool is the Max number of queue can be
used in VF, that would be assigned as IXGBE_MAX_RX_QUEUE_NUM /
RTE_ETH_DEV_SRIOV(dev).active, so that assigning nb_q_per_pool  as 1
when PF is in ETH_MQ_RX_NONE, which will make VF can just use only 1
queue, is not right.

Fixes: 27b609cbd1 ("ethdev: move the multi-queue mode check to specific drivers")
Cc: stable@dpdk.org

Signed-off-by: Yanglong Wu <yanglong.wu@intel.com>
Acked-by: Wei Dai <wei.dai@intel.com>
2018-01-16 18:47:49 +01:00
app app/testpmd: add configuration for input set 2018-01-16 18:47:49 +01:00
buildtools pmdinfogen: fix cross compilation for ARM big endian 2018-01-12 17:26:41 +01:00
config net/enic: use dynamic log types 2018-01-16 18:47:49 +01:00
devtools devtools: add mrvl net PMD to test-build 2018-01-16 18:47:49 +01:00
doc net/i40e: move RSS to flow API 2018-01-16 18:47:49 +01:00
drivers net/ixgbe: fix max queue number for VF 2018-01-16 18:47:49 +01:00
examples examples/vhost: fix sending ARP packet to self 2018-01-16 18:47:49 +01:00
lib ethdev: add notifications for probing and removal 2018-01-16 18:47:49 +01:00
license license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
mk net/avf: initialize PMD 2018-01-16 18:47:49 +01:00
pkg version: 17.11.0 2017-11-15 19:00:28 +01:00
test ethdev: remove useless parameter in callback process 2018-01-16 18:47:49 +01:00
usertools tools: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
MAINTAINERS maintainers: update for enic 2018-01-16 18:47:49 +01:00
Makefile license: use SPDX tag in root makefile 2018-01-04 22:41:38 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org