Re: XDP router exam - bpf create map failed error.
On Sun, 28 Jan 2018 17:29:56 +0300
"Mr. Haritsu via iovisor-dev" <iovisor-dev@...> wrote: Hi Guys,It is frustrating that people keeps hitting this, and cannot figure out what the issue is... This is because the kernel return EPERM and not ENOMEM ... if the kernel had returned a "out of memory" error, I bet you could have figured out that you need to increase the "locked memory" limit (RLIMIT_MEMLOCK) via function call setrlimit() https://prototype-kernel.readthedocs.io/en/latest/bpf/troubleshooting.html http://man7.org/linux/man-pages/man3/setrlimit.3p.html Can I ask: What school is giving exams/assignments in XDP? -- Best regards, Jesper Dangaard Brouer MSc.CS, Principal Kernel Engineer at Red Hat LinkedIn: http://www.linkedin.com/in/brouer
|
|