From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id B8A382BE1 for ; Wed, 28 Jun 2017 00:00:05 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 1E6D3231B2; Tue, 27 Jun 2017 18:00:04 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 27 Jun 2017 18:00:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=3L+kROa+l36rG7O iCI/17ELDkOC1bamK5s1mtClycxQ=; b=sukOsvIBd1IPEuuXfLw2G5CCMHHJPTk XD2Cp1JbtgAzWSZPsuFvjvVi+nbdMZcEoNVt4UaaUK0ssBKrvWyfiC0TdiWyFXmu AJvYrY+c0FAaaYD9HiLgJJO6dzB2inhr1dr9Zs5iKSUyDjOHuDUGcBEK5n/FVRta DH1b5MDpDVqg= 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-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=3L+kROa+l36rG7OiCI/17ELDkOC1bamK5s1mtClycxQ=; b=DM3z9ppX uY/OnbxWJDk9lh9I88abp/UR8l3yoXjZ1gn6z90/7KCdPom1PEXgGcruy8ezma60 EMYEMSEGrvQ1VYRek1Ta02A0pGV+clQEFJRCwkIrNbMtgsr3xJG+TjNz5mwF5Xr1 EcSWe8SPZz4ZDeFdLSFl0eSS8a6Xrj2RCAHZzAg0Chb8veqQ6E9OqTLHpZgX4Jor t0P/Ro0M8I7A3R0Q7k5jC8xmmz4elwjw2yUSPvoOfO+A1KqV2zl4+7FsylJUuGdE SVKhTvcgjxnQRzuo2cAzRS60sVOW3xWlhWpE8lr9oZAj9PIq1qJAzpZyAu3wQOX8 ys0kE9olgXr6ew== X-ME-Sender: X-Sasl-enc: OvEvlUSCAb70U1+UlIFQsBZC0uCocJwQrlLpoAOmMJUX 1498600803 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id CC48A2479F; Tue, 27 Jun 2017 18:00:03 -0400 (EDT) From: Thomas Monjalon To: Gaetan Rivet Cc: dev@dpdk.org, adrien.mazarguil@6wind.com Date: Wed, 28 Jun 2017 00:00:02 +0200 Message-ID: <1925976.ZpGJHZ6fsM@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] ethdev: add flow API rule copy function 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: , X-List-Received-Date: Tue, 27 Jun 2017 22:00:06 -0000 19/05/2017 17:21, Gaetan Rivet: > +/** > + * Flow elements description tables. > + */ > +struct rte_flow_desc_data { > + const char *name; > + size_t size; > +}; > + > +extern const struct rte_flow_desc_data rte_flow_desc_item[]; > +extern size_t rte_flow_nb_item; > + > +extern const struct rte_flow_desc_data rte_flow_desc_action[]; > +extern size_t rte_flow_nb_action; Those externs are weirds. At least, it needs to be declared in the .map: --- a/lib/librte_ether/rte_ether_version.map +++ b/lib/librte_ether/rte_ether_version.map @@ -153,6 +153,10 @@ DPDK_17.08 { global: rte_flow_copy; + rte_flow_desc_action; + rte_flow_desc_item; rte_flow_isolate; + rte_flow_nb_action; + rte_flow_nb_item; } DPDK_17.05;