netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Michal Wilczynski <michal.wilczynski@intel.com>
Cc: netdev@vger.kernel.org, Dima Chumak <dchumak@nvidia.com>,
	Maxim Mikityanskiy <maximmi@nvidia.com>
Subject: Re: [RFC] ice: Reconfigure tx scheduling for SR-IOV
Date: Tue, 5 Jul 2022 15:15:05 -0700	[thread overview]
Message-ID: <20220705151505.7a4757ae@kernel.org> (raw)
In-Reply-To: <20220704114513.2958937-1-michal.wilczynski@intel.com>

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/

  reply	other threads:[~2022-07-05 22:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 11:45 [RFC] ice: Reconfigure tx scheduling for SR-IOV Michal Wilczynski
2022-07-05 22:15 ` Jakub Kicinski [this message]
2022-07-06 10:54   ` Wilczynski, Michal
2022-07-06 19:56     ` Jakub Kicinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220705151505.7a4757ae@kernel.org \
    --to=kuba@kernel.org \
    --cc=dchumak@nvidia.com \
    --cc=maximmi@nvidia.com \
    --cc=michal.wilczynski@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).