On Fri, May 12, 2023 at 03:29:02PM +0300, Andrew Melnychenko wrote: > Updated section name, so libbpf should init/gues proper > program type without specifications during open/load. > > Signed-off-by: Andrew Melnychenko <and...@daynix.com> > --- > ebpf/rss.bpf.skeleton.h | 1469 ++++++++++++++++++++------------------- > tools/ebpf/rss.bpf.c | 2 +- > 2 files changed, 741 insertions(+), 730 deletions(-)
..snip.. Can't say I've verified the big hex blob, but I'll asume its a faithful compilation of the change below: Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> > diff --git a/tools/ebpf/rss.bpf.c b/tools/ebpf/rss.bpf.c > index 20f227e2acc..d32b6fb42a4 100644 > --- a/tools/ebpf/rss.bpf.c > +++ b/tools/ebpf/rss.bpf.c > @@ -528,7 +528,7 @@ static inline __u32 calculate_rss_hash(struct __sk_buff > *skb, > return result; > } > > -SEC("tun_rss_steering") > +SEC("socket") > int tun_rss_steering_prog(struct __sk_buff *skb) > { > > -- > 2.39.1 > With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|