netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net v6 0/2] fix bpf_redirect to ifb netdev
@ 2022-03-24 13:56 xiangxia.m.yue
  2022-03-24 13:56 ` [net v6 1/2] net: core: set skb useful vars in __bpf_tx_skb xiangxia.m.yue
  2022-03-24 13:56 ` [net v6 2/2] selftests: bpf: add bpf_redirect to ifb xiangxia.m.yue
  0 siblings, 2 replies; 6+ messages in thread
From: xiangxia.m.yue @ 2022-03-24 13:56 UTC (permalink / raw)
  To: netdev
  Cc: Tonghao Zhang, David S. Miller, Jakub Kicinski,
	Alexei Starovoitov, Daniel Borkmann, Andrii Nakryiko,
	Martin KaFai Lau, Song Liu, Yonghong Song, John Fastabend,
	KP Singh, Eric Dumazet, Antoine Tenart, Alexander Lobakin,
	Wei Wang, Arnd Bergmann

From: Tonghao Zhang <xiangxia.m.yue@gmail.com>

This patchset try to fix bpf_redirect to ifb netdev.

Tonghao Zhang (2):
  net: core: set skb useful vars in __bpf_tx_skb
  selftests: bpf: add bpf_redirect to ifb

 net/core/filter.c                             |  8 +++
 tools/testing/selftests/bpf/Makefile          |  1 +
 .../bpf/progs/test_bpf_redirect_ifb.c         | 13 ++++
 .../selftests/bpf/test_bpf_redirect_ifb.sh    | 64 +++++++++++++++++++
 4 files changed, 86 insertions(+)
 create mode 100644 tools/testing/selftests/bpf/progs/test_bpf_redirect_ifb.c
 create mode 100755 tools/testing/selftests/bpf/test_bpf_redirect_ifb.sh

-- 
v6:
* remove 2/3 from v5 https://patchwork.kernel.org/project/netdevbpf/list/?series=592355&archive=both&state=*
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Martin KaFai Lau <kafai@fb.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Yonghong Song <yhs@fb.com>
Cc: John Fastabend <john.fastabend@gmail.com>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Antoine Tenart <atenart@kernel.org>
Cc: Alexander Lobakin <alexandr.lobakin@intel.com>
Cc: Wei Wang <weiwan@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
--
2.27.0


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

end of thread, other threads:[~2022-03-30 12:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-24 13:56 [net v6 0/2] fix bpf_redirect to ifb netdev xiangxia.m.yue
2022-03-24 13:56 ` [net v6 1/2] net: core: set skb useful vars in __bpf_tx_skb xiangxia.m.yue
2022-03-24 15:15   ` Alexei Starovoitov
2022-03-25  0:56     ` Tonghao Zhang
2022-03-30 12:00       ` Daniel Borkmann
2022-03-24 13:56 ` [net v6 2/2] selftests: bpf: add bpf_redirect to ifb xiangxia.m.yue

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).