diff options
author | Vipul Pandya <vipul@chelsio.com> | 2013-02-12 00:36:21 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-02-12 21:15:10 (GMT) |
commit | af32de0ecda35e933848090bbab490174504c731 (patch) | |
tree | 15cf5276eeeecfb2e605e8bd62b897adff207429 /drivers | |
parent | d9ba8f9e6298af71ec1c1fd3d88c3ef68abd0ec3 (diff) | |
download | linux-af32de0ecda35e933848090bbab490174504c731.tar.xz |
cxgb4vf: Fix VLAN extraction counter increment
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/sge.c b/drivers/net/ethernet/chelsio/cxgb4vf/sge.c index 9e8841e1..9488032 100644 --- 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) |