Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 194812
b: refs/heads/master
c: c67938a
h: refs/heads/master
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed May 7, 2010
1 parent 03d45c4 commit f75882d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5eceff736644ee45b528ed8261facaf217ba134e
refs/heads/master: c67938a9e071fa51c91ed17a14382e128368d115
6 changes: 3 additions & 3 deletions trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -3207,10 +3207,10 @@ bnx2_rx_int(struct bnx2 *bp, struct bnx2_napi *bnapi, int budget)

#ifdef BCM_VLAN
if (hw_vlan)
vlan_hwaccel_receive_skb(skb, bp->vlgrp, vtag);
vlan_gro_receive(&bnapi->napi, bp->vlgrp, vtag, skb);
else
#endif
netif_receive_skb(skb);
napi_gro_receive(&bnapi->napi, skb);

rx_pkt++;

Expand Down Expand Up @@ -8296,7 +8296,7 @@ bnx2_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
memcpy(dev->dev_addr, bp->mac_addr, 6);
memcpy(dev->perm_addr, bp->mac_addr, 6);

dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG;
dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG | NETIF_F_GRO;
vlan_features_add(dev, NETIF_F_IP_CSUM | NETIF_F_SG);
if (CHIP_NUM(bp) == CHIP_NUM_5709) {
dev->features |= NETIF_F_IPV6_CSUM;
Expand Down

0 comments on commit f75882d

Please sign in to comment.