netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tobias Regnery <tobias.regnery@gmail.com>
To: Chris Snook <chris.snook@gmail.com>,
	jcliburn@gmail.com, netdev@vger.kernel.org
Cc: davem@davemloft.net
Subject: Re: [PATCH net-next 0/9] alx: add multi queue support
Date: Mon, 24 Oct 2016 14:54:32 +0200	[thread overview]
Message-ID: <20161024125432.GA8171@localhost.localdomain> (raw)
In-Reply-To: <CAMXMK6uPw7N+sve+gePm8ToDaoH7dciWq7ixZQOxpQZ5jr=yOg@mail.gmail.com>

I tested this patchset with my AR8161 ethernet card in different situations:

  - After two weeks of daily use I observed no regression with this patchset.
  - I manually tested the new error paths in the __alx-open function and in
    the other newly added device bringup functions.

  - iperf udp and tcp throughput are exactly the same with and without this
    patchset, regardless of the number of parallel streams.
  - netperf TCP_RR and UDP_RR tests shows a slight performance increase of
    about 1-2% with this patchset.

I don't own any of the other supported cards by the driver, so if someone is
willing to test these patches on one of the other cards, this is highly
appreciated.

Benefits are the split between misc interrupts and the tx / rx interrupts
with the new msi-x support and better multi core cpu utilization.

Sorry for not providing these information in the patchset, I will add these
in the next revision.

--
Tobias

On 21.10.16, Chris Snook wrote:
> Can you please elaborate on the testing and benefits?
> 
> - Chris
> 
> On Fri, Oct 21, 2016 at 3:50 AM Tobias Regnery <tobias.regnery@gmail.com>
> wrote:
> 
> > This patchset lays the groundwork for multi queue support in the alx driver
> > and enables multi queue support for the tx path by default. The hardware
> > supports up to 4 tx queues.
> >
> > The rx path is a little bit harder because apparently (based on the limited
> > information from the downstream driver) the hardware supports up to 8 rss
> > queues but only has one hardware descriptor ring on the rx side. So the rx
> > path will be part of another patchset.
> >
> > This work is based on the downstream driver at github.com/qca/alx
> >
> > I had a hard time splitting these changes up into reasonable parts because
> > this is my first bigger kernel patchset, so please be patient if this is
> > not
> > the right approach.
> >
> > Tobias Regnery (9):
> >   alx: refactor descriptor allocation
> >   alx: extend data structures for multi queue support
> >   alx: add ability to allocate and free alx_napi structures
> >   alx: switch to per queue data structures
> >   alx: prepare interrupt functions for multiple queues
> >   alx: prepare resource allocation for multi queue support
> >   alx: prepare tx path for multi queue support
> >   alx: enable msi-x interrupts by default
> >   alx: enable multiple tx queues
> >
> >  drivers/net/ethernet/atheros/alx/alx.h  |  36 ++-
> >  drivers/net/ethernet/atheros/alx/main.c | 554
> > ++++++++++++++++++++++----------
> >  2 files changed, 420 insertions(+), 170 deletions(-)
> >
> > --
> > 2.7.4
> >
> >

      parent reply	other threads:[~2016-10-24 12:54 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-21 10:49 [PATCH net-next 0/9] alx: add multi queue support Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 1/9] alx: refactor descriptor allocation Tobias Regnery
2016-10-23 15:50   ` David Miller
2016-10-21 10:49 ` [PATCH net-next 2/9] alx: extend data structures for multi queue support Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 3/9] alx: add ability to allocate and free alx_napi structures Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 4/9] alx: switch to per queue data structures Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 5/9] alx: prepare interrupt functions for multiple queues Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 6/9] alx: prepare resource allocation for multi queue support Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 7/9] alx: prepare tx path " Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 8/9] alx: enable msi-x interrupts by default Tobias Regnery
2016-10-21 10:49 ` [PATCH net-next 9/9] alx: enable multiple tx queues Tobias Regnery
     [not found] ` <CAMXMK6uPw7N+sve+gePm8ToDaoH7dciWq7ixZQOxpQZ5jr=yOg@mail.gmail.com>
2016-10-24 12:54   ` Tobias Regnery [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=20161024125432.GA8171@localhost.localdomain \
    --to=tobias.regnery@gmail.com \
    --cc=chris.snook@gmail.com \
    --cc=davem@davemloft.net \
    --cc=jcliburn@gmail.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).