Re: [PATCH v2 net-next 00/11] net: stmmac: prepare dma operations for multiple queues

2017-03-14 Thread Joao Pinto
Às 6:21 PM de 3/14/2017, David Miller escreveu:
> From: Joao Pinto 
> Date: Tue, 14 Mar 2017 10:24:22 +
> 
>> 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
> 
> Patch #5 doesn't apply cleanly to net-next, please respin this series.
> 
> Thank you.
> 

Ok, I will rebase it and send you a v3 tomorrow. Thanks.


Re: [PATCH v2 net-next 00/11] net: stmmac: prepare dma operations for multiple queues

2017-03-14 Thread David Miller
From: Joao Pinto 
Date: Tue, 14 Mar 2017 10:24:22 +

> 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

Patch #5 doesn't apply cleanly to net-next, please respin this series.

Thank you.


[PATCH v2 net-next 00/11] net: stmmac: prepare dma operations for multiple queues

2017-03-14 Thread Joao Pinto
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  | 373 -
 9 files changed, 468 insertions(+), 239 deletions(-)

-- 
2.9.3