Netdev List
 help / color / mirror / Atom feed
From: Sathya Perla <sathya.perla@emulex.com>
To: <netdev@vger.kernel.org>
Cc: Sathya Perla <sathya.perla@emulex.com>
Subject: [PATCH net-next 1/7] be2net: remove LANCER A0 workaround
Date: Wed, 7 Nov 2012 09:18:55 +0530	[thread overview]
Message-ID: <5a4c06cc-b6ee-47c4-8813-c27cc7dffc7b@CMEXHTCAS2.ad.emulex.com> (raw)
In-Reply-To: <1352260141-27725-1-git-send-email-sathya.perla@emulex.com>

It's not needed anymore.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
---
 drivers/net/ethernet/emulex/benet/be_main.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c
index 5e48674..d982cb0 100644
--- a/drivers/net/ethernet/emulex/benet/be_main.c
+++ b/drivers/net/ethernet/emulex/benet/be_main.c
@@ -621,16 +621,6 @@ static void wrb_fill_hdr(struct be_adapter *adapter, struct be_eth_hdr_wrb *hdr,
 			hdr, skb_shinfo(skb)->gso_size);
 		if (skb_is_gso_v6(skb) && !lancer_chip(adapter))
 			AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso6, hdr, 1);
-		if (lancer_chip(adapter) && adapter->sli_family  ==
-							LANCER_A0_SLI_FAMILY) {
-			AMAP_SET_BITS(struct amap_eth_hdr_wrb, ipcs, hdr, 1);
-			if (is_tcp_pkt(skb))
-				AMAP_SET_BITS(struct amap_eth_hdr_wrb,
-								tcpcs, hdr, 1);
-			else if (is_udp_pkt(skb))
-				AMAP_SET_BITS(struct amap_eth_hdr_wrb,
-								udpcs, hdr, 1);
-		}
 	} else if (skb->ip_summed == CHECKSUM_PARTIAL) {
 		if (is_tcp_pkt(skb))
 			AMAP_SET_BITS(struct amap_eth_hdr_wrb, tcpcs, hdr, 1);
-- 
1.7.1

       reply	other threads:[~2012-11-07  3:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1352260141-27725-1-git-send-email-sathya.perla@emulex.com>
2012-11-07  3:48 ` Sathya Perla [this message]
2012-11-07  3:48 ` [PATCH net-next 2/7] be2net: fix wrong usage of adapter->generation Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 3/7] be2net: do not use sli_family to identify skyhawk-R chip Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 4/7] be2net: re-factor bar mapping code Sathya Perla
2012-11-07  3:48 ` [PATCH net-next 5/7] be2net: fix access to SEMAPHORE reg Sathya Perla
2012-11-07  3:49 ` [PATCH net-next 6/7] be2net: remove roce on lancer Sathya Perla
2012-11-07  3:49 ` [PATCH net-next 7/7] be2net: remove adapter->eq_next_idx Sathya Perla

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=5a4c06cc-b6ee-47c4-8813-c27cc7dffc7b@CMEXHTCAS2.ad.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