[Intel-wired-lan] [PATCH iwl-next v12 04/14] iavf: add support for negotiating flexible RXDID format
Romanowski, Rafal
rafal.romanowski at intel.com
Mon Nov 4 10:53:36 UTC 2024
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Mateusz Polchlopek
> Sent: Tuesday, October 22, 2024 1:41 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: netdev at vger.kernel.org; Keller, Jacob E <jacob.e.keller at intel.com>; Drewek,
> Wojciech <wojciech.drewek at intel.com>; Simon Horman <horms at kernel.org>;
> Polchlopek, Mateusz <mateusz.polchlopek at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v12 04/14] iavf: add support for
> negotiating flexible RXDID format
>
> From: Jacob Keller <jacob.e.keller at intel.com>
>
> Enable support for VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC, to enable the VF
> driver the ability to determine what Rx descriptor formats are available. This
> requires sending an additional message during initialization and reset, the
> VIRTCHNL_OP_GET_SUPPORTED_RXDIDS. This operation requests the supported
> Rx descriptor IDs available from the PF.
>
> This is treated the same way that VLAN V2 capabilities are handled. Add a new
> set of extended capability flags, used to process send and receipt of the
> VIRTCHNL_OP_GET_SUPPORTED_RXDIDS message.
>
> This ensures we finish negotiating for the supported descriptor formats prior to
> beginning configuration of receive queues.
>
> This change stores the supported format bitmap into the iavf_adapter structure.
> Additionally, if VIRTCHNL_VF_OFFLOAD_RX_FLEX_DESC is enabled by the PF, we
> need to make sure that the Rx queue configuration specifies the format.
>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Reviewed-by: Wojciech Drewek <wojciech.drewek at intel.com>
> Reviewed-by: Simon Horman <horms at kernel.org>
> Co-developed-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
> Signed-off-by: Mateusz Polchlopek <mateusz.polchlopek at intel.com>
Tested-by: Rafal Romanowski <rafal.romanowski at intel.com>
More information about the Intel-wired-lan
mailing list