[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240226133334.GC13129@kernel.org>
Date: Mon, 26 Feb 2024 13:33:34 +0000
From: Simon Horman <horms@...nel.org>
To: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
Cc: intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org,
marcin.szycik@...el.com, sridhar.samudrala@...el.com,
wojciech.drewek@...el.com, pmenzel@...gen.mpg.de,
Jedrzej Jagielski <jedrzej.jagielski@...el.com>
Subject: Re: [iwl-next v2 2/2] ice: tc: allow ip_proto matching
On Thu, Feb 22, 2024 at 01:39:56PM +0100, Michal Swiatkowski wrote:
> 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>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists