* Re: [net v5 0/3] fix bpf_redirect to ifb netdev [not found] <20211208145459.9590-1-xiangxia.m.yue@gmail.com> @ 2021-12-08 15:41 ` Alexander Lobakin 2021-12-08 15:53 ` Tonghao Zhang 0 siblings, 1 reply; 2+ messages in thread From: Alexander Lobakin @ 2021-12-08 15:41 UTC (permalink / raw) To: Tonghao Zhang Cc: Alexander Lobakin, 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, Wei Wang, Arnd Bergmann, netdev, linux-kernel From: Tonghao Zhang <xiangxia.m.yue@gmail.com> Date: Wed, 8 Dec 2021 22:54:56 +0800 > From: Tonghao Zhang <xiangxia.m.yue@gmail.com> > > This patchset try to fix bpf_redirect to ifb netdev. > Prevent packets loopback and perfromance drop, add check > in sch egress. Please provide a changelog in the cover letter. With the links to your previous versions ideally. Otherwise it becomes difficult to understand what are the changes between them. > > Tonghao Zhang (3): > net: core: set skb useful vars in __bpf_tx_skb > net: sched: add check tc_skip_classify in sch egress > selftests: bpf: add bpf_redirect to ifb > > net/core/dev.c | 3 + > net/core/filter.c | 12 ++- > tools/testing/selftests/bpf/Makefile | 1 + > .../bpf/progs/test_bpf_redirect_ifb.c | 13 ++++ > .../selftests/bpf/test_bpf_redirect_ifb.sh | 73 +++++++++++++++++++ > 5 files changed, 101 insertions(+), 1 deletion(-) > 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 > > -- > 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 Al ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [net v5 0/3] fix bpf_redirect to ifb netdev 2021-12-08 15:41 ` [net v5 0/3] fix bpf_redirect to ifb netdev Alexander Lobakin @ 2021-12-08 15:53 ` Tonghao Zhang 0 siblings, 0 replies; 2+ messages in thread From: Tonghao Zhang @ 2021-12-08 15:53 UTC (permalink / raw) To: Alexander Lobakin Cc: 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, Wei Wang, Arnd Bergmann, Linux Kernel Network Developers, LKML On Wed, Dec 8, 2021 at 11:42 PM Alexander Lobakin <alexandr.lobakin@intel.com> wrote: > > From: Tonghao Zhang <xiangxia.m.yue@gmail.com> > Date: Wed, 8 Dec 2021 22:54:56 +0800 > > > From: Tonghao Zhang <xiangxia.m.yue@gmail.com> > > > > This patchset try to fix bpf_redirect to ifb netdev. > > Prevent packets loopback and perfromance drop, add check > > in sch egress. > > Please provide a changelog in the cover letter. With the links to > your previous versions ideally. > Otherwise it becomes difficult to understand what are the changes > between them. Hi Alexander This version of patchset, 2/3 only updates the commit message. because the example in the commit message is not a usual case. There are no comments, so I sent them again. I will provide a changelog in the next version or resend this version again. Thanks. > > > > Tonghao Zhang (3): > > net: core: set skb useful vars in __bpf_tx_skb > > net: sched: add check tc_skip_classify in sch egress > > selftests: bpf: add bpf_redirect to ifb > > > > net/core/dev.c | 3 + > > net/core/filter.c | 12 ++- > > tools/testing/selftests/bpf/Makefile | 1 + > > .../bpf/progs/test_bpf_redirect_ifb.c | 13 ++++ > > .../selftests/bpf/test_bpf_redirect_ifb.sh | 73 +++++++++++++++++++ > > 5 files changed, 101 insertions(+), 1 deletion(-) > > 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 > > > > -- > > 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 > > Al -- Best regards, Tonghao ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-08 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20211208145459.9590-1-xiangxia.m.yue@gmail.com>
2021-12-08 15:41 ` [net v5 0/3] fix bpf_redirect to ifb netdev Alexander Lobakin
2021-12-08 15:53 ` Tonghao Zhang
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®