All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf 0/2] bpf: Derive source IP addr via bpf_*_fib_lookup()
@ 2023-09-29 15:07 Martynas Pumputis
  2023-09-29 15:07 ` [PATCH bpf 1/2] " Martynas Pumputis
  2023-09-29 15:07 ` [PATCH bpf 2/2] selftests/bpf: Add BPF_FIB_LOOKUP_SET_SRC tests Martynas Pumputis
  0 siblings, 2 replies; 5+ messages in thread
From: Martynas Pumputis @ 2023-09-29 15:07 UTC (permalink / raw)
  To: bpf
  Cc: Daniel Borkmann, netdev, Martin KaFai Lau, Nikolay Aleksandrov,
	Martynas Pumputis

The patchset fixes the limitation of bpf_*_fib_lookup() helper, which
prevents it from being used in BPF dataplanes with network interfaces
which have more than one IP addr. See the first patch for more details.
Thanks!

Martynas Pumputis (2):
  bpf: Derive source IP addr via bpf_*_fib_lookup()
  selftests/bpf: Add BPF_FIB_LOOKUP_SET_SRC tests

 include/uapi/linux/bpf.h                      |  9 +++
 net/core/filter.c                             | 13 +++-
 tools/include/uapi/linux/bpf.h                | 10 +++
 .../selftests/bpf/prog_tests/fib_lookup.c     | 76 +++++++++++++++++--
 4 files changed, 101 insertions(+), 7 deletions(-)

-- 
2.42.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-01 10:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-29 15:07 [PATCH bpf 0/2] bpf: Derive source IP addr via bpf_*_fib_lookup() Martynas Pumputis
2023-09-29 15:07 ` [PATCH bpf 1/2] " Martynas Pumputis
2023-09-30 15:09   ` kernel test robot
2023-10-01 10:06   ` kernel test robot
2023-09-29 15:07 ` [PATCH bpf 2/2] selftests/bpf: Add BPF_FIB_LOOKUP_SET_SRC tests Martynas Pumputis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.