ETHFW API Guide
rpmsg_kdrv_ethswitch_attach_extended_response Struct Reference

Detailed Description

RPMSG_KDRV_TP_ETHSWITCH_ATTACH_EXT 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 alloc_flow_idx
 
u32 tx_cpsw_psil_dst_id
 
u8 mac_address [RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
 
u32 mac_only_port
 

Field Documentation

◆ info

struct rpmsg_kdrv_ethswitch_common_response_info rpmsg_kdrv_ethswitch_attach_extended_response::info

common response info

◆ id

u64 rpmsg_kdrv_ethswitch_attach_extended_response::id

unique handle used by all further CMDs

◆ core_key

u32 rpmsg_kdrv_ethswitch_attach_extended_response::core_key

Core specific key to indicate attached core

◆ rx_mtu

u32 rpmsg_kdrv_ethswitch_attach_extended_response::rx_mtu

MTU of rx packet

◆ tx_mtu

u32 rpmsg_kdrv_ethswitch_attach_extended_response::tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM]

MTU of tx packet per priority

◆ features

u32 rpmsg_kdrv_ethswitch_attach_extended_response::features

Feature bitmask based on defines RPMSG_KDRV_TP_ETHSWITCH_FEATURE_xxx

◆ alloc_flow_idx

u32 rpmsg_kdrv_ethswitch_attach_extended_response::alloc_flow_idx

Allocated flow's index

◆ tx_cpsw_psil_dst_id

u32 rpmsg_kdrv_ethswitch_attach_extended_response::tx_cpsw_psil_dst_id

Tx PSIL Peer destination thread id which should be paired with the Tx UDMA channel

◆ mac_address

u8 rpmsg_kdrv_ethswitch_attach_extended_response::mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]

Mac address allocated

◆ mac_only_port

u32 rpmsg_kdrv_ethswitch_attach_extended_response::mac_only_port

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