Olga Shern 4d803a7246 mlx5: support HW packet padding
Environment variable MLX5_PMD_ENABLE_PADDING enables HW packet padding
in PCI bus transactions.

When packet size is cache aligned and CRC stripping is enabled, 4 fewer
bytes are written to the PCI bus. Enabling padding makes such packets
aligned again.

In cases where PCI bandwidth is the bottleneck, padding can improve
performance by 10%.

This is disabled by default since this can also decrease performance for
unaligned packet sizes.

Signed-off-by: Olga Shern <olgas@mellanox.com>

fix packet padding macro check

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2016-03-25 18:56:44 +01:00
..
2015-03-31 01:33:22 +02:00
2015-12-15 13:50:42 +01:00
2015-10-20 18:49:18 +02:00
2016-03-25 18:56:43 +01:00
2015-12-14 01:19:14 +01:00
2016-03-16 18:51:44 +01:00
2016-03-09 18:00:41 +01:00
2016-03-25 18:56:44 +01:00
2015-12-15 13:50:42 +01:00
2015-07-27 23:46:09 +02:00