146627f41SAndrew Melnychenko /*
246627f41SAndrew Melnychenko * eBPF RSS stub file
346627f41SAndrew Melnychenko *
446627f41SAndrew Melnychenko * Developed by Daynix Computing LTD (http://www.daynix.com)
546627f41SAndrew Melnychenko *
646627f41SAndrew Melnychenko * Authors:
746627f41SAndrew Melnychenko * Yuri Benditovich <yuri.benditovich@daynix.com>
846627f41SAndrew Melnychenko *
946627f41SAndrew Melnychenko * This work is licensed under the terms of the GNU GPL, version 2. See
1046627f41SAndrew Melnychenko * the COPYING file in the top-level directory.
1146627f41SAndrew Melnychenko */
1246627f41SAndrew Melnychenko
1346627f41SAndrew Melnychenko #include "qemu/osdep.h"
1446627f41SAndrew Melnychenko #include "ebpf/ebpf_rss.h"
1546627f41SAndrew Melnychenko
ebpf_rss_init(struct EBPFRSSContext * ctx)1646627f41SAndrew Melnychenko void ebpf_rss_init(struct EBPFRSSContext *ctx)
1746627f41SAndrew Melnychenko {
1846627f41SAndrew Melnychenko
1946627f41SAndrew Melnychenko }
2046627f41SAndrew Melnychenko
ebpf_rss_is_loaded(struct EBPFRSSContext * ctx)2146627f41SAndrew Melnychenko bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx)
2246627f41SAndrew Melnychenko {
2346627f41SAndrew Melnychenko return false;
2446627f41SAndrew Melnychenko }
2546627f41SAndrew Melnychenko
ebpf_rss_load(struct EBPFRSSContext * ctx,Error ** errp)26*00b69f1dSDaniel P. Berrangé bool ebpf_rss_load(struct EBPFRSSContext *ctx, Error **errp)
2746627f41SAndrew Melnychenko {
2846627f41SAndrew Melnychenko return false;
2946627f41SAndrew Melnychenko }
3046627f41SAndrew Melnychenko
ebpf_rss_load_fds(struct EBPFRSSContext * ctx,int program_fd,int config_fd,int toeplitz_fd,int table_fd,Error ** errp)310524ea05SAndrew Melnychenko bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd,
32*00b69f1dSDaniel P. Berrangé int config_fd, int toeplitz_fd, int table_fd,
33*00b69f1dSDaniel P. Berrangé Error **errp)
340524ea05SAndrew Melnychenko {
350524ea05SAndrew Melnychenko return false;
360524ea05SAndrew Melnychenko }
370524ea05SAndrew Melnychenko
ebpf_rss_set_all(struct EBPFRSSContext * ctx,struct EBPFRSSConfig * config,uint16_t * indirections_table,uint8_t * toeplitz_key,Error ** errp)3846627f41SAndrew Melnychenko bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config,
39*00b69f1dSDaniel P. Berrangé uint16_t *indirections_table, uint8_t *toeplitz_key,
40*00b69f1dSDaniel P. Berrangé Error **errp)
4146627f41SAndrew Melnychenko {
4246627f41SAndrew Melnychenko return false;
4346627f41SAndrew Melnychenko }
4446627f41SAndrew Melnychenko
ebpf_rss_unload(struct EBPFRSSContext * ctx)4546627f41SAndrew Melnychenko void ebpf_rss_unload(struct EBPFRSSContext *ctx)
4646627f41SAndrew Melnychenko {
4746627f41SAndrew Melnychenko
4846627f41SAndrew Melnychenko }
49