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 23AE8A0C4A; Wed, 7 Jul 2021 11:57:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0ED674135E; Wed, 7 Jul 2021 11:57:40 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id C8B30406B4 for ; Wed, 7 Jul 2021 11:57:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625651857; 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=amlMRApqwGb0TQKNJrXvqbZMGA4g1T0iTSCPvsyU0i8=; b=IFk5jbeqlUfzsfAq8N45RAxrvUoyE4tpdQR+GQS5vEb6aJX3n3tkw3jeJofdEp9WAKhcMq 88s2zVV748rgd26SIwmWeZ2/XA2NwIQcv3LDLAEkfg10g+cw8FlKqmJVOj9GWH3uZZ6APa 50M3JbL0+8iVHLXZ2I+JZPlfu53lMD0= 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-567-7OPTszTGO4SZMiMAmXuntA-1; Wed, 07 Jul 2021 05:57:34 -0400 X-MC-Unique: 7OPTszTGO4SZMiMAmXuntA-1 Received: by mail-ua1-f69.google.com with SMTP id c24-20020ab069580000b0290294f1e254c0so665405uas.21 for ; Wed, 07 Jul 2021 02:57:34 -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=amlMRApqwGb0TQKNJrXvqbZMGA4g1T0iTSCPvsyU0i8=; b=CYWK7QvKncHguQpWoKY0sRcQhnrlqy0pAGNN1oX6dJuqsKk6cZh3ZeV6YIQ0a9QFsu 5iGjPtCdBfE6yqMGF3Pl0YK0noIXxi0Z2NpWl5GF13WTg1tP23f1LBeYSQfiLcFqaLks 5e1OVWTpBAq5tVR2CPar9RQpesVjPgP7SjNoru54/yyfiUJTJblSE5sLxO7d1q763Z2u S03c3vGqkq0Sfe2O42vqxOpj9kJ39KmV+yHDGWem94MbjzgnPt/3NxCO5RmWwNJZgVS9 nT5DrcBt/uImB0C864VR2j8Y7rTRMQq4Px9D9TthW6nWIJ9wA/2Le0qOK6sCqMeOm+kp nqWA== X-Gm-Message-State: AOAM530erL/X7I0DhT3bi+/b9ziTNhM/c9bMOMDchNINYdgIFLXZEm3n ggGwS0mul3/WsyRdFy/e9goZZSeFWVQYoKCHs6f7vtRoVLY4n9DVd+iuRYknSjRieHo6J96kzii fxqzJh76dCuBty1yK18I= X-Received: by 2002:a05:6102:66f:: with SMTP id z15mr19664581vsf.10.1625651853422; Wed, 07 Jul 2021 02:57:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzNJ4GdFawr6OA28tz8r3Xm/UqNi677prdX3QgaMb6SjXajmTbEDJ1PgKftbMUYLcG6tPLy0kz5ZK92u+/zFw= X-Received: by 2002:a05:6102:66f:: with SMTP id z15mr19664567vsf.10.1625651853224; Wed, 07 Jul 2021 02:57:33 -0700 (PDT) MIME-Version: 1.0 References: <20210706115755.1011721-1-conor.walsh@intel.com> In-Reply-To: <20210706115755.1011721-1-conor.walsh@intel.com> From: David Marchand Date: Wed, 7 Jul 2021 11:57:21 +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 EM 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 Tue, Jul 6, 2021 at 1:58 PM Conor Walsh wrote: > > This patch aligns the l3fwd EM 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 Reviewed-by: Ruifeng Wang Reviewed-by: David Marchand Applied, thanks. -- David Marchand