net/hns3: simplify queue DMA address arithmetic
authorHuisong Li <lihuisong@huawei.com>
Sat, 6 Nov 2021 01:42:58 +0000 (09:42 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Nov 2021 14:59:14 +0000 (15:59 +0100)
commitf658f415814add688ade5783200143d14eefc51a
treeade996f7e2aad05f816059aa1b27162e660c542d
parent077be91dd72c6b7043810f8d6503277dc71c9d2d
net/hns3: simplify queue DMA address arithmetic

The patch obtains the upper 32 bits of the Rx/Tx queue DMA address in one
step instead of two steps.

Fixes: bba636698316 ("net/hns3: support Rx/Tx and related operations")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rxtx.c