net/mlx5e: Add HW cacheline start padding
authorSaeed Mahameed <saeedm@mellanox.com>
Thu, 11 Jun 2015 11:47:28 +0000 (14:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:55:25 +0000 (15:55 -0700)
commitfc11fbf9a785b25c5d07f05a30d4169ec39818da
treea4f8e88672f5c4b302493f89746854a34438b074
parentfacc9699f0fe7d65a92cc09e175662659306066d
net/mlx5e: Add HW cacheline start padding

Enable HW cacheline start padding and align RX WQE size to cacheline
while considering HW start padding. Also, fix dma_unmap call to use
the correct SKB data buffer size.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c
include/linux/mlx5/device.h