Re: [Intel-wired-lan] [PATCH iwl-next 4/7] i40e: Add helper to access main VSI

2024-03-27 Thread Loktionov, Aleksandr
; Nguyen, Anthony L ; Jakub Kicinski > ; Paolo Abeni ; David S. Miller > > Subject: [Intel-wired-lan] [PATCH iwl-next 4/7] i40e: Add helper to > access main VSI > > Add simple helper i40e_pf_get_main_vsi(pf) to access main VSI that > replaces pattern 'pf->vsi[pf

[Intel-wired-lan] [PATCH iwl-next 4/7] i40e: Add helper to access main VSI

2024-03-18 Thread Ivan Vecera
Add simple helper i40e_pf_get_main_vsi(pf) to access main VSI that replaces pattern 'pf->vsi[pf->lan_vsi]' Signed-off-by: Ivan Vecera --- drivers/net/ethernet/intel/i40e/i40e.h| 11 ++ drivers/net/ethernet/intel/i40e/i40e_client.c | 10 +- drivers/net/ethernet/intel/i40e/i40e_ddp.c