net/mlx5: fix deprecated library API for Rx padding
authorYongseok Koh <yskoh@mellanox.com>
Tue, 15 Jan 2019 17:38:59 +0000 (09:38 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Jan 2019 08:47:26 +0000 (09:47 +0100)
commit2014a7fbae2be56af7fcffc882a299eb06a6a81c
tree2940eef5e7d9555e4585a4f1b5c080de0e29118e
parent78c7a16daad1b3948b84399203cf225aa153a45c
net/mlx5: fix deprecated library API for Rx padding

In rdma-core library IBV_WQ_FLAG_RX_END_PADDING is renamed to
IBV_WQ_FLAGS_PCI_WRITE_END_PADDING. Way to query the capability is also
changed.

Fixes: 43e9d9794cde ("net/mlx5: support upstream rdma-core")
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>
drivers/net/mlx5/Makefile
drivers/net/mlx5/meson.build
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_rxq.c