ethdev: support runtime queue setup
authorQi Zhang <qi.z.zhang@intel.com>
Tue, 24 Apr 2018 12:44:06 +0000 (20:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 27 Apr 2018 16:34:42 +0000 (17:34 +0100)
commitcac923cfea47a7deb01082452139512c216ebd12
treeadceb0bdf69afc761936ea798d310e25e90a1844
parent0c0e46c36bcc5dfe9d2aa605e1a5f714d45e0b7f
ethdev: support runtime queue setup

It's not possible to setup a queue when the port is started
because of a check in ethdev layer. New capability flags are
added in order to relax this check for devices which support
queue setup in runtime. The functions rte_eth_[rx|tx]_queue_setup
will raise an error only if the port is started and runtime setup
of queue is not supported.

Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
doc/guides/nics/features.rst
doc/guides/nics/features/default.ini
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h