diff options
author | Björn Töpel <bjorn.topel@intel.com> | 2021-03-30 01:43:14 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-30 19:24:40 +0300 |
commit | 7651910257c8fb1ec76b50bef0330fcf739105c7 (patch) | |
tree | c4f29ba791a2f5f991bfc851b300daabeb38cf3c /tools/testing/selftests/bpf/xdpxceiver.h | |
parent | 27e1ca2525de264901b5c2d9d0c4403c3fe8608c (diff) | |
download | linux-7651910257c8fb1ec76b50bef0330fcf739105c7.tar.xz |
selftests: xsk: Remove thread attribute
There is really no reason to have a non-default thread stack
size. Remove that.
Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210329224316.17793-16-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/testing/selftests/bpf/xdpxceiver.h')
-rw-r--r-- | tools/testing/selftests/bpf/xdpxceiver.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/bpf/xdpxceiver.h b/tools/testing/selftests/bpf/xdpxceiver.h index e431ecb9bb95..78863820fb81 100644 --- a/tools/testing/selftests/bpf/xdpxceiver.h +++ b/tools/testing/selftests/bpf/xdpxceiver.h @@ -37,7 +37,6 @@ #define TMOUT_SEC (3) #define EOT (-1) #define USLEEP_MAX 200000 -#define THREAD_STACK 60000000 #define SOCK_RECONF_CTR 10 #define BATCH_SIZE 64 #define POLL_TMOUT 1000 @@ -152,7 +151,6 @@ static struct ifobject *ifdict_tx; pthread_mutex_t sync_mutex; pthread_cond_t signal_rx_condition; pthread_t t0, t1; -pthread_attr_t attr; TAILQ_HEAD(head_s, pkt) head = TAILQ_HEAD_INITIALIZER(head); struct head_s *head_p; |