Skip to content

Commit 5d683e5

Browse files
kuba-mooPaolo Abeni
authored andcommitted
selftests: drv-net: pp_alloc_fail: add necessary optoins to config
Add kernel config for error injection as needed by pp_alloc_fail.py Reviewed-by: Simon Horman <horms@kernel.org> Fixes: 9da271f ("selftests: drv-net-hw: add test for memory allocation failures with page pool") Signed-off-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Link: https://patch.msgid.link/20251007232653.2099376-10-kuba@kernel.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
1 parent fbb467f commit 5d683e5

File tree

1 file changed

+4
-0
lines changed
  • tools/testing/selftests/drivers/net/hw

1 file changed

+4
-0
lines changed

tools/testing/selftests/drivers/net/hw/config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
CONFIG_FAIL_FUNCTION=y
2+
CONFIG_FAULT_INJECTION=y
3+
CONFIG_FAULT_INJECTION_DEBUG_FS=y
4+
CONFIG_FUNCTION_ERROR_INJECTION=y
15
CONFIG_IO_URING=y
26
CONFIG_IPV6=y
37
CONFIG_IPV6_GRE=y

0 commit comments

Comments
 (0)