diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-02-12 03:36:37 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-16 02:31:13 -0500 |
commit | 748e543974eec6afb1f55f8430781150d0da8b0a (patch) | |
tree | ff25640b142cacb36b92bfc7aefba5eeaf2cb682 /drivers/net/bnx2x_main.c | |
parent | de832a55d28bdcc38a3f3c160554d2dfa5a62069 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 19865d5d8aed..891a3fb9fcf4 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, | |||
1336 | 1336 | ||
1337 | skb->protocol = eth_type_trans(skb, bp->dev); | 1337 | skb->protocol = eth_type_trans(skb, bp->dev); |
1338 | skb->ip_summed = CHECKSUM_UNNECESSARY; | 1338 | skb->ip_summed = CHECKSUM_UNNECESSARY; |
1339 | skb_record_rx_queue(skb, queue); | ||
1340 | 1339 | ||
1341 | { | 1340 | { |
1342 | struct iphdr *iph; | 1341 | struct iphdr *iph; |
@@ -1599,6 +1598,7 @@ reuse_rx: | |||
1599 | } | 1598 | } |
1600 | } | 1599 | } |
1601 | 1600 | ||
1601 | skb_record_rx_queue(skb, fp->index); | ||
1602 | #ifdef BCM_VLAN | 1602 | #ifdef BCM_VLAN |
1603 | if ((bp->vlgrp != NULL) && (bp->flags & HW_VLAN_RX_FLAG) && | 1603 | if ((bp->vlgrp != NULL) && (bp->flags & HW_VLAN_RX_FLAG) && |
1604 | (le16_to_cpu(cqe->fast_path_cqe.pars_flags.flags) & | 1604 | (le16_to_cpu(cqe->fast_path_cqe.pars_flags.flags) & |