From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 76EC1A0547; Fri, 14 Feb 2020 16:48:07 +0100 (CET) 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/