]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ef38f5870450b67ca066cd159408086a69e8aa2
tree61408ddf97c56b63d2b51cddb130b00bc156a39c
parent83aa4469c44c25a3fbaf520d7f7ba7fb2e076f3b
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