Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266826
b: refs/heads/master
c: 3428414
h: refs/heads/master
v: v3
  • Loading branch information
Anton Blanchard authored and David S. Miller committed Oct 17, 2011
1 parent c6dd3c6 commit 97aaa93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 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: 2cb1deb56f5bf413da83491e0cb5a0474393c8ef
refs/heads/master: 3428414f71e12f8111dfa16e4d958e6ed055268a
15 changes: 5 additions & 10 deletions trunk/drivers/net/ethernet/ibm/ehea/ehea_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -647,15 +647,6 @@ static int ehea_treat_poll_error(struct ehea_port_res *pr, int rq,
return 0;
}

static void ehea_proc_skb(struct ehea_port_res *pr, struct ehea_cqe *cqe,
struct sk_buff *skb)
{
if (cqe->status & EHEA_CQE_VLAN_TAG_XTRACT)
__vlan_hwaccel_put_tag(skb, cqe->vlan_tag);

netif_receive_skb(skb);
}

static int ehea_proc_rwqes(struct net_device *dev,
struct ehea_port_res *pr,
int budget)
Expand Down Expand Up @@ -732,7 +723,11 @@ static int ehea_proc_rwqes(struct net_device *dev,
}

processed_bytes += skb->len;
ehea_proc_skb(pr, cqe, skb);

if (cqe->status & EHEA_CQE_VLAN_TAG_XTRACT)
__vlan_hwaccel_put_tag(skb, cqe->vlan_tag);

napi_gro_receive(&pr->napi, skb);
} else {
pr->p_stats.poll_receive_errors++;
port_reset = ehea_treat_poll_error(pr, rq, cqe,
Expand Down

0 comments on commit 97aaa93

Please sign in to comment.