net/hns3: replace interrupt vector zero with common macro
authorWei Hu (Xavier) <xavier.huwei@huawei.com>
Fri, 10 Apr 2020 11:09:23 +0000 (19:09 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:07 +0000 (13:57 +0200)
commit2e0a4421ca2ae2334674b2899afe38672c67f478
tree423168dcd38421baf050ecb3b285908ff1e93788
parent10ed8b8721f622aa510746fdab8a94d9671a72b3
net/hns3: replace interrupt vector zero with common macro

This patch replaces the specific macro named RTE_INTR_VEC_ZERO_OFFSET
provided by DPDK framework instead of the magic number 0.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Wei Hu (Xavier) <xavier.huwei@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev_vf.c