ixgbe: fix VF init without setup
authorIntel <intel.com>
Wed, 18 Sep 2013 10:00:00 +0000 (12:00 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 9 Oct 2013 14:16:14 +0000 (16:16 +0200)
commit0105ba4c6b804231d40110f295ae191e81207a26
tree819db938d808b73d63698a3079caa706332ae4c6
parent5caeb1b143da211d545bd9e59e9a93c830fc778f
ixgbe: fix VF init without setup

In case of multi-process application, the secondary process can initialize
the driver without configuring queues. In this case the Rx/Tx functions
were not initialized because it was only done in queue setup.

Fix by reproducing the same behaviour as in eth_ixgbe_dev_init().

Signed-off-by: Intel
lib/librte_pmd_ixgbe/ixgbe_ethdev.c