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 ED409A0C4A; Wed, 7 Jul 2021 11:57:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3799406FF; Wed, 7 Jul 2021 11:57:17 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 511B8406B4 for ; Wed, 7 Jul 2021 11:57:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625651835; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=4ntC1TyOaQfECafDXhcizZAvhZYAbFFgN7nWictHUgU=; b=PNHK7dGC4Wcb2Z92stuWdMX9svZ4CK3iIgqFKTHSlk4tm3+h4Thanghdx/nVKi3cT4d7Pk zWoMIdNg9MQm7NcfiQU+JGIF3Xk2uD9KZvyRegVvXRDwmQFgj3TfNiFOxvcalFgP+kDvvb VzEgY2ldQ29f7k43/tnxXSEGqxlNyVg= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-370-NmCEOaobP8W6maZrGv-Atg-1; Wed, 07 Jul 2021 05:57:14 -0400 X-MC-Unique: NmCEOaobP8W6maZrGv-Atg-1 Received: by mail-ua1-f69.google.com with SMTP id 6-20020a9f24060000b029027872bb5b5dso673584uaq.1 for ; Wed, 07 Jul 2021 02:57:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4ntC1TyOaQfECafDXhcizZAvhZYAbFFgN7nWictHUgU=; b=ezObMfZnJgMPjBzSFepTdSDZvLcE5TcbnEHjWjJJrLpjnCCuiig3dkjTTSUzG1PxkG 9OV52bZkwFKVoL4sd1e3uF6+nt4rnmYKsrRK97nPaVeAvJRE+DAGg3wo4cAg5GntLxw+ ij95pPAckPlXnVzFtOrUnLmDswIMlwlb40NF55gNv64Pawj+vzYHBPTgq5YuhO/Whcju pkl+1ic/T6hQccDFI305ZtahB4tEYo2mmRkWS53dGlWUi3vQKHRc9jaiyhzV4ZzCPUzE h4tjsTYBUizBPHyRA919RKOP3OWLe6tiGZqOFUNN5PLtwbqheRwvQaE12B4RyYcxhb+H ySVQ== X-Gm-Message-State: AOAM530Q/gsqnrwmRRqlLQ7dE8didbhz2dh2lh/pXM8nExuii+6SCUKr hdQtX230BcWm8JFxYpS9AnPRLmUamf9Svn3ec3aubE/mUUvt+bCHNnLXMtUKUi1HJFfOWpKOuR6 /1jNrQ82wI29/xdtpe6U= X-Received: by 2002:a67:3001:: with SMTP id w1mr11770515vsw.5.1625651834264; Wed, 07 Jul 2021 02:57:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwv+FyEVPQO9eh39Qvd82zNrvXwYVBWtjgXU+oYV/pXGBuztG+yGyUlmHNH278MWAax3+wt3RPSyMiiXbG0tX4= X-Received: by 2002:a67:3001:: with SMTP id w1mr11770513vsw.5.1625651834125; Wed, 07 Jul 2021 02:57:14 -0700 (PDT) MIME-Version: 1.0 References: <20210705170546.1002806-1-conor.walsh@intel.com> In-Reply-To: <20210705170546.1002806-1-conor.walsh@intel.com> From: David Marchand Date: Wed, 7 Jul 2021 11:57:03 +0200 Message-ID: To: Conor Walsh Cc: "Ananyev, Konstantin" , Vladimir Medvedkin , "Ruifeng Wang (Arm Technology China)" , Jerin Jacob Kollanukkaran , dev , paulis.gributs@intel.com Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] examples/l3fwd: remove useless reloads in FIB main loop 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 Sender: "dev" On Mon, Jul 5, 2021 at 7:06 PM Conor Walsh wrote: > > This patch aligns the l3fwd FIB code with the changes made to LPM in > commit 74fb854a3de6 ("examples/l3fwd: remove useless reloads in LPM > main loop"). > This change ensures the compiler knows that the lcore config variables > are constant values and the compiler will then optimize the code > accordingly. > > Signed-off-by: Conor Walsh Acked-by: Konstantin Ananyev Reviewed-by: Ruifeng Wang Reviewed-by: David Marchand Applied, thanks. -- David Marchand