mlx4_en: Recording rx queue for gro packets
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 18 Oct 2011 01:51:09 +0000 (01:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 07:42:27 +0000 (03:42 -0400)
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_rx.c

index 6cc9471aa615a5cdf62fc523a244e025b5a34309..dbf466426f5aecfdc778563dfac7bf10de05bc17 100644 (file)
@@ -618,6 +618,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
                                                __vlan_hwaccel_put_tag(gro_skb, vid);
                                        }
 
+                                       skb_record_rx_queue(gro_skb, cq->ring);
                                        napi_gro_frags(&cq->napi);
 
                                        goto next;