[PATCH v5 bpf-next 3/6] selftests: xsk: increase chars for interface name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So that "enp240s0f0" or such name can be used against xskxceiver.

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@xxxxxxxxx>
---
 tools/testing/selftests/bpf/xskxceiver.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/xskxceiver.h b/tools/testing/selftests/bpf/xskxceiver.h
index 8d1c31f127e7..12bfa6e463d3 100644
--- a/tools/testing/selftests/bpf/xskxceiver.h
+++ b/tools/testing/selftests/bpf/xskxceiver.h
@@ -29,7 +29,7 @@
 #define TEST_FAILURE -1
 #define TEST_CONTINUE 1
 #define MAX_INTERFACES 2
-#define MAX_INTERFACE_NAME_CHARS 7
+#define MAX_INTERFACE_NAME_CHARS 10
 #define MAX_INTERFACES_NAMESPACE_CHARS 10
 #define MAX_SOCKETS 2
 #define MAX_TEST_NAME_SIZE 32
-- 
2.34.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux