Jump to main content

##

# 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

Members | Description
--- | ---
gmac_queue_config[DRV_GMAC_NUMBER_OF_QUEUES] | Configuration for each GMAC queues.
linkInitDelay | Delay to wait after the lomk is coming up (milliseconds) for insuring that the PHY is ready to transmit data.
ethFlags | Flags to use for the ETH connection.
ethModuleId | Ethernet module ID for this driver instance: a plib ETH Id value.
pPhyBase | Non-volatile pointer to the PHY basic object associated with this MAC.
pPhyInit | Non-volatile pointer to the PHY initialization data.
checksumOffloadRx | Rx Checksum offload Enable.
checksumOffloadTx | Tx Checksum offload Enable.
macTxPrioNum | Number of Tx priorities supported by MAC.
txPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES] | Array to translate receive priority to queue index.
macRxPrioNum | Number of Rx priorities supported by MAC.
rxPrioNumToQueIndx[DRV_GMAC_NUMBER_OF_QUEUES] | Array to translate receive priority to queue index.
pRxQueFiltInit | Configuration for GMAC RX Filters.