[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230409103357.GL14869@unreal>
Date: Sun, 9 Apr 2023 13:33:57 +0300
From: Leon Romanovsky <leon@...nel.org>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
wojciech.drewek@...el.com, piotr.raczynski@...el.com,
pmenzel@...gen.mpg.de, aleksander.lobakin@...el.com,
Simon Horman <simon.horman@...igine.com>
Subject: Re: [PATCH net-next v4 4/5] ice: allow matching on meta data
On Fri, Apr 07, 2023 at 06:52:18PM +0200, Michal Swiatkowski wrote:
> Add meta data matching criteria in the same place as protocol matching
> criteria. There is no need to add meta data as special words after
> parsing all lookups. Trade meta data in the same why as other lookups.
>
> The one difference between meta data lookups and protocol lookups is
> that meta data doesn't impact how the packets looks like. Because of that
> ignore it when filling testing packet.
>
> Match on tunnel type meta data always if tunnel type is different than
> TNL_LAST.
>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> Reviewed-by: Piotr Raczynski <piotr.raczynski@...el.com>
> Reviewed-by: Simon Horman <simon.horman@...igine.com>
> ---
> .../ethernet/intel/ice/ice_protocol_type.h | 8 +
> drivers/net/ethernet/intel/ice/ice_switch.c | 158 +++++++-----------
> drivers/net/ethernet/intel/ice/ice_switch.h | 4 +
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 29 +++-
> drivers/net/ethernet/intel/ice/ice_tc_lib.h | 1 +
> 5 files changed, 95 insertions(+), 105 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@...dia.com>
Powered by blists - more mailing lists