aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2011-06-26 16:41:25 -0400
committerDavid S. Miller <davem@davemloft.net>2011-06-27 03:09:31 -0400
commitc814fd3669b43f32ddd505178705c02352b0ac7c (patch)
treec5bb09607564df9bcfea11b2ce3b6f1099433fb4
parent6e53391cb4f9491182e7fbd280966ebe2aca07dc (diff)
be2net: get rid of multi_rxq module param
Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/benet/be_main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c
index 5ca06b0d2d0c..2373d394fa71 100644
--- a/drivers/net/benet/be_main.c
+++ b/drivers/net/benet/be_main.c
@@ -33,10 +33,6 @@ module_param(num_vfs, uint, S_IRUGO);
33MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd data."); 33MODULE_PARM_DESC(rx_frag_size, "Size of a fragment that holds rcvd data.");
34MODULE_PARM_DESC(num_vfs, "Number of PCI VFs to initialize"); 34MODULE_PARM_DESC(num_vfs, "Number of PCI VFs to initialize");
35 35
36static bool multi_rxq = true;
37module_param(multi_rxq, bool, S_IRUGO | S_IWUSR);
38MODULE_PARM_DESC(multi_rxq, "Multi Rx Queue support. Enabled by default");
39
40static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = { 36static DEFINE_PCI_DEVICE_TABLE(be_dev_ids) = {
41 { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID1) }, 37 { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID1) },
42 { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) }, 38 { PCI_DEVICE(BE_VENDOR_ID, BE_DEVICE_ID2) },
@@ -1785,7 +1781,7 @@ static void be_rx_queues_destroy(struct be_adapter *adapter)
1785 1781
1786static u32 be_num_rxqs_want(struct be_adapter *adapter) 1782static u32 be_num_rxqs_want(struct be_adapter *adapter)
1787{ 1783{
1788 if (multi_rxq && (adapter->function_caps & BE_FUNCTION_CAPS_RSS) && 1784 if ((adapter->function_caps & BE_FUNCTION_CAPS_RSS) &&
1789 !adapter->sriov_enabled && !(adapter->function_mode & 0x400)) { 1785 !adapter->sriov_enabled && !(adapter->function_mode & 0x400)) {
1790 return 1 + MAX_RSS_QS; /* one default non-RSS queue */ 1786 return 1 + MAX_RSS_QS; /* one default non-RSS queue */
1791 } else { 1787 } else {