net/mlx5: fix calculation of Tx TSO inline room size
authorYongseok Koh <yskoh@mellanox.com>
Tue, 8 May 2018 18:48:19 +0000 (11:48 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 14 May 2018 21:31:50 +0000 (22:31 +0100)
commit95d7e115be89f071d672d9cfd5c0eb1b23fce5fc
tree0d7f05e0f5f105d9524490c41f90f83442f009c4
parent690de2850b26466ad5325fde3e1aff040e3868f8
net/mlx5: fix calculation of Tx TSO inline room size

rdma-core doesn't add up max_tso_header size to max_inline_data size. The
library takes bigger value between the two.

Fixes: 43e9d9794cde ("net/mlx5: support upstream rdma-core")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_txq.c