diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2014-09-03 04:13:00 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-09-18 07:42:48 -0400 |
commit | d786cf7b42115fcf7e186397439453f5b3a4ebc5 (patch) | |
tree | 30c765644c71c6d673189bc05818b7205e5fde1e | |
parent | 5d31b48a42be3a592e4c22303041d12cd4d88c0a (diff) |
ixgbe: add warnings for other disabled features without MSI-X support
When we can't get MSI-X vectors, we disable a few features which require
MSI-X vectors. Print warnings just like we do when disabling DCB.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c index 0ec22d8ef059..ce40c77381e9 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c | |||
@@ -1114,13 +1114,16 @@ static void ixgbe_set_interrupt_capability(struct ixgbe_adapter *adapter) | |||
1114 | adapter->temp_dcb_cfg.pfc_mode_enable = false; | 1114 | adapter->temp_dcb_cfg.pfc_mode_enable = false; |
1115 | adapter->dcb_cfg.pfc_mode_enable = false; | 1115 | adapter->dcb_cfg.pfc_mode_enable = false; |
1116 | } | 1116 | } |
1117 | |||
1117 | adapter->dcb_cfg.num_tcs.pg_tcs = 1; | 1118 | adapter->dcb_cfg.num_tcs.pg_tcs = 1; |
1118 | adapter->dcb_cfg.num_tcs.pfc_tcs = 1; | 1119 | adapter->dcb_cfg.num_tcs.pfc_tcs = 1; |
1119 | 1120 | ||
1120 | /* disable SR-IOV */ | 1121 | /* Disable SR-IOV support */ |
1122 | e_dev_warn("Disabling SR-IOV support\n"); | ||
1121 | ixgbe_disable_sriov(adapter); | 1123 | ixgbe_disable_sriov(adapter); |
1122 | 1124 | ||
1123 | /* disable RSS */ | 1125 | /* Disable RSS */ |
1126 | e_dev_warn("Disabling RSS support\n"); | ||
1124 | adapter->ring_feature[RING_F_RSS].limit = 1; | 1127 | adapter->ring_feature[RING_F_RSS].limit = 1; |
1125 | 1128 | ||
1126 | /* recalculate number of queues now that many features have been | 1129 | /* recalculate number of queues now that many features have been |