net/iavf: enable multiple queues configuration for large VF
authorTing Xu <ting.xu@intel.com>
Thu, 22 Oct 2020 06:49:00 +0000 (14:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:25 +0000 (23:24 +0100)
commit9a7695b227beed57f279fc204dd022394ad1bb9c
tree659b0548e0542f3d10bb14600a3d38264e934804
parente436cd43835b8cfa3fbad8f2aeaf224c3f54dca9
net/iavf: enable multiple queues configuration for large VF

Since the adminq buffer size has a 4K limitation, the current virtchnl
command VIRTCHNL_OP_CONFIG_VSI_QUEUES cannot send the message only once
to configure up to 256 queues. In this patch, we send the messages
multiple times to make sure that the buffer size is less than 4K each
time.

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