mbox series

[bpf-next,V2,0/4] selftests/bpf: xdp_hw_metadata fixes series

Message ID 167527267453.937063.6000918625343592629.stgit@firesoul (mailing list archive)
Headers show
Series selftests/bpf: xdp_hw_metadata fixes series | expand

Message

Jesper Dangaard Brouer Feb. 1, 2023, 5:31 p.m. UTC
This series contains a number of small fixes to the BPF selftest
xdp_hw_metadata that I've run into when using it for testing XDP
hardware hints on different NIC hardware.

Fixes: 297a3f124155 ("selftests/bpf: Simple program to dump XDP RX metadata")
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>

---

Jesper Dangaard Brouer (4):
      selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP
      selftests/bpf: xdp_hw_metadata cleanup cause segfault
      selftests/bpf: xdp_hw_metadata correct status value in error(3)
      selftests/bpf: xdp_hw_metadata use strncpy for ifname


 .../selftests/bpf/progs/xdp_hw_metadata.c     |  6 +++-
 tools/testing/selftests/bpf/xdp_hw_metadata.c | 34 +++++++++----------
 2 files changed, 22 insertions(+), 18 deletions(-)

--

Comments

Stanislav Fomichev Feb. 1, 2023, 7:11 p.m. UTC | #1
On Wed, Feb 1, 2023 at 9:31 AM Jesper Dangaard Brouer <brouer@redhat.com> wrote:
>
> This series contains a number of small fixes to the BPF selftest
> xdp_hw_metadata that I've run into when using it for testing XDP
> hardware hints on different NIC hardware.
>
> Fixes: 297a3f124155 ("selftests/bpf: Simple program to dump XDP RX metadata")
> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>

Thank you!

Acked-by: Stanislav Fomichev <sdf@google.com>

> ---
>
> Jesper Dangaard Brouer (4):
>       selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP
>       selftests/bpf: xdp_hw_metadata cleanup cause segfault
>       selftests/bpf: xdp_hw_metadata correct status value in error(3)
>       selftests/bpf: xdp_hw_metadata use strncpy for ifname
>
>
>  .../selftests/bpf/progs/xdp_hw_metadata.c     |  6 +++-
>  tools/testing/selftests/bpf/xdp_hw_metadata.c | 34 +++++++++----------
>  2 files changed, 22 insertions(+), 18 deletions(-)
>
> --
>
patchwork-bot+netdevbpf@kernel.org Feb. 2, 2023, midnight UTC | #2
Hello:

This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Wed, 01 Feb 2023 18:31:45 +0100 you wrote:
> This series contains a number of small fixes to the BPF selftest
> xdp_hw_metadata that I've run into when using it for testing XDP
> hardware hints on different NIC hardware.
> 
> Fixes: 297a3f124155 ("selftests/bpf: Simple program to dump XDP RX metadata")
> Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
> 
> [...]

Here is the summary with links:
  - [bpf-next,V2,1/4] selftests/bpf: xdp_hw_metadata clear metadata when -EOPNOTSUPP
    https://git.kernel.org/bpf/bpf-next/c/3fd9dcd689a5
  - [bpf-next,V2,2/4] selftests/bpf: xdp_hw_metadata cleanup cause segfault
    https://git.kernel.org/bpf/bpf-next/c/a19a62e56478
  - [bpf-next,V2,3/4] selftests/bpf: xdp_hw_metadata correct status value in error(3)
    https://git.kernel.org/bpf/bpf-next/c/7bd4224deecd
  - [bpf-next,V2,4/4] selftests/bpf: xdp_hw_metadata use strncpy for ifname
    https://git.kernel.org/bpf/bpf-next/c/e8a3c8bd6870

You are awesome, thank you!