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=-3.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no 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 65F21C2BA83 for ; Fri, 14 Feb 2020 15:48:08 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id 08DA32086A for ; Fri, 14 Feb 2020 15:48:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=networkplumber-org.20150623.gappssmtp.com header.i=@networkplumber-org.20150623.gappssmtp.com header.b="r36Hd/PK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 08DA32086A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=networkplumber.org 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 B6997100C; Fri, 14 Feb 2020 16:48:06 +0100 (CET) Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) by dpdk.org (Postfix) with ESMTP id 138B4F72 for ; Fri, 14 Feb 2020 16:48:04 +0100 (CET) Received: by mail-pj1-f65.google.com with SMTP id m13so4101783pjb.2 for ; Fri, 14 Feb 2020 07:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hZECWVylHKJ3avXNMhHpMaHa3W8M1d5iYMHyZBo7KKM=; b=r36Hd/PKApUrHlNfV23kOw+IYVC4L4RLtWSoLSf41ZGC6P92Q6cHpIv3HoN5KbCaYL 0UcOp7f4gt73Sb+LoTuwRBV+R1eJhid5eGlWRKqp1sgF9SSW1uZbPl61wtzWREgYizHL oGNWVa6WYx8ZQp2cxmBTVS7rbzirDj72mbP2TWTA6ZnI3QlHAifKan0Q38eMnVtDe55/ bZXhe8EB4HgjSNFragkv1yhkPvtgvUTPn50NK7YGe/W6inii6vg1k+wQ0JCa3ca2aezV UDKK9miRSx8CthWg/SAPku9ii3WPs4am2x5QSEKuBLNKj7M3ePR4e59HZlo1GVYLB08f koOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hZECWVylHKJ3avXNMhHpMaHa3W8M1d5iYMHyZBo7KKM=; b=E0/XI4fDr6I1xfPm7Adw4/QRYCX3R3J4ciqZwX4NXrlIk1tQfBbC7zMR3poTv54BX7 XSVBxbYp3wKLfYWXCh3Kbdws4j+bvub9ZTlAXo8h5kLQxZyZ1Wyqf9XyqzJ4U8SWrVkf AlX7CKLw386waClXuh/X9JpfANIlNuyQ6eoJNZc87mKIhfCGtxBWc3oE6uJJ5ric73Z3 G1495opOLM/CKzYh06IRT2ga3cg+MmxPmtAbbZ5KzjE0gp7sTwR8mSvvTUCxggpe0qMv pnfaQtOTt/OqUzcm/zxqdPgUL6OSHDs5jT2cJPi09eUDB53VbyLsSX5Jw2F2+I4MV+73 XCYA== X-Gm-Message-State: APjAAAWrYHbI5c7HPh3/rxsx/nr7Ge8V3T8Md88wyS+aHGttDNOyyVkt HXzanu+4uwnueTR3K/TSp/bWWsTO4Fs= X-Google-Smtp-Source: APXvYqxkAWB8rKSCB8nAnCQ5IJZTjg4188sO1eKfU3yWk3/vZZxfOBHrxtUkoJU2tgh8ROC1uA0wug== X-Received: by 2002:a17:902:868e:: with SMTP id g14mr3983346plo.87.1581695283994; Fri, 14 Feb 2020 07:48:03 -0800 (PST) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g72sm7930106pfb.11.2020.02.14.07.48.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2020 07:48:03 -0800 (PST) Date: Fri, 14 Feb 2020 07:47:55 -0800 From: Stephen Hemminger To: Andrzej Ostruszka Cc: , Bruce Richardson , Vladimir Medvedkin Message-ID: <20200214074755.5fd685de@hermes.lan> In-Reply-To: <20200214143800.27230-1-aostruszka@marvell.com> References: <20200214143800.27230-1-aostruszka@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 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/