| Submitter | Vipul Pandya |
|---|---|
| Date | Feb. 12, 2013, 10:36 a.m. |
| Message ID | <1360665381-17033-1-git-send-email-vipul@chelsio.com> |
| Download | mbox | patch |
| Permalink | /patch/219780/ |
| State | Accepted |
| Delegated to: | David Miller |
| Headers | show |
Comments
From: Vipul Pandya <vipul@chelsio.com> Date: Tue, 12 Feb 2013 16:06:21 +0530 > Signed-off-by: Santosh Rastapur <santosh@chelsio.com> > Signed-off-by: Vipul Pandya <vipul@chelsio.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
diff --git a/drivers/net/ethernet/chelsio/cxgb4vf/sge.c b/drivers/net/ethernet/chelsio/cxgb4vf/sge.c index 9e8841e..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)