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 D8BFDA0C48; Wed, 7 Jul 2021 08:21:04 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 99C4D406FF; Wed, 7 Jul 2021 08:21:04 +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 B54F24069E for ; Wed, 7 Jul 2021 08:21:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625638862; 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=hRbS/Aau5PlzcQEmt7n3GDm1ncSVynJFI1d8B23eX8E=; b=ZFYtYNOVfNRWBkrma8vRH/GAIvRjg7n04lDSLPa1dVCt0IvF1SHSm5D90Xm5Uzxd1pUM4D akqlbhBTj0qplgnOGRLLDlZq9qBdYu5wdBzgwKZYn5SyOMqXUbiAEltyuRj/YdsZNedbMo FLyJsTjzohyGEq9YLu23OwGc8ql6plc= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-283-aSaUXOyzM4itFq2NDczlRA-1; Wed, 07 Jul 2021 02:21:01 -0400 X-MC-Unique: aSaUXOyzM4itFq2NDczlRA-1 Received: by mail-ua1-f70.google.com with SMTP id f15-20020a9f2bcf0000b02901f8fe91b89cso407902uaj.0 for ; Tue, 06 Jul 2021 23:21:01 -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=hRbS/Aau5PlzcQEmt7n3GDm1ncSVynJFI1d8B23eX8E=; b=riEo3aHfQ7Jq2nYxLHZ33QytTmhDMZYip0J8W+PBU8KkEu6m89PYp2M6ODn9d7AcHf v6LiYe/pYqpIAhZN0OwVhg5MaKM90Mk+di3GdEln9Idfu0QUhp6iQsW6zQaLpy62f8o/ TpV0P0DZxVnj4FA4kLPP//TyT/Jnee8HqaLJjmo94mTDm6K46BUC43W4KQ2M7Vwv1Kjx zN/juwhjdqvR/QtQrr50ck8AhC7kQ4SdiOhtwSY8658kshCnpHmsPN8HfMRI8dg0oRxY G21ZZxY1oP4Zt6o3GliEAzjaWShYDfe5U6MIfXt9dx5biaAGgJTwvK//yXhJYFtxvlNa 7eog== X-Gm-Message-State: AOAM531+gpztmh1IeZ0goEX+2/e9x5ButCUNseF+TkFJnG3LxXdVHhdo OKU7jn7rjsUXIBRngxfR8Gbwu4MWRDs2eeTVconA7BkTxwNmLBjUjbM4BGF5DiLxTjnI19Kkaj3 6n5lTAOGqa7EO/HvNWcg= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr17431685vkm.9.1625638861311; Tue, 06 Jul 2021 23:21:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyVSnlMtjcwt1dAte3haT8xvosKU/EbYVIQVlt/OdRj0Ozp8YQwkr/ADd7X0QqJvEdvt55RAkc5D0EXH9sukLY= X-Received: by 2002:a1f:26cd:: with SMTP id m196mr17431669vkm.9.1625638861023; Tue, 06 Jul 2021 23:21:01 -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 08:20:49 +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: David Marchand -- David Marchand