net/i40e: announce request queue capability in PF
authorRobin Zhang <robinx.zhang@intel.com>
Fri, 12 Mar 2021 08:52:09 +0000 (08:52 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Mon, 29 Mar 2021 23:17:15 +0000 (01:17 +0200)
commit918e90b96039cd05f9271a2d80d9c000b42f5c44
tree9555d4322d7d51309b5ac5cfed067a8abf2bc2e0
parentfecbc64cb3647531062a8b97bd62a98bee05e773
net/i40e: announce request queue capability in PF

A new feature requesting additional queues from PF is added in iavf;
before sending VIRTCHNL_OP_REQUEST_QUEUES op code, the offload
capability flag VIRTCHNL_VF_OFFLOAD_REQ_QUEUES will be checked.

And due to DPDK PF is still used by some cases, add this offload
capability flag in i40e PF.

Fixes: cbdbd360f77f ("net/i40e: support AVF basic interface")
Cc: stable@dpdk.org
Signed-off-by: Robin Zhang <robinx.zhang@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_pf.c