Andrew Melnychenko | 46627f4 | 2021-05-14 14:48:32 +0300 | [diff] [blame] | 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 | |
| 13 | #include "qemu/osdep.h" |
| 14 | #include "ebpf/ebpf_rss.h" |
| 15 | |
| 16 | void ebpf_rss_init(struct EBPFRSSContext *ctx) |
| 17 | { |
| 18 | |
| 19 | } |
| 20 | |
| 21 | bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx) |
| 22 | { |
| 23 | return false; |
| 24 | } |
| 25 | |
Daniel P. Berrangé | 00b69f1 | 2024-10-23 09:51:00 +0100 | [diff] [blame] | 26 | bool ebpf_rss_load(struct EBPFRSSContext *ctx, Error **errp) |
Andrew Melnychenko | 46627f4 | 2021-05-14 14:48:32 +0300 | [diff] [blame] | 27 | { |
| 28 | return false; |
| 29 | } |
| 30 | |
Andrew Melnychenko | 0524ea05 | 2024-02-05 18:54:32 +0200 | [diff] [blame] | 31 | bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd, |
Daniel P. Berrangé | 00b69f1 | 2024-10-23 09:51:00 +0100 | [diff] [blame] | 32 | int config_fd, int toeplitz_fd, int table_fd, |
| 33 | Error **errp) |
Andrew Melnychenko | 0524ea05 | 2024-02-05 18:54:32 +0200 | [diff] [blame] | 34 | { |
| 35 | return false; |
| 36 | } |
| 37 | |
Andrew Melnychenko | 46627f4 | 2021-05-14 14:48:32 +0300 | [diff] [blame] | 38 | bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config, |
Daniel P. Berrangé | 00b69f1 | 2024-10-23 09:51:00 +0100 | [diff] [blame] | 39 | uint16_t *indirections_table, uint8_t *toeplitz_key, |
| 40 | Error **errp) |
Andrew Melnychenko | 46627f4 | 2021-05-14 14:48:32 +0300 | [diff] [blame] | 41 | { |
| 42 | return false; |
| 43 | } |
| 44 | |
| 45 | void ebpf_rss_unload(struct EBPFRSSContext *ctx) |
| 46 | { |
| 47 | |
| 48 | } |