projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9ba8f9
)
cxgb4vf: Fix VLAN extraction counter increment
author
Vipul Pandya
<vipul@chelsio.com>
Tue, 12 Feb 2013 00:36:21 +0000
(
00:36
+0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 12 Feb 2013 21:15:10 +0000
(16:15 -0500)
Signed-off-by: Santosh Rastapur <santosh@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/chelsio/cxgb4vf/sge.c
b/drivers/net/ethernet/chelsio/cxgb4vf/sge.c
index
9e8841e
..
9488032
100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4vf/sge.c
@@
-1477,8
+1477,10
@@
static void do_gro(struct sge_eth_rxq *rxq, const struct pkt_gl *gl,
skb->ip_summed = CHECKSUM_UNNECESSARY;
skb_record_rx_queue(skb, rxq->rspq.idx);
- if (pkt->vlan_ex)
+ if (pkt->vlan_ex)
{
__vlan_hwaccel_put_tag(skb, be16_to_cpu(pkt->vlan));
+ rxq->stats.vlan_ex++;
+ }
ret = napi_gro_frags(&rxq->rspq.napi);
if (ret == GRO_HELD)