From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B514BC3B1A1 for ; Fri, 14 Feb 2020 16:06:23 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 459A4206D7 for ; Fri, 14 Feb 2020 16:06:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=semihalf-com.20150623.gappssmtp.com header.i=@semihalf-com.20150623.gappssmtp.com header.b="nVIO1yrr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 459A4206D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=semihalf.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 952BEF72; Fri, 14 Feb 2020 17:06:22 +0100 (CET) Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by dpdk.org (Postfix) with ESMTP id 84E2EB62 for ; Fri, 14 Feb 2020 17:06:21 +0100 (CET) Received: by mail-lj1-f194.google.com with SMTP id y6so11336388lji.0 for ; Fri, 14 Feb 2020 08:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=KF0TKDiP3g6p8ljJepnsZRH+JDE9DrAX9xH4wk9aTZ4=; b=nVIO1yrrQZ+hlXna/swkOJWX7dlPAcDqDtYztpKEhF/KdmQWdXaWWjSzirr5b8pHSK jiEyXpG4BdcuGtaeAeRFLsEo//0lUqujjwTtZxR/a0foXKrCmj0MSB7SS7xx+4Np3+s6 6kZ2k26Xodr4fiNYvJBzWeYvW1XHhvtiQqTaa2comTQPal7HjTFov2yoZszD4YfYt7Nm JQXeuXqqDKGH560My3hbuV9qqcBe5fDf30x12U6XXdqYb/1KamVIVVOsZ+gATgWZW4zn Uz9rAu1U0hefEczV3m/Amalvn/LynFl4GymBzkagXLyE6f7p2dkML4e5UZI54+jxIGFX 4xaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KF0TKDiP3g6p8ljJepnsZRH+JDE9DrAX9xH4wk9aTZ4=; b=XJpuRo/diK7Zqja2udKH/BSL4+fC/c2Yy5UViNPEBnkBy/5wa1pJJcBahz1JvD+v9I 9wjPrEWSzOTy9sqBm9g/LTHIJ0vR8d24X+C3GHYWZ9PuQp08iLkV65QxJURLf+VpBIjV 5sCwXRzKhxfc1eKWhmiz0W5LuJQ0OIA2H829CTTC4eG+nxqSAUXombZ5dFdI6wFiZYuy Swfi3jfLZhksTsjYk2E/yUyak0PZURa6AozsP1izLz/U05/R/6n1/Sc0uH1gEUOxUGZa QkC75UD1MwSwVrr4iQqJv6Z7rF/HxpJzn/EvM6LXXJlzobGa/+ANJszPqBx9rAz9ab1C U4MA== X-Gm-Message-State: APjAAAXD5ezrxAD3b35x3akK2ni7cKC0R6dbk1xUh+prrS312cc7wrKy LrVY7yp5j8pHOkT6aWzOsG2YUQ== X-Google-Smtp-Source: APXvYqyBxfFtINf4YGBHkGzlg8QljtLNG5ZvQPn8oTz7G6wnO2K6hlZ/YxJS96DCRkPLR/cojXtKlQ== X-Received: by 2002:a2e:a0d0:: with SMTP id f16mr2546661ljm.130.1581696381101; Fri, 14 Feb 2020 08:06:21 -0800 (PST) Received: from [10.0.0.72] (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id z8sm3670368ljc.44.2020.02.14.08.06.19 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 14 Feb 2020 08:06:20 -0800 (PST) To: Stephen Hemminger , Andrzej Ostruszka Cc: dev@dpdk.org, Bruce Richardson , Vladimir Medvedkin References: <20200214143800.27230-1-aostruszka@marvell.com> <20200214074755.5fd685de@hermes.lan> From: Andrzej Ostruszka Message-ID: Date: Fri, 14 Feb 2020 17:06:19 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 In-Reply-To: <20200214074755.5fd685de@hermes.lan> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] lpm6: add const to IPv6 addresses X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 2/14/20 4:47 PM, Stephen Hemminger wrote: > On Fri, 14 Feb 2020 15:37:59 +0100 > Andrzej Ostruszka wrote: > >> LPM6 does not modify input IPv6 addresses so mark them as 'const'. >> >> The real need is to add those annotations to the API but in addition >> they were added also to internal functions and slight formatting changes >> were performed (aligning of input args). >> >> Signed-off-by: Andrzej Ostruszka > > This is a duplicate of: > https://patchwork.dpdk.org/patch/65126/ Yes indeed. Thank you for pointing out, will drop it. With regards Andrzej Ostruszka PS. Did you remember this patch, or is there some neat way to search for relevant outstanding patches? I'm pretty sure I've seen it but there are so many changes being sent and at the time had no need for this change that it escaped from my memory.