netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: "Nambiar, Amritha" <amritha.nambiar@intel.com>
Cc: Alexander H Duyck <alexander.duyck@gmail.com>,
	<netdev@vger.kernel.org>, <davem@davemloft.net>,
	<edumazet@google.com>, <pabeni@redhat.com>,
	Saeed Mahameed <saeed@kernel.org>,
	"Samudrala, Sridhar" <sridhar.samudrala@intel.com>
Subject: Re: Kernel interface to configure queue-group parameters
Date: Thu, 16 Feb 2023 09:32:22 -0800	[thread overview]
Message-ID: <20230216093222.18f9cefe@kernel.org> (raw)
In-Reply-To: <893f1f98-7f64-4f66-3f08-75865a6916c3@intel.com>

On Thu, 16 Feb 2023 02:35:35 -0800 Nambiar, Amritha wrote:
> > The biggest issue I see is that there isn't any sort of sysfs interface
> > exposed for NAPI which is what you would essentially need to justify
> > something like this since that is what you are modifying.
> 
> Right. Something like /sys/class/net/<iface>/napis/napi<0-N>
> Maybe, initially there would be as many napis as queues due to 1:1 
> association, but as the queues bitmap is tuned for the napi, only those 
> napis that have queue[s] associated with it would be exposed.

Forget about using sysfs, please. We've been talking about making
"queues first class citizen", mapping to pollers is part of that
problem space. And it's complex enough to be better suited for netlink.

  reply	other threads:[~2023-02-16 17:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-07  0:15 Kernel interface to configure queue-group parameters Nambiar, Amritha
2023-02-07 16:28 ` Alexander H Duyck
2023-02-09  0:36   ` Jakub Kicinski
2023-02-16 10:34     ` Nambiar, Amritha
2023-02-16 10:35   ` Nambiar, Amritha
2023-02-16 17:32     ` Jakub Kicinski [this message]
2023-02-24  9:14       ` Nambiar, Amritha
2023-02-24 19:22         ` Jakub Kicinski
2023-02-19 17:39     ` Alexander H Duyck
2023-02-24  9:17       ` Nambiar, Amritha

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=20230216093222.18f9cefe@kernel.org \
    --to=kuba@kernel.org \
    --cc=alexander.duyck@gmail.com \
    --cc=amritha.nambiar@intel.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=saeed@kernel.org \
    --cc=sridhar.samudrala@intel.com \
    /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).