[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240306194820.GC281974@kernel.org>
Date: Wed, 6 Mar 2024 19:48:20 +0000
From: Simon Horman <horms@...nel.org>
To: Sai Krishna <saikrishnag@...vell.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, sgoutham@...vell.com,
gakula@...vell.com, hkelam@...vell.com, sbhatta@...vell.com
Subject: Re: [net-next PATCH] octeontx2-pf: Add TC flower offload support for
TCP flags
On Tue, Mar 05, 2024 at 11:46:06PM +0530, Sai Krishna wrote:
> This patch adds TC offload support for matching TCP flags
> from TCP header.
>
> Example usage:
> tc qdisc add dev eth0 ingress
>
> TC rule to drop the TCP SYN packets:
> tc filter add dev eth0 ingress protocol ip flower ip_proto tcp tcp_flags
> 0x02/0x3f skip_sw action drop
>
> Signed-off-by: Sai Krishna <saikrishnag@...vell.com>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists