cxgb4vf: Fix VLAN extraction counter increment
Subsystems (3)
PATCH 1/1 cxgb4vf: Fix VLAN extraction counter increment
Signed-off-by Santosh Rastapur <[email protected]>
Signed-off-by Vipul Pandya <[email protected]>
--- drivers/net/ethernet/chelsio/cxgb4vf/sge.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
drivers/net/ethernet/chelsio/cxgb4vf/sge.c +3 -1
@@ -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 )
Signature · 1 line
1.7.1
From: Vipul Pandya <[email protected]>
Date: Tue, 12 Feb 2013 16:06:21 +0530
Quoted 2 lines
Signed-off-by Santosh Rastapur <[email protected]>Signed-off-by Vipul Pandya <[email protected]>
Applied.