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>
This commit is contained in:

committed by
David S. Miller

parent
facc9699f0
commit
fc11fbf9a7
@@ -131,6 +131,10 @@ enum {
|
||||
MLX5_INLINE_SEG = 0x80000000,
|
||||
};
|
||||
|
||||
enum {
|
||||
MLX5_HW_START_PADDING = MLX5_INLINE_SEG,
|
||||
};
|
||||
|
||||
enum {
|
||||
MLX5_MIN_PKEY_TABLE_SIZE = 128,
|
||||
MLX5_MAX_LOG_PKEY_TABLE = 5,
|
||||
|
Reference in New Issue
Block a user