From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 4AD305B3E for ; Fri, 13 Jul 2018 11:11:54 +0200 (CEST) Received: by mail-wr1-f66.google.com with SMTP id c4-v6so11694684wrs.12 for ; Fri, 13 Jul 2018 02:11:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=NVaNeyC3EdeL3MEfQShB311dJ4LDF7zTuTiih32/ppo=; b=ANolbqqFizJqyshAvEhww9/wg0TL6qrm8s+HcQHk6owLLzccHOWnckOR71zR4+QLKA oZf49YIN9hwphdXxKIx6GAzdhZFGlU78iLoHZSQTdkZiBWip6s/3VhedIOkLti/6M83R x4NxaurRDHmlR54b4kCJyB6Nw8EYrHISNtG/XkfSTmzDrxHglxbX0ryquxL+glQWcEfu egXLd4okSrWsbgvx+Exi+rMHB4+IV3IXRD4ogUA35fCGenFYG4K/CpozwRtVoacJrX/0 tsRIzpAOYcXUlV/kKOlABTlWhy5H6jbwu885anIlmbwDCTB5UQiCb2bjEUYm+ZfkU/4w 9brQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=NVaNeyC3EdeL3MEfQShB311dJ4LDF7zTuTiih32/ppo=; b=gBZp62M4m0RuxCcHyTOM5tF4nIS9j0Qvvton5mokqeYK37kWinTUxqdGL1YItlMjGA FTV2j2psvN5qKkNXwao2GO9lkEULIUvp6YypY1/nD+uLGFIZGL2PyerPpJa450akuDxS VOtAC5fSQUaMQyhoE0XLrkc1bGY3y/i3889RkBo+wKZcsWPoLz2i0z9V9SS4au9oV/N9 LT/s91DCcA2Rs+CwN7BiDdVTZnPlup+I17Rf02V7jXlexUW02MuEMrYOaUGDG+XJuSXN vk6mtC6xnt70+Vk11MC/9VBCBmVB92QKfQKyGckcq97R4x2o1C8UMUSoXRAAdiiuis01 GWWg== X-Gm-Message-State: AOUpUlF4+JclnLtbtjNO1nWnUb6jgmCXcuLAIqtLfoKM6M22Jhk9x6Sk 4U25pfE1oNdJ8pQ1wnYj9zt2zJ6Ffw== X-Google-Smtp-Source: AAOMgpc/GpNoGuoLFNIruI3fn8Omk28ayyCKgKzHAaWV7/ta3x/ZWLCa2/L5F6Bcq9Xcqm3aaJA4Qw== X-Received: by 2002:adf:fb92:: with SMTP id a18-v6mr4012712wrr.278.1531473113879; Fri, 13 Jul 2018 02:11:53 -0700 (PDT) Received: from laranjeiro-vm.dev.6wind.com (host.78.145.23.62.rev.coltfrance.com. [62.23.145.78]) by smtp.gmail.com with ESMTPSA id j131-v6sm7949739wmb.25.2018.07.13.02.11.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jul 2018 02:11:53 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org, Thomas Monjalon Date: Fri, 13 Jul 2018 11:11:30 +0200 Message-Id: <8e6234ad484ada96596a95eb302caeaed39b9c47.1531473066.git.nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [dpdk-dev] [PATCH] ethdev: fix missing function in map file 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: Fri, 13 Jul 2018 09:11:54 -0000 Fixes: 4ed05fcd441b ("ethdev: add flow API to expand RSS flows") Signed-off-by: Nelio Laranjeiro Acked-by: Adrien Mazarguil -- Changes in v2: - add missing documentation. - add missing __rte_experimental in source file. - update the order in map file. --- lib/librte_ethdev/rte_ethdev_version.map | 1 + lib/librte_ethdev/rte_flow.c | 2 +- lib/librte_ethdev/rte_flow_driver.h | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/librte_ethdev/rte_ethdev_version.map b/lib/librte_ethdev/rte_ethdev_version.map index 9a0d12d41..38f117f01 100644 --- a/lib/librte_ethdev/rte_ethdev_version.map +++ b/lib/librte_ethdev/rte_ethdev_version.map @@ -239,6 +239,7 @@ EXPERIMENTAL { rte_eth_dev_tx_offload_name; rte_eth_switch_domain_alloc; rte_eth_switch_domain_free; + rte_flow_expand_rss; rte_mtr_capabilities_get; rte_mtr_create; rte_mtr_destroy; diff --git a/lib/librte_ethdev/rte_flow.c b/lib/librte_ethdev/rte_flow.c index e06cc2193..cff4b5209 100644 --- a/lib/librte_ethdev/rte_flow.c +++ b/lib/librte_ethdev/rte_flow.c @@ -531,7 +531,7 @@ rte_flow_copy(struct rte_flow_desc *desc, size_t len, * Expand RSS flows into several possible flows according to the RSS hash * fields requested and the driver capabilities. */ -int +int __rte_experimental rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size, const struct rte_flow_item *pattern, uint64_t types, const struct rte_flow_expand_node graph[], diff --git a/lib/librte_ethdev/rte_flow_driver.h b/lib/librte_ethdev/rte_flow_driver.h index ca675f6d3..4d8908226 100644 --- a/lib/librte_ethdev/rte_flow_driver.h +++ b/lib/librte_ethdev/rte_flow_driver.h @@ -148,6 +148,7 @@ struct rte_flow_expand_rss { /** * Expand RSS flows into several possible flows according to the RSS hash * fields requested and the driver capabilities. + * @b EXPERIMENTAL: this API may change without prior notice * * @param[out] buf * Buffer to store the result expansion. @@ -169,7 +170,7 @@ struct rte_flow_expand_rss { * * -E2BIG: graph-depth @p graph is too deep. */ -int +int __rte_experimental rte_flow_expand_rss(struct rte_flow_expand_rss *buf, size_t size, const struct rte_flow_item *pattern, uint64_t types, const struct rte_flow_expand_node graph[], -- 2.18.0