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 4C049A0C47; Tue, 6 Jul 2021 13:29:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B796C41262; Tue, 6 Jul 2021 13:29:52 +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 D2CFE4120E for ; Tue, 6 Jul 2021 13:29:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1625570991; 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=AfbBTRI/YIo4Q6t3bsz6/GSpuS/d9WJz4rfATfPa5W8=; b=JF9E9Vuhgknl2hKQZSx2W0stn2VMpMLlZfd2bMhJX8JUQZfKhdgoITuj9eyrVx7OwI66Gk V9ou7G+dKh+rOssYHq1pnjHHV1qNoHuQ3Xopnp9JYimNTusn77HQA9ZnIBpRb/cTlRHToX NSOGu/8dpMG+GbPupa63fWfICp7T1zM= 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-526-TnrLF1mON2OK5dlJbMqgvQ-1; Tue, 06 Jul 2021 07:29:50 -0400 X-MC-Unique: TnrLF1mON2OK5dlJbMqgvQ-1 Received: by mail-ua1-f70.google.com with SMTP id f15-20020a9f2bcf0000b02901f8fe91b89cso7861907uaj.0 for ; Tue, 06 Jul 2021 04:29:50 -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=AfbBTRI/YIo4Q6t3bsz6/GSpuS/d9WJz4rfATfPa5W8=; b=mXyoL8r5tL7yd3rEIgQ66N0catlRWIesjaxTHfeNzX45489Csm3zJhjP1oyCgpXV5H N46kk3NCV4vassc3GUBOeunZE6rkw6fySc+GCSuug4HxxFcNWao1ciG5p5b/B7ZSgyP8 IFQ7Hv17Re3kQx0iIOTiKaEH0xNm478h4jOl0v1/AzNHxdLA/e8ONdHqGaBO5bHXNg1y Er79+seSnSta0NoUPs/YpEkAr3kQ8Ei9nD7ZHJhYZsjp91ob6QM+R1MGKvMYXn2R2cfp 62nSG0ST5840g4aU43B2igR6nrm1kI8EnYgaBtYtd/HL3X6i3ED4vyNfWIxJ1DzMuOQ5 tduQ== X-Gm-Message-State: AOAM532gqrOIuX9my0b0s2oH9J7Utr8xb/RxmLBdCSTLcK8ZbsQBWjiq sYGbo2RHw32rVm7mE9WCwOK2tMaDoNb6WyrveM9DrJEF1avHI+8UcPhc2VhKNuVt25acuf5xMBm wBnH8TIGpAz2p8+iZ+GU= X-Received: by 2002:a67:3001:: with SMTP id w1mr6209801vsw.5.1625570989630; Tue, 06 Jul 2021 04:29:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBOKs0zdyFEg9zMIwUaIpC4KNCw5x4kvM+zwebbLOeCk28AfWdzfwOVk/jVro3MPfN4HTkZlYGJmfZHo/pltE= X-Received: by 2002:a67:3001:: with SMTP id w1mr6209764vsw.5.1625570989137; Tue, 06 Jul 2021 04:29:49 -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: Tue, 6 Jul 2021 13:29:37 +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. em can undergo the same change too. Can you send a followup patch and I would take them both for rc1? Thanks. > > Signed-off-by: Conor Walsh -- David Marchand