aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 08:36:37 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-15 23:31:13 -0800
commit748e543974eec6afb1f55f8430781150d0da8b0a (patch)
treeff25640b142cacb36b92bfc7aefba5eeaf2cb682 /drivers/net/bnx2x_main.c
parentde832a55d28bdcc38a3f3c160554d2dfa5a62069 (diff)
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>
Diffstat (limited to 'drivers/net/bnx2x_main.c')
-rw-r--r--drivers/net/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index 19865d5d8ae..891a3fb9fcf 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -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) &