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 DD15442478; Wed, 25 Jan 2023 23:57:38 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CC52D40A7A; Wed, 25 Jan 2023 23:57:38 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id 0A126400D7 for ; Wed, 25 Jan 2023 23:57:38 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id nm12-20020a17090b19cc00b0022c2155cc0bso122157pjb.4 for ; Wed, 25 Jan 2023 14:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=0hM73yYB+U/pja2RQSgtL7NvFkdn8y4khxnXUdMOZBs=; b=8F64paLv3zNkHZ8F9EqVcl9VCM4lMMoUUOX+7osAHZz8IgEYO84T/+yUrmr2ztZQXt CT3GM9Xkraa6XEaCagwhozoL0yScBQQPcEh6BFPO6MpELZQuRG4/z0quwZ99S0c04/G1 14f+HxoOxMAnn8Xai5+ZsotjxcXXok+cyFAfFdt60zqUd+eK5WeFlcDCTIH3D+QC3xct 4+bxq8QbYd6O5QimDHeekxXJ8mh56tWCnqOeTOHOL84jmU5Un30K3Roh3mT997XoRbOI Us5tGowon93/cLB+vWzrDJ2Y+PsGCqdn1wkTM/GXyql2RO10LZandhW5qTOq9UyrajOp D9MQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=0hM73yYB+U/pja2RQSgtL7NvFkdn8y4khxnXUdMOZBs=; b=GG8n2f6DvKp39+XQyWE+iLkBhFUH+MX57EZSiIBFlOafMGoKh+lSaNURBA5/S93HDj 5bZDuFOkYu4T9DUfh+LPhO/slW3Tjav2ETDb5x3tgzEgCDGY6u3n1Z6PjXVKQdZULUH4 zcwAT3Xvz6C79UeAupq17iiIIUGtjdE/pPAxY+SKIprAkFsnR1d9qnAPQ/adlfZHhD+D M+eUMbXVTyyMzjlj02f9ZuyhWYpU2IDZUfMUAZ6qhJLim1mU6iThslbZpS5rA5opxYjY iLn04qWWfCtqN+GSJ6qyoBuzXcUMI4MLvh7eXw6lf2T9DqNXxXs0SBROFQo13Xt1rGan /onA== X-Gm-Message-State: AFqh2koS1Km+dO8tcCz7qak+4CpB2RTtNn8yPLDN0n8l2DI2OnOpGsdD yT3xmZjNF4znmHhhZFHx/iDxfqipNegHM5d9Eao= X-Google-Smtp-Source: AMrXdXuCVz+ohauYXWDoJ8sPp6c8OArJ+VuX9zPjkCaFD+IWr4tiQKdQHjoxTn38XrnDE1IFsiXXnw== X-Received: by 2002:a17:902:dac9:b0:189:81a2:d616 with SMTP id q9-20020a170902dac900b0018981a2d616mr46767620plx.16.1674687457207; Wed, 25 Jan 2023 14:57:37 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id q17-20020a170902dad100b001960e64fc24sm4119794plx.119.2023.01.25.14.57.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 14:57:37 -0800 (PST) Date: Wed, 25 Jan 2023 14:57:35 -0800 From: Stephen Hemminger To: Mike Pattrick Cc: Aman Singh , Yuying Zhang , dev@dpdk.org Subject: Re: [PATCH] app/testpmd: expand noisy neighbour forward mode support Message-ID: <20230125145735.11ccb263@hermes.local> In-Reply-To: <20230125224531.162592-1-mkp@redhat.com> References: <20230125224531.162592-1-mkp@redhat.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 Wed, 25 Jan 2023 17:45:31 -0500 Mike Pattrick wrote: > + > +static uint64_t rnd(void) > +{ > + RTE_PER_LCORE(seed) = 1103515245U * RTE_PER_LCORE(seed) + 12345U; > + > + return RTE_PER_LCORE(seed); > +} > + Strong NAK don't add another random generator.