net/iavf: add enable/disable queues for large VF
authorTing Xu <ting.xu@intel.com>
Thu, 22 Oct 2020 06:49:02 +0000 (14:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commit9cf9c02bf6eedca1b339dfec0ebfebb8ae52e958
tree63bf012b0c3f8fdf4e456fb8c33ad45e218bc312
parentf593944fc988dfccebed62205fd0b88c60ed7d77
net/iavf: add enable/disable queues for large VF

The current virtchnl structure for enable/disable queues only supports
max 32 queue pairs. Use a new opcode and structure to indicate up to 256
queue pairs, in order to enable/disable queues in large VF case.

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_rxtx.c
drivers/net/iavf/iavf_vchnl.c