[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ0PR11MB586533A2DBB709FF0CCF24B78FA92@SJ0PR11MB5865.namprd11.prod.outlook.com>
Date: Tue, 23 Jul 2024 11:16:09 +0000
From: "Romanowski, Rafal" <rafal.romanowski@...el.com>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "shayd@...dia.com" <shayd@...dia.com>, "Fijalkowski, Maciej"
<maciej.fijalkowski@...el.com>, "horms@...nel.org" <horms@...nel.org>,
"Samudrala, Sridhar" <sridhar.samudrala@...el.com>, "Polchlopek, Mateusz"
<mateusz.polchlopek@...el.com>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "jiri@...dia.com" <jiri@...dia.com>,
"kalesh-anakkur.purayil@...adcom.com" <kalesh-anakkur.purayil@...adcom.com>,
"Kubiak, Michal" <michal.kubiak@...el.com>, "pio.raczynski@...il.com"
<pio.raczynski@...il.com>, "Kitszel, Przemyslaw"
<przemyslaw.kitszel@...el.com>, "Keller, Jacob E" <jacob.e.keller@...el.com>,
"Drewek, Wojciech" <wojciech.drewek@...el.com>
Subject: RE: [Intel-wired-lan] [iwl-next v5 06/15] ice: base subfunction aux
driver
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Michal
> Swiatkowski
> Sent: Thursday, June 6, 2024 1:25 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: shayd@...dia.com; Fijalkowski, Maciej <maciej.fijalkowski@...el.com>;
> horms@...nel.org; Samudrala, Sridhar <sridhar.samudrala@...el.com>;
> Polchlopek, Mateusz <mateusz.polchlopek@...el.com>; netdev@...r.kernel.org;
> jiri@...dia.com; kalesh-anakkur.purayil@...adcom.com; Kubiak, Michal
> <michal.kubiak@...el.com>; pio.raczynski@...il.com; Kitszel, Przemyslaw
> <przemyslaw.kitszel@...el.com>; Keller, Jacob E <jacob.e.keller@...el.com>;
> Drewek, Wojciech <wojciech.drewek@...el.com>
> Subject: [Intel-wired-lan] [iwl-next v5 06/15] ice: base subfunction aux driver
>
> From: Piotr Raczynski <piotr.raczynski@...el.com>
>
> Implement subfunction driver. It is probe when subfunction port is activated.
>
> VSI is already created. During the probe VSI is being configured.
> MAC unicast and broadcast filter is added to allow traffic to pass.
>
> Store subfunction pointer in VSI struct. The same is done for VF pointer. Make
> union of subfunction and VF pointer as only one of them can be set with one VSI.
>
> Reviewed-by: Simon Horman <horms@...nel.org>
> Reviewed-by: Jiri Pirko <jiri@...dia.com>
> Signed-off-by: Piotr Raczynski <piotr.raczynski@...el.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> ---
> drivers/net/ethernet/intel/ice/Makefile | 1 +
> drivers/net/ethernet/intel/ice/ice.h | 7 +-
> drivers/net/ethernet/intel/ice/ice_main.c | 10 ++
> drivers/net/ethernet/intel/ice/ice_sf_eth.c | 139 ++++++++++++++++++++
> drivers/net/ethernet/intel/ice/ice_sf_eth.h | 9 ++
> 5 files changed, 165 insertions(+), 1 deletion(-) create mode 100644
> drivers/net/ethernet/intel/ice/ice_sf_eth.c
>
> diff --git a/drivers/net/ethernet/intel/ice/Makefile
> b/drivers/net/ethernet/intel/ice/Makefile
> index b4f6fa4ba13d..81acb590eac6 100644
> --- a/drivers/net/ethernet/intel/ice/Makefile
> +++ b/drivers/net/ethernet/intel/ice/Makefile
> @@ -33,6 +33,7 @@ ice-y := ice_main.o \
> ice_idc.o \
> devlink/devlink.o \
> devlink/devlink_port.o \
> + ice_sf_eth.o \
> ice_ddp.o \
> ice_fw_update.o \
> ice_lag.o \
> diff --git a/drivers/net/ethernet/intel/ice/ice.h
> b/drivers/net/ethernet/intel/ice/ice.h
> index 6b39b6be9727..848d8bac5d25 100644
> --- a/drivers/net/ethernet/intel/ice/ice.h
> +++ b/drivers/net/ethernet/intel/ice/ice.h
> @@ -449,7 +449,12 @@ struct ice_vsi {
Tested-by: Rafal Romanowski <rafal.romanowski@...el.com>
Powered by blists - more mailing lists