ixgbe: allow multiple queues in SRIOV mode
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 6 Dec 2014 09:18:57 +0000 (09:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Feb 2015 03:57:46 +0000 (19:57 -0800)
ixgbe_set_sriov_queues() has the logic to allow multiple queues, this patch
just removes the limitation.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c

index c76ba90ecc6ecc44a6899fa487eda911b5a52d5a..a82a36bc789e21fc5a744d664cb06d9b43c72ccc 100644 (file)
@@ -101,9 +101,6 @@ static int __ixgbe_enable_sriov(struct ixgbe_adapter *adapter)
                        adapter->dcb_cfg.num_tcs.pfc_tcs = 1;
                }
 
-               /* We do not support RSS w/ SR-IOV */
-               adapter->ring_feature[RING_F_RSS].limit = 1;
-
                /* Disable RSC when in SR-IOV mode */
                adapter->flags2 &= ~(IXGBE_FLAG2_RSC_CAPABLE |
                                     IXGBE_FLAG2_RSC_ENABLED);