Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BPF] always use bpf_redir_neigh after FIB lookup #9423

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 5, 2024

  1. [BPF] always use bpf_redir_neigh after FIB lookup

    There is not need to copy and fill in the mac addresses, bpf_redir_neigh
    will do that for us.
    tomastigera committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    d1dfab0 View commit details
    Browse the repository at this point in the history
  2. [BPF] split fib.h into co-re and legacy

    Going forward, we will maintain co-re and will eventually deprecate and
    remove the legacy one. That will get us back to a single fib.h.
    tomastigera committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    24372dd View commit details
    Browse the repository at this point in the history
  3. [BPF] skip neigh table lookup in fib lookup

    bpf_redir_neigh will do it
    tomastigera committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    41c41ab View commit details
    Browse the repository at this point in the history
  4. [BPF] if you know where to, skip explicit FIB lookup

    bpf_redirect_neigh() will do it.
    tomastigera committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    e2f8c10 View commit details
    Browse the repository at this point in the history
  5. [BPF] use dst as nh when redirecting to workload

    When redirecting to a workload when NAt is required, usually from HEP
    because of node port, us the destination IP as the next hop in
    bpf_redir_neigh() to avoid FIB lookup.
    tomastigera committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    6375338 View commit details
    Browse the repository at this point in the history