igb: fix VF start with PF stopped
authorCunming Liang <cunming.liang@intel.com>
Wed, 4 Nov 2015 08:45:38 +0000 (16:45 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 4 Nov 2015 14:27:41 +0000 (15:27 +0100)
commitfe685de2b1b6b922cf9ecc107534bafa1741184b
treeb87839d91ee21e17dbb7192f0fdb50fea9571a8b
parentd283059b7cdd48bb1aec2da4f894df8348810258
igb: fix VF start with PF stopped

When igb runs as a PF, mbox interrupt is prerequisite to make VF
start normally.
And PF sometimes won't 'dev_start', so the mbox interrupt register
during 'dev_init' is required.
The patch rolls back the interrupt register for mbox,lsc to the 'dev_init'.
As UIO doesn't support multiple vector, mbox has to occupy the only one.
It adds condition check on 'dev_start', rxq interrupt is not allowed
when PF running in IOV mode via UIO.

Signed-off-by: Cunming Liang <cunming.liang@intel.com>
doc/guides/rel_notes/release_2_2.rst
drivers/net/e1000/igb_ethdev.c