ETHFW API Guide
EthRemoteCfg_OfferVirtPortRes Struct Reference

Detailed Description

Response params for ETHREMOTECFG_CMD_VIRT_PORT_INFO command.

Virtual port allocation sends the info about the virtual ports assigned to a given remote core.

Data Fields

EthRemoteCfg_ResHdr hdr
 
uint32_t switchPortMask
 
uint32_t macPortMask
 

Field Documentation

◆ hdr

EthRemoteCfg_ResHdr EthRemoteCfg_OfferVirtPortRes::hdr

Response message common header.

◆ switchPortMask

uint32_t EthRemoteCfg_OfferVirtPortRes::switchPortMask

Port mask denoting absolute virtual switch ports allocated.

◆ macPortMask

uint32_t EthRemoteCfg_OfferVirtPortRes::macPortMask

Port mask indicating which virtual MAC ports are allocated. Each virtual MAC port directly corresponds to a Ethernet port.

+-----------—+-------------------------—+------------—+ | Bit Position | Virtual Port | Ethernet Port | +-----------—+-------------------------—+------------—+ | 0 | Not Defined | Not Defined | | 1 | ETHREMOTECFG_MAC_PORT_1 | PORT1 | | 2 | ETHREMOTECFG_MAC_PORT_2 | PORT2 | | 3 | ETHREMOTECFG_MAC_PORT_3 | PORT3 | | 4 | ETHREMOTECFG_MAC_PORT_4 | PORT4 | | 5 | ETHREMOTECFG_MAC_PORT_5 | PORT5 | | N | ETHREMOTECFG_MAC_PORT_N | PORTN | +-----------—+-------------------------—+------------—+