1 /* SPDX-License-Identifier: GPL-2.0 */ 2 3 /* test commands */ 4 enum test_commands { 5 CMD_STOP, /* CMD */ 6 CMD_START, /* CMD */ 7 CMD_ECHO, /* CMD */ 8 CMD_ACK, /* CMD + data */ 9 CMD_GET_XDP_CAP, /* CMD */ 10 CMD_GET_STATS, /* CMD */ 11 }; 12 13 #define DUT_CTRL_PORT 12345 14 #define DUT_ECHO_PORT 12346 15 16 struct tlv_hdr { 17 __be16 type; 18 __be16 len; 19 __u8 data[]; 20 }; 21