net/mlx5e: Delay skb->data access
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 20 Apr 2016 19:02:18 +0000 (22:02 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:09:06 +0000 (15:09 -0400)
commite20a0db30454a07f03f3a34a79e9f35881cfaa9d
treeb2590980809c01af7d4b569aa5e2d8ff045d4ae5
parent1bfec31627bf9b351b93b8cef4520b90f48ca276
net/mlx5e: Delay skb->data access

Move mlx5e_handle_csum and eth_type_trans to the end of
mlx5e_build_rx_skb to gain some more time before accessing
skb->data, to reduce cache misses.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c