RE: bpf_fib_lookup VLAN

Konrad Zemek <[email protected]>
Newsgroups org.kernel.vger.xdp-newbies
Message-ID <[email protected]>
> Do you have any proposals for a workaround? Right now I'm thinking of creating a BPF map that would map ifindex->vlan, populated in the userspace
- but that assumes the output (struct bpf_fib_lookup*)->ifindex will be an index of the vlan device and not the physical device the vlan is attached on, which I'm not sure is the case yet.

I've confirmed that the ifindex returned is of the virtual/vlan device, so the userspace solution seems to be a good workaround for now.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.