Define the missing __NR_bpf syscall id to enable the tap PMD.
Sponsored-by: Frank Zhao <frank.zhao@starfivetech.com>
Sponsored-by: Sam Grove <sam.grove@sifive.com>
Signed-off-by: Stanislaw Kardach <kda@semihalf.com>
build = false
reason = 'only supported on Linux'
endif
-if arch_subdir == 'riscv'
- build = false
- reason = 'not supported on RISC-V'
- subdir_done()
-endif
sources = files(
'rte_eth_tap.c',
'tap_bpf_api.c',
# define __NR_bpf 351
# elif defined(__powerpc__)
# define __NR_bpf 361
+# elif defined(__riscv)
+# define __NR_bpf 280
# else
# error __NR_bpf not defined
# endif