net/hns3: rename Rx burst function
authorChengwen Feng <fengchengwen@huawei.com>
Thu, 15 Apr 2021 08:35:21 +0000 (16:35 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 15 Apr 2021 13:11:03 +0000 (15:11 +0200)
commitaa5baf47e1a3c7544b64d7e563821916b451a165
tree9fd2d202726f19515d233e17f8ac90fbd44ffe0f
parent3c503b24f8a3a7a8d3c78b90fe7f288e68012510
net/hns3: rename Rx burst function

Currently, user could use runtime config "rx_func_hint=simple" to
select the hns3_recv_pkts API, but the API's name get from
rte_eth_rx_burst_mode_get is "Scalar" which has not reflected "simple".

So this patch renames hns3_recv_pkts to hns3_recv_pkts_simple, and
also change it's name which gets from rte_eth_rx_burst_mode_get to
"Scalar Simple" to maintain conceptual consistency.

Fixes: 521ab3e93361 ("net/hns3: add simple Rx path")
Cc: stable@dpdk.org
Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/hns3/hns3_rxtx.c
drivers/net/hns3/hns3_rxtx.h