net/mlx5: increase number of strides
authorYongseok Koh <yskoh@mellanox.com>
Tue, 26 Jun 2018 12:39:25 +0000 (05:39 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commitf9aaa6ac444615586729e6f25b04a6689e9d1a44
treea65d0b0daee2edbab51c068a9254032d6fce23ad
parent1787eb7b4d793538a90b7380e9c4e1a974a1c0e6
net/mlx5: increase number of strides

If WQE ID is used in CQE for Multi-Packet RQ, the ratio of CQE compression
drops a little bit.  In order to reach to 100Gbps with 64B traffic, it is
needed to further save PCIe bandwidth by increasing the number of strides
in a WQE. It is now 64 by default but adjustable by a PMD parameter -
mprq_log_stride_num.

Signed-off-by: Yongseok Koh <yskoh@mellanox.com>
Acked-by: Shahaf Shuler <shahafs@mellanox.com>
drivers/net/mlx5/mlx5_defs.h