Go to file
Pablo de Lara 5db6b738c5 ethdev: fix possibly incorrect maximum queues
In rte_eth_dev_configure(), device configuration was copied to the dev
struct after get_dev_info() was called to get the max queue information.
In some drivers, though, the max queues can vary depending on the device
configuration - but that information is not available to the driver until
the copy is made.

This patch moves the memcpy of the device configuration into the dev->data
structure before the call to get_dev_info(), thereby making it accessible
to drivers to use when reporting their max queues.

Fixes: af75078fec ("first public release")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
2016-03-25 19:03:48 +01:00
app app/testpmd: add VLAN in flow director input set 2016-03-25 19:01:38 +01:00
config vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
doc app/testpmd: add VLAN in flow director input set 2016-03-25 19:01:38 +01:00
drivers ixgbe: fix Tx queue number 2016-03-25 19:03:48 +01:00
examples examples/l2fwd-crypto: add NULL algorithms 2016-03-24 20:53:40 +01:00
lib ethdev: fix possibly incorrect maximum queues 2016-03-25 19:03:48 +01:00
mk vhost: add driver on top of the library 2016-03-25 18:56:44 +01:00
pkg version: 2.2.0 2015-12-15 18:06:58 +01:00
scripts scripts: improve quiet checkpatch 2016-03-24 22:16:01 +01:00
tools tools: fix setup with built-in kernel modules 2016-03-24 22:04:10 +01:00
.gitignore init DPDK repository 2013-03-07 10:57:42 +01:00
GNUmakefile drivers: create new directory 2015-05-22 15:51:38 +02:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS enic: update maintainers 2016-03-25 19:01:37 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +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 license for the core libraries and
drivers. The kernel components are GPLv2 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