On 10/22/2020 7:48 AM, Ting Xu wrote:
Add a new virtchnl function to request additional queues from PF. Current default queue pairs number when creating a VF is 16. In order to support up to 256 queue pairs per VF, enable this request queues function.
If there is a "256" queue pair limit, should it be added into the function, right now it gets "uint16_t num" parameter?
When requesting queues succeeds, PF will return an event message. If it is handled by interrupt first, the request queues command cannot receive the correct PF response and will wait until timeout. Therefore, disable interrupt before requesting queues in order to handle the event message asynchronously. Signed-off-by: Ting Xu <ting...@intel.com>
<...>