[nsd-users] NSD - enable XDP in Debian?
Jannik Peters
jannik at nlnetlabs.nl
Thu Sep 11 09:26:23 UTC 2025
Hi Simon,
> Also, by default, it seems some *.o files are installed into
> $(sharedfilesdir) which became /usr/share/nsd for me, see Makefile.in:
>
> if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern.o; fi
> if test -n "@xdp@"; then $(INSTALL_DATA) xdp-dns-redirect_kern_pinned.o $(DESTDIR)$(sharedfilesdir)/xdp-dns-redirect_kern_pinned.o; fi
>
> These are architecture-dependent files, aren't they? Is there some
> standard non-/usr/share location for these files that you could use?
Although these files are technically for a specific architecture (that being
eBPF), they are architecture-*in*dependent with regard to x86, ARM, etc.
eBPF programs are compatible across CPU architectures, as they get executed by
the eBPF "VM" inside the Linux kernel.
Best,
Jannik
More information about the nsd-users
mailing list