[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PH0PR11MB5013AF3D267AE367C26DE1DC965FA@PH0PR11MB5013.namprd11.prod.outlook.com>
Date: Mon, 19 Jun 2023 09:27:31 +0000
From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com>
To: "Drewek, Wojciech" <wojciech.drewek@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "pmenzel@...gen.mpg.de" <pmenzel@...gen.mpg.de>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "simon.horman@...igine.com"
<simon.horman@...igine.com>, "dan.carpenter@...aro.org"
<dan.carpenter@...aro.org>
Subject: RE: [Intel-wired-lan] [PATCH iwl-next v5 09/12] ice: Add VLAN FDB
support in switchdev mode
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Wojciech Drewek
> Sent: Tuesday, June 13, 2023 3:43 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: pmenzel@...gen.mpg.de; netdev@...r.kernel.org;
> simon.horman@...igine.com; dan.carpenter@...aro.org
> Subject: [Intel-wired-lan] [PATCH iwl-next v5 09/12] ice: Add VLAN FDB
> support in switchdev mode
>
> From: Marcin Szycik <marcin.szycik@...el.com>
>
> Add support for matching on VLAN tag in bridge offloads.
> Currently only trunk mode is supported.
>
> To enable VLAN filtering (existing FDB entries will be deleted):
> ip link set $BR type bridge vlan_filtering 1
>
> To add VLANs to bridge in trunk mode:
> bridge vlan add dev $PF1 vid 110-111
> bridge vlan add dev $VF1_PR vid 110-111
>
> Signed-off-by: Marcin Szycik <marcin.szycik@...el.com>
> Signed-off-by: Wojciech Drewek <wojciech.drewek@...el.com>
> ---
> v2: introduce ice_eswitch_is_vid_valid, remove vlan bool arg,
> introduce better log msg
> v3: move inline function (ice_eswitch_is_vid_valid) to
> ice_eswitch_br.h
> v5: introduce ice_eswitch_br_get_lkups_cnt and
> ice_eswitch_br_add_vlan_lkup in order to reduce
> duplicate code, rename ice_eswitch_is_vid_valid to
> ice_eswitch_br_is_vid_valid to keep the naming convention
> ---
> .../net/ethernet/intel/ice/ice_eswitch_br.c | 296 +++++++++++++++++-
> .../net/ethernet/intel/ice/ice_eswitch_br.h | 21 ++
> 2 files changed, 309 insertions(+), 8 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists