![]() |
ETHFW API Guide
|
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 |
| struct rpmsg_kdrv_ethswitch_common_response_info rpmsg_kdrv_ethswitch_attach_extended_response::info |
common response info
| u64 rpmsg_kdrv_ethswitch_attach_extended_response::id |
unique handle used by all further CMDs
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::core_key |
Core specific key to indicate attached core
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::rx_mtu |
MTU of rx packet
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM] |
MTU of tx packet per priority
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::features |
Feature bitmask based on defines RPMSG_KDRV_TP_ETHSWITCH_FEATURE_xxx
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::alloc_flow_idx |
Allocated flow's index
| 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
| u8 rpmsg_kdrv_ethswitch_attach_extended_response::mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN] |
Mac address allocated
| u32 rpmsg_kdrv_ethswitch_attach_extended_response::mac_only_port |
1-relative MAC-only port number. 0 for non MAC-only ports