From patchwork Fri Sep 3 07:17:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nipun Gupta X-Patchwork-Id: 506473 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp764799jai; Fri, 3 Sep 2021 00:17:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlMpdOPHRwCRxf63vyBOwGPIv5iHVC6s7JB4Kd4sdvY9Vfg/nKh5UrJzeb5RutkzxlU1U1 X-Received: by 2002:a05:6402:28b3:: with SMTP id eg51mr2517298edb.31.1630653471889; Fri, 03 Sep 2021 00:17:51 -0700 (PDT) Return-Path: Received: from mails.dpdk.org (mails.dpdk.org. [217.70.189.124]) by mx.google.com with ESMTP id w13si4521554edu.535.2021.09.03.00.17.51; Fri, 03 Sep 2021 00:17:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) client-ip=217.70.189.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector2 header.b=ofMYV5Uh; arc=fail (signature failed); spf=pass (google.com: domain of dev-bounces@dpdk.org designates 217.70.189.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C5644410F8; Fri, 3 Sep 2021 09:17:43 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by mails.dpdk.org (Postfix) with ESMTP id 84F8240DF4 for ; Fri, 3 Sep 2021 09:17:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=e2XfJ3C/KythOfpquNZsf3loF+GeUHv3B8gQra61PQskkzz92UBk7R7c+tx34wzZoHEJ7OM7dITMjV8OanHq/9Z6YRnY8/FUimPh3BC5gqwstiMj3vDykG0WKSqb9F1JzoddCgF+C1TL5m/gUqxeliahPkB7uDSYLbR8fe3DR+DBPCQtYW8gda5GGQjpelPVnTdlyL+JwZOvDlIRMrpP1Zg8FMRmNG7b2Mpfe+wfaIrR4Qvad3IdtzQvxjIIIJimXSwGFZ67OX8FCl//rCHt5UFGcIL1m+tq8BDdwFncWKZvLcjJ8ZP6n3ixQahuwTl7ZlPS0P62d9YwB/Oe7Gleow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=K6dpko8Q8wEwu+OjpAKB2o4icnMkKdQAJasWT7gWxaA=; b=IQsPGKBCiObA7DDlH4O5slWEtqIPWe90q5z/lT8HPwQ7VfaZSLRbnK2ePZMHEw8CdNJNsdQiR889MSRbtPuwLLKbIUcTpPYWXm7WVEDSPlyqLjBJjk1MNdBkI4pf8hHM/BegMcBxm2R//j8tdPQhDh3h52GrLhAfBeKqDBPvPLdAc30/UEAg70UDdNX4sY1icR3e6JlnObnNBJjfPXEKBD7YFNbhX/FtgA4MVYIodAB/hwJu0y53zOEAJSpwModJR7pehn9OeQPO5H0LFLRTFPUtxTHez+TO+99N/iKQaRKnvuCRB0JfLuZeBX65qXbunCUs5tQ7ddtYUDlQwRgrag== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K6dpko8Q8wEwu+OjpAKB2o4icnMkKdQAJasWT7gWxaA=; b=ofMYV5UhozUTExwDxm5sXEgTtTMt0qXNdFlbBLo6GvOSpprJW+EcbSG5QcAGGANmOB+0GWd3xH7ZOQarU3Md+L8UBsGXGj8Z0ImS4nd0rzUKu7juE5NyteXP7gXTWUQIODNu4xFXF/WtLDvHmDIcebj+9vtKRtlw2QIu1ZT1RxQ= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none; monjalon.net; dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB8429.eurprd04.prod.outlook.com (2603:10a6:10:24e::23) by DB6PR04MB3208.eurprd04.prod.outlook.com (2603:10a6:6:3::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19; Fri, 3 Sep 2021 07:17:41 +0000 Received: from DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::dcda:93c2:47e7:19b4]) by DB9PR04MB8429.eurprd04.prod.outlook.com ([fe80::dcda:93c2:47e7:19b4%9]) with mapi id 15.20.4478.022; Fri, 3 Sep 2021 07:17:41 +0000 From: Nipun Gupta To: thomas@monjalon.net Cc: dev@dpdk.org, hemant.agrawal@nxp.com, sachin.saxena@oss.nxp.com, david.marchand@redhat.com, Nipun Gupta Date: Fri, 3 Sep 2021 12:47:14 +0530 Message-Id: <20210903071714.16798-4-nipun.gupta@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210903071714.16798-1-nipun.gupta@nxp.com> References: <20210903071714.16798-1-nipun.gupta@nxp.com> X-ClientProxiedBy: SG2PR01CA0179.apcprd01.prod.exchangelabs.com (2603:1096:4:28::35) To DB9PR04MB8429.eurprd04.prod.outlook.com (2603:10a6:10:24e::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from lsv03274.swis.in-blr01.nxp.com (14.142.151.118) by SG2PR01CA0179.apcprd01.prod.exchangelabs.com (2603:1096:4:28::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Fri, 3 Sep 2021 07:17:39 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 30d0040b-4f56-4eb3-6536-08d96eaaeaff X-MS-TrafficTypeDiagnostic: DB6PR04MB3208: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +UoSFcW2zZKRCvZluaWSNuPChWWDtWNVP6uyi4+v533QuALR0V7veGolI3nlFN1l3qgkMKe0eqZ8f1/dojG8Y4Z9hGJtbLqd6zxHR97QmplmR0+keqRDLcJcYdc4QScOKVOHxpilBs6n4z/eqFeEhFKiWoVow8DZ9CHDoiQGvJ1nSCcUD0fXhsihrdu6d2klHoy06pdSv3qcZ9qAJNwueG2lOhNQcA4BXcNdG54+L+rtBsaVm7eDVXxz1AqdfbfyGXui+CtuDXqtqLZGlNhFDCtT5TlRrzL3q8n6GP1ZvPUYL0Rsdfs40Kz1MXn5XuvP/SmuqzcosRvRxcAbofEbDWDZ3fmb739KqWzCUTKtTsaCshtoV1DjWj3nAispApUQkF8sET5dDyC+rLi+11Nw6RXrHYYA3vNHM1flpGV+uObC10sNJNSRAzjf/KfHnYSlg+DVPWnWnPDLdh6Kfic0l0/YWwWsebmYbWWv7IP8hu/jXnOsd7KfW4WEPUi1HzC7k6XO2CbksaM9uRlsX1x22z2zUOs7jdaOO6UUru/2x3BBhvnYC2ksdi9+N65e2a3cLJw5AN29/ECyTGLwEaxwMuFkxFaF2DDYwJXfXI/C1eltCvWmX8FkL3udL3iRD/CFKbgjo+Y7FM892RVLsyW91Mhvtq2TifU1mFY1MdS+UlgZH0ZYGAAKzz+Dwq8tYhHjyTqxVLL31Azctxe4BrzH2mAEnw2INgr4I5W5VEmX68g= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR04MB8429.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(2906002)(83380400001)(5660300002)(52116002)(1006002)(8676002)(6486002)(4326008)(26005)(508600001)(66556008)(66476007)(6916009)(7696005)(66946007)(44832011)(6666004)(2616005)(956004)(1076003)(36756003)(186003)(8936002)(38350700002)(38100700002)(55236004)(316002)(86362001)(110426009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: n6Q1qMMg9l+011rr0FUSqXWm838hq+m83h7DORq4xbt1j6TuZnPyP2/7Axj0TTpZ9dOr4levf71VIGHjFepnQME78BK33/wy01iqY7Tlv+ap9wgJSM7i/IOyy/we4jJQoybVOCpySI/u+Bo5n/8N2ns9J2/q/7yVPq4DIbaR4bQVJF0qDwPDL4pPyZ9rruPcS5d8IWIw7+nCH26kwdgp3PYO7tpUqwKt2LeqD8mNsg9Rykh8R1vk4zxFFAgthLO+IYJ2gC+GW0jNcJtdTmNhQayoJK3MFbitKGWrM4tiGDqzpU96rK8xq9THTWcXCOGgRewWG9h64uMUCCaNYSzQti1fR2rE5XkcMMh0mtJhyMG6W30eStFcLdVsoaM7p9clpnz9SuVMy4yjEnYciiUznmWjbS4dxrBJIFLuJXfiq2m0EoDj6D7VWpnexRTVCRdHO1aP+kKecgGBiQtNzgl3ErP3d/s8whEASh9O/EpOo2MKBnorGz4hvBsAmCf8czrROBmOHg62VUWGy13TPLLknWBycH8clPTIParByFOzySYz4tO6+Zo+fz1u8Gi5RGh1mytR9ZlOnzADzj4tO7iNnrcHTcHCPsMRg4BNo5fYlvX8fcqUCrAqGFshWA1CXb4EMOKQW0W+zx1Tt5NFPHbIvzIZ7KBO0vrlASGnwLC8f+7SBknBOrIijj+Q4zSCZ9rDZ8/CB6mXV1BcAweunwkSKHtniwK5psMQ+3+g7ORtwZ5e2k3fcqmKTUxq6Bb/XtzLddsqgCSYdzk987SNa8JNmSt1E35coNRwB3kyqj8eHQJ2p8hYlD8MArd3SvU+Wwx6MPtcHp39GZbsvPJB73yo0dvbrfma8OZjZrzU3HkaAFmGeF/kwB4KjEe2DUqtGcweJ1l7txQ6+st1IP9xwEZ7HY3jfD22tzY/gSfSGcgpAoVhH6YmmsUU1YL7Bllaoxn/QQx+9SFjgujI3kfjrDNy9aIq72ccPudqf3iteH2FsxDv7ycU7k+dsMoFdyuI4MeS6zuX4AIqFY3TaAUDx+rx7xVTMjzAuIx+fq+7qVU8SbRVIY+FfDIjS0ngF9D0u996Np3G2apfwgBQchS87oKQEKCP41qZKvV36ZqhH0XpqcaLCfwoPMniM3JsjjEKZpRbqVFc9JRsVVU9U0fMVtPAnWgxgFHUM4fVJhyImvgbG8R9sIg1mReQ7fd+qIsV4YGJ8Hz2fc7L4bGkyH3UpQjGLF4y7F3xjKjOSpsSsnOc51wJCM5AN/hpMDj+5/fCIakoSC4vpjduRo+0/aTm7Io9hN5+UA5NPnY/3HyftdI97+yC//0RDJLaGDiB3YkfbarJ X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 30d0040b-4f56-4eb3-6536-08d96eaaeaff X-MS-Exchange-CrossTenant-AuthSource: DB9PR04MB8429.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Sep 2021 07:17:41.7012 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vRQ0G31I0qABEiMugSLFZUgeQ6y8FDK09NpSTV0w8nw1m2s+3HkzNnZLDMakmrGtcradGFdhZwwgRIt9TzZOKQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR04MB3208 Subject: [dpdk-dev] [PATCH 4/4] net/dpaa2: remove experimental tag from API 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" These APIs were introduced in 19.02, therefore removing experimental tag to promote them to stable state. Signed-off-by: Nipun Gupta --- drivers/net/dpaa2/rte_pmd_dpaa2.h | 12 ------------ drivers/net/dpaa2/version.map | 8 +++++++- 2 files changed, 7 insertions(+), 13 deletions(-) -- 2.17.1 Acked-by: Hemant Agrawal diff --git a/drivers/net/dpaa2/rte_pmd_dpaa2.h b/drivers/net/dpaa2/rte_pmd_dpaa2.h index 84ac9d38d1..a68244c974 100644 --- a/drivers/net/dpaa2/rte_pmd_dpaa2.h +++ b/drivers/net/dpaa2/rte_pmd_dpaa2.h @@ -9,18 +9,11 @@ * @file rte_pmd_dpaa2.h * * NXP dpaa2 PMD specific functions. - * - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * */ #include /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Create a flow rule to demultiplex ethernet traffic to separate network * interfaces. * @@ -34,7 +27,6 @@ * @return * A valid handle in case of success, NULL otherwise. */ -__rte_experimental struct rte_flow * rte_pmd_dpaa2_mux_flow_create(uint32_t dpdmux_id, struct rte_flow_item *pattern[], @@ -57,9 +49,6 @@ int rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * Create a custom hash key on basis of offset of start of packet and size. * for e.g. if we need GRE packets (non-vlan and without any extra headers) * to be hashed on basis of inner IP header, we will provide offset as: @@ -78,7 +67,6 @@ rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t max_rx_frame_len); * - 0 if successful. * - Negative in case of failure. */ -__rte_experimental int rte_pmd_dpaa2_set_custom_hash(uint16_t port_id, uint16_t offset, diff --git a/drivers/net/dpaa2/version.map b/drivers/net/dpaa2/version.map index 49f69dacd2..3ab96344c4 100644 --- a/drivers/net/dpaa2/version.map +++ b/drivers/net/dpaa2/version.map @@ -1,9 +1,15 @@ -EXPERIMENTAL { +DPDK_22 { global: rte_pmd_dpaa2_mux_flow_create; rte_pmd_dpaa2_set_custom_hash; + local: *; +}; + +EXPERIMENTAL { + global: + # added in 21.05 rte_pmd_dpaa2_mux_rx_frame_len; # added in 21.08