From: Shannon Nelson <snelson@pensando.io>
To: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net
Subject: Re: [PATCH net-next 4/4] ionic: separate interrupt for Tx and Rx
Date: Mon, 27 Jul 2020 09:37:45 -0700 [thread overview]
Message-ID: <4a43aeb0-ab14-1c8f-0ff6-9ce7cad815c9@pensando.io> (raw)
In-Reply-To: <20200724175611.7b514bb1@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
On 7/24/20 5:56 PM, Jakub Kicinski wrote:
> On Fri, 24 Jul 2020 17:23:26 -0700 Shannon Nelson wrote:
>> Add the capability to split the Tx queues onto their own
>> interrupts with their own napi contexts. This gives the
>> opportunity for more direct control of Tx interrupt
>> handling, such as CPU affinity and interrupt coalescing,
>> useful for some traffic loads.
>>
>> To enable, use the ethtool private flag:
>> ethtool --set-priv-flag enp20s0 split-q-intr on
>> To restore defaults
>> ethtool --set-priv-flag enp20s0 split-q-intr off
>>
>> When enabled, the number of queues is cut in half in order
>> to reuse the interrupts that have already been allocated to
>> the device. When disabled, the queue count is restored.
>>
>> Signed-off-by: Shannon Nelson <snelson@pensando.io>
> Splitting queues into tx-only and rx-only is done like this:
>
> ethtool -L enp20s0 rx N tx N combined 0
>
> And then back to combined:
>
> ethtool -L enp20s0 rx 0 tx 0 combined N
>
> No need for a private flag here.
Sure, we can do it that way.
Thanks,
sln
prev parent reply other threads:[~2020-07-27 16:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-25 0:23 [PATCH net-next 0/4] ionic txrx updates Shannon Nelson
2020-07-25 0:23 ` [PATCH net-next 1/4] ionic: use fewer firmware doorbells on rx fill Shannon Nelson
2020-07-25 0:23 ` [PATCH net-next 2/4] ionic: recover from ringsize change failure Shannon Nelson
2020-07-25 2:44 ` David Miller
2020-07-27 16:42 ` Shannon Nelson
2020-07-25 0:23 ` [PATCH net-next 3/4] ionic: tx separate servicing Shannon Nelson
2020-07-25 0:23 ` [PATCH net-next 4/4] ionic: separate interrupt for Tx and Rx Shannon Nelson
2020-07-25 0:56 ` Jakub Kicinski
2020-07-27 16:37 ` Shannon Nelson [this message]
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=4a43aeb0-ab14-1c8f-0ff6-9ce7cad815c9@pensando.io \
--to=snelson@pensando.io \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--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).