aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet
diff options
context:
space:
mode:
authorSathya Perla <sathya.perla@emulex.com>2012-11-06 12:48:55 -0500
committerDavid S. Miller <davem@davemloft.net>2012-11-07 16:59:52 -0500
commit5727f841dcd8f7a06dd85d76c0aba4a0e30a70a8 (patch)
tree2153d1c3de5a6988799166e1c3a3dc761fa9e09a /drivers/net/ethernet/emulex/benet
parentecfd2ce1a9d5e6376ff5c00b366345160abdbbb7 (diff)
be2net: remove LANCER A0 workaround
It's not needed anymore. 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/benet')
-rw-r--r--drivers/net/ethernet/emulex/benet/be_main.c10
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 5e48674f7245..d982cb09149b 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,
621 hdr, skb_shinfo(skb)->gso_size); 621 hdr, skb_shinfo(skb)->gso_size);
622 if (skb_is_gso_v6(skb) && !lancer_chip(adapter)) 622 if (skb_is_gso_v6(skb) && !lancer_chip(adapter))
623 AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso6, hdr, 1); 623 AMAP_SET_BITS(struct amap_eth_hdr_wrb, lso6, hdr, 1);
624 if (lancer_chip(adapter) && adapter->sli_family ==
625 LANCER_A0_SLI_FAMILY) {
626 AMAP_SET_BITS(struct amap_eth_hdr_wrb, ipcs, hdr, 1);
627 if (is_tcp_pkt(skb))
628 AMAP_SET_BITS(struct amap_eth_hdr_wrb,
629 tcpcs, hdr, 1);
630 else if (is_udp_pkt(skb))
631 AMAP_SET_BITS(struct amap_eth_hdr_wrb,
632 udpcs, hdr, 1);
633 }
634 } else if (skb->ip_summed == CHECKSUM_PARTIAL) { 624 } else if (skb->ip_summed == CHECKSUM_PARTIAL) {
635 if (is_tcp_pkt(skb)) 625 if (is_tcp_pkt(skb))
636 AMAP_SET_BITS(struct amap_eth_hdr_wrb, tcpcs, hdr, 1); 626 AMAP_SET_BITS(struct amap_eth_hdr_wrb, tcpcs, hdr, 1);