From patchwork Tue Nov 19 12:05:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 63105 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8CC5DA04B4; Tue, 19 Nov 2019 13:06:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 23CE6B62; Tue, 19 Nov 2019 13:06:02 +0100 (CET) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id E69F4237 for ; Tue, 19 Nov 2019 13:06:00 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id 25BFD140069; Tue, 19 Nov 2019 12:05:59 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Nov 2019 04:05:56 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 19 Nov 2019 04:05:55 -0800 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id xAJC5ouT010992; Tue, 19 Nov 2019 12:05:50 GMT Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 5C68B161648; Tue, 19 Nov 2019 12:05:50 +0000 (GMT) From: Andrew Rybchenko To: Thomas Monjalon , Ferruh Yigit , Pavan Nikhilesh , "Neil Horman" , John McNamara , Marko Kovacevic CC: Date: Tue, 19 Nov 2019 12:05:42 +0000 Message-ID: <1574165145-23960-1-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-25050.005 X-TM-AS-Result: No-5.392300-4.000000-10 X-TMASE-MatchedRID: 1k6om1Yy2lpWUdWZNc/zWRIRh9wkXSlFJih/yo+OvlWRoQLwUmtovxxS cgjK3TZJ35oRU0iC50SPQi9XuOWoOKerivEziUtxcI7vRACwF0IGchEhVwJY3ygVbxW7FDOVNH2 M+0Uex9zMXMCgAgCo/gGgqRQZQsCiVHa5Ax0DhIiEv01fZOqaQLx2voUbwFB95kCVFHoAgnuSDd w9v34fhDa+bWYqf1uAU2yoXteGi/121zBthUokNZixDyZ4rnsHfS0Ip2eEHnwj/1Rbkzl1EwuTL po5HEc1joczmuoPCq2DCVdXJhCJ3G1HAERBTk50E9T5GyRPt2XAFAHkylutn+9US0OAiXn6Qwym txuJ6y0= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--5.392300-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-25050.005 X-MDID: 1574165160-nbdR6R6mFeKs Subject: [dpdk-dev] [PATCH 1/3] ethdev: remove deprecation notice for packet type set X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 functionality is added, but the deprecation notice is not removed. Fixes: 5d4813acda2c ("ethdev: add packet type range function") Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/deprecation.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index f545801f6d..65076acb13 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -68,21 +68,6 @@ Deprecation Notices In 19.11 PMDs will still update the fields even when the offloads are not enabled. -* ethdev: New function ``rte_eth_dev_set_supported_ptypes`` will be added in - 19.11. - This will allow application to request PMD to set specific ptypes defined - through ``rte_eth_dev_set_supported_ptypes`` in ``rte_mbuf::packet_type``. - If application doesn't want any ptype information it can call - ``rte_eth_dev_set_supported_ptypes(ethdev_id, RTE_PTYPE_UNKNOWN)`` and PMD - will set ``rte_mbuf::packet_type`` to ``0``. - If application doesn't call ``rte_eth_dev_set_supported_ptypes`` PMD can - return ``rte_mbuf::packet_type`` with ``rte_eth_dev_get_supported_ptypes``. - If application is interested only in L2/L3 layer, it can inform the PMD - to update ``rte_mbuf::packet_type`` with L2/L3 ptype by calling - ``rte_eth_dev_set_supported_ptypes(ethdev_id, RTE_PTYPE_L2_MASK | RTE_PTYPE_L3_MASK)``. - This scheme will allow PMDs to avoid lookup to internal ptype table on Rx and - thereby improve Rx performance if application wishes do so. - * cryptodev: support for using IV with all sizes is added, J0 still can be used but only when IV length in following structs ``rte_crypto_auth_xform``, ``rte_crypto_aead_xform`` is set to zero. When IV length is greater or equal From patchwork Tue Nov 19 12:05:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 63107 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3B366A04B4; Tue, 19 Nov 2019 13:06:21 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E4C2E2BD5; Tue, 19 Nov 2019 13:06:05 +0100 (CET) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id EE49ECF3 for ; Tue, 19 Nov 2019 13:06:00 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id CB73614005A; Tue, 19 Nov 2019 12:05:59 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Nov 2019 04:05:56 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 19 Nov 2019 04:05:55 -0800 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id xAJC5pdB010994; Tue, 19 Nov 2019 12:05:51 GMT Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id 45C9416164E; Tue, 19 Nov 2019 12:05:51 +0000 (GMT) From: Andrew Rybchenko To: Thomas Monjalon , Ferruh Yigit , Pavan Nikhilesh , "Neil Horman" , John McNamara , Marko Kovacevic CC: Date: Tue, 19 Nov 2019 12:05:43 +0000 Message-ID: <1574165145-23960-2-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1574165145-23960-1-git-send-email-arybchenko@solarflare.com> References: <1574165145-23960-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-25050.005 X-TM-AS-Result: No-0.992800-4.000000-10 X-TMASE-MatchedRID: iy5lRj0HSsRyT9UFBBwsEokvHinQ/+7kMVx/3ZYby78ZwGrh4y4izBkh PVvMB7dGozoW+JKZpxLy+XFrW3XvQGJZXQNDzktSFGkv4i1aAubNKdtHc3A3XAAheUymmndfMJa nXwc+hbzG+m9onx5lUSGSMqYhZPtzDwsoidZSmzwgCPGiZqtI8PG6GRFYrbYYHI2vjiCPyPsr6D +mFr1pQFweZNvdNfWq4nPtqVBfrH6Wg64ZxahvdJ4CIKY/Hg3AGdQnQSTrKGPEQdG7H66TyK3gk 7uhI4OY/KxukrUa/OHSnCErCckVVsPQ3Jq/FuVmYEMNRtcY8qLkFEqoI5zmXi8wZxKahNjxs4Mr wHIE/aO3bHUVFx9bj8XbuJvbguYck3UkV5Qp4wSI45Rd9ORJwFlJvEhEss3fvN+d4ahMo5NagLT zP9hRYpRMZUCEHkRt X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10-0.992800-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-25050.005 X-MDID: 1574165160-v2B9QncGZ3bH Subject: [dpdk-dev] [PATCH 2/3] ethdev: remove deprecation notice about RSS hash offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 offload was added, but the deprecation notice was not removed. Fixes: 5d308972954c ("ethdev: add mbuf RSS update as an offload") Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/deprecation.rst | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 65076acb13..2f7e659700 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -59,13 +59,12 @@ Deprecation Notices - ``rte_eth_dev_stop`` - ``rte_eth_dev_close`` -* ethdev: New offload flags ``DEV_RX_OFFLOAD_RSS_HASH`` and - ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11. +* ethdev: New offload flags ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11. This will allow application to enable or disable PMDs from updating - ``rte_mbuf::hash::rss`` and ``rte_mbuf::hash::fdir`` respectively. + ``rte_mbuf::hash::fdir``. This scheme will allow PMDs to avoid writes to ``rte_mbuf`` fields on Rx and thereby improve Rx performance if application wishes do so. - In 19.11 PMDs will still update the fields even when the offloads are not + In 19.11 PMDs will still update the field even when the offloads are not enabled. * cryptodev: support for using IV with all sizes is added, J0 still can From patchwork Tue Nov 19 12:05:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Rybchenko X-Patchwork-Id: 63106 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E72A6A04B4; Tue, 19 Nov 2019 13:06:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F28B92B8E; Tue, 19 Nov 2019 13:06:03 +0100 (CET) Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) by dpdk.org (Postfix) with ESMTP id EB7EAB62 for ; Tue, 19 Nov 2019 13:06:00 +0100 (CET) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us4.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTPS id A014E140069; Tue, 19 Nov 2019 12:05:59 +0000 (UTC) Received: from ocex03.SolarFlarecom.com (10.20.40.36) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 19 Nov 2019 04:05:56 -0800 Received: from opal.uk.solarflarecom.com (10.17.10.1) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 19 Nov 2019 04:05:55 -0800 Received: from ukv-loginhost.uk.solarflarecom.com (ukv-loginhost.uk.solarflarecom.com [10.17.10.39]) by opal.uk.solarflarecom.com (8.13.8/8.13.8) with ESMTP id xAJC5pdO010997; Tue, 19 Nov 2019 12:05:51 GMT Received: from ukv-loginhost.uk.solarflarecom.com (localhost [127.0.0.1]) by ukv-loginhost.uk.solarflarecom.com (Postfix) with ESMTP id B59B916165A; Tue, 19 Nov 2019 12:05:51 +0000 (GMT) From: Andrew Rybchenko To: Thomas Monjalon , Ferruh Yigit , Pavan Nikhilesh , "Neil Horman" , John McNamara , Marko Kovacevic CC: Date: Tue, 19 Nov 2019 12:05:44 +0000 Message-ID: <1574165145-23960-3-git-send-email-arybchenko@solarflare.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1574165145-23960-1-git-send-email-arybchenko@solarflare.com> References: <1574165145-23960-1-git-send-email-arybchenko@solarflare.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-25050.005 X-TM-AS-Result: Yes-4.073800-4.000000-11 X-TMASE-MatchedRID: GhdZ4a7VZuOtRp+fZJPWMB23b+lJHvPAa2pCAnJvQFFpsnGGIgWMmRGG Vq+vrXC0yOQ1BalexnpmAlyyODjbi8igY/XF8iwSPwKTD1v8YV5MkOX0Uoduub6AuNtcG1ipSjT YCnsljvSFUCSAinHEk7/TyNtS6Dz8L8HMeA3FQduOjIrMSa2sRw/o5bNHEsCTSMg2Oe/b8Eyfha k4uqYryJyM89otn92zx5IX5uaPnEl7UH9iO6Ye+R3EEAbn+GRbF9s8UTYYetXj7Yxz/KrEGkKGn D6Mw9LY4vM1YF6AJbbCCfuIMF6xLVgXepbcl7r7c5cRnCnw38uNlASEeJHFqnUSGa9aV97ex+1v gW4wTlelwjAe77WDqQJpq7wTAMhFG+M52AGe78mOWcG2hUEyIMe0FEnmDAf9vU24pLfQFmdAgUh ku2yAbQNQf6dUs3KIKyog/1PG+0mjWzyQbry2i37cGd19dSFd X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 11-4.073800-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-25050.005 X-MDID: 1574165160-f_nAFsrk6X_N Subject: [dpdk-dev] [PATCH 3/3] ethdev: improve flow mark Rx offload deprecation notice X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 deprecation notice is required since it adds more requirements when RTE flow mark and flag actions may be used and require changes in applications. Signed-off-by: Andrew Rybchenko --- doc/guides/rel_notes/deprecation.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 2f7e659700..7060a6a0d0 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -59,13 +59,13 @@ Deprecation Notices - ``rte_eth_dev_stop`` - ``rte_eth_dev_close`` -* ethdev: New offload flags ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11. - This will allow application to enable or disable PMDs from updating - ``rte_mbuf::hash::fdir``. - This scheme will allow PMDs to avoid writes to ``rte_mbuf`` fields on Rx and - thereby improve Rx performance if application wishes do so. - In 19.11 PMDs will still update the field even when the offloads are not - enabled. +* ethdev: New offload flag ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 20.02. + This will provide application an information if ``RTE_FLOW_ACTION_TYPE_MARK`` + or ``RTE_FLOW_ACTION_TYPE_FLAG`` is supported and, what is more important, + allow an application to let PMD know that it would like to use these + features. + PMD may use the information to choose optimal datapath implementation and + configure HW appropriately to optimize performance and/or resources usage. * cryptodev: support for using IV with all sizes is added, J0 still can be used but only when IV length in following structs ``rte_crypto_auth_xform``,