net/hns3: replace memory barrier with data dependency order
authorChengwen Feng <fengchengwen@huawei.com>
Thu, 16 Jan 2020 09:27:03 +0000 (17:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:59:19 +0000 (19:59 +0100)
commit8162238b7d92bb9ce05bd7f8244bed7ffca2d5b6
tree52160732c71b8ad9384575b952b7b61d8699814c
parent40c79ea091e37efc836597cac2fa98be08feb72a
net/hns3: replace memory barrier with data dependency order

This patch optimizes the Rx performance by using data dependency
ordering to instead of memory barrier which is rte_cio_rmb in the
'.rx_pkt_burst' ops implementation function named hns3_recv_pkts.

Signed-off-by: Chengwen Feng <fengchengwen@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_rxtx.c