> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Mateusz Polchlopek > Sent: Tuesday, October 22, 2024 1:41 PM > To: [email protected] > Cc: [email protected]; Keller, Jacob E <[email protected]>; > Drewek, > Wojciech <[email protected]>; Rahul Rameshbabu > <[email protected]>; Simon Horman <[email protected]>; Lobakin, > Aleksander <[email protected]>; Polchlopek, Mateusz > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v12 03/14] virtchnl: add > enumeration > for the rxdid format > > From: Jacob Keller <[email protected]> > > 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 <[email protected]> > Reviewed-by: Wojciech Drewek <[email protected]> > Reviewed-by: Rahul Rameshbabu <[email protected]> > Reviewed-by: Simon Horman <[email protected]> > Reviewed-by: Alexander Lobakin <[email protected]> > Signed-off-by: Mateusz Polchlopek <[email protected]>
Tested-by: Rafal Romanowski <[email protected]>
