diff options
author | Gilad Sever <[email protected]> | 2023-06-21 13:42:09 +0300 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-06-21 23:36:59 +0200 |
commit | 97fbfeb86917bdbe9c41d5143e335a929147f405 (patch) | |
tree | 98db3e35f7ef5e4ade1b7fbcedec3b7702a30b9a /tools/perf/scripts/python | |
parent | 6e98730bc0b44acaf86eccc75f823128aa9c9e79 (diff) |
bpf: Call __bpf_sk_lookup()/__bpf_skc_lookup() directly via TC hookpoint
skb->dev always exists in the tc flow. There is no need to use
bpf_skc_lookup(), bpf_sk_lookup() from this code path.
This change facilitates fixing the tc flow to be VRF aware.
Signed-off-by: Gilad Sever <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Shmulik Ladkani <[email protected]>
Reviewed-by: Eyal Birger <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions