net/tap: fix interrupt vector array size
authorChengchang Tang <tangchengchang@huawei.com>
Thu, 22 Apr 2021 11:27:14 +0000 (19:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 26 Apr 2021 15:30:42 +0000 (17:30 +0200)
commit2ce7bc96344542f8d3e89b41bbaaafb12e1d9f72
treebd91cd5de6116f88bb924d06b4ca76cd79541f02
parent0ca0c473977245f2eea57d60dbd0b575e41a8ceb
net/tap: fix interrupt vector array size

The size of the current interrupt vector array is fixed to an integer.

This patch will create an interrupt vector array based on the number
of rxqs.

Fixes: 4870a8cdd968 ("net/tap: support Rx interrupt")
Cc: stable@dpdk.org
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/tap_intr.c