net/mlx5: fix ConnectX-4LX minimal inline data limit
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Mon, 29 Jul 2019 12:41:04 +0000 (12:41 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 29 Jul 2019 16:05:10 +0000 (18:05 +0200)
commit9f350504bb328280acff3473879f97eea745e763
tree7bec32f49ca939df8ab9d3f5d0d5f760409d0fee
parent318ea4cfa1b1c1393181a0a70ba8fd9776de341a
net/mlx5: fix ConnectX-4LX minimal inline data limit

Mellanox ConnectX-4LX NIC in configurations with disabled
E-Switch can operate without minimal required inline data
into Tx descriptor. There was the hardcoded limit set to
18B in PMD, fixed to be no limit (0B).

Fixes: 38b4b397a57d ("net/mlx5: add Tx configuration and setup")

Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5.c