From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 234E8A0C41; Thu, 26 Aug 2021 00:10:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E61B741208; Thu, 26 Aug 2021 00:10:07 +0200 (CEST) Received: from mail-pg1-f169.google.com (mail-pg1-f169.google.com [209.85.215.169]) by mails.dpdk.org (Postfix) with ESMTP id 8A356411D0 for ; Thu, 26 Aug 2021 00:10:05 +0200 (CEST) Received: by mail-pg1-f169.google.com with SMTP id e7so1094154pgk.2 for ; Wed, 25 Aug 2021 15:10:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Hc5uC6uiFFdD4c+fhAqHuPNxSQQ/fvzjWb+4XjSJkgo=; b=rjknJ7Gjxo7cja2R3puse8lZVtnla6m78DPiHLfurIrlXaDCRUw8eI/Er0XB/JPj/y QdlSLdNfCbVNjDwGgdJnB7e2Xs7vmUtmfDI36q+R1oVJzYZlEM4Fq6m6MGHbiWzRK5pP Nez8sUi9gDRpWJ6tS+AyvRdUMg1Rrdb7+ShZY3hS1SjE/YkFNw4YyNYFthJ3clupflkx vhsy8sl31GXerQU9Fj91a7RZ1zIAuB4+TyF13PEAxEQgIIYqYlm4iASGBBEBNSiMBHlm Scp/1NL9uaWOU+el74RXle367o/ZWXoE+LR4p8kRCEQLMbb/ve0ZK5GOSFhk9sHAO8zm sK+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Hc5uC6uiFFdD4c+fhAqHuPNxSQQ/fvzjWb+4XjSJkgo=; b=FYqkP3OzojIYtscbggxYkx4ZgWj1qIAP/8VO9C4nBbRcKTxYA0q3SOub9TuukYqu76 9y6yQ1IyC48WijGnAt+BOX4yFLQiwnwcvvPeqfyzwZCfNdVaJWg+7Gcs7Y5BTkX0JyZW VWOL+03dJ33SB7D9JxxxSThEN7NwMk4GZx8isrTSs3qxJBJLaUCj+t39CySxiedL2yZd +UC3CvCMWcjMDYiZTsaAe9Hm8YyojJTyIjml8Fr2Zj/1XYU24XyzDwxvhrc6ekZC7dFv m/93T6cl914MAEnH+l6LNtzxSzSy5ECozLFyznZDT1IWVhmxgyVG5AxbP7OZ0kpRR5sk Ba+g== X-Gm-Message-State: AOAM531i0V+rer2wYQdjdOmesFfV8K4rUJxu2amwj/OHhxpyXXxd/V08 UN1zsCpirAYpqOJDtQ7r2SD1AtZR7E6BBw== X-Google-Smtp-Source: ABdhPJyUYh5sC3tQ0dD5F3lUKQqJ4zByrY2envo7fp4V+fFGmpdJHjTvvZG0S0UTFL1MPU7w7zDluQ== X-Received: by 2002:a65:408c:: with SMTP id t12mr337100pgp.229.1629929404177; Wed, 25 Aug 2021 15:10:04 -0700 (PDT) Received: from hermes.local (204-195-33-123.wavecable.com. [204.195.33.123]) by smtp.gmail.com with ESMTPSA id fh2sm489020pjb.12.2021.08.25.15.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Aug 2021 15:10:03 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , konstantin.ananyev@intel.com Date: Wed, 25 Aug 2021 15:09:58 -0700 Message-Id: <20210825220958.91326-4-stephen@networkplumber.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210825220958.91326-1-stephen@networkplumber.org> References: <20210825155229.67191-1-stephen@networkplumber.org> <20210825220958.91326-1-stephen@networkplumber.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2 3/3] mbuf: mark function rte_mbuf_tx_offload with __rte_expermental X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The comment says the function is Experimental but the attribute was never set? Also, fix the docbook comment format. Fixes: 8d9c2c3a1f01 ("mbuf: add function to generate raw Tx offload value") Cc: konstantin.ananyev@intel.com Signed-off-by: Stephen Hemminger --- lib/mbuf/rte_mbuf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/mbuf/rte_mbuf.h b/lib/mbuf/rte_mbuf.h index 7722b36ee44b..627790fe26e7 100644 --- a/lib/mbuf/rte_mbuf.h +++ b/lib/mbuf/rte_mbuf.h @@ -1773,7 +1773,7 @@ static inline int rte_pktmbuf_chain(struct rte_mbuf *head, struct rte_mbuf *tail return 0; } -/* +/** * @warning * @b EXPERIMENTAL: This API may change without prior notice. * @@ -1797,6 +1797,7 @@ static inline int rte_pktmbuf_chain(struct rte_mbuf *head, struct rte_mbuf *tail * @return * raw tx_offload value. */ +__rte_experimental static __rte_always_inline uint64_t rte_mbuf_tx_offload(uint64_t il2, uint64_t il3, uint64_t il4, uint64_t tso, uint64_t ol3, uint64_t ol2, uint64_t unused) -- 2.30.2