Linux driver for Xilinx axi_10g_ethernet_0_ten_gig_eth_mac c

Guest
Hi,

I'm looking for the Linux driver for Xilinx 10GBASE-R core.
In the DTS it is reported as:

axi_10g_ethernet_0_ten_gig_eth_mac: ten-gig-eth-mac@44a00000 {
compatible = "xlnx,ten-gig-eth-mac-13.0";
reg = <0x44a00000 0x10000>;
} ;

Does such driver exist, or do we need it to write it ourselves?
--
TIA & Regards,
Wojtek
 
wzab01@gmail.com wrote:
Hi,

I'm looking for the Linux driver for Xilinx 10GBASE-R core.
In the DTS it is reported as:

axi_10g_ethernet_0_ten_gig_eth_mac: ten-gig-eth-mac@44a00000 {
compatible = "xlnx,ten-gig-eth-mac-13.0";
reg = <0x44a00000 0x10000>;
} ;

Does such driver exist, or do we need it to write it ourselves?

Do you mean a driver for Linux running on the FPGA, or using the FPGA as a
NIC in a PC?

If the latter, NetFPGA has drivers:
https://github.com/NetFPGA/NetFPGA-public/wiki/NIC-Driver
but you'd probably need to adapt the stack for your setup.

Theo
 
W dniu wtorek, 3 czerwca 2014 12:34:21 UTC+2 użytkownik Theo Markettos napisał:
wzab01@gmail.com wrote:

Hi,



I'm looking for the Linux driver for Xilinx 10GBASE-R core.

In the DTS it is reported as:



axi_10g_ethernet_0_ten_gig_eth_mac: ten-gig-eth-mac@44a00000 {

compatible = "xlnx,ten-gig-eth-mac-13.0";

reg = <0x44a00000 0x10000>;

} ;



Does such driver exist, or do we need it to write it ourselves?



Do you mean a driver for Linux running on the FPGA, or using the FPGA as a

NIC in a PC?



If the latter, NetFPGA has drivers:

https://github.com/NetFPGA/NetFPGA-public/wiki/NIC-Driver

but you'd probably need to adapt the stack for your setup.



Theo

OK. I have not described the setuo fully. This is a system implemented
on the FPGA based board (now the standard KC705, later a custom board).
The system consists of the Microblaze wit DDR RAM and some peripherials
including the Xilinx 10Gb/s MAC:

http://www.xilinx.com/products/intellectual-property/DO-DI-10GEMAC.htm
http://www.xilinx.com/support/documentation/ip_documentation/ten_gig_eth_mac/v13_1/pg072-ten-gig-eth-mac.pdf

The Linux system for the above embedded system was successfully compiled
with Buildroot environment, but I was not able to find the appropriate driver
for that MAC.
I've searched all accessible kernel repositories (including
https://github.com/Xilinx/linux-xlnx/tree/master/drivers/net/ethernet/xilinx
) for driver declaring
compatibility with "xlnx,ten-gig-eth-mac-13.0", but nothing seems to be available.

Of course I can get rid of Microblaze and this MAC, and build something
based on Wishbone, with MAC: http://opencores.org/project,xge_mac
(especially if I have to develop the driver myself, I'd rather prefer to
do it for an open solution, than for the commercial one).

Regards,
Wojtek
 
On Tuesday, June 3, 2014 1:15:28 PM UTC-7, wza...@gmail.com wrote:
OK. I have not described the setuo fully. This is a system implemented
on the FPGA based board (now the standard KC705, later a custom board).
The system consists of the Microblaze wit DDR RAM and some peripherials
including the Xilinx 10Gb/s MAC:

http://www.xilinx.com/products/intellectual-property/DO-DI-10GEMAC.htm
http://www.xilinx.com/support/documentation/ip_documentation/ten_gig_eth_mac/v13_1/pg072-ten-gig-eth-mac.pdf

The Linux system for the above embedded system was successfully compiled
with Buildroot environment, but I was not able to find the appropriate driver
for that MAC.

I've searched all accessible kernel repositories (including
https://github.com/Xilinx/linux-xlnx/tree/master/drivers/net/ethernet/xilinx
) for driver declaring
compatibility with "xlnx,ten-gig-eth-mac-13.0", but nothing seems to be available.

Of course I can get rid of Microblaze and this MAC, and build something
based on Wishbone, with MAC: http://opencores.org/project,xge_mac
(especially if I have to develop the driver myself, I'd rather prefer to
do it for an open solution, than for the commercial one).

Regards,
Wojtek

I think your trouble is that you only have a MAC core, not an entire NIC solution. I think you still need the blocks to interface to the block's AXI4 ports to do DMA to the host(MicroBlaze), manage TX and RX rings, generate interrupts, etc.

Maybe this: https://github.com/NetFPGA/NetFPGA-public/wiki/NetFPGA-10G-Reference-NIC

http://www.xilinx.com/support/documentation/ip_documentation/ug761_axi_reference_guide.pdf
Figure 2-19 shows a prototype ethernet for MicroBlaze architecture.
-JohnG
 

Welcome to EDABoard.com

Sponsor

Back
Top