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 68A41A0501 for ; Fri, 20 May 2022 22:28:13 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 577F642684; Fri, 20 May 2022 22:28:13 +0200 (CEST) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 30FF540222 for ; Fri, 20 May 2022 22:28:11 +0200 (CEST) Received: by mail-pl1-f175.google.com with SMTP id w3so1636068plp.13 for ; Fri, 20 May 2022 13:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CqQczrsEA5pEZGy5VLTV7A8xFXju84SWoCwKeuJrwDQ=; b=WR7kJvbKvYKZn72SUeRRvn4flivfojhYIlbJySSd5v7Rvkr7pIzYig7pinPHQNJeAe 6BgH9v8tE4YpyjjtibKrR666b740ygRkNEgRJgTxBCm0zhJebs7vpTZ05y74cX2t9N7Z az1I1xmCj7IRQPrJ0oaJDpgGBXQlHt1X48ZlnQLlbcAgbAkork3W7XPHavI2MS2B8FMO HmfVVEko/k4d4IxO7Y3SUVy8kK5A0VihM6Cf6S48KUrw/pyWqbKe+HrYuyRjvlc0mqNb 2a6b6frndvXbQ+1Z5DTg/CMa/tZQDGWQ3W8ydOfwmdMZI06CcHxCuHfg1jfWHihZUEqA NhFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CqQczrsEA5pEZGy5VLTV7A8xFXju84SWoCwKeuJrwDQ=; b=auTmUijFIrh5OaJTaVppZiu5aIWu8F6ORlEbn5K+z+6dUcvP2/vlE/69FVShfqnzKi esgenFgxrWDC0eudQn7G1HfPN7GvSGengiLKJ2gMJG3OmrIjNKF1PxyPTq65fXqTdEw4 0WO9qLZiJSHmmBavXbg7l/Ki6zCaBb87LwxTsYzbbbmcOIk6hrZPLtxJOkDgerCF0Ui3 rkAt/6ATpKLN16L6TP8VHNFMTLN0Hmt+WXHbekpPdV/DLSxbp5h3usI9ZBW8F3dFeSjZ ONV+PGYadpKSn27cuqdrbCYpcLWx4XqDU+3ghpMiRlScHkSnjF+09Fcf6X89zeJUZGSy CGIg== X-Gm-Message-State: AOAM532cxR3D43TOn5vGL0rYDQjK2hGIQqm+M1Eky90YvGog6ly0l9l/ c4iuKyRXS8DeCoh9Ka/EBHRZfg== X-Google-Smtp-Source: ABdhPJy3LjUS7saijhDpmjQ+c6RS1H+thfnfyqas7VkclCv+EraU3seNnv4uXd+R4yHiiq4Ncf7ncQ== X-Received: by 2002:a17:902:6805:b0:161:8214:c170 with SMTP id h5-20020a170902680500b001618214c170mr11679002plk.11.1653078490294; Fri, 20 May 2022 13:28:10 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id y68-20020a62ce47000000b005184af1d72fsm2387918pfg.15.2022.05.20.13.28.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 13:28:09 -0700 (PDT) Date: Fri, 20 May 2022 13:28:07 -0700 From: Stephen Hemminger To: David Marchand Cc: dev@dpdk.org, thomas@monjalon.net, ferruh.yigit@xilinx.com, stable@dpdk.org, Marcin Wojtas , Michal Krawczyk , Shai Brandes , Evgeny Schemeilin , Igor Chauskin Subject: Re: [PATCH 04/12] net/ena: fix build with GCC 12 Message-ID: <20220520132807.57005bc1@hermes.local> In-Reply-To: <20220518101657.1230416-5-david.marchand@redhat.com> References: <20220518101657.1230416-1-david.marchand@redhat.com> <20220518101657.1230416-5-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Wed, 18 May 2022 12:16:49 +0200 David Marchand wrote: > + for (i = 0; i < RTE_DIM(default_key); ++i) > default_key[i] = rte_rand() & 0xff; We should have rte_random_bytes() functionality if this gets used often. Also, worth considering dropping DPDK random number generator in userspace for security reasons and just using more secure kernel code.