Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 72073ad2 authored by Vipul Pandya's avatar Vipul Pandya Committed by David S. Miller
Browse files

cxgb3: Update VLAN extraction stats in the GRO path

parent 387ff911
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2130,8 +2130,10 @@ static void lro_add_page(struct adapter *adap, struct sge_qset *qs,

	skb_record_rx_queue(skb, qs - &adap->sge.qs[pi->first_qset]);

	if (cpl->vlan_valid)
	if (cpl->vlan_valid) {
		qs->port_stats[SGE_PSTAT_VLANEX]++;
		__vlan_hwaccel_put_tag(skb, ntohs(cpl->vlan));
	}
	napi_gro_frags(&qs->napi);
}