ebpf_rss-stub.c 1012 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * eBPF RSS stub file
  3. *
  4. * Developed by Daynix Computing LTD (http://www.daynix.com)
  5. *
  6. * Authors:
  7. * Yuri Benditovich <yuri.benditovich@daynix.com>
  8. *
  9. * This work is licensed under the terms of the GNU GPL, version 2. See
  10. * the COPYING file in the top-level directory.
  11. */
  12. #include "qemu/osdep.h"
  13. #include "ebpf/ebpf_rss.h"
  14. void ebpf_rss_init(struct EBPFRSSContext *ctx)
  15. {
  16. }
  17. bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx)
  18. {
  19. return false;
  20. }
  21. bool ebpf_rss_load(struct EBPFRSSContext *ctx, Error **errp)
  22. {
  23. return false;
  24. }
  25. bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd,
  26. int config_fd, int toeplitz_fd, int table_fd,
  27. Error **errp)
  28. {
  29. return false;
  30. }
  31. bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config,
  32. uint16_t *indirections_table, uint8_t *toeplitz_key,
  33. Error **errp)
  34. {
  35. return false;
  36. }
  37. void ebpf_rss_unload(struct EBPFRSSContext *ctx)
  38. {
  39. }