This patchset supports to configure up to 256 queue pairs per VF. If large VF is supported after capability negotiation, VF will request queues from PF as needed. New virtual channel opcodes and structures are used to indicate 256 queues, so VF is designed to handle the new function of configure VSI queues, IRQ mapping and enable/disable queues. Also, enable VF to query the max RSS queue region for RSS and filter configuration.
Ting Xu (6): net/iavf: handle virtchnl event message without interrupt net/iavf: add IAVF request queues function net/iavf: negotiate large VF and request more queues net/iavf: enable multiple queues configurations for large VF net/iavf: enable IRQ mapping configuration for large VF net/iavf: add enable/disable queues for large VF --- v6->v7: Separate patches. v4->v6: Solve queue mapping buffer limitation issue. Optimize VSI queue configuration v3->v4: Optimize handling messages from PF. v2->v3: Fix coding style issue. Move get max RSS queue region after VF reset. Add request queues capability negotiation. v1->v2: Change the communication with kernel PF. --- drivers/net/iavf/iavf.h | 37 ++- drivers/net/iavf/iavf_ethdev.c | 144 ++++++++++- drivers/net/iavf/iavf_rxtx.c | 25 +- drivers/net/iavf/iavf_vchnl.c | 450 ++++++++++++++++++++++++++++----- 4 files changed, 576 insertions(+), 80 deletions(-) -- 2.17.1