From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6AC01A00E6 for ; Thu, 8 Aug 2019 10:33:47 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 71E6429CB; Thu, 8 Aug 2019 10:33:46 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 7334B29AC for ; Thu, 8 Aug 2019 10:33:45 +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 x788TTLC031837; Thu, 8 Aug 2019 01:33:44 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=lLW3WmH6Z+/HVcKw5AmE37L/mueW7y9qSsPUatEauME=; b=h1RRh1sUdStnUpGjS8Mz/U/ktmRlHAPNfone95GxnRlqvuqXqkd5rjoKuHdv5qEwlaF1 G6T2sXODDgndwCxcyAQVZeJqgL53TIuu6oFLagI0SrHnbuM88862kVFg44Y8NIcEArpK MLN4GdSZ1WJF2888vYUywbi1vDzV96eoSm7YzoiB3Zc2d6atK+jTWt4BceG5qQyz4fNh GbmbzfyncxvKlZKX1eYvWf28mHTaZY2qAUFQoB26l5yPaR2yoOiaFRa19SuzK0MOmESk MZXrAQwHZSol515s0b8DTH5WpMigLLsq6Xe1fb3/8K3jQfifmFYIwLi/9jfeFPRv0ZGs bw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2u8cqj8q7a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 08 Aug 2019 01:33:44 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 8 Aug 2019 01:33:43 -0700 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.56) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 8 Aug 2019 01:33:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WhkIGhSyCgwhSixNQcQs7RdG0TccZW6+2oQpfBaXZKr/7YWXLLCg2Pkfz1yYlcSlzl2F9BkHV/F2U2TZaYgznlSnFKmmBVMb7vnyjVE/Bq27Ucr6EmTCNNOtBHZ4NvR7Mbplq8V1umT/ZtiSWyz7nshhC4R+il2k6TDt32qTkpO5cGsjcJMHfk5sp8IGI1a8RH0jg6tbAlKdm9Z7FOFI8tqJWuBtPmOlNj4X1KQIqDESdfhjlcnftwRLz/xLoRrBMoFUiBCtiOHfVyKjTsQgUmu4tDa86B4ys7b9mPiHLd+6UvlI5rsgONwXME5st0uFnrudYJkWUyygGU/8chlJtg== 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:X-MS-Exchange-SenderADCheck; bh=lLW3WmH6Z+/HVcKw5AmE37L/mueW7y9qSsPUatEauME=; b=LTtJUntXFX99iZ01/TrlxluLVReK7llPMuFPc7FixejxvnUeVY6o34TL3LGRL69ZZIOTuCkmNMPLNN0hecyFfESwhkcfeiJ2Sgtc+EZlpfdGiy8Aft48FBFAD7xsOkqGy+qbCH2TEvGkfdmnG6Mij3s+4KazrFXuDWQ86M/iOCiypW6Su5+Kn9VoHy8IO7x3JWYFezSoLA91HVXpJvktHg9fT8jd3z3sNNJhpEy4bwtnY2+piAIzNOqnETYlyRIJTzg2o48m0/it8ZGJFVboeyovRR7cvtGjO5MilDKrxhShNdXYLFEpntGyyjLnUxnk7fmLbtywzXruAxH/eyBlgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=marvell.com;dmarc=pass action=none header.from=marvell.com;dkim=pass header.d=marvell.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lLW3WmH6Z+/HVcKw5AmE37L/mueW7y9qSsPUatEauME=; b=U2EkwJFjvaII4ovAyJbOPwVqzcrWdSiRk+FFpqVBCv0+smFqIpUnsJomiJAY0TbrMPIAqMKAKd7aI64MPYDErNhy1u5MScr6gPvrTbsPkqC9KkW/NItsX7fqqdaisFANE5Ugbucz16o+DyP3fatTfk5NJOw0o0D8RLeLakVdIPY= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2935.namprd18.prod.outlook.com (20.179.59.77) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.19; Thu, 8 Aug 2019 08:33:38 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::5877:72b7:40cf:2013%3]) with mapi id 15.20.2157.015; Thu, 8 Aug 2019 08:33:38 +0000 From: Jerin Jacob Kollanukkaran To: Pavan Nikhilesh Bhagavatula , "stephen@networkplumber.org" , "arybchenko@solarflare.com" , "hemant.agrawal@nxp.com" , "thomas@monjalon.net" , "ferruh.yigit@intel.com" , "bruce.richardson@intel.com" , Neil Horman , John McNamara , "Marko Kovacevic" CC: "dev@dpdk.org" , Pavan Nikhilesh Bhagavatula Thread-Topic: [dpdk-dev] [patch v2] doc: announce API change in ethdev offload flags Thread-Index: AQHVTcHLXNaaw3AgLU+oE2OqeIWC2Kbw66NQ Date: Thu, 8 Aug 2019 08:33:38 +0000 Message-ID: References: <20190807160927.1197-1-pbhagavatula@marvell.com> <20190808081752.516-1-pbhagavatula@marvell.com> In-Reply-To: <20190808081752.516-1-pbhagavatula@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [171.61.87.186] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 056f6ba9-9def-4964-7f71-08d71bdb1c84 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2935; x-ms-traffictypediagnostic: BYAPR18MB2935: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 012349AD1C x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(39860400002)(136003)(366004)(13464003)(199004)(189003)(9686003)(107886003)(2201001)(476003)(486006)(99286004)(55016002)(11346002)(446003)(71190400001)(256004)(71200400001)(14444005)(52536014)(186003)(25786009)(26005)(14454004)(4326008)(66066001)(478600001)(86362001)(64756008)(110136005)(6506007)(102836004)(2501003)(54906003)(229853002)(66446008)(76116006)(6436002)(7416002)(5660300002)(33656002)(8936002)(76176011)(7696005)(66476007)(74316002)(53936002)(81156014)(305945005)(6246003)(81166006)(8676002)(66556008)(3846002)(6116002)(2906002)(7736002)(53546011)(316002)(66946007)(921003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2935; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: hUtdDEHQNOgjlRJvDzED5nprTp2Elqb7kNQ+8Pv8AzgNIuGZkCVDnyPfeZWb2CDinc9QG4wMrY9V/722kwNKnLRWZhF7yugHdvm7pv8Q53czAVf7ZAqYdKWPcGxx2q/R5vBepzSVsPa9CNHca3XSUdIIZLIkRioj1FB/ycYvCqTOcctJDKZodB6mv8aF1aLiliAK5fB2rky3ii7/6xJ+U+JMcoLqjNzvq/B/LsSFEQ/ZezfR1MIgBMcqpO5KPbjl+tDekHjDwghoByQ/hUS/8pLmgLp6u18hDLD4vcr3s+E9DvyZnbYQVlRpUYRh0IlJoP1akxKa7L+Ks6VTPFFwLdcecpIH6G6Trhk9YU2GiWRyFCXc2XhGmF7YnhOveyEVTiaLVTiEOwg22Br/ud9u5iGMKHmagn9Vp53T4KwqQQ0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 056f6ba9-9def-4964-7f71-08d71bdb1c84 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Aug 2019 08:33:38.4368 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5aSsffliPqyUAX83V06ZA80VHxPTvtV554DTkhUsVwZsBnOwFsqodvYazb9uBOnrI76seluwwyej8UDdASTM0A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2935 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:5.22.84,1.0.8 definitions=2019-08-08_04:2019-08-07,2019-08-08 signatures=0 Subject: Re: [dpdk-dev] [patch v2] 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" > -----Original Message----- > From: pbhagavatula@marvell.com > Sent: Thursday, August 8, 2019 1:48 PM > To: Jerin Jacob Kollanukkaran ; > stephen@networkplumber.org; arybchenko@solarflare.com; > hemant.agrawal@nxp.com; thomas@monjalon.net; ferruh.yigit@intel.com; > bruce.richardson@intel.com; Neil Horman ; John > McNamara ; Marko Kovacevic > > Cc: dev@dpdk.org; Pavan Nikhilesh Bhagavatula > Subject: [dpdk-dev] [patch v2] doc: announce API change in ethdev offload= flags >=20 > From: Pavan Nikhilesh >=20 > Add new offload flags ``DEV_RX_OFFLOAD_PTYPE``, ``DEV_RX_OFFLOAD_RSS`` > and ``DEV_RX_OFFLOAD_FLOW_MARK``. >=20 > Signed-off-by: Pavan Nikhilesh > Acked-by: Andrew Rybchenko With DEV_RX_OFFLOAD_RSS to DEV_RX_OFFLOAD_RSS_HASH name change as Andrew su= ggested. Acked-by: Jerin Jacob > --- > v2: Reword for clarity. >=20 > doc/guides/rel_notes/deprecation.rst | 13 +++++++++++++ > 1 file changed, 13 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index 37b8592b6..79e50a272 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -78,3 +78,16 @@ Deprecation Notices > to set new power environment if power environment was already initiali= zed. > In this case the function will return -1 unless the environment is uns= et first > (using ``rte_power_unset_env``). Other function usage scenarios will n= ot > 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. > + 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 > + enabled. > + The exact semantics of the flags will be worked out later either by > +making > + them negative offloads to avoid application change or positive > +offload to > + align with existing offload flag semantics. > -- > 2.17.1