[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220428160414.28990a0c@kernel.org>
Date: Thu, 28 Apr 2022 16:04:14 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Tony Nguyen <anthony.l.nguyen@...el.com>
Cc: davem@...emloft.net, pabeni@...hat.com, edumazet@...gle.com,
Amritha Nambiar <amritha.nambiar@...el.com>,
netdev@...r.kernel.org, sudheer.mogilappagari@...el.com,
sridhar.samudrala@...el.com,
Bharathi Sreenivas <bharathi.sreenivas@...el.com>
Subject: Re: [PATCH net-next 01/11] ice: Add support for classid based queue
selection
On Thu, 28 Apr 2022 10:24:20 -0700 Tony Nguyen wrote:
> This patch uses TC flower filter's classid feature to support
> forwarding packets to a device queue. Such filters with action
> forward to queue will be the highest priority switch filter in
You say "forward" here..
> HW.
> Example:
> $ tc filter add dev ens4f0 protocol ip ingress flower\
> dst_ip 192.168.1.12 ip_proto tcp dst_port 5001\
> skip_sw classid ffff:0x5
>
> The above command adds an ingress filter, the accepted packets
> will be directed to queue 4. The major number represents the ingress
..and "directed" here. TC is used for so many different things you
really need to explain what your use case is.
> qdisc. The general rule is "classID's minor number - 1" upto max
> queues supported. The queue number is in hex format.
The "general rule" you speak of is a rule you'd like to establish,
or an existing rule?
Powered by blists - more mailing lists