BPF List
 help / color / mirror / Atom feed
From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: bpf@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net,
	andrii@kernel.org
Cc: netdev@vger.kernel.org, magnus.karlsson@intel.com,
	bjorn@kernel.org,
	Maciej Fijalkowski <maciej.fijalkowski@intel.com>
Subject: [PATCH v5 bpf-next 3/6] selftests: xsk: increase chars for interface name
Date: Tue, 30 Aug 2022 15:56:01 +0200	[thread overview]
Message-ID: <20220830135604.10173-4-maciej.fijalkowski@intel.com> (raw)
In-Reply-To: <20220830135604.10173-1-maciej.fijalkowski@intel.com>

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

Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
---
 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


  parent reply	other threads:[~2022-08-30 13:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 13:55 [PATCH v5 bpf-next 0/6] selftests: xsk: real device testing support Maciej Fijalkowski
2022-08-30 13:55 ` [PATCH v5 bpf-next 1/6] selftests: xsk: query for native XDP support Maciej Fijalkowski
2022-08-30 13:56 ` [PATCH v5 bpf-next 2/6] selftests: xsk: introduce default Rx pkt stream Maciej Fijalkowski
2022-08-30 13:56 ` Maciej Fijalkowski [this message]
2022-08-31  8:55   ` [PATCH v5 bpf-next 3/6] selftests: xsk: increase chars for interface name Magnus Karlsson
2022-08-30 13:56 ` [PATCH v5 bpf-next 4/6] selftests: xsk: add support for executing tests on physical device Maciej Fijalkowski
2022-08-30 13:56 ` [PATCH v5 bpf-next 5/6] selftests: xsk: make sure single threaded test terminates Maciej Fijalkowski
2022-08-31  8:55   ` Magnus Karlsson
2022-08-30 13:56 ` [PATCH v5 bpf-next 6/6] selftests: xsk: add support for zero copy testing Maciej Fijalkowski
2022-08-31 20:59 ` [PATCH v5 bpf-next 0/6] selftests: xsk: real device testing support Daniel Borkmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220830135604.10173-4-maciej.fijalkowski@intel.com \
    --to=maciej.fijalkowski@intel.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bjorn@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=magnus.karlsson@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox