netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] Network driver for Armada 375 SoC
@ 2014-07-04 18:31 Ezequiel Garcia
  2014-07-04 18:31 ` [PATCH 1/3] ethernet: Add new driver for Marvell Armada 375 network unit Ezequiel Garcia
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ezequiel Garcia @ 2014-07-04 18:31 UTC (permalink / raw)
  To: linux-arm-kernel, netdev
  Cc: David Miller, Jason Cooper, Marcin Wojtas, Thomas Petazzoni,
	Gregory Clement, Tawfik Bayouk, Lior Amsalem, Ezequiel Garcia

This patchset adds a new network driver to support the network controller
in Armada 375 SoC.

The network interfaces share a common hardware unit called Packet Processor,
which contains a common register space and per-port register spaces.
    
The new network unit has different RXQ and TXQ management. The ports
associate so-called per-port "logical queues" which are mapped to "physical
queues". The latter are shared among the ports.

Fo the egress part, the mapping for each port is predefined by hardware.
The egress path incorporates so-called aggregation queues (one per CPU),
from where the data is passed to the physical queues and then via prefetch
buffer to the TxDMA.
    
The ingress path has a Parser and Classifier (PnC) and a Buffer Manager (BM)
whose usage is obligatory. We are only implementing a simple configuration
for the Parser and Classifier, yet the code is considerably large.
    
This network unit has other optional features like xPON, WoL, Hardware
Forwarding, and more. This initial commit doesn't provide support for these.
    
The mvpp2 network driver has been written by Marcin Wojtas and then reviewed
and cleaned up by Ezequiel Garcia.

Ezequiel Garcia (3):
  ethernet: Add new driver for Marvell Armada 375 network unit
  ARM: mvebu: Add support for the network controller in Armada 375 SoC
  ARM: mvebu: Enable the network controller in Armada 375 DB board

 .../devicetree/bindings/net/marvell-pp2.txt        |   61 +
 arch/arm/boot/dts/armada-375-db.dts                |   26 +
 arch/arm/boot/dts/armada-375.dtsi                  |   31 +
 drivers/net/ethernet/marvell/Kconfig               |    8 +
 drivers/net/ethernet/marvell/Makefile              |    1 +
 drivers/net/ethernet/marvell/mvpp2.c               | 6378 ++++++++++++++++++++
 6 files changed, 6505 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/net/marvell-pp2.txt
 create mode 100644 drivers/net/ethernet/marvell/mvpp2.c

-- 
1.9.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-07-07 21:22 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-04 18:31 [PATCH net-next 0/3] Network driver for Armada 375 SoC Ezequiel Garcia
2014-07-04 18:31 ` [PATCH 1/3] ethernet: Add new driver for Marvell Armada 375 network unit Ezequiel Garcia
2014-07-05 21:03   ` Francois Romieu
2014-07-05 21:14     ` Joe Perches
2014-07-07 14:26     ` Ezequiel Garcia
2014-07-07 21:22       ` Francois Romieu
2014-07-04 18:31 ` [PATCH 2/3] ARM: mvebu: Add support for the network controller in Armada 375 SoC Ezequiel Garcia
2014-07-04 18:51   ` Sergei Shtylyov
2014-07-04 19:06     ` Ezequiel Garcia
2014-07-04 18:31 ` [PATCH 3/3] ARM: mvebu: Enable the network controller in Armada 375 DB board Ezequiel Garcia

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).