提交 fd8c7be7 编写于 作者: V Vasundhara Volam 提交者: David S. Miller

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: NVasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: NSathya Perla <sathya.perla@emulex.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d696b5e2
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册