[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220705151505.7a4757ae@kernel.org>
Date: Tue, 5 Jul 2022 15:15:05 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Michal Wilczynski <michal.wilczynski@...el.com>
Cc: netdev@...r.kernel.org, Dima Chumak <dchumak@...dia.com>,
Maxim Mikityanskiy <maximmi@...dia.com>
Subject: Re: [RFC] ice: Reconfigure tx scheduling for SR-IOV
On Mon, 4 Jul 2022 13:45:13 +0200 Michal Wilczynski wrote:
> If we were to follow normal flow, we would now use tc-filter family of
> commands to direct types of interesting traffic to the correct nodes.
> That is NOT the case in this implementation. In this POC, meaningful
> classid number identifies scheduling node. Number of qdisc handle is a
> queue number in a PF space. Reason for this - we want to support ALL
> queues on the card including SR-IOV ones that are assigned to VF
> netdevs.
Have you looked at the devlink rate API? It should do what you need.
Dima has been working on extending that API recently you may want to
compare notes with him as well:
https://lore.kernel.org/all/20220620152647.2498927-1-dchumak@nvidia.com/
Powered by blists - more mailing lists