BPF List
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] selftests/bpf: Fix number of arguments in test
@ 2024-05-06 15:18 Cupertino Miranda
  2024-05-06 15:18 ` [PATCH bpf-next 1/2] selftests/bpf: Add CFLAGS per source file and runner Cupertino Miranda
  2024-05-06 15:18 ` [PATCH bpf-next 2/2] selftests/bpf: Change functions definitions to support GCC Cupertino Miranda
  0 siblings, 2 replies; 6+ messages in thread
From: Cupertino Miranda @ 2024-05-06 15:18 UTC (permalink / raw)
  To: bpf
  Cc: Cupertino Miranda, Alexei Starovoitov, Andrii Nakryiko,
	Eduard Zingerman, Yonghong Song, David Faust, Jose Marchesi,
	Elena Zannoni

Hi everyone,

This patch series is in the context of GCC support.
GCC errors when number of arguments does not fit within the
requirements of BPF.
These patches fixes the functions that contain 6 arguments by
combining those in an array.

Best regards,
Cupertino

Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Andrii Nakryiko <andrii.nakryiko@gmail.com>
Cc: Eduard Zingerman <eddyz87@gmail.com>
Cc: Yonghong Song <yonghong.song@linux.dev>
Cc: David Faust <david.faust@oracle.com>
Cc: Jose Marchesi <jose.marchesi@oracle.com>
Cc: Elena Zannoni <elena.zannoni@oracle.com>

Cupertino Miranda (2):
  selftests/bpf: Add CFLAGS per source file and runner
  selftests/bpf: Change functions definitions to support GCC

 tools/testing/selftests/bpf/Makefile             | 16 +++++++++-------
 .../selftests/bpf/progs/test_xdp_noinline.c      | 15 +++++++++------
 2 files changed, 18 insertions(+), 13 deletions(-)

-- 
2.39.2


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

end of thread, other threads:[~2024-05-06 21:44 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-06 15:18 [PATCH bpf-next 0/2] selftests/bpf: Fix number of arguments in test Cupertino Miranda
2024-05-06 15:18 ` [PATCH bpf-next 1/2] selftests/bpf: Add CFLAGS per source file and runner Cupertino Miranda
2024-05-06 19:56   ` Yonghong Song
2024-05-06 15:18 ` [PATCH bpf-next 2/2] selftests/bpf: Change functions definitions to support GCC Cupertino Miranda
2024-05-06 19:57   ` Yonghong Song
2024-05-06 21:44   ` Andrii Nakryiko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox