ETHFW API Guide
rpmsg_kdrv_ethswitch_attach_response Struct Reference

Detailed Description

RPMSG_KDRV_TP_ETHSWITCH_ATTACH cmd server response

Data Fields

struct rpmsg_kdrv_ethswitch_common_response_info info
 
u64 id
 
u32 core_key
 
u32 rx_mtu
 
u32 tx_mtu [RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM]
 
u32 features
 
u32 mac_only_port
 

Field Documentation

◆ info

struct rpmsg_kdrv_ethswitch_common_response_info rpmsg_kdrv_ethswitch_attach_response::info

common response info

◆ id

u64 rpmsg_kdrv_ethswitch_attach_response::id

unique handle used by all further CMDs. All further commands are required to use the id as a param

◆ core_key

u32 rpmsg_kdrv_ethswitch_attach_response::core_key

Core specific key to indicate attached core. All further commands are required to use the core_key as a param

◆ rx_mtu

u32 rpmsg_kdrv_ethswitch_attach_response::rx_mtu

MTU of rx packet

◆ tx_mtu

u32 rpmsg_kdrv_ethswitch_attach_response::tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM]

MTU of tx packet per priority

◆ features

u32 rpmsg_kdrv_ethswitch_attach_response::features

Feature bitmask based on defines RPMSG_KDRV_TP_ETHSWITCH_FEATURE_xxx

◆ mac_only_port

u32 rpmsg_kdrv_ethswitch_attach_response::mac_only_port

1-relative MAC-only port number. 0 for non MAC-only ports