Thread (1 message) 1 message, 1 author, 2016-12-08

Re: [PATCH net-next 2/2] net: ethernet: Initial driver for Synopsys DWC XLGMAC

From: Pavel Machek <hidden>
Date: 2016-12-08 21:57:16
Also in: lkml

On Thu 2016-12-08 13:58:47, Jie Deng wrote:

On 2016/12/7 17:48, Pavel Machek wrote:
quoted
Hi!
quoted
This patch provides the initial driver for 25/40/50/100 GbE
devices using Synopsys DWC Enterprise Ethernet (XLGMAC)

Signed-off-by: Jie Deng <redacted>
I trust this is different hardware from stmmac?
Yes, different hardware. Currently,  Synopsys has several Ethernet IP cores. But
drivers for these hardwares are scattered in different places. I really hope
that they can be centralized into driver/net/ethernet/synopsys for maintenance.
This makes things easy for others to find the corresponding drivers.
    - QoS
        drivers/net/ethernet/synopsys/dwc_eth_qos.c
        drivers/net/ethernet/stmicro/stmmac/          
    - XGMAC
        driver/net/ethernet/amd/xgbe/
    - XLGMAC
        No driver for this hardware in mainline at present.
quoted
quoted
diff --git a/MAINTAINERS b/MAINTAINERS
index 331f6af..738f818 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -10639,6 +10639,12 @@ S: Supported
 F: Documentation/devicetree/bindings/net/snps,dwc-qos-ethernet.txt
 F: drivers/net/ethernet/synopsys/dwc_eth_qos.c
 
+SYNOPSYS DESIGNWARE ENTERPRISE ETHERNET (XLGMAC) DRIVER
+M:	jiedeng <jiedeng@synopsys.com>
Jie Deng here?
Oh, should be Jie Deng here. Thank you!
quoted
quoted
@@ -0,0 +1,228 @@
+/*
+ * Synopsys DesignWare Ethernet Driver
Your patch title names hardware differently...?
Yes, currently, it should be XLGMAC driver. I extracted the parts can be shared
for different Synopsys IPs.

The XLGMAC driver can be divided into three parts

- The DWC ethernet core layer (DWC ECL):
Currently, it supports XLGMAC. But I think this part can be shared for different
Synopsys IPs.

- The DWC MAC HW adapter layer (DWC MHAL):
This part was designed to include special support for a specific MAC IP.
Currently, XLGMAC, and I think we can add
something to support XGMAC and QoS in the future.

- The glue adapter layer (GAL)
Ok, thanks for description. Hopefully it can be merged in a way that
is not too confusing...

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help