net/mlx5: fix inline packet size for ConnectX-4 Lx
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Thu, 20 Feb 2020 21:18:33 +0000 (21:18 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 21 Feb 2020 10:41:21 +0000 (11:41 +0100)
commit21e59432dfe0dc9bbcaec3d9d80c372834d6264b
tree86485ff34df7981606557f3c587754771b3f4e2f
parent0f13d919703fb555727cc4d075272a60d2f87508
net/mlx5: fix inline packet size for ConnectX-4 Lx

This patch does extra inline packet size check to tune
the ConnectX-4 Lx performance in the legacy Multi-Packet Write
mode.

Fixes: 7593cf1d3500 ("net/mlx5: fix legacy multi-packet write session")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_rxtx.c