1.2.5.2.62 TCPIP_MODULE_MAC_PIC32C_CONFIG Structure

C

typedef struct {
TCPIP_MAC_ADDR macAddress;
TCPIP_MODULE_GMAC_QUEUE_CONFIG gmac_queue_config[DRV_GMAC_NUMBER_OF_QUEUES];
uint16_t linkInitDelay;
TCPIP_ETH_OPEN_FLAGS ethFlags;
uintptr_t ethModuleId;
const struct DRV_ETHPHY_OBJECT_BASE_TYPE* pPhyBase;
const struct DRV_ETHPHY_INIT* pPhyInit;
TCPIP_MAC_CHECKSUM_OFFLOAD_FLAGS checksumOffloadRx;
TCPIP_MAC_CHECKSUM_OFFLOAD_FLAGS checksumOffloadTx;
uint8_t macTxPrioNum;
uint8_t txPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES];
uint8_t macRxPrioNum;
uint8_t rxPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES];
const struct DRV_GMAC_RXQUE_FILTER_INIT* pRxQueFiltInit;
} TCPIP_MODULE_MAC_PIC32C_CONFIG;

Description

GMAC Initialization Data.

This structure defines the MAC initialization data for the PIC32 MAC/Ethernet controller.

Members

MembersDescription
gmac_queue_config[DRV_GMAC_NUMBER_OF_QUEUES]Configuration for each GMAC queues.
linkInitDelayDelay to wait after the lomk is coming up (milliseconds) for insuring that the PHY is ready to transmit data.
ethFlagsFlags to use for the ETH connection.
ethModuleIdEthernet module ID for this driver instance: a plib ETH Id value.
pPhyBaseNon-volatile pointer to the PHY basic object associated with this MAC.
pPhyInitNon-volatile pointer to the PHY initialization data.
checksumOffloadRxRx Checksum offload Enable.
checksumOffloadTxTx Checksum offload Enable.
macTxPrioNumNumber of Tx priorities supported by MAC.
txPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES]Array to translate receive priority to queue index.
macRxPrioNumNumber of Rx priorities supported by MAC.
rxPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES]Array to translate receive priority to queue index.
pRxQueFiltInitConfiguration for GMAC RX Filters.