i40e: fix sideband flow director vector allocation
authorStefan Assmann <sassmann@kpanic.de>
Mon, 19 Sep 2016 11:37:51 +0000 (13:37 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 4 Oct 2016 02:10:05 +0000 (19:10 -0700)
commitabd97a94ba913d121a920d5541aba1e568be6972
tree61408ddf97c56b63d2b51cddb130b00bc156a39c
parent4ce20abc645fc1822e86d9845a8562347e877b36
i40e: fix sideband flow director vector allocation

Currently if the MSI-X vector limit is reached the sideband flow
director gets disabled. A bit too early to make that decision, as
vectors may get re-distributed. So move the check further back.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c