[External] : Re: [PATCH] net/tap: Modified TAP BPF program as per the Kernel-version upgrade requirements.

Stephen Hemminger stephen at networkplumber.org
Tue Jan 16 17:40:04 CET 2024


On Tue, 16 Jan 2024 05:43:00 +0000
Madhuker Mythri <madhuker.mythri at oracle.com> wrote:

> Hi Stephen,
> 
> Yes, I found that the Kernel we use has more Verification added for safe execution:
> https://blogs.oracle.com/linux/post/bpf-in-depth-the-bpf-bytecode-and-the-bpf-verifier
> 
> Here they mentioned about SKB pointer direct access, math on pointer and array with undefined access is denied on BPF code.
> 
> Thanks,
> Madhuker.

Most of your changes, make sense and should be merged.
But the custom verifier changes do not need to be added.
The DPDK upstream project is not targeted at supporting custom vendor API modifications.


More information about the dev mailing list