Re: [PATCH net-next v4 2/7] i40e: Refactor argument of several client notification functions

From: Simon Horman
Date: Sat Apr 27 2024 - 10:56:39 EST


On Sat, Apr 27, 2024 at 09:26:03AM +0200, Ivan Vecera wrote:
> Commit 0ef2d5afb12d ("i40e: KISS the client interface") simplified
> the client interface so in practice it supports only one client
> per i40e netdev. But we have still 2 notification functions that
> uses as parameter a pointer to VSI of netdevice associated with
> the client. After the mentioned commit only possible and used
> VSI is the main (LAN) VSI.
> So refactor these functions so they are called with PF pointer argument
> and the associated VSI (LAN) is taken inside them.
>
> Reviewed-by: Michal Schmidt <mschmidt@xxxxxxxxxx>
> Reviewed-by: Tony Nguyen <anthony.l.nguyen@xxxxxxxxx>
> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@xxxxxxxxx>
> Signed-off-by: Ivan Vecera <ivecera@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>