net/mlx5: fix Rx packet padding
authorYongseok Koh <yskoh@mellanox.com>
Tue, 15 Jan 2019 17:38:58 +0000 (09:38 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Jan 2019 08:47:26 +0000 (09:47 +0100)
commit78c7a16daad1b3948b84399203cf225aa153a45c
treed6c5adc9f31c2193a5575cfe467d5f57367c764d
parent76469c0631adbc007e89f70f2503ed9b5e3f7f8b
net/mlx5: fix Rx packet padding

Rx packet padding is supposed to be set by an environment variable -
MLX5_PMD_ENABLE_PADDING, but it has been missing for some time by mistake.
Rather than using such a variable, a PMD parameter (rxq_pkt_pad_en) is
added instead.

Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Reviewed-by: Erez Ferber <erezf@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
doc/guides/nics/mlx5.rst
drivers/net/mlx5/mlx5.c