igb: 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)
commit5caeb1b143da211d545bd9e59e9a93c830fc778f
tree8a52734c84766b4729cad2da5feefa25b58be33d
parenta84f185a8a8d05ee7f868ac931cdef52bc860cc6
igb: 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_igb_dev_init().

Signed-off-by: Intel
lib/librte_pmd_e1000/igb_ethdev.c