> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Michal
> Swiatkowski
> Sent: Thursday, June 6, 2024 1:25 PM
> To: [email protected]
> Cc: [email protected]; Fijalkowski, Maciej <[email protected]>;
> [email protected]; Samudrala, Sridhar <[email protected]>;
> Polchlopek, Mateusz <[email protected]>; [email protected];
> [email protected]; [email protected]; Kubiak, Michal
> <[email protected]>; [email protected]; Kitszel, Przemyslaw
> <[email protected]>; Keller, Jacob E <[email protected]>;
> Drewek, Wojciech <[email protected]>
> Subject: [Intel-wired-lan] [iwl-next v5 13/15] ice: support subfunction 
> devlink Tx
> topology
> 
> Flow for creating Tx topology is the same as for VF port representors, but the
> devlink port is stored in different place (sf->devlink_port).
> 
> When creating VF devlink lock isn't taken, when creating subfunction it is. 
> Setting
> Tx topology function needs to take this lock, check if it was taken before to 
> not do
> it twice.
> 
> Reviewed-by: Simon Horman <[email protected]>
> Reviewed-by: Przemek Kitszel <[email protected]>
> Reviewed-by: Wojciech Drewek <[email protected]>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
>  drivers/net/ethernet/intel/ice/devlink/devlink.c     | 12 ++++++++++++
>  .../net/ethernet/intel/ice/devlink/devlink_port.c    |  1 +
>  drivers/net/ethernet/intel/ice/ice_repr.c            | 12 +++++++-----
>  3 files changed, 20 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/net/ethernet/intel/ice/devlink/devlink.c
> b/drivers/net/ethernet/intel/ice/devlink/devlink.c
> index 9bcbd04d29a9..037f4621e517 100644
> --- a/drivers/net/ethernet/intel/ice/devlink/devlink.c
> +++ b/drivers/net/ethernet/intel/ice/devlink/devlink.c
> @@ -746,6 +746,7 @@ static void ice_traverse_tx_tree(struct devlink *devlink,


Tested-by: Rafal Romanowski <[email protected]>


Reply via email to