[Intel-wired-lan] [PATCH iwl-next v12 03/14] virtchnl: add enumeration for the rxdid format

Romanowski, Rafal rafal.romanowski at intel.com
Mon Nov 4 10:52:37 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>; Rahul Rameshbabu
> <rrameshbabu at nvidia.com>; Simon Horman <horms at kernel.org>; Lobakin,
> Aleksander <aleksander.lobakin at intel.com>; Polchlopek, Mateusz
> <mateusz.polchlopek at intel.com>
> Subject: [Intel-wired-lan] [PATCH iwl-next v12 03/14] virtchnl: add enumeration
> for the rxdid format
> 
> From: Jacob Keller <jacob.e.keller at intel.com>
> 
> Support for allowing VF to negotiate the descriptor format requires that the VF
> specify which descriptor format to use when requesting Rx queues.
> The VF is supposed to request the set of supported formats via the new
> VIRTCHNL_OP_GET_SUPPORTED_RXDIDS, and then set one of the supported
> formats in the rxdid field of the virtchnl_rxq_info structure.
> 
> The virtchnl.h header does not provide an enumeration of the format values. The
> existing implementations in the PF directly use the values from the DDP package.
> 
> Make the formats explicit by defining an enumeration of the RXDIDs.
> Provide an enumeration for the values as well as the bit positions as returned by
> the supported_rxdids data from the VIRTCHNL_OP_GET_SUPPORTED_RXDIDS.
> 
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> Reviewed-by: Wojciech Drewek <wojciech.drewek at intel.com>
> Reviewed-by: Rahul Rameshbabu <rrameshbabu at nvidia.com>
> Reviewed-by: Simon Horman <horms at kernel.org>
> Reviewed-by: Alexander Lobakin <aleksander.lobakin 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