diff options
author | Gilad Sever <gilad9366@gmail.com> | 2023-06-21 13:42:09 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-06-21 23:36:59 +0200 |
commit | 97fbfeb86917bdbe9c41d5143e335a929147f405 (patch) | |
tree | 98db3e35f7ef5e4ade1b7fbcedec3b7702a30b9a /tools/perf/scripts/python/exported-sql-viewer.py | |
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 <gilad9366@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Reviewed-by: Eyal Birger <eyal.birger@gmail.com>
Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/bpf/20230621104211.301902-3-gilad9366@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions