From patchwork Wed Aug 7 16:09:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pavan Nikhilesh Bhagavatula X-Patchwork-Id: 57550 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BAB402B9E; Wed, 7 Aug 2019 18:09:34 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 0D7E9F72 for ; Wed, 7 Aug 2019 18:09:33 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x77G6kdL009966; Wed, 7 Aug 2019 09:09:33 -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=pfpt0818; bh=2BC6iLOtezWPQgvnRXCFY+FxTPJEKlRkSBnkD73Gxuw=; b=K8akOe3AbPedSTGClSRAQ40mJk9Sc6jzkfMhyi+ioAa2KUZWoJ9oMnjfhtzXpM37Hog8 0VBV5NNxhZIshqH9oTk9j/by1hcPRcPsgBhwNcddj0d+8bIkEDVl9YQ3kFZeDL8KAqK2 +nisV3sKfDsrYOzePUlOezAh1nJJeefbn4JkoWWpwtb/FdRLnhmw2XfllCkzeTN4FN+C H/EI4f2Mo7ZnyReC8vapYnyqlXw0Wzx4Z7Te1I2gmTZ1xl+AE1DR7TcubCr+5L0XYal5 qWh1myOvuY9MKGaX/zmQqNFXGqUwixs973unNRvR8VbGl/2yRZi3LXaA1E6tZ49V9rYQ Ug== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2u57mr8vd9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 07 Aug 2019 09:09:32 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 7 Aug 2019 09:09:31 -0700 Received: from maili.marvell.com (10.93.176.43) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server id 15.0.1367.3 via Frontend Transport; Wed, 7 Aug 2019 09:09:31 -0700 Received: from BG-LT7430.marvell.com (unknown [10.28.17.51]) by maili.marvell.com (Postfix) with ESMTP id 3C9A13F7043; Wed, 7 Aug 2019 09:09:28 -0700 (PDT) From: To: , , , , , , , Neil Horman , John McNamara , "Marko Kovacevic" CC: , Pavan Nikhilesh Date: Wed, 7 Aug 2019 21:39:26 +0530 Message-ID: <20190807160927.1197-1-pbhagavatula@marvell.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-07_04:2019-08-07,2019-08-07 signatures=0 Subject: [dpdk-dev] [patch] doc: announce API change in ethdev offload flags 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" From: Pavan Nikhilesh Add new offload flags ``DEV_RX_OFFLOAD_PTYPE``, ``DEV_RX_OFFLOAD_RSS`` and ``DEV_RX_OFFLOAD_FLOW_MARK``. Signed-off-by: Pavan Nikhilesh Acked-by: Andrew Rybchenko --- doc/guides/rel_notes/deprecation.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 37b8592b6..a10f69e98 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -78,3 +78,12 @@ Deprecation Notices to set new power environment if power environment was already initialized. In this case the function will return -1 unless the environment is unset first (using ``rte_power_unset_env``). Other function usage scenarios will not change. + +* ethdev: New offload flags ``DEV_RX_OFFLOAD_PTYPE``, ``DEV_RX_OFFLOAD_RSS`` + and ``DEV_RX_OFFLOAD_FLOW_MARK`` will be added in 19.11. + This will allow application to enable or disable PMDs from updating + ``rte_mbuf`` fields ``rte_mbuf::packet_type``, ``rte_mbuf::hash::rss`` and + ``rte_mbuf::hash::fdir`` respectively. + In 19.11 PMDs will still update the fields even when the offloads are not + enabled. This is done as an optimization to avoid writes to ``rte_mbuf`` fields, + the exact semantics of the flags will be worked out later.