netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Beniamino Galvani <b.galvani@gmail.com>
To: "David S. Miller" <davem@davemloft.net>
Cc: "Romain Perier" <romain.perier@gmail.com>,
	"Heiko Stübner" <heiko@sntech.de>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"Tobias Klauser" <tklauser@distanz.ch>,
	"Jingoo Han" <jg1.han@samsung.com>,
	"Max Schwarz" <max.schwarz@online.de>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Beniamino Galvani" <b.galvani@gmail.com>
Subject: [PATCH v2 0/2] net: arc_emac: fix tx issues
Date: Wed, 10 Sep 2014 22:50:01 +0200	[thread overview]
Message-ID: <1410382203-10395-1-git-send-email-b.galvani@gmail.com> (raw)

Hi,

the patches below solve some issues found in the tx ring reclaim
strategy currently implemented in the arc_emac driver.

Without these patches a simple outgoing UDP flow blocks almost
immediately with the socket send buffer full, until some new rx
packets trigger a clean of the tx ring.

Everything seems to work fine on a Radxa Rock with this fix applied.

Changes since v1:
 - reworded commit messages

Beniamino Galvani (2):
  net: arc_emac: enable tx interrupts
  net: arc_emac: prevent reuse of unreclaimed tx descriptors

 drivers/net/ethernet/arc/emac_main.c | 53 +++++++++++++++++++++++++-----------
 1 file changed, 37 insertions(+), 16 deletions(-)

-- 
1.9.1

             reply	other threads:[~2014-09-10 20:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10 20:50 Beniamino Galvani [this message]
2014-09-10 20:50 ` [PATCH v2 1/2] net: arc_emac: enable tx interrupts Beniamino Galvani
2014-09-11 17:24   ` Florian Fainelli
2014-09-10 20:50 ` [PATCH v2 2/2] net: arc_emac: prevent reuse of unreclaimed tx descriptors Beniamino Galvani
2014-09-12 21:19 ` [PATCH v2 0/2] net: arc_emac: fix tx issues David Miller

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=1410382203-10395-1-git-send-email-b.galvani@gmail.com \
    --to=b.galvani@gmail.com \
    --cc=arnd@arndb.de \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=heiko@sntech.de \
    --cc=jg1.han@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=max.schwarz@online.de \
    --cc=netdev@vger.kernel.org \
    --cc=romain.perier@gmail.com \
    --cc=tklauser@distanz.ch \
    /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).