netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Joao Pinto <Joao.Pinto@synopsys.com>
To: davem@davemloft.net
Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com,
	netdev@vger.kernel.org, Joao Pinto <Joao.Pinto@synopsys.com>
Subject: [PATCH 00/11] net: stmmac: prepare dma operations for multiple queues
Date: Mon, 13 Mar 2017 16:12:31 +0000	[thread overview]
Message-ID: <cover.1489419356.git.jpinto@synopsys.com> (raw)

As agreed with David Miller, this patch-set is the second of 3 to enable
multiple queues in stmmac.

This second one concentrates on dma operations adding functionalities as:
a) DMA Operation Mode configuration per channel and done in the multiple
queues configuration function
b) DMA IRQ enable and Disable by channel
c) DMA start and stop by channel
d) RX and TX ring length configuration by channel
e) RX and TX set tail pointer by channel
f) DMA Channel initialization broke into Channel comon, RX and
TX initialization
g) TSO being configured for all available channels
h) DMA interrupt treatment by channel

Joao Pinto (11):
  net: stmmac: prepare dma op mode config for multiple queues
  net: stmmac: enable/disable dma irq prepared for multiple queues
  net: stmmac: rx/tx dma start/stop prepared for multiple queues
  net: stmmac: prepare stmmac_tx_err for multiple queues
  net: stmmac: prepare dma interrupt treatment for multiple queues
  net: stmmac: rx watchdog config prepared for multiple queues
  net: stmmac: rx and tx ring length prepared for multiple queues
  net: stmmac: prepare rx/tx set tail function for multiple queues
  net: stmmac: dma channel init prepared for multiple queues
  net: stmmac: tso init prepared for multiple queues
  net: stmmac: stmmac interrupt treatment prepared for multiple queues

 drivers/net/ethernet/stmicro/stmmac/common.h       |  31 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_dma.c    |   3 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c   | 192 ++++++-----
 drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.h   |  20 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac4_lib.c   |  56 ++--
 drivers/net/ethernet/stmicro/stmmac/dwmac_dma.h    |  15 +-
 drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c    |  14 +-
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |   3 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  | 372 ++++++++++++++++-----
 9 files changed, 467 insertions(+), 239 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-03-13 16:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 16:12 Joao Pinto [this message]
2017-03-13 16:12 ` [PATCH 01/11] net: stmmac: prepare dma op mode config for multiple queues Joao Pinto
2017-03-13 16:12 ` [PATCH 02/11] net: stmmac: enable/disable dma irq prepared " Joao Pinto
2017-03-13 16:12 ` [PATCH 03/11] net: stmmac: rx/tx dma start/stop " Joao Pinto
2017-03-13 16:12 ` [PATCH 04/11] net: stmmac: prepare stmmac_tx_err " Joao Pinto
2017-03-13 16:12 ` [PATCH 05/11] net: stmmac: prepare dma interrupt treatment " Joao Pinto
2017-03-13 16:12 ` [PATCH 06/11] net: stmmac: rx watchdog config prepared " Joao Pinto
2017-03-13 16:12 ` [PATCH 07/11] net: stmmac: rx and tx ring length " Joao Pinto
2017-03-13 16:12 ` [PATCH 08/11] net: stmmac: prepare rx/tx set tail function " Joao Pinto
2017-03-13 16:12 ` [PATCH 09/11] net: stmmac: dma channel init prepared " Joao Pinto
2017-03-14  0:18   ` David Miller
2017-03-13 16:12 ` [PATCH 10/11] net: stmmac: tso " Joao Pinto
2017-03-13 16:12 ` [PATCH 11/11] net: stmmac: stmmac interrupt treatment " Joao Pinto

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=cover.1489419356.git.jpinto@synopsys.com \
    --to=joao.pinto@synopsys.com \
    --cc=alexandre.torgue@st.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.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).