[Intel-wired-lan] [PATCH net-next v4 1/5] ice: define meta data to match in switch
Buvaneswaran, Sujai
sujai.buvaneswaran at intel.com
Mon Apr 24 06:43:16 UTC 2023
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Friday, April 7, 2023 10:22 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: pmenzel at molgen.mpg.de; netdev at vger.kernel.org; Simon Horman
> <simon.horman at corigine.com>
> Subject: [Intel-wired-lan] [PATCH net-next v4 1/5] ice: define meta data to
> match in switch
>
> Add description for each meta data. Redefine tunnel mask to match only
> tunneled MAC and tunneled VLAN. It shouldn't try to match other flags
> (previously it was 0xff, it is redundant).
>
> VLAN mask was 0xd000, change it to 0xf000. 4 last bits are flags depending
> on the same field in packets (VLAN tag). Because of that, It isn't harmful to
> match also on ITAG.
>
> Group all MDID and MDID offsets into enums to keep things organized.
>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> Reviewed-by: Piotr Raczynski <piotr.raczynski at intel.com>
> Reviewed-by: Simon Horman <simon.horman at corigine.com>
> ---
> .../ethernet/intel/ice/ice_protocol_type.h | 186 +++++++++++++++++-
> drivers/net/ethernet/intel/ice/ice_switch.c | 11 +-
> .../net/ethernet/intel/ice/ice_vlan_mode.c | 2 +-
> 3 files changed, 183 insertions(+), 16 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran at intel.com>
More information about the Intel-wired-lan
mailing list