From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id A684142DEC; Thu, 6 Jul 2023 20:58:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1EBBF41101; Thu, 6 Jul 2023 20:58:19 +0200 (CEST) Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) by mails.dpdk.org (Postfix) with ESMTP id 3546640A79 for ; Thu, 6 Jul 2023 20:58:18 +0200 (CEST) Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-262e619fbb9so680367a91.3 for ; Thu, 06 Jul 2023 11:58:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1688669897; x=1691261897; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=DGy0FaTrD+t5a9bkqXytWnT/NO3yf10S70hbSexMa+Y=; b=XMY47F64Z1JhGcQnVA9q1hyrivLsfdAfdX8+l3pIQ4mp0fsZ6EazJXEwehTSZfkar9 HjPkbFeG9ywJbxBlZUj2HcTYpyfL9kf+/j7NsmwDsFpEGkXjuBBx33LYDxnuWcNydrUX AYiqN+AHXSnVt5FSO0C6MINIA2rHAN9gCfD9/HC24CKyD5HBsqmPgJkFlJaVvFsbatb8 OJjKiCOdQWtF7GbxvJqzvVDkXkod/viA2cX+Mk1b96PMBGjXYVmJgwe6Nu9ZAFGwmXQF qhLr3Wq6X7Wd8f3LPB2SYc/SuiUza3bV74xiTca5j/AH/j139S/In5f4op5Vzpbx0sbr LgCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688669897; x=1691261897; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DGy0FaTrD+t5a9bkqXytWnT/NO3yf10S70hbSexMa+Y=; b=Y8epcerwk/yqliVbCc1RRdBIRlT21eQCCN/5FsoiS0gLeg12hS+feHM3hA6W7/fjwA PIl7S+qmhL2RWgKluZhBp5LsQxM2A9LQvfCIN5cD3j27/qfOY0VnTWiUSOtzejSUoaaF pYoJYWbSspLhPr9G/RZ5iq51P7bhd3GDrouv4BiIlQCawQv05CxkkcsYV1ffZoGYFe/l xcOqisBapSN8/nqcu9OVXD0Jg5K0GsyRwwshho5cKqQNrDeaEl2EvpR6JSgq3pp9ZOxW aJ6kmqlwzahKaXDi25gEUit1dbYE1h5zjW5RX/8y5vxXDWMbYTJxxJu9vVVZhmH/e4cs l9+A== X-Gm-Message-State: ABy/qLbzlnhMhCw99KpwMNapOZVZO2I/1liYALjD+2hb+J01Zo3QqQyX 8G6ktGFRrFZ0BBCwazwLMd1OZg== X-Google-Smtp-Source: APBJJlHm3nK4aXRnobJm1S2s9H1FIMHcMShxdsG1l55rLo1gSJUCJcHsR2gvsZjn1z2CwlVhp75Hkw== X-Received: by 2002:a17:90a:3ea4:b0:263:44dd:14b2 with SMTP id k33-20020a17090a3ea400b0026344dd14b2mr2098440pjc.38.1688669897209; Thu, 06 Jul 2023 11:58:17 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id g7-20020a17090a714700b0025bdc3454c6sm138599pjs.8.2023.07.06.11.58.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 11:58:17 -0700 (PDT) Date: Thu, 6 Jul 2023 11:58:15 -0700 From: Stephen Hemminger To: Cc: Subject: Re: [PATCH v2 1/1] app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory Message-ID: <20230706115815.50ea5cc7@hermes.local> In-Reply-To: <20211118185613.3246-2-eagostini@nvidia.com> References: <20211118015228.30628-1-eagostini@nvidia.com> <20211118185613.3246-1-eagostini@nvidia.com> <20211118185613.3246-2-eagostini@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, 18 Nov 2021 18:56:13 +0000 wrote: More tests is always good, this seemed to have gotten stalled. Probably because most people don't have Nvidia GPU and DPDK. > +static void > +signal_handler(int signum) > +{ > + if (signum == SIGINT || signum == SIGTERM) { > + printf("\n\nSignal %d received, preparing to exit...\n", > + signum); Printf in signal handler is unsafe, don't do it. We just removed this in other tests. > +exit: > /* clean up the EAL */ > rte_eal_cleanup(); > > + printf("Bye...\n"); You don't need this. Just noise, why add it.