> -----Original Message-----
> From: Keller, Jacob E <[email protected]>
> Sent: Thursday, October 23, 2025 12:48 AM
> To: Loktionov, Aleksandr <[email protected]>; intel-wired-
> [email protected]; [email protected]; Nguyen, Anthony L
> <[email protected]>
> Subject: Re: [PATCH iwl-next v6 3/6] ice: implement GTP RSS context
> tracking and configuration
> 
> 
> 
> On 10/22/2025 6:12 AM, Aleksandr Loktionov wrote:
> > +static enum virtchnl_status_code
> > +ice_vc_rss_hash_update(struct ice_hw *hw, struct ice_vsi *vsi, u8
> > +hash_type) {
> 
> This was explicitly called out in the version we sent to netdev last
> week as being too similar to ice_status.
> 
> Can you refactor this to use integer error codes, and convert to a
> status value only right before we generate the command to send to
> virtchnl?
> 
> Checking against current ice driver, only one other function appears
> to directly return a status code. We have ice_err_to_vert_err and
> ice_virt_err_to_err() which are referred over passing around these
> virtchnl status codes more than necessary.

Good day, Jake,

Thanks for the feedback and for pointing that out.

I’ve addressed this in v7 of the patch set — the function now returns standard 
Linux-style integer error codes, and the conversion to virtchnl status happens 
only when building the command, as suggested. This aligns with the approach 
used elsewhere in the driver.

Please let me know if you see anything else that needs adjustment.

Thanks,
Alex

Reply via email to