net/mlx5: optimize Rx buffer replenishment threshold
authorYongseok Koh <yskoh@mellanox.com>
Thu, 15 Nov 2018 10:29:20 +0000 (10:29 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Nov 2018 09:45:37 +0000 (10:45 +0100)
commit545db54c7c0397ab27e1e0a62a97eef8b2f03576
treebc1e978103dfa7c3cf0ec8be406fd5645b0ea955
parent317e64739de05a67406f43dd1860433359a81435
net/mlx5: optimize Rx buffer replenishment threshold

Due to redundant calculation per every burst, performance drops a little.

Fixes: e10245a13b2e ("net/mlx5: fix Rx buffer replenishment threshold")
Cc: stable@dpdk.org
Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_rxq.c
drivers/net/mlx5/mlx5_rxtx.h
drivers/net/mlx5/mlx5_rxtx_vec_neon.h
drivers/net/mlx5/mlx5_rxtx_vec_sse.h