ETHFW API Guide
EthFwMcast_McastCfg Struct Reference

Detailed Description

Multicast configuration params.

Multicast params composed of the multicast address, port mask and the virtual port mask.

Data Fields

uint8_t macAddr [ENET_MAC_ADDR_LEN]
 
uint32_t portMask
 
uint32_t virtPortMask
 

Field Documentation

◆ macAddr

uint8_t EthFwMcast_McastCfg::macAddr[ENET_MAC_ADDR_LEN]

Multicast address

◆ portMask

uint32_t EthFwMcast_McastCfg::portMask

Hardware port mask (Ethernet port and host port):

  • Use CPSW_ALE_MACPORT_TO_ALEPORT() to set the MAC port bitmask
  • Use CPSW_ALE_HOST_PORT_MASK to set the host port bitmask

◆ virtPortMask

uint32_t EthFwMcast_McastCfg::virtPortMask

Virtual port mask. Use ETHFW_BIT(ETHREMOTECFG_SWITCH_PORT_n) to create the member mask.