From patchwork Wed Sep 1 05:07:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Haiyue" X-Patchwork-Id: 97656 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 58306A0C53; Wed, 1 Sep 2021 07:31:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7D2FF4068A; Wed, 1 Sep 2021 07:31:45 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 4E33940041 for ; Wed, 1 Sep 2021 07:31:43 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205762210" X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="205762210" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 22:31:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="460548600" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.197]) by fmsmga007.fm.intel.com with ESMTP; 31 Aug 2021 22:31:41 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: mdr@ashroe.eu, thomas@monjalon.net, Haiyue Wang Date: Wed, 1 Sep 2021 13:07:05 +0800 Message-Id: <20210901050707.570163-2-haiyue.wang@intel.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901050707.570163-1-haiyue.wang@intel.com> References: <20210901050707.570163-1-haiyue.wang@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v1 1/3] net/ixgbe: promote some 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" The DPDK Symbol Bot reports: Please note the symbols listed below have expired. In line with the DPDK ABI policy, they should be scheduled for removal, in the next DPDK release. Symbol rte_pmd_ixgbe_mdio_lock rte_pmd_ixgbe_mdio_unlock rte_pmd_ixgbe_mdio_unlocked_read rte_pmd_ixgbe_mdio_unlocked_write rte_pmd_ixgbe_upd_fctrl_sbp Signed-off-by: Haiyue Wang --- drivers/net/ixgbe/rte_pmd_ixgbe.h | 5 ----- drivers/net/ixgbe/version.map | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/net/ixgbe/rte_pmd_ixgbe.h b/drivers/net/ixgbe/rte_pmd_ixgbe.h index 90fc8160b1..7fcdbe7452 100644 --- a/drivers/net/ixgbe/rte_pmd_ixgbe.h +++ b/drivers/net/ixgbe/rte_pmd_ixgbe.h @@ -586,7 +586,6 @@ int rte_pmd_ixgbe_bypass_wd_reset(uint16_t port); * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_SWFW_SYNC) If sw/fw semaphore acquisition failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_lock(uint16_t port); @@ -600,7 +599,6 @@ rte_pmd_ixgbe_mdio_lock(uint16_t port); * - (-ENOTSUP) if hardware doesn't support. * - (-ENODEV) if *port* invalid. */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlock(uint16_t port); @@ -622,7 +620,6 @@ rte_pmd_ixgbe_mdio_unlock(uint16_t port); * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_PHY) If PHY read command failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlocked_read(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t *phy_data); @@ -646,7 +643,6 @@ rte_pmd_ixgbe_mdio_unlocked_read(uint16_t port, uint32_t reg_addr, * - (-ENODEV) if *port* invalid. * - (IXGBE_ERR_PHY) If PHY read command failed */ -__rte_experimental int rte_pmd_ixgbe_mdio_unlocked_write(uint16_t port, uint32_t reg_addr, uint32_t dev_type, uint16_t phy_data); @@ -725,7 +721,6 @@ enum { * - (-ENODEV) if *port* invalid. * - (-ENOTSUP) if hardware doesn't support this feature. */ -__rte_experimental int rte_pmd_ixgbe_upd_fctrl_sbp(uint16_t port, int enable); diff --git a/drivers/net/ixgbe/version.map b/drivers/net/ixgbe/version.map index bca5cc5826..f0f29d8749 100644 --- a/drivers/net/ixgbe/version.map +++ b/drivers/net/ixgbe/version.map @@ -16,6 +16,10 @@ DPDK_22 { rte_pmd_ixgbe_macsec_enable; rte_pmd_ixgbe_macsec_select_rxsa; rte_pmd_ixgbe_macsec_select_txsa; + rte_pmd_ixgbe_mdio_lock; + rte_pmd_ixgbe_mdio_unlock; + rte_pmd_ixgbe_mdio_unlocked_read; + rte_pmd_ixgbe_mdio_unlocked_write; rte_pmd_ixgbe_ping_vf; rte_pmd_ixgbe_set_all_queues_drop_en; rte_pmd_ixgbe_set_tc_bw_alloc; @@ -31,6 +35,7 @@ DPDK_22 { rte_pmd_ixgbe_set_vf_vlan_filter; rte_pmd_ixgbe_set_vf_vlan_insert; rte_pmd_ixgbe_set_vf_vlan_stripq; + rte_pmd_ixgbe_upd_fctrl_sbp; local: *; }; @@ -40,9 +45,4 @@ EXPERIMENTAL { rte_pmd_ixgbe_get_fdir_info; rte_pmd_ixgbe_get_fdir_stats; - rte_pmd_ixgbe_mdio_lock; - rte_pmd_ixgbe_mdio_unlock; - rte_pmd_ixgbe_mdio_unlocked_read; - rte_pmd_ixgbe_mdio_unlocked_write; - rte_pmd_ixgbe_upd_fctrl_sbp; }; From patchwork Wed Sep 1 05:07:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Haiyue" X-Patchwork-Id: 97657 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 7B11CA0C53; Wed, 1 Sep 2021 07:31:54 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A03BE40E01; Wed, 1 Sep 2021 07:31:47 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 9519E406A2 for ; Wed, 1 Sep 2021 07:31:45 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205762215" X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="205762215" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 22:31:44 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="460548607" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.197]) by fmsmga007.fm.intel.com with ESMTP; 31 Aug 2021 22:31:43 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: mdr@ashroe.eu, thomas@monjalon.net, Haiyue Wang , Qiming Yang , Qi Zhang Date: Wed, 1 Sep 2021 13:07:06 +0800 Message-Id: <20210901050707.570163-3-haiyue.wang@intel.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901050707.570163-1-haiyue.wang@intel.com> References: <20210901050707.570163-1-haiyue.wang@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v1 2/3] net/ice: promote some 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" The DPDK Symbol Bot reports: Please note the symbols listed below have expired. In line with the DPDK ABI policy, they should be scheduled for removal, in the next DPDK release. Symbol rte_net_ice_dynfield_proto_xtr_metadata_offs rte_net_ice_dynflag_proto_xtr_vlan_mask rte_net_ice_dynflag_proto_xtr_ipv4_mask rte_net_ice_dynflag_proto_xtr_ipv6_mask rte_net_ice_dynflag_proto_xtr_ipv6_flow_mask rte_net_ice_dynflag_proto_xtr_tcp_mask Signed-off-by: Haiyue Wang --- drivers/net/ice/rte_pmd_ice.h | 3 --- drivers/net/ice/version.map | 11 ++++------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/net/ice/rte_pmd_ice.h b/drivers/net/ice/rte_pmd_ice.h index 9a436a140b..c0f19fcc89 100644 --- a/drivers/net/ice/rte_pmd_ice.h +++ b/drivers/net/ice/rte_pmd_ice.h @@ -149,7 +149,6 @@ extern uint64_t rte_net_ice_dynflag_proto_xtr_ip_offset_mask; * @return * True if registered, false otherwise. */ -__rte_experimental static __rte_always_inline int rte_net_ice_dynf_proto_xtr_metadata_avail(void) { @@ -164,7 +163,6 @@ rte_net_ice_dynf_proto_xtr_metadata_avail(void) * @return * The saved protocol extraction metadata. */ -__rte_experimental static __rte_always_inline uint32_t rte_net_ice_dynf_proto_xtr_metadata_get(struct rte_mbuf *m) { @@ -177,7 +175,6 @@ rte_net_ice_dynf_proto_xtr_metadata_get(struct rte_mbuf *m) * @param m * The pointer to the mbuf. */ -__rte_experimental static inline void rte_net_ice_dump_proto_xtr_metadata(struct rte_mbuf *m) { diff --git a/drivers/net/ice/version.map b/drivers/net/ice/version.map index cc837f1c00..1a633fd95e 100644 --- a/drivers/net/ice/version.map +++ b/drivers/net/ice/version.map @@ -1,16 +1,13 @@ DPDK_22 { - local: *; -}; - -EXPERIMENTAL { global: - # added in 19.11 rte_net_ice_dynfield_proto_xtr_metadata_offs; - rte_net_ice_dynflag_proto_xtr_vlan_mask; + rte_net_ice_dynflag_proto_xtr_ip_offset_mask; rte_net_ice_dynflag_proto_xtr_ipv4_mask; rte_net_ice_dynflag_proto_xtr_ipv6_mask; rte_net_ice_dynflag_proto_xtr_ipv6_flow_mask; rte_net_ice_dynflag_proto_xtr_tcp_mask; - rte_net_ice_dynflag_proto_xtr_ip_offset_mask; + rte_net_ice_dynflag_proto_xtr_vlan_mask; + + local: *; }; From patchwork Wed Sep 1 05:07:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Haiyue" X-Patchwork-Id: 97658 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 CDBE4A0C53; Wed, 1 Sep 2021 07:32:00 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B2531410E8; Wed, 1 Sep 2021 07:31:50 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 1EC1340041 for ; Wed, 1 Sep 2021 07:31:46 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10093"; a="205762220" X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="205762220" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 31 Aug 2021 22:31:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,368,1620716400"; d="scan'208";a="460548614" Received: from npg-dpdk-haiyue-1.sh.intel.com ([10.67.118.197]) by fmsmga007.fm.intel.com with ESMTP; 31 Aug 2021 22:31:45 -0700 From: Haiyue Wang To: dev@dpdk.org Cc: mdr@ashroe.eu, thomas@monjalon.net, Haiyue Wang , Ferruh Yigit , Andrew Rybchenko Date: Wed, 1 Sep 2021 13:07:07 +0800 Message-Id: <20210901050707.570163-4-haiyue.wang@intel.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210901050707.570163-1-haiyue.wang@intel.com> References: <20210901050707.570163-1-haiyue.wang@intel.com> MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH v1 3/3] ethdev: promote burst mode 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" The DPDK Symbol Bot reports: Please note the symbols listed below have expired. In line with the DPDK ABI policy, they should be scheduled for removal, in the next DPDK release. Symbol rte_eth_rx_burst_mode_get rte_eth_tx_burst_mode_get Signed-off-by: Haiyue Wang Acked-by: Ferruh Yigit Acked-by: Ray Kinsella --- lib/ethdev/rte_ethdev.h | 2 -- lib/ethdev/version.map | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h index d2b27c351f..3277e8f8fb 100644 --- a/lib/ethdev/rte_ethdev.h +++ b/lib/ethdev/rte_ethdev.h @@ -4361,7 +4361,6 @@ int rte_eth_tx_queue_info_get(uint16_t port_id, uint16_t queue_id, * - -ENOTSUP: routine is not supported by the device PMD. * - -EINVAL: The queue_id is out of range. */ -__rte_experimental int rte_eth_rx_burst_mode_get(uint16_t port_id, uint16_t queue_id, struct rte_eth_burst_mode *mode); @@ -4383,7 +4382,6 @@ int rte_eth_rx_burst_mode_get(uint16_t port_id, uint16_t queue_id, * - -ENOTSUP: routine is not supported by the device PMD. * - -EINVAL: The queue_id is out of range. */ -__rte_experimental int rte_eth_tx_burst_mode_get(uint16_t port_id, uint16_t queue_id, struct rte_eth_burst_mode *mode); diff --git a/lib/ethdev/version.map b/lib/ethdev/version.map index 3eece75b72..6a12b0664a 100644 --- a/lib/ethdev/version.map +++ b/lib/ethdev/version.map @@ -87,6 +87,7 @@ DPDK_22 { rte_eth_promiscuous_get; rte_eth_remove_rx_callback; rte_eth_remove_tx_callback; + rte_eth_rx_burst_mode_get; rte_eth_rx_queue_info_get; rte_eth_rx_queue_setup; rte_eth_set_queue_rate_limit; @@ -104,6 +105,7 @@ DPDK_22 { rte_eth_tx_buffer_drop_callback; rte_eth_tx_buffer_init; rte_eth_tx_buffer_set_err_callback; + rte_eth_tx_burst_mode_get; rte_eth_tx_done_cleanup; rte_eth_tx_queue_info_get; rte_eth_tx_queue_setup; @@ -166,9 +168,7 @@ EXPERIMENTAL { # added in 19.11 rte_eth_dev_hairpin_capability_get; - rte_eth_rx_burst_mode_get; rte_eth_rx_hairpin_queue_setup; - rte_eth_tx_burst_mode_get; rte_eth_tx_hairpin_queue_setup; rte_flow_dynf_metadata_offs; rte_flow_dynf_metadata_mask;