From patchwork Thu Sep 2 08:17:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 97764 X-Patchwork-Delegate: ferruh.yigit@amd.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 B8173A0C47; Thu, 2 Sep 2021 10:17:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 801D54013F; Thu, 2 Sep 2021 10:17:44 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 66FC440041 for ; Thu, 2 Sep 2021 10:17:43 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 182817c3011478; Thu, 2 Sep 2021 01:17:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=bxvrGlUazorsXPbDzoQSn/GnYhBseGdEft2yJZ/W7no=; b=b++8z2nbWog1kdEdlEUjO2rFrIYjJQKD+R41EvE1TyJRa+nyg99c1o8XVb2gI8XtSxuF lGDbJQDhu0zgVB+78O8wF1VZrYvWI3dn8qElAVfZVNllgPh9cDwxs9g8hXan1ln9V9nh m+RV4xyXoRcAH6FY67w/2T7BBG7a1DijG81waDgiZGUo7Ah0H+Oo8it0fq/2wIS3DRjO qNdFZgjVKYV6qk6g0vaszSNUARc8WK8QAOTB0LFEuYAvyQ1inYGde78xuTbtpOJoKjmt 9MN/GjaHskTOFSqV+u+9AchWOkI1+wnvb0sajnKhIzQsq7jx4EmS0k/mgx4pOR6BKfiW aw== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com with ESMTP id 3attqmg1xr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 02 Sep 2021 01:17:40 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 2 Sep 2021 01:17:38 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Thu, 2 Sep 2021 01:17:38 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id E10FD3F705E; Thu, 2 Sep 2021 01:17:35 -0700 (PDT) From: To: , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Ray Kinsella CC: , Pavan Nikhilesh Date: Thu, 2 Sep 2021 13:47:30 +0530 Message-ID: <20210902081731.2935-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-GUID: ELq-B8EBctW4oX2HlPiWhoHcqfjKbGf9 X-Proofpoint-ORIG-GUID: ELq-B8EBctW4oX2HlPiWhoHcqfjKbGf9 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475 definitions=2021-09-02_02,2021-09-01_01,2020-04-07_01 Subject: [dpdk-dev] [PATCH] ethdev: promote set ptypes API to 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" From: Pavan Nikhilesh Remove experimental tag from rte_eth_dev_set_ptypes(). Signed-off-by: Pavan Nikhilesh Acked-by: Andrew Rybchenko Acked-by: Ray Kinsella --- lib/ethdev/rte_ethdev.h | 4 ---- lib/ethdev/version.map | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index d2b27c351f..55d0da60bd 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -3123,9 +3123,6 @@ int rte_eth_dev_fw_version_get(uint16_t port_id, int rte_eth_dev_get_supported_ptypes(uint16_t port_id, uint32_t ptype_mask, uint32_t *ptypes, int num); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice. - * * Inform Ethernet device about reduced range of packet types to handle. * * Application can use this function to set only specific ptypes that it's @@ -3155,7 +3152,6 @@ int rte_eth_dev_get_supported_ptypes(uint16_t port_id, uint32_t ptype_mask, * - (-EINVAL) if *ptype_mask* is invalid (or) set_ptypes is NULL and * num > 0. */ -__rte_experimental int rte_eth_dev_set_ptypes(uint16_t port_id, uint32_t ptype_mask, uint32_t *set_ptypes, unsigned int num); diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map index 3eece75b72..b02d981378 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -52,6 +52,7 @@ DPDK_22 { rte_eth_dev_set_link_up; rte_eth_dev_set_mc_addr_list; rte_eth_dev_set_mtu; + rte_eth_dev_set_ptypes; rte_eth_dev_set_rx_queue_stats_mapping; rte_eth_dev_set_tx_queue_stats_mapping; rte_eth_dev_set_vlan_ether_type; @@ -173,7 +174,6 @@ EXPERIMENTAL { rte_flow_dynf_metadata_offs; rte_flow_dynf_metadata_mask; rte_flow_dynf_metadata_register; - rte_eth_dev_set_ptypes; # added in 20.02 rte_flow_dev_dump;