Re: [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]

 



On Tue, Aug 30, 2022 at 4:00 PM Maciej Fijalkowski
<maciej.fijalkowski@xxxxxxxxx> wrote:
>
> So that "enp240s0f0" or such name can be used against xskxceiver.

Why not bump them up to 16 why you are at it, including
MAX_INTERFACES_NAMESPACE_CHARS? In any case:

Acked-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>

> 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