> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Jacob 
> Keller
> Sent: 17 September 2025 00:45
> To: Brandeburg, Jesse <[email protected]>; Jakub Kicinski 
> <[email protected]>; Hariprasad Kelam <[email protected]>; Simon Horman 
> <[email protected]>; Marcin Szycik <[email protected]>; Rahul 
> Rameshbabu <[email protected]>; [email protected]; 
> [email protected]; [email protected]; [email protected]; 
> Keller, Jacob E <[email protected]>
> Cc: Kitszel, Przemyslaw <[email protected]>; Brandeburg, Jesse 
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next v4 5/5] ice: refactor to use 
> helpers
>
> From: Jesse Brandeburg <[email protected]>
>
> Use the ice_netdev_to_pf() helper in more places and remove a bunch of 
> boilerplate code. Not every instance could be replaced due to use of the
netdev_priv() output or the vsi variable within a bunch of functions.
>
> Signed-off-by: Jesse Brandeburg <[email protected]>
> Reviewed-by: Simon Horman <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Signed-off-by: Jacob Keller <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice_ethtool.c   | 48 ++++++++------------------
> drivers/net/ethernet/intel/ice/ice_flex_pipe.c |  8 ++---
> drivers/net/ethernet/intel/ice/ice_lag.c       |  3 +-
> drivers/net/ethernet/intel/ice/ice_main.c      | 10 ++----
> drivers/net/ethernet/intel/ice/ice_ptp.c       |  6 ++--
> drivers/net/ethernet/intel/ice/ice_sriov.c     |  3 +-
> 6 files changed, 24 insertions(+), 54 deletions(-)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to