[PATCH v2 1/1] app/test-gpudev: introduce ethdev to rx/tx packets using GPU memory
Stephen Hemminger
stephen at networkplumber.org
Thu Jul 6 20:58:15 CEST 2023
On Thu, 18 Nov 2021 18:56:13 +0000
<eagostini at nvidia.com> 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.
More information about the dev
mailing list