xref: /openbmc/qemu/ebpf/ebpf_rss-stub.c (revision 908a8770)
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 
ebpf_rss_init(struct EBPFRSSContext * ctx)16 void ebpf_rss_init(struct EBPFRSSContext *ctx)
17 {
18 
19 }
20 
ebpf_rss_is_loaded(struct EBPFRSSContext * ctx)21 bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx)
22 {
23     return false;
24 }
25 
ebpf_rss_load(struct EBPFRSSContext * ctx)26 bool ebpf_rss_load(struct EBPFRSSContext *ctx)
27 {
28     return false;
29 }
30 
ebpf_rss_set_all(struct EBPFRSSContext * ctx,struct EBPFRSSConfig * config,uint16_t * indirections_table,uint8_t * toeplitz_key)31 bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config,
32                       uint16_t *indirections_table, uint8_t *toeplitz_key)
33 {
34     return false;
35 }
36 
ebpf_rss_unload(struct EBPFRSSContext * ctx)37 void ebpf_rss_unload(struct EBPFRSSContext *ctx)
38 {
39 
40 }
41