mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
bnx2x: Moving skb_record_rx_queue
Should be called for all incoming packets and not just for GRO packets Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
de832a55d2
commit
748e543974
@ -1336,7 +1336,6 @@ static void bnx2x_tpa_stop(struct bnx2x *bp, struct bnx2x_fastpath *fp,
|
||||
|
||||
skb->protocol = eth_type_trans(skb, bp->dev);
|
||||
skb->ip_summed = CHECKSUM_UNNECESSARY;
|
||||
skb_record_rx_queue(skb, queue);
|
||||
|
||||
{
|
||||
struct iphdr *iph;
|
||||
@ -1599,6 +1598,7 @@ reuse_rx:
|
||||
}
|
||||
}
|
||||
|
||||
skb_record_rx_queue(skb, fp->index);
|
||||
#ifdef BCM_VLAN
|
||||
if ((bp->vlgrp != NULL) && (bp->flags & HW_VLAN_RX_FLAG) &&
|
||||
(le16_to_cpu(cqe->fast_path_cqe.pars_flags.flags) &
|
||||
|
Loading…
Reference in New Issue
Block a user