From patchwork Wed Sep 8 10:59:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xiao Wang X-Patchwork-Id: 98237 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id CFE7CA0C56; Wed, 8 Sep 2021 04:57:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 920AA410EB; Wed, 8 Sep 2021 04:57:56 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id D22D34003E for ; Wed, 8 Sep 2021 04:57:54 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10100"; a="220395273" X-IronPort-AV: E=Sophos;i="5.85,276,1624345200"; d="scan'208";a="220395273" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 19:57:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,276,1624345200"; d="scan'208";a="538293437" Received: from dpdk-xiao2.sh.intel.com ([10.67.110.204]) by FMSMGA003.fm.intel.com with ESMTP; 07 Sep 2021 19:57:52 -0700 From: Xiao Wang To: olivier.matz@6wind.com Cc: dev@dpdk.org, Xiao Wang Date: Wed, 8 Sep 2021 18:59:15 +0800 Message-Id: <20210908105915.73420-1-xiao.w.wang@intel.com> X-Mailer: git-send-email 2.15.1 Subject: [dpdk-dev] [PATCH] net: promote make rarp packet API as stable 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" rte_net_make_rarp_packet was introduced in version v18.02, there was no change in this public API since then, and it's still being used by vhost lib and virtio driver, so promote it as stable ABI. Signed-off-by: Xiao Wang Acked-by: Stephen Hemminger Acked-by: Chenbo Xia Acked-by: Olivier Matz Acked-by: Stephen Hemminger Acked-by: Chenbo Xia Acked-by: Olivier Matz --- lib/net/rte_arp.h | 4 ---- lib/net/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/net/rte_arp.h b/lib/net/rte_arp.h index feb0eb3e49..076c8ab314 100644 --- a/lib/net/rte_arp.h +++ b/lib/net/rte_arp.h @@ -50,9 +50,6 @@ struct rte_arp_hdr { } __rte_packed __rte_aligned(2); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Make a RARP packet based on MAC addr. * * @param mpool @@ -63,7 +60,6 @@ struct rte_arp_hdr { * @return * - RARP packet pointer on success, or NULL on error */ -__rte_experimental struct rte_mbuf * rte_net_make_rarp_packet(struct rte_mempool *mpool, const struct rte_ether_addr *mac); diff --git a/lib/net/version.map b/lib/net/version.map index 355b7c25b4..7584018d58 100644 --- a/lib/net/version.map +++ b/lib/net/version.map @@ -6,6 +6,7 @@ DPDK_22 { rte_net_crc_calc; rte_net_crc_set_alg; rte_net_get_ptype; + rte_net_make_rarp_packet; local: *; }; @@ -13,7 +14,6 @@ DPDK_22 { EXPERIMENTAL { global: - rte_net_make_rarp_packet; rte_net_skip_ip6_ext; rte_ether_unformat_addr; };