![]() |
ETHFW API Guide
|
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 |
| struct rpmsg_kdrv_ethswitch_common_response_info rpmsg_kdrv_ethswitch_attach_response::info |
common response info
| 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
| 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
| u32 rpmsg_kdrv_ethswitch_attach_response::rx_mtu |
MTU of rx packet
| u32 rpmsg_kdrv_ethswitch_attach_response::tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM] |
MTU of tx packet per priority
| u32 rpmsg_kdrv_ethswitch_attach_response::features |
Feature bitmask based on defines RPMSG_KDRV_TP_ETHSWITCH_FEATURE_xxx
| u32 rpmsg_kdrv_ethswitch_attach_response::mac_only_port |
1-relative MAC-only port number. 0 for non MAC-only ports