> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Michal Swiatkowski
> Sent: Tuesday, October 24, 2023 4:39 PM
> To: [email protected]
> Cc: Drewek, Wojciech <[email protected]>; Szycik, Marcin
> <[email protected]>; [email protected]; Brandeburg, Jesse
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Keller, Jacob E <[email protected]>;
> Michal Swiatkowski <[email protected]>; Raczynski, Piotr
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-next v1 06/15] ice: track port
> representors in xarray
>
> Instead of assuming that each VF has pointer to port representor save it in
> xarray. It will allow adding port representor for other device types.
>
> Drop reference to VF where it is use only to get port representor. Get it from
> xarray instead.
>
> The functions will no longer by specific for VF, rename them.
>
> Track id assigned by xarray in port representor structure. The id can't be
> used as ::q_id, because it is fixed during port representor lifetime.
> ::q_id can change after adding / removing other port representors.
>
> Side effect of removing VF pointer is that we are losing VF MAC information
> used in unrolling. Store it in port representor as parent MAC.
>
> Reviewed-by: Piotr Raczynski <[email protected]>
> Reviewed-by: Wojciech Drewek <[email protected]>
> Signed-off-by: Michal Swiatkowski <[email protected]>
> ---
> drivers/net/ethernet/intel/ice/ice.h | 1 +
> drivers/net/ethernet/intel/ice/ice_eswitch.c | 182 +++++++++----------
> drivers/net/ethernet/intel/ice/ice_main.c | 2 +
> drivers/net/ethernet/intel/ice/ice_repr.c | 8 +
> drivers/net/ethernet/intel/ice/ice_repr.h | 2 +
> 5 files changed, 94 insertions(+), 101 deletions(-)
>
Tested-by: Sujai Buvaneswaran <[email protected]>
_______________________________________________
Intel-wired-lan mailing list
[email protected]
https://lists.osuosl.org/mailman/listinfo/intel-wired-lan