ETHFW API Guide
CpswProxyServer_Config_t Struct Reference

Detailed Description

Cpsw Proxy Server Remote Configuration structure.

Structure passed by application to configure the CPSW Proxy server.

Data Fields

CpswProxyServer_InitEthfwDeviceDataCb initEthfwDeviceDataCb
 
CpswProxyServer_GetMcmCmdIfCb getMcmCmdIfCb
 
CpswProxyServer_NotifyCb notifyCb
 
uint32_t rpmsgEndPointId
 
uint32_t autosarEthDeviceEndPointId [CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]
 
uint32_t autosarEthDriverRemoteCoreId [CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]
 
EthRemoteCfg_VirtPort autosarEthDriverVirtPort [CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]
 
uint32_t autosarEthVirtPortNum
 
Enet_Type notifyServiceCpswType
 
uint32_t notifyServiceRemoteCoreId [ETHREMOTECFG_SERVER_MAX_INSTANCES]
 
CpswProxyServer_VirtPortCfg virtPortCfg [ETHREMOTECFG_SERVER_MAX_INSTANCES]
 
uint32_t numVirtPorts
 
Enet_MacPort macPort [CPSWPROXYSERVER_MAC_PORT_MAX]
 
uint32_t numMacPorts
 
uint16_t dfltVlanIdMacOnlyPorts
 
uint16_t dfltVlanIdSwitchPorts
 
CpswProxyServer_SharedMcastCfg sharedMcastCfg
 
CpswProxyServer_RsvdMcastCfg rsvdMcastCfg
 

Field Documentation

◆ initEthfwDeviceDataCb

CpswProxyServer_InitEthfwDeviceDataCb CpswProxyServer_Config_t::initEthfwDeviceDataCb

Application callback to populate Ethernet Remote Device data

◆ getMcmCmdIfCb

CpswProxyServer_GetMcmCmdIfCb CpswProxyServer_Config_t::getMcmCmdIfCb

Application callback to get MCM command interface

◆ notifyCb

CpswProxyServer_NotifyCb CpswProxyServer_Config_t::notifyCb

Application callback to handle custom notify from client

◆ rpmsgEndPointId

uint32_t CpswProxyServer_Config_t::rpmsgEndPointId

IPC RpMsg endpoint id. This is the local endpoint at which proxy server will listen for msgs

◆ autosarEthDeviceEndPointId

uint32_t CpswProxyServer_Config_t::autosarEthDeviceEndPointId[CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]

AUTOSAR Ethernet Device RpMsg endpoint id

◆ autosarEthDriverRemoteCoreId

uint32_t CpswProxyServer_Config_t::autosarEthDriverRemoteCoreId[CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]

Remote Core Id for AUTOSAR core

◆ autosarEthDriverVirtPort

EthRemoteCfg_VirtPort CpswProxyServer_Config_t::autosarEthDriverVirtPort[CPSWPROXYSERVER_AUTOSAR_REMOTE_CLIENT_MAX]

Virtual port configuration

◆ autosarEthVirtPortNum

uint32_t CpswProxyServer_Config_t::autosarEthVirtPortNum

Number of AUTOSAR virtual ports that remotes cores can attach to

◆ notifyServiceCpswType

Enet_Type CpswProxyServer_Config_t::notifyServiceCpswType

CPSW type for which notify service is enabled

◆ notifyServiceRemoteCoreId

uint32_t CpswProxyServer_Config_t::notifyServiceRemoteCoreId[ETHREMOTECFG_SERVER_MAX_INSTANCES]

Remote Core Id for Notification service

◆ virtPortCfg

CpswProxyServer_VirtPortCfg CpswProxyServer_Config_t::virtPortCfg[ETHREMOTECFG_SERVER_MAX_INSTANCES]

Virtual port configuration

◆ numVirtPorts

uint32_t CpswProxyServer_Config_t::numVirtPorts

Number of remote virtual ports that remotes cores can attach to

◆ macPort

Enet_MacPort CpswProxyServer_Config_t::macPort[CPSWPROXYSERVER_MAC_PORT_MAX]

Enabled MAC ports

◆ numMacPorts

uint32_t CpswProxyServer_Config_t::numMacPorts

Number of MAC ports being enabled

◆ dfltVlanIdMacOnlyPorts

uint16_t CpswProxyServer_Config_t::dfltVlanIdMacOnlyPorts

Default VLAN id to be used for MAC ports configured in MAC-only mode

◆ dfltVlanIdSwitchPorts

uint16_t CpswProxyServer_Config_t::dfltVlanIdSwitchPorts

Default VLAN id to be used for MAC ports configured in switch mode (non MAC-only)

◆ sharedMcastCfg

CpswProxyServer_SharedMcastCfg CpswProxyServer_Config_t::sharedMcastCfg

Shared multicast configuration

◆ rsvdMcastCfg

CpswProxyServer_RsvdMcastCfg CpswProxyServer_Config_t::rsvdMcastCfg

Reserved multicast configuration