Import QEMU upstream snapshot d2e570c
Upstream: https://gitlab.com/qemu-project/qemu.git Upstream-Commit: d2e570cc0f97b936902a5b1b86b73c0f5998b475
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* eBPF RSS stub file
|
||||
*
|
||||
* Developed by Daynix Computing LTD (http://www.daynix.com)
|
||||
*
|
||||
* Authors:
|
||||
* Yuri Benditovich <[email protected]>
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2. See
|
||||
* the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "ebpf/ebpf_rss.h"
|
||||
|
||||
void ebpf_rss_init(struct EBPFRSSContext *ctx)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool ebpf_rss_is_loaded(struct EBPFRSSContext *ctx)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ebpf_rss_load(struct EBPFRSSContext *ctx, Error **errp)
|
||||
{
|
||||
error_setg(errp, "eBPF support is not compiled in");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ebpf_rss_load_fds(struct EBPFRSSContext *ctx, int program_fd,
|
||||
int config_fd, int toeplitz_fd, int table_fd,
|
||||
Error **errp)
|
||||
{
|
||||
error_setg(errp, "eBPF support is not compiled in");
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ebpf_rss_set_all(struct EBPFRSSContext *ctx, struct EBPFRSSConfig *config,
|
||||
uint16_t *indirections_table, uint8_t *toeplitz_key,
|
||||
Error **errp)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
|
||||
void ebpf_rss_unload(struct EBPFRSSContext *ctx)
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user