1
0

xdp_features.h 353 B

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