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 A0E72A0562; Tue, 31 Mar 2020 21:46:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E93851C1E4; Tue, 31 Mar 2020 21:46:49 +0200 (CEST) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) by dpdk.org (Postfix) with ESMTP id 346321C1E2 for ; Tue, 31 Mar 2020 21:46:48 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id B0FC1A0F; Tue, 31 Mar 2020 15:46:46 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 31 Mar 2020 15:46:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=2gPn0XCpOA8Sn0153tBUBq4DZrZDoxkfQpiMy77iFCk=; b=lvBeUS8wNlHa E/LUB62/UQ2VyMwy83STKfAw8ck4iX5dyKl6cT4wNznqwyiL8Xg7dGAxlFccei/N aR+Solw8frrrTRIPLCJaEUL3RtcMDlzB/G57pb9508TP0CFnubL0+PhsyqEBI0no GkObpL6r82MSXeCDacIB+zs/t5P6CGY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=2gPn0XCpOA8Sn0153tBUBq4DZrZDoxkfQpiMy77iF Ck=; b=BEKFUvO3MfJAQKvbftBncCP31Zf0TUEFgwGybyN2FZvMPWzG9DoTZIks7 yeHkggs/bBLdeY+FyrgmFC6oG0OQCDWCnkW0VKjyy2ySnrkQoiTdXXHuKCnHaXqF 0sj+S1Z5/4eQN1jkpcw4WWsoDZDu7vlao9G4AbmRVAf/0xBlk9yAsuGCyiaQRQl6 xywL2o6QqW1hYsmPut0a7058u7o0IgstScPc7BM+Lv0ZVTy7/hIjGZiZnCl9IOlZ kEAvCgujqe2u4/BYuUwIR646gWS5qzpAuFoNVwsLum/4i6eP+onJLNg8S+PSLkjc h4iwMbAD0RkOWxej0/U/vD5T6ENHw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrtddtgddutdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtufertddttddvnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecukf hppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2F0C13280066; Tue, 31 Mar 2020 15:46:44 -0400 (EDT) From: Thomas Monjalon To: Andrzej Ostruszka Cc: dev@dpdk.org, Bruce Richardson , stephen@networkplumber.org, "Medvedkin, Vladimir" Date: Tue, 31 Mar 2020 21:46:42 +0200 Message-ID: <11409820.OFSEd18e0E@xps> In-Reply-To: <7e4bf509-ba36-a148-b080-a7b71118a508@intel.com> References: <20200303125345.26317-1-aostruszka@marvell.com> <20200310091326.5017-1-aostruszka@marvell.com> <7e4bf509-ba36-a148-b080-a7b71118a508@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] lpm6: make IPv6 addresses immutable 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" 10/03/2020 15:47, Medvedkin, Vladimir: > On 10/03/2020 09:13, Andrzej Ostruszka wrote: > > None of the public functions modify IPv6 address passed. So their > > parameters are made const - with the exception of bulk functions. > > This exception is due to compatibility problems - some compilers report > > problems with const-casting of array of arrays. > > > > Previously only lookup and add were updated to have addresses passed as > > const so I'm adding this fixline. > > > > Fixes: d82927d2f81d ("lpm6: make IPv6 address immutable") > > Cc: stephen@networkplumber.org + Cc: stable@dpdk.org > > Signed-off-by: Andrzej Ostruszka > > Acked-by: Vladimir Medvedkin Applied, thanks