i40e: keep SR-IOV enabled in the case that RSS, VMDQ, FD_SB and DCB are disabled
authorFrank Zhang <frank_1.zhang@intel.com>
Tue, 20 May 2014 08:01:42 +0000 (08:01 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jun 2014 07:27:57 +0000 (00:27 -0700)
commit9aa7e9355db342fda17d716bcf5ce62df7a02e61
tree8c4363a8b5d27129b6ad08fa8fba813dff2037ad
parenta34977ba6cbc17f14291771732c58f3cb8016a88
i40e: keep SR-IOV enabled in the case that RSS, VMDQ, FD_SB and DCB are disabled

Modify the logic in i40e_determine_queue_usage() so that
SR-IOV doesn't get turned off unnecessarily.

Change-ID: I86ca304fa9f742a50e9ea831b887f358a6a9d53d
Signed-off-by: Frank Zhang <frank_1.zhang@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c