net/hns3: reconstruct Rx interrupt map
authorChengchang Tang <tangchengchang@huawei.com>
Fri, 22 Jan 2021 10:18:43 +0000 (18:18 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 29 Jan 2021 17:16:11 +0000 (18:16 +0100)
commit893ddac2655c853a47aa4d0f1c190c9ded4ffb29
treeb056806b855175a0665390cf8a7da682c62b0277
parent0867543f8285c43b520045614e66eb0ed93e046b
net/hns3: reconstruct Rx interrupt map

This patch reconstruct the Rx interrupt map to reduce the cyclic
complexity and improve readability and maintainability.

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c