net/iavf: enable IRQ mapping configuration for large VF
authorTing Xu <ting.xu@intel.com>
Thu, 22 Oct 2020 06:49:01 +0000 (14:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:25 +0000 (23:24 +0100)
commitf593944fc988dfccebed62205fd0b88c60ed7d77
tree91562be825fc443e4e0f994e075f607558752b42
parent9a7695b227beed57f279fc204dd022394ad1bb9c
net/iavf: enable IRQ mapping configuration for large VF

The current IRQ mapping configuration only supports max 16 queues and
16 MSIX vectors. Change the queue vector mapping structure to indicate
up to 256 queues. A new opcode is used to handle the case with large
number of queues. To avoid adminq buffer size limitation, we support
to send the virtchnl message multiple times if needed.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/iavf/iavf.h
drivers/net/iavf/iavf_ethdev.c
drivers/net/iavf/iavf_vchnl.c