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 C739BA0545; Mon, 30 May 2022 22:38:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70775400EF; Mon, 30 May 2022 22:38:28 +0200 (CEST) Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) by mails.dpdk.org (Postfix) with ESMTP id B1E80400D6 for ; Mon, 30 May 2022 22:38:26 +0200 (CEST) Received: by mail-pf1-f177.google.com with SMTP id y189so11379845pfy.10 for ; Mon, 30 May 2022 13:38:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y9APCZOzCkCnEKtAM6uM7VdIOZ06T5UQJzRh3f8zerM=; b=5QCv8e11OT38m87uIh9GP7gLJxExKETqeyLjSADDVIaLb79sRaPwkebJrh5mfdSi2X 8Kq6NcLwYv004DPDKufA0458RJI4tXSPn4lvNnrP8aLUF+n5k6+l24KRu7glZIAB0UOT fv0Cwb3XLuu2y4gvXKNor6KTuDVF+q+vVv44eWOBRVWzU1NJPzraqTuXdyTTeAG2bGTE x0VWC8selHsJ09pmH7LGAWJQ6FwOyu5v7HcRV51hpjwBc4fDx5/cXj4L9l4qUyzf1gUV T9T9ps9qMyMUoQFfeWi7I1MJ4LhXTdYMwRRYUZmbhOqjIffOKj/WPut3Cji76CpbMnVc dt0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y9APCZOzCkCnEKtAM6uM7VdIOZ06T5UQJzRh3f8zerM=; b=v9EpP8xvMgkBlvXLv1kPIP5/S/30yKdpwbj3LlTcJgXBtUnqvlI3/Hlfod6SuMlV1H wGtPRA2Rykw2mfYhs1oijPQF8ShFWLaGDl1kMgn1dMgNQJEXVpcHPPLslSpx2KUpwqTt unCu3uGodtGu94cgylgp1l4MDSBno4D9s7XwaT0Pjptivg19+Sm4ymiDdvqdnzrdMETu egPyQPR5hgOW9YWDGaa80QXsbvzOLgjUXdyRG0iqg4Vrnq7WAjMAgwEc7nXQI9kxwFfB g8RjC7H5/86tEzLmDQPq2Oqf9p94z5XKa7T/BE9prTvO/4XJiwFeiXMgtx0km661Im3p fNoQ== X-Gm-Message-State: AOAM533Ryjh0h/9arecVQ3b0Vu5G2s/Z6tiTJ/z7HJ1zMF8mhRKxXQaq IRJDUfZwzHoLZyJRXS85WWCs3Q== X-Google-Smtp-Source: ABdhPJyXNngrV0uDEzf5Rz1DCnkYoNe0NFOG628/4TLiMXvxiQnfyB8VRPkPouxNSCRAZjF2uFe2Ww== X-Received: by 2002:a05:6a00:b53:b0:518:8f91:db08 with SMTP id p19-20020a056a000b5300b005188f91db08mr43536819pfo.22.1653943104366; Mon, 30 May 2022 13:38:24 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id r11-20020a170902ea4b00b0015e8d4eb273sm9575948plg.189.2022.05.30.13.38.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 13:38:24 -0700 (PDT) Date: Mon, 30 May 2022 13:38:20 -0700 From: Stephen Hemminger To: Stanislaw Kardach Cc: Vladimir Medvedkin , dev@dpdk.org, Frank Zhao , Sam Grove , mw@semihalf.com, upstream@semihalf.com Subject: Re: [PATCH v3 1/2] lpm: add const to lpm arg of rte_lpm_lookup Message-ID: <20220530133820.7dd33f75@hermes.local> In-Reply-To: <20220530182437.56853-1-kda@semihalf.com> References: <20220527181822.716758-1-kda@semihalf.com> <20220530182437.56853-1-kda@semihalf.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 Mon, 30 May 2022 20:24:36 +0200 Stanislaw Kardach wrote: > All other rte_lpm_lookup* functions take lpm argument as a const. As the > basic rte_lpm_lookup() performs the same function, it should also do > that. > > As this function is inline, no API/ABI change happens. > > Signed-off-by: Stanislaw Kardach Acked-by: Stephen Hemminger