[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <PH0PR11MB50136BFBFB6188DAC4424C7696272@PH0PR11MB5013.namprd11.prod.outlook.com>
Date: Fri, 8 Mar 2024 07:40:22 +0000
From: "Buvaneswaran, Sujai" <sujai.buvaneswaran@...el.com>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>
CC: "pmenzel@...gen.mpg.de" <pmenzel@...gen.mpg.de>, "Drewek, Wojciech"
<wojciech.drewek@...el.com>, "Szycik, Marcin" <marcin.szycik@...el.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>, "Jagielski, Jedrzej"
<jedrzej.jagielski@...el.com>, "Samudrala, Sridhar"
<sridhar.samudrala@...el.com>
Subject: RE: [Intel-wired-lan] [iwl-next v2 2/2] ice: tc: allow ip_proto
matching
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Thursday, February 22, 2024 6:10 PM
> To: intel-wired-lan@...ts.osuosl.org
> Cc: pmenzel@...gen.mpg.de; Drewek, Wojciech
> <wojciech.drewek@...el.com>; Szycik, Marcin <marcin.szycik@...el.com>;
> netdev@...r.kernel.org; Jagielski, Jedrzej <jedrzej.jagielski@...el.com>;
> Samudrala, Sridhar <sridhar.samudrala@...el.com>; Michal Swiatkowski
> <michal.swiatkowski@...ux.intel.com>
> Subject: [Intel-wired-lan] [iwl-next v2 2/2] ice: tc: allow ip_proto matching
>
> Add new matching type for ip_proto.
>
> Use it in the same lookup type as for TTL. In hardware it has the same
> protocol ID, but different offset.
>
> Example command to add filter with ip_proto:
> $tc filter add dev eth10 ingress protocol ip flower ip_proto icmp \ skip_sw
> action mirred egress redirect dev eth0
>
> Reviewed-by: Jedrzej Jagielski <jedrzej.jagielski@...el.com>
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_tc_lib.c | 17 +++++++++++++++--
> drivers/net/ethernet/intel/ice/ice_tc_lib.h | 1 +
> 2 files changed, 16 insertions(+), 2 deletions(-)
>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@...el.com>
Powered by blists - more mailing lists