diff options
author | Vasundhara Volam <vasundhara.volam@emulex.com> | 2013-08-06 09:27:17 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-07 10:39:06 -0700 |
commit | fd8c7be722e96fa658cd5e7a3305389b923b454d (patch) | |
tree | 46e46eaa5652b2dd4ce1ee45fe327dd9d0493db0 /drivers/net/ethernet/emulex | |
parent | d696b5e26c9963cc68dc559f2fcaa7e0e653aa8a (diff) | |
download | op-kernel-dev-fd8c7be722e96fa658cd5e7a3305389b923b454d.zip op-kernel-dev-fd8c7be722e96fa658cd5e7a3305389b923b454d.tar.gz |
be2net: don't limit max MAC and VLAN counts
For SH-R and Lancer-R, use the FW supported values for Max unicast MACs,
Max VLANs and Max multicast MACs.
Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index 82597e5..ff2b40d 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -2996,13 +2996,6 @@ static void be_get_resources(struct be_adapter *adapter) } if (profile_present) { - /* Sanity fixes for Lancer */ - adapter->max_pmac_cnt = min_t(u16, adapter->max_pmac_cnt, - BE_UC_PMAC_COUNT); - adapter->max_vlans = min_t(u16, adapter->max_vlans, - BE_NUM_VLANS_SUPPORTED); - adapter->max_mcast_mac = min_t(u16, adapter->max_mcast_mac, - BE_MAX_MC); adapter->max_tx_queues = min_t(u16, adapter->max_tx_queues, MAX_TX_QS); adapter->max_rss_queues = min_t(u16, adapter->max_rss_queues, |