mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
virtio-net: Added property to load eBPF RSS with fds.
eBPF RSS program and maps may now be passed during initialization. Initially was implemented for libvirt to launch qemu without permissions, and initialized eBPF program through the helper. Signed-off-by: Andrew Melnychenko <andrew@daynix.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
0524ea0510
commit
6b230b7dfc
2 changed files with 50 additions and 6 deletions
|
@ -225,6 +225,8 @@ struct VirtIONet {
|
|||
VirtioNetRssData rss_data;
|
||||
struct NetRxPkt *rx_pkt;
|
||||
struct EBPFRSSContext ebpf_rss;
|
||||
uint32_t nr_ebpf_rss_fds;
|
||||
char **ebpf_rss_fds;
|
||||
};
|
||||
|
||||
size_t virtio_net_handle_ctrl_iov(VirtIODevice *vdev,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue