axiethernet
Xilinx SDK Drivers API Documentation
XAxiEthernet_Config Struct Reference

This typedef contains configuration information for a Axi Ethernet device. More...

Data Fields

u16 DeviceId
 DeviceId is the unique ID of the device. More...
 
UINTPTR BaseAddress
 BaseAddress is the physical base address of the device's registers. More...
 
u8 TemacType
 Temac Type can have 3 possible values. More...
 
u8 TxCsum
 TxCsum indicates that the device has checksum offload on the Tx channel or not. More...
 
u8 RxCsum
 RxCsum indicates that the device has checksum offload on the Rx channel or not. More...
 
u8 PhyType
 PhyType indicates which type of PHY interface is used (MII, GMII, RGMII, etc. More...
 
u8 TxVlanTran
 TX VLAN Translation indication. More...
 
u8 RxVlanTran
 RX VLAN Translation indication. More...
 
u8 TxVlanTag
 TX VLAN tagging indication. More...
 
u8 RxVlanTag
 RX VLAN tagging indication. More...
 
u8 TxVlanStrp
 TX VLAN stripping indication. More...
 
u8 RxVlanStrp
 RX VLAN stripping indication. More...
 
u8 ExtMcast
 Extend multicast indication. More...
 
u8 Stats
 Statistics gathering option. More...
 
u8 Avb
 Avb option. More...
 
u8 EnableSgmiiOverLvds
 Enable LVDS option. More...
 
u8 Enable_1588
 Enable 1588 option. More...
 
u32 Speed
 Tells whether MAC is 1G or 2p5G. More...
 
u8 TemacIntr
 Axi Ethernet interrupt ID. More...
 
int AxiDevType
 AxiDevType is the type of device attached to the Axi Ethernet's AXI4-Stream interface. More...
 
u32 AxiDevBaseAddress
 AxiDevBaseAddress is the base address of the device attached to the Axi Ethernet's AXI4-Stream interface. More...
 
u8 AxiFifoIntr
 AxiFifoIntr interrupt ID (unused if DMA) More...
 
u8 AxiDmaRxIntr
 Axi DMA RX interrupt ID (unused if FIFO) More...
 
u8 AxiDmaTxIntr
 Axi DMA TX interrupt ID (unused if FIFO) More...
 
u8 AxiMcDmaChan_Cnt
 Axi MCDMA Channel Count. More...
 
u8 AxiMcDmaRxIntr [16]
 Axi MCDMA Rx interrupt ID (unused if AXI DMA or FIFO) More...
 
u8 AxiMcDmaTxIntr [16]
 AXI MCDMA TX interrupt ID (unused if AXIX DMA or FIFO) More...
 

Detailed Description

This typedef contains configuration information for a Axi Ethernet device.

Field Documentation

◆ Avb

u8 XAxiEthernet_Config::Avb

Avb option.

◆ AxiDevBaseAddress

u32 XAxiEthernet_Config::AxiDevBaseAddress

AxiDevBaseAddress is the base address of the device attached to the Axi Ethernet's AXI4-Stream interface.

◆ AxiDevType

int XAxiEthernet_Config::AxiDevType

AxiDevType is the type of device attached to the Axi Ethernet's AXI4-Stream interface.

Referenced by AxiEthernetPolledExample(), and AxiEthernetSgDmaPollExample().

◆ AxiDmaRxIntr

u8 XAxiEthernet_Config::AxiDmaRxIntr

Axi DMA RX interrupt ID (unused if FIFO)

◆ AxiDmaTxIntr

u8 XAxiEthernet_Config::AxiDmaTxIntr

Axi DMA TX interrupt ID (unused if FIFO)

◆ AxiFifoIntr

u8 XAxiEthernet_Config::AxiFifoIntr

AxiFifoIntr interrupt ID (unused if DMA)

◆ AxiMcDmaChan_Cnt

u8 XAxiEthernet_Config::AxiMcDmaChan_Cnt

Axi MCDMA Channel Count.

◆ AxiMcDmaRxIntr

u8 XAxiEthernet_Config::AxiMcDmaRxIntr[16]

Axi MCDMA Rx interrupt ID (unused if AXI DMA or FIFO)

◆ AxiMcDmaTxIntr

u8 XAxiEthernet_Config::AxiMcDmaTxIntr[16]

AXI MCDMA TX interrupt ID (unused if AXIX DMA or FIFO)

◆ BaseAddress

◆ DeviceId

u16 XAxiEthernet_Config::DeviceId

DeviceId is the unique ID of the device.

◆ Enable_1588

u8 XAxiEthernet_Config::Enable_1588

Enable 1588 option.

Referenced by AxiEthernetSgDmaPollExample().

◆ EnableSgmiiOverLvds

u8 XAxiEthernet_Config::EnableSgmiiOverLvds

Enable LVDS option.

◆ ExtMcast

u8 XAxiEthernet_Config::ExtMcast

Extend multicast indication.

◆ PhyType

u8 XAxiEthernet_Config::PhyType

PhyType indicates which type of PHY interface is used (MII, GMII, RGMII, etc.

◆ RxCsum

u8 XAxiEthernet_Config::RxCsum

RxCsum indicates that the device has checksum offload on the Rx channel or not.

◆ RxVlanStrp

u8 XAxiEthernet_Config::RxVlanStrp

RX VLAN stripping indication.

◆ RxVlanTag

u8 XAxiEthernet_Config::RxVlanTag

RX VLAN tagging indication.

◆ RxVlanTran

u8 XAxiEthernet_Config::RxVlanTran

RX VLAN Translation indication.

◆ Speed

u32 XAxiEthernet_Config::Speed

Tells whether MAC is 1G or 2p5G.

◆ Stats

u8 XAxiEthernet_Config::Stats

Statistics gathering option.

◆ TemacIntr

u8 XAxiEthernet_Config::TemacIntr

Axi Ethernet interrupt ID.

◆ TemacType

u8 XAxiEthernet_Config::TemacType

Temac Type can have 3 possible values.

They are 0 for SoftTemac at 10/100 Mbps, 1 for SoftTemac at 10/100/1000 Mbps and 2 for Vitex6 Hard Temac

◆ TxCsum

u8 XAxiEthernet_Config::TxCsum

TxCsum indicates that the device has checksum offload on the Tx channel or not.

◆ TxVlanStrp

u8 XAxiEthernet_Config::TxVlanStrp

TX VLAN stripping indication.

◆ TxVlanTag

u8 XAxiEthernet_Config::TxVlanTag

TX VLAN tagging indication.

◆ TxVlanTran

u8 XAxiEthernet_Config::TxVlanTran

TX VLAN Translation indication.