Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

be2net: create RSS rings even in multi-channel configs

Currently RSS rings are not created in a multi-channel config.
RSS rings can be created on one (out of four) interfaces per port in a
multi-channel config. Doing this insulates the driver from a FW bug wherin
multi-channel config is wrongly reported even when not enabled. This also
helps performance in a multi-channel config, as one interface per port gets
RSS rings.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sathya Perla and committed by
David S. Miller
df505eb8 bf0813bd

+1 -2
+1 -2
drivers/net/ethernet/emulex/benet/be_main.c
··· 1786 1786 static u32 be_num_rxqs_want(struct be_adapter *adapter) 1787 1787 { 1788 1788 if ((adapter->function_caps & BE_FUNCTION_CAPS_RSS) && 1789 - !sriov_enabled(adapter) && be_physfn(adapter) && 1790 - !be_is_mc(adapter)) { 1789 + !sriov_enabled(adapter) && be_physfn(adapter)) { 1791 1790 return 1 + MAX_RSS_QS; /* one default non-RSS queue */ 1792 1791 } else { 1793 1792 dev_warn(&adapter->pdev->dev,