Go to file
Bruce Richardson 651c505af8 ring: enhance device setup from rings
The ring ethdev creation function creates an ethdev, but does not
actually set it up for use. Even if it's just a single ring, the user
still needs to create a mempool, call rte_eth_dev_configure, then call
rx and tx setup functions before the ethdev can be used.

This patch changes things so that the ethdev is fully set up after the
call to create the ethdev. The above-mentionned functions can still be
called - as will be the case, for instance, if the NIC is created via
commandline parameters - but they no longer are essential.

The function now also sets rte_errno appropriately on error, so the
caller can get a better indication of why a call may have failed.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2015-11-03 01:57:11 +01:00
app app/testpmd: add command to display queue info 2015-11-02 00:14:52 +01:00
config mlx5: support non-scattered Tx and Rx 2015-10-30 22:21:07 +01:00
doc ethdev: do not deprecate imissed counter 2015-11-03 00:39:45 +01:00
drivers ring: enhance device setup from rings 2015-11-03 01:57:11 +01:00
examples ethdev: rename DCB field in config structs 2015-11-01 14:44:31 +01:00
lib ethdev: do not deprecate imissed counter 2015-11-03 00:39:45 +01:00
mk mlx5: introduce new driver for Mellanox ConnectX-4 adapters 2015-10-30 22:03:42 +01:00
pkg version: 2.1.0 2015-08-17 19:35:37 +02:00
scripts mk: enable next abi preview 2015-07-09 00:56:40 +02:00
tools tools: fix comment in bind script 2015-08-03 19:22:42 +02: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 mlx5: add documentation 2015-10-30 22:41:16 +01:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00