ETHFW API Guide
|
Static VLAN configuration.
Data Fields | |
uint16_t | vlanId |
uint32_t | memberMask |
uint32_t | virtMemberMask |
uint32_t | regMcastFloodMask |
uint32_t | unregMcastFloodMask |
uint32_t | untagMask |
uint16_t EthFwVlan_VlanCfg::vlanId |
VLAN id
uint32_t EthFwVlan_VlanCfg::memberMask |
Member mask of hardware ports (Ethernet port and host port):
CPSW_ALE_MACPORT_TO_ALEPORT()
to set the MAC port bitmaskCPSW_ALE_HOST_PORT_MASK
to set the host port bitmask uint32_t EthFwVlan_VlanCfg::virtMemberMask |
Member mask of virtual ports. Use ETHFW_BIT(ETHREMOTECFG_SWITCH_PORT_n)
to create the member mask. Note: Currently, only one virtual port is supported
uint32_t EthFwVlan_VlanCfg::regMcastFloodMask |
Port mask where registered multicast packets will be flooded to. Must be same as EthFwVlan_VlanCfg::memberMask or a subset of it
uint32_t EthFwVlan_VlanCfg::unregMcastFloodMask |
Port mask where unregistered multicast packets will be flooded to. Must be same as EthFwVlan_VlanCfg::memberMask or a subset of it
uint32_t EthFwVlan_VlanCfg::untagMask |
Port mask where VLAN tag must be removed on egress. Must be same as EthFwVlan_VlanCfg::memberMask or a subset of it