net/hns3: fix vector Rx burst limitation
authorChengwen Feng <fengchengwen@huawei.com>
Fri, 30 Apr 2021 06:28:50 +0000 (14:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 16:02:14 +0000 (18:02 +0200)
commit2d408d0609c4b06dbade72e4e6af6c978e96b0de
treedd3301b09f9accca97b1612f271ec5ed33efe2be
parentcc9dbd9aacf12d2cd0bae3add60cd30ed64bee4d
net/hns3: fix vector Rx burst limitation

Currently, driver uses the macro HNS3_DEFAULT_RX_BURST whose value is
32 to limit the vector Rx burst size, as a result, the burst size
can't exceed 32.

This patch fixes this problem by support big burst size.
Also adjust HNS3_DEFAULT_RX_BURST to 64 as it performs better than 32.

Fixes: a3d4f4d291d7 ("net/hns3: support NEON Rx")
Fixes: 952ebacce4f2 ("net/hns3: support SVE Rx")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rxtx.h
drivers/net/hns3/hns3_rxtx_vec.c
drivers/net/hns3/hns3_rxtx_vec.h
drivers/net/hns3/hns3_rxtx_vec_sve.c