Re: Facing an error while compiling for bpf using clang


Jesper Dangaard Brouer
 

On Wed, 22 May 2019 00:26:54 -0700
"Prashanth Fernando" <prashanth.fernando@...> wrote:

Thank You, I updated clang and now I am able to compile the code in
CentOS-7.

I am facing another issue while loading the ebpf code in tc. I am
able to run this in Ubuntu-18.04, but the usecase is to run it in
CentOS. Can someone please help me out in resolving it.
You have to use CentOS-8 for TC (and XDP) support, or install a newer
kernel version on CentOS-7.

--
Best regards,
Jesper Dangaard Brouer
MSc.CS, Principal Kernel Engineer at Red Hat
LinkedIn: http://www.linkedin.com/in/brouer

https://linuxhint.com/centos8-release-date-and-features/

Join iovisor-dev@lists.iovisor.org to automatically receive all group messages.