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 231CCA0C43; Fri, 15 Oct 2021 21:04:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 743234119C; Fri, 15 Oct 2021 21:03:27 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 4E38B4003C for ; Fri, 15 Oct 2021 21:03:21 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19FCVKNJ018231; Fri, 15 Oct 2021 12:03:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=UR9mMPkc+V+OaY966uzHYUbl6RglF5YgVEqXMmoaZI0=; b=VavCqaszef+2i4zwj3zB0o/HzPBMxXyhx7x5RO6s1NGpQILp3MY3BoG2ySyQCCB3M9nF iKt0bvHhhKLo9fa86eTm01BhxfTRz0kvzqrRgfnScz/PPBeY8HCgsOjfUcuG56Vql36w OrYciYKZNJrRwr70VOh2vOEx+QqYSiFzSWjp73DlWzCGCA7dNqVuN/Pv1kjdnE5OQ1lJ PqaBduZroM+aqiG2UblEgrLgeUDEM4J2i8wovIMrc9fqfJUGfpq+JjEHIJSiN3GFDXTN vQqPztMyiD+dvS/2v3uOZ8Yvrm45wByHo+1RLLin+Sx9G1H7o8xYcAzQdOuhy8Mf1RAj 4g== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com with ESMTP id 3bq9q8hg2g-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 15 Oct 2021 12:03:18 -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; Fri, 15 Oct 2021 12:03:17 -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; Fri, 15 Oct 2021 12:03:17 -0700 Received: from BG-LT7430.marvell.com (BG-LT7430.marvell.com [10.28.177.176]) by maili.marvell.com (Postfix) with ESMTP id A1F555B6933; Fri, 15 Oct 2021 12:03:15 -0700 (PDT) From: To: , Ray Kinsella CC: , Pavan Nikhilesh Date: Sat, 16 Oct 2021 00:32:21 +0530 Message-ID: <20211015190221.2160-14-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211015190221.2160-1-pbhagavatula@marvell.com> References: <20211006065012.16508-1-pbhagavatula@marvell.com> <20211015190221.2160-1-pbhagavatula@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: ZqdRmZGmc2gZCRKPjbSfp1nPRUoZIIpg X-Proofpoint-ORIG-GUID: ZqdRmZGmc2gZCRKPjbSfp1nPRUoZIIpg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-15_06,2021-10-14_02,2020-04-07_01 Subject: [dpdk-dev] [PATCH v4 14/14] eventdev: mark trace variables as internal 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 Mark rte_trace global variables as internal i.e. remove them from experimental section of version map. Some of them are used in inline APIs, mark those as global. Signed-off-by: Pavan Nikhilesh Acked-by: Ray Kinsella --- doc/guides/rel_notes/release_21_11.rst | 12 +++++ lib/eventdev/version.map | 71 ++++++++++++-------------- 2 files changed, 44 insertions(+), 39 deletions(-) diff --git a/doc/guides/rel_notes/release_21_11.rst b/doc/guides/rel_notes/release_21_11.rst index 38e601c236..5b4a05c3ae 100644 --- a/doc/guides/rel_notes/release_21_11.rst +++ b/doc/guides/rel_notes/release_21_11.rst @@ -226,6 +226,9 @@ API Changes the crypto/security operation. This field will be used to communicate events such as soft expiry with IPsec in lookaside mode. +* eventdev: Event vector configuration APIs have been made stable. + Move memory used by timer adapters to hugepage. This will prevent TLB misses + if any and aligns to memory structure of other subsystems. ABI Changes ----------- @@ -277,6 +280,15 @@ ABI Changes were added in structure ``rte_event_eth_rx_adapter_stats`` to get additional status. +* eventdev: A new structure ``rte_event_fp_ops`` has been added which is now used + by the fastpath inline functions. The structures ``rte_eventdev``, + ``rte_eventdev_data`` have been made internal. ``rte_eventdevs[]`` can't be + accessed directly by user any more. This change is transparent to both + applications and PMDs. + +* eventdev: Re-arrange fields in ``rte_event_timer`` to remove holes. + ``rte_event_timer_adapter_pmd.h`` has been made internal. + Known Issues ------------ diff --git a/lib/eventdev/version.map b/lib/eventdev/version.map index 8f2fb0cf14..cd37164141 100644 --- a/lib/eventdev/version.map +++ b/lib/eventdev/version.map @@ -1,6 +1,13 @@ DPDK_22 { global: + __rte_eventdev_trace_crypto_adapter_enqueue; + __rte_eventdev_trace_deq_burst; + __rte_eventdev_trace_enq_burst; + __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_timer_arm_burst; + __rte_eventdev_trace_timer_arm_tmo_tick_burst; + __rte_eventdev_trace_timer_cancel_burst; rte_event_crypto_adapter_caps_get; rte_event_crypto_adapter_create; rte_event_crypto_adapter_create_ext; @@ -42,8 +49,8 @@ DPDK_22 { rte_event_eth_rx_adapter_start; rte_event_eth_rx_adapter_stats_get; rte_event_eth_rx_adapter_stats_reset; - rte_event_eth_rx_adapter_vector_limits_get; rte_event_eth_rx_adapter_stop; + rte_event_eth_rx_adapter_vector_limits_get; rte_event_eth_tx_adapter_caps_get; rte_event_eth_tx_adapter_create; rte_event_eth_tx_adapter_create_ext; @@ -56,6 +63,7 @@ DPDK_22 { rte_event_eth_tx_adapter_stats_get; rte_event_eth_tx_adapter_stats_reset; rte_event_eth_tx_adapter_stop; + rte_event_fp_ops; rte_event_port_attr_get; rte_event_port_default_conf_get; rte_event_port_link; @@ -86,25 +94,28 @@ DPDK_22 { rte_event_timer_cancel_burst; rte_event_vector_pool_create; - #added in 21.11 - rte_event_fp_ops; - local: *; }; EXPERIMENTAL { global: - # added in 20.05 - __rte_eventdev_trace_configure; - __rte_eventdev_trace_queue_setup; - __rte_eventdev_trace_port_link; - __rte_eventdev_trace_port_unlink; - __rte_eventdev_trace_start; - __rte_eventdev_trace_stop; + # added in 21.11 + rte_event_eth_rx_adapter_create_with_params; + rte_event_eth_rx_adapter_queue_conf_get; +}; + +INTERNAL { + global: + __rte_eventdev_trace_close; - __rte_eventdev_trace_deq_burst; - __rte_eventdev_trace_enq_burst; + __rte_eventdev_trace_configure; + __rte_eventdev_trace_crypto_adapter_create; + __rte_eventdev_trace_crypto_adapter_free; + __rte_eventdev_trace_crypto_adapter_queue_pair_add; + __rte_eventdev_trace_crypto_adapter_queue_pair_del; + __rte_eventdev_trace_crypto_adapter_start; + __rte_eventdev_trace_crypto_adapter_stop; __rte_eventdev_trace_eth_rx_adapter_create; __rte_eventdev_trace_eth_rx_adapter_free; __rte_eventdev_trace_eth_rx_adapter_queue_add; @@ -117,38 +128,19 @@ EXPERIMENTAL { __rte_eventdev_trace_eth_tx_adapter_queue_del; __rte_eventdev_trace_eth_tx_adapter_start; __rte_eventdev_trace_eth_tx_adapter_stop; - __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_port_link; + __rte_eventdev_trace_port_setup; + __rte_eventdev_trace_port_unlink; + __rte_eventdev_trace_queue_setup; + __rte_eventdev_trace_start; + __rte_eventdev_trace_stop; __rte_eventdev_trace_timer_adapter_create; + __rte_eventdev_trace_timer_adapter_free; __rte_eventdev_trace_timer_adapter_start; __rte_eventdev_trace_timer_adapter_stop; - __rte_eventdev_trace_timer_adapter_free; - __rte_eventdev_trace_timer_arm_burst; - __rte_eventdev_trace_timer_arm_tmo_tick_burst; - __rte_eventdev_trace_timer_cancel_burst; - __rte_eventdev_trace_crypto_adapter_create; - __rte_eventdev_trace_crypto_adapter_free; - __rte_eventdev_trace_crypto_adapter_queue_pair_add; - __rte_eventdev_trace_crypto_adapter_queue_pair_del; - __rte_eventdev_trace_crypto_adapter_start; - __rte_eventdev_trace_crypto_adapter_stop; - - # changed in 20.11 - __rte_eventdev_trace_port_setup; - # added in 21.11 - rte_event_eth_rx_adapter_create_with_params; - - #added in 21.05 - __rte_eventdev_trace_crypto_adapter_enqueue; - rte_event_eth_rx_adapter_queue_conf_get; -}; - -INTERNAL { - global: - event_dev_fp_ops_reset; event_dev_fp_ops_set; event_dev_probing_finish; - rte_event_pmd_selftest_seqn_dynfield_offset; rte_event_pmd_allocate; rte_event_pmd_get_named_dev; rte_event_pmd_is_valid_dev; @@ -156,6 +148,7 @@ INTERNAL { rte_event_pmd_pci_probe_named; rte_event_pmd_pci_remove; rte_event_pmd_release; + rte_event_pmd_selftest_seqn_dynfield_offset; rte_event_pmd_vdev_init; rte_event_pmd_vdev_uninit; rte_eventdevs; -- 2.17.1