From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beniamino Galvani Subject: [PATCH v2 0/2] net: arc_emac: fix tx issues Date: Wed, 10 Sep 2014 22:50:01 +0200 Message-ID: <1410382203-10395-1-git-send-email-b.galvani@gmail.com> Cc: Romain Perier , =?UTF-8?q?Heiko=20St=C3=BCbner?= , Arnd Bergmann , Tobias Klauser , Jingoo Han , Max Schwarz , Florian Fainelli , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Beniamino Galvani To: "David S. Miller" Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org 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