5.13. Synopsys DWXGMAC - emllDwXgmac
The parameters to the Real-time Ethernet Driver Synopsys DesignWare Cores XGMAC - 10G/25G Ethernet MAC are setup-specific.
The function CreateLinkParmsFromCmdLineDwXgmac() in EcSelectLinkLayer.cpp demonstrates how to initialize the Real-time Ethernet Driver instance.
-
struct EC_T_LINK_PARMS_DWXGMAC
Public Members
-
EC_T_LINK_PARMS linkParms
Common link parameters. Signature must be set to EC_LINK_PARMS_SIGNATURE_DW3504
-
EC_T_DWORD dwPhyAddr
PHY address
-
EC_T_DWXGMAC_TYPE eDwXgmacType
System on Chip type
-
EC_T_PHYINTERFACE ePhyInterface
PHY connection type
-
EC_T_BOOL bNotUseDmaBuffers
EC_FALSE: Use buffers from DMA for receive (default), EC_TRUE: use buffers from heap for receive. EcLinkAllocSendFrame is not supported if bNotUseDmaBuffers = EC_TRUE.
-
EC_T_DWORD dwTxDmaDesCnt
Transmit DMA descriptor buffer count. Must be a power of 2, maximum 256
-
EC_T_DWORD dwRxDmaDesCnt
Receive DMA descriptor buffer count. Must be a power of 2, maximum 256
-
EC_T_BOOL bNoPhyAccess
Don’t use MDIO to set up the PHY
-
EC_T_LINK_PARMS linkParms