63 #ifndef __RPMSG_KDRV_TRANSPORT_ETHSWITCH_H__ 64 #define __RPMSG_KDRV_TRANSPORT_ETHSWITCH_H__ 66 #include <protocol/rpmsg-kdrv-transport-common.h> 96 #define RPMSG_KDRV_TP_ETHSWITCH_VERSION_MAJOR (0) 98 #define RPMSG_KDRV_TP_ETHSWITCH_VERSION_MINOR (2) 100 #define RPMSG_KDRV_TP_ETHSWITCH_VERSION_REVISION (0) 522 #define RPMSG_KDRV_TP_ETHSWITCH_CMDSTATUS_OK (0) 528 #define RPMSG_KDRV_TP_ETHSWITCH_CMDSTATUS_EAGAIN (-1) 530 #define RPMSG_KDRV_TP_ETHSWITCH_CMDSTATUS_EFAIL (-2) 535 #define RPMSG_KDRV_TP_ETHSWITCH_CMDSTATUS_EACCESS (-3) 543 #define RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN (192) 548 #define RPMSG_KDRV_TP_ETHSWITCH_IOCTL_INARGS_LEN (192) 553 #define RPMSG_KDRV_TP_ETHSWITCH_IOCTL_OUTARGS_LEN (192) 559 #define RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM (8) 564 #define RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN (6) 569 #define RPMSG_KDRV_TP_ETHSWITCH_IPV4ADDRLEN (4) 574 #define RPMSG_KDRV_TP_ETHSWITCH_IPV6ADDRLEN (16) 582 #define RPMSG_KDRV_TP_ETHSWITCH_FEATURE_TXCSUM (1 << 0) 587 #define RPMSG_KDRV_TP_ETHSWITCH_FEATURE_MAC_ONLY (1 << 2) 590 #define RPMSG_KDRV_TP_ETHSWITCH_FEATURE_MC_FILTER (1 << 3) 598 #define RPMSG_KDRV_TP_ETHSWITCH_VLAN_USE_DFLT (0xFFFF) 603 #define RPMSG_KDRV_TP_ETHSWITCH_YEARLEN (4) 608 #define RPMSG_KDRV_TP_ETHSWITCH_MONTHLEN (3) 613 #define RPMSG_KDRV_TP_ETHSWITCH_DATELEN (2) 618 #define RPMSG_KDRV_TP_ETHSWITCH_COMMITSHALEN (8) u32 alloc_flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:714
u32 enable
Definition: rpmsg-kdrv-transport-ethswitch.h:1238
#define RPMSG_KDRV_TP_ETHSWITCH_YEARLEN
Definition: rpmsg-kdrv-transport-ethswitch.h:603
CMD to detach remote core from the ethernet switch device.
Definition: rpmsg-kdrv-transport-ethswitch.h:270
char month[RPMSG_KDRV_TP_ETHSWITCH_MONTHLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1318
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1190
Definition: rpmsg-kdrv-transport-ethswitch.h:506
UnRegister Remote timer CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1222
char year[RPMSG_KDRV_TP_ETHSWITCH_YEARLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1316
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1225
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:995
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1154
Add multicast MAC address to receive filter CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1253
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:833
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:984
IOCTL CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:962
uint8_t ipv6_addr[RPMSG_KDRV_TP_ETHSWITCH_IPV6ADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1111
Definition: rpmsg-kdrv-transport-ethswitch.h:652
u32 inargs_len
Definition: rpmsg-kdrv-transport-ethswitch.h:971
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:859
u32 mac_only_port
Definition: rpmsg-kdrv-transport-ethswitch.h:723
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1164
Register MAC address CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:805
uint8_t mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1065
u32 minor
Definition: rpmsg-kdrv-transport-ethswitch.h:1312
CMD to delete multicast MAC address to receive filter.
Definition: rpmsg-kdrv-transport-ethswitch.h:479
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:1266
u32 tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM]
Definition: rpmsg-kdrv-transport-ethswitch.h:710
CMD to allocate Tx channel.
Definition: rpmsg-kdrv-transport-ethswitch.h:151
CMD to attach to the ethernet switch remote device.
Definition: rpmsg-kdrv-transport-ethswitch.h:125
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1059
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:914
CMD to register a DST MAC addr by the remote core client to a specific rx flow id.
Definition: rpmsg-kdrv-transport-ethswitch.h:199
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1288
Register Remote timer CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1200
u32 notify_info_len
Definition: rpmsg-kdrv-transport-ethswitch.h:1407
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1286
Free Tx Channel CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:876
u32 tx_cpsw_psil_dst_id
Definition: rpmsg-kdrv-transport-ethswitch.h:766
uint8_t mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1048
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1236
Register IPv6:MAC Address mapping CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1082
u16 vlan_id
Definition: rpmsg-kdrv-transport-ethswitch.h:1290
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:956
Definition: rpmsg-kdrv-transport-ethswitch.h:632
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1085
Definition: rpmsg-kdrv-transport-ethswitch.h:497
Unregister IPv6:MAC Address mapping CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1126
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:799
u8 timer_id
Definition: rpmsg-kdrv-transport-ethswitch.h:1192
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:741
u32 alloc_flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:927
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1120
u32 features
Definition: rpmsg-kdrv-transport-ethswitch.h:680
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1256
Register Remote timer CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1185
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:936
CMD to unregister remote timer with ethfw for time synchronization.
Definition: rpmsg-kdrv-transport-ethswitch.h:446
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1284
rpmsg_kdrv_ethswitch_cpsw_type
CPSW Type supported by Ethernet Switch Remote Device.
Definition: rpmsg-kdrv-transport-ethswitch.h:490
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:903
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1203
Notify CMD from remote device server to client.
Definition: rpmsg-kdrv-transport-ethswitch.h:386
u32 regval
Definition: rpmsg-kdrv-transport-ethswitch.h:999
CMD to remove IPv4 address: MAC address mapping.
Definition: rpmsg-kdrv-transport-ethswitch.h:350
Ethernet Switch Remote Device Data.
Definition: rpmsg-kdrv-transport-ethswitch.h:1331
Unregister Default Flow CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:898
u32 default_flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:790
u32 rx_mtu
Definition: rpmsg-kdrv-transport-ethswitch.h:708
Ethernet Switch Remote Device Client to Server Notify.
Definition: rpmsg-kdrv-transport-ethswitch.h:1398
Register Ethertype CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1136
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:812
#define RPMSG_KDRV_TP_ETHSWITCH_MONTHLEN
Definition: rpmsg-kdrv-transport-ethswitch.h:608
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1258
CMD to register a remote timer with ethfw for time synchronization.
Definition: rpmsg-kdrv-transport-ethswitch.h:436
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:721
u8 inargs[RPMSG_KDRV_TP_ETHSWITCH_IOCTL_INARGS_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:973
CMD to invoke CPSW LLD IOCTL from remote core.
Definition: rpmsg-kdrv-transport-ethswitch.h:283
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1008
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:1292
Detach CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:942
u32 tx_cpsw_psil_dst_id
Definition: rpmsg-kdrv-transport-ethswitch.h:883
Definition: rpmsg-kdrv-transport-ethswitch.h:511
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1234
u32 major
Definition: rpmsg-kdrv-transport-ethswitch.h:1310
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:892
Free Rx Flow CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:920
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1094
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:965
CMD to read from a specific register from remote core.
Definition: rpmsg-kdrv-transport-ethswitch.h:307
Unregister IPv4:MAC Address mapping CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1117
Unregister IPv4:MAC Address mapping CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1091
Set promiscuous mode CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1244
Unregister IPv6:MAC Address mapping CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1104
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1301
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1275
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:775
struct rpmsg_kdrv_ethswitch_message_header __attribute__((packed))
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:881
Definition: rpmsg-kdrv-transport-ethswitch.h:688
CMD to allocate Rx flow.
Definition: rpmsg-kdrv-transport-ethswitch.h:162
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:655
Set promiscuous mode CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1231
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:837
CMD to request remote device to respond to ping request from client.
Definition: rpmsg-kdrv-transport-ethswitch.h:374
u32 core_key
Definition: rpmsg-kdrv-transport-ethswitch.h:674
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1107
Register MAC address CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:820
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1166
Free MAC address CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:854
u32 core_key
Definition: rpmsg-kdrv-transport-ethswitch.h:706
UnRegister MAC address CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:845
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:879
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:666
Notify CMD from remote device client to server.
Definition: rpmsg-kdrv-transport-ethswitch.h:398
uint8_t ipv4_addr[RPMSG_KDRV_TP_ETHSWITCH_IPV4ADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1098
u64 id
Definition: rpmsg-kdrv-transport-ethswitch.h:635
Definition: rpmsg-kdrv-transport-ethswitch.h:643
u32 regaddr
Definition: rpmsg-kdrv-transport-ethswitch.h:1021
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:925
u32 cmd
Definition: rpmsg-kdrv-transport-ethswitch.h:969
Definition: rpmsg-kdrv-transport-ethswitch.h:663
Free MAC address CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:867
u32 tx_mtu[RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM]
Definition: rpmsg-kdrv-transport-ethswitch.h:678
CMD to register a Ethertype by the remote core client to a specific rx flow id.
Definition: rpmsg-kdrv-transport-ethswitch.h:410
u16 ether_type
Definition: rpmsg-kdrv-transport-ethswitch.h:1168
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1401
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:761
Register Read CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1027
#define RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN
Definition: rpmsg-kdrv-transport-ethswitch.h:543
Alloc Tx channel CMD response msg.
Definition: rpmsg-kdrv-transport-ethswitch.h:758
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:691
rpmsg_kdrv_ethswitch_message_type
Ethernet Switch Remote Device commands.
Definition: rpmsg-kdrv-transport-ethswitch.h:114
Detach CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:953
Firmware version info returned by remote device attach to the ethernet switch device.
Definition: rpmsg-kdrv-transport-ethswitch.h:1307
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:861
u32 regaddr
Definition: rpmsg-kdrv-transport-ethswitch.h:997
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1179
u32 mac_only_port
Definition: rpmsg-kdrv-transport-ethswitch.h:682
#define RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN
Definition: rpmsg-kdrv-transport-ethswitch.h:564
Register IPv6:MAC Address mapping CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1056
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:823
CMD to attach to the ethernet switch remote device which returns extended attach info.
Definition: rpmsg-kdrv-transport-ethswitch.h:140
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1188
#define RPMSG_KDRV_TP_ETHSWITCH_IOCTL_OUTARGS_LEN
Definition: rpmsg-kdrv-transport-ethswitch.h:553
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:870
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1030
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1403
Definition: rpmsg-kdrv-transport-ethswitch.h:513
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:901
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:1170
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1247
Delete multicast MAC address from receive filter CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1281
CMD to unregister a Ethertype by the remote core client.
Definition: rpmsg-kdrv-transport-ethswitch.h:424
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:808
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:947
u8 data[RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1387
Alloc request CMD params.
Definition: rpmsg-kdrv-transport-ethswitch.h:747
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:835
u32 features
Definition: rpmsg-kdrv-transport-ethswitch.h:712
UnRegister Ethertype CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1176
Definition: rpmsg-kdrv-transport-ethswitch.h:699
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1129
u64 id
Definition: rpmsg-kdrv-transport-ethswitch.h:704
u32 regval
Definition: rpmsg-kdrv-transport-ethswitch.h:1010
Alloc request CMD params.
Definition: rpmsg-kdrv-transport-ethswitch.h:736
u32 uart_connected
Definition: rpmsg-kdrv-transport-ethswitch.h:1341
u8 data[RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1359
u32 alloc_flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:752
CMD to write to a specific register from remote core.
Definition: rpmsg-kdrv-transport-ethswitch.h:295
#define RPMSG_KDRV_TP_ETHSWITCH_COMMITSHALEN
Definition: rpmsg-kdrv-transport-ethswitch.h:618
u32 core_key
Definition: rpmsg-kdrv-transport-ethswitch.h:637
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1019
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1109
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1076
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1139
Alloc MAC CMD response msg.
Definition: rpmsg-kdrv-transport-ethswitch.h:772
u32 regval
Definition: rpmsg-kdrv-transport-ethswitch.h:1032
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:857
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:967
u8 hwPushNum
Definition: rpmsg-kdrv-transport-ethswitch.h:1194
Register Rx Default flow CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:783
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1141
struct rpmsg_kdrv_ethswitch_firmware_version_info fw_ver
Definition: rpmsg-kdrv-transport-ethswitch.h:1334
u32 outargs_len
Definition: rpmsg-kdrv-transport-ethswitch.h:975
char date[RPMSG_KDRV_TP_ETHSWITCH_DATELEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1320
CMD to add multicast MAC address to receive filter.
Definition: rpmsg-kdrv-transport-ethswitch.h:468
CMD to unregister default flow routing to the remote core.
Definition: rpmsg-kdrv-transport-ethswitch.h:226
CMD to register default flow from remote core.
Definition: rpmsg-kdrv-transport-ethswitch.h:176
Delete multicast MAC address from receive filter CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1298
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:945
Definition: rpmsg-kdrv-transport-ethswitch.h:493
u8 data[RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1368
#define RPMSG_KDRV_TP_ETHSWITCH_CPSW_PRIORITY_NUM
Definition: rpmsg-kdrv-transport-ethswitch.h:559
u8 cpsw_type
Definition: rpmsg-kdrv-transport-ethswitch.h:693
CMD to allocate a DST MAC addr to the remote core client.
Definition: rpmsg-kdrv-transport-ethswitch.h:187
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:786
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:839
Ethernet Switch Remote Device Ping Request.
Definition: rpmsg-kdrv-transport-ethswitch.h:1354
Ethernet Switch Remote Device Ping Response.
Definition: rpmsg-kdrv-transport-ethswitch.h:1365
u16 vlan_id
Definition: rpmsg-kdrv-transport-ethswitch.h:1264
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:810
u32 default_flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:905
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:814
Unregister Default Flow CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:911
UnRegister MAC address CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:830
Ethernet Switch Remote Device Server to Client Notify.
Definition: rpmsg-kdrv-transport-ethswitch.h:1379
u32 uart_id
Definition: rpmsg-kdrv-transport-ethswitch.h:1343
CMD to associate IPv6 address with MAC address.
Definition: rpmsg-kdrv-transport-ethswitch.h:339
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:923
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:848
u32 permission_flags
Definition: rpmsg-kdrv-transport-ethswitch.h:1339
Definition: rpmsg-kdrv-transport-ethswitch.h:495
IOCTL CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:981
rpmsg_kdrv_ethswitch_client_notify_type
Etheret Remote Device Client to Server notify types.
Definition: rpmsg-kdrv-transport-ethswitch.h:503
uint8_t ipv4_addr[RPMSG_KDRV_TP_ETHSWITCH_IPV4ADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1050
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:702
uint8_t ipv6_addr[RPMSG_KDRV_TP_ETHSWITCH_IPV6ADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1067
u8 hwPushNum
Definition: rpmsg-kdrv-transport-ethswitch.h:1216
u8 notify_info[RPMSG_KDRV_TP_ETHSWITCH_MESSAGE_DATA_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1409
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:788
s32 status
Definition: rpmsg-kdrv-transport-ethswitch.h:646
Add multicast MAC address to receive filter CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1272
u32 rev
Definition: rpmsg-kdrv-transport-ethswitch.h:1314
Register IPv4:MAC Address mapping CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1038
u8 notifyid
Definition: rpmsg-kdrv-transport-ethswitch.h:1405
Register Write CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1005
#define RPMSG_KDRV_TP_ETHSWITCH_DATELEN
Definition: rpmsg-kdrv-transport-ethswitch.h:613
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1096
#define RPMSG_KDRV_TP_ETHSWITCH_IOCTL_INARGS_LEN
Definition: rpmsg-kdrv-transport-ethswitch.h:548
u8 cpsw_type
Definition: rpmsg-kdrv-transport-ethswitch.h:657
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:777
struct rpmsg_kdrv_ethswitch_common_response_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:750
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1382
Max value of Ethernet Switch Remote Device. For internal use only.
Definition: rpmsg-kdrv-transport-ethswitch.h:484
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1212
Register IPv4:MAC Address mapping CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1073
#define RPMSG_KDRV_TP_ETHSWITCH_IPV6ADDRLEN
Definition: rpmsg-kdrv-transport-ethswitch.h:574
Free Rx Flow CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:933
Register Ethertype CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1151
CMD to set promiscuous mode.
Definition: rpmsg-kdrv-transport-ethswitch.h:457
CMD to unregister a DST MAC addr by the remote core client.
Definition: rpmsg-kdrv-transport-ethswitch.h:213
CMD to free previously allocated rx flow id.
Definition: rpmsg-kdrv-transport-ethswitch.h:259
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1214
Register Write CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:992
UnRegister Remote timer CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1209
CMD to remove IPv6 address: MAC address mapping.
Definition: rpmsg-kdrv-transport-ethswitch.h:361
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1043
CMD to associate IPv4 address with MAC address.
Definition: rpmsg-kdrv-transport-ethswitch.h:323
Register Rx Default flow CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:796
u8 outargs[RPMSG_KDRV_TP_ETHSWITCH_IOCTL_OUTARGS_LEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:986
u32 rx_mtu
Definition: rpmsg-kdrv-transport-ethswitch.h:676
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1357
struct rpmsg_kdrv_ethswitch_common_request_info info
Definition: rpmsg-kdrv-transport-ethswitch.h:1061
CMD to free previously allocated mac addr.
Definition: rpmsg-kdrv-transport-ethswitch.h:237
UnRegister Ethertype CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1161
CMD to free previously allocated tx channel CPSW PSIL destination thread.
Definition: rpmsg-kdrv-transport-ethswitch.h:248
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:739
u32 tx_cpsw_psil_dst_id
Definition: rpmsg-kdrv-transport-ethswitch.h:719
u8 mac_address[RPMSG_KDRV_TP_ETHSWITCH_MACADDRLEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1260
u16 ether_type
Definition: rpmsg-kdrv-transport-ethswitch.h:1143
#define RPMSG_KDRV_TP_ETHSWITCH_IPV4ADDRLEN
Definition: rpmsg-kdrv-transport-ethswitch.h:569
char commit_hash[RPMSG_KDRV_TP_ETHSWITCH_COMMITSHALEN]
Definition: rpmsg-kdrv-transport-ethswitch.h:1322
struct rpmsg_kdrv_ethswitch_message_header header
Definition: rpmsg-kdrv-transport-ethswitch.h:1041
u32 flow_idx
Definition: rpmsg-kdrv-transport-ethswitch.h:1145
Free Tx Channel CMD response params.
Definition: rpmsg-kdrv-transport-ethswitch.h:889
Register Read CMD request params.
Definition: rpmsg-kdrv-transport-ethswitch.h:1016
u64 id
Definition: rpmsg-kdrv-transport-ethswitch.h:670