netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sathya Perla <sathya.perla@emulex.com>
To: <netdev@vger.kernel.org>
Subject: [PATCH net-next 3/7] be2net: don't limit max MAC and VLAN counts
Date: Tue, 6 Aug 2013 09:27:17 +0530	[thread overview]
Message-ID: <1375761441-22343-4-git-send-email-sathya.perla@emulex.com> (raw)
In-Reply-To: <1375761441-22343-1-git-send-email-sathya.perla@emulex.com>

From: Vasundhara Volam <vasundhara.volam@emulex.com>

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>
---
 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 834f77b..dc45e1a 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -2995,13 +2995,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,
-- 
1.7.1

  parent reply	other threads:[~2013-08-06  3:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-06  3:57 [PATCH net-next 0/7] be2net patch set Sathya Perla
2013-08-06  3:57 ` [PATCH net-next 1/7] be2net: Adding more speeds reported by get_settings Sathya Perla
2013-08-06  3:57 ` [PATCH net-next 2/7] be2net: Do not call get_die_temperature cmd for VF Sathya Perla
2013-08-06  3:57 ` Sathya Perla [this message]
2013-08-06  3:57 ` [PATCH net-next 4/7] be2net: Fix displaying supported speeds for BE2 Sathya Perla
2013-08-06  3:57 ` [PATCH net-next 5/7] be2net: fixup log msgs for async events Sathya Perla
2013-08-06  3:57 ` [PATCH net-next 6/7] be2net: Initialize "status" in be_cmd_get_die_temperature() Sathya Perla
2013-08-06  3:57 ` [PATCH net-next 7/7] be2net: update driver version Sathya Perla
2013-08-07 17:40 ` [PATCH net-next 0/7] be2net patch set David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375761441-22343-4-git-send-email-sathya.perla@emulex.com \
    --to=sathya.perla@emulex.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).