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 C3DEAA0351; Thu, 6 Aug 2020 14:50:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 38D9D1BFF5; Thu, 6 Aug 2020 14:50:34 +0200 (CEST) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-eopbgr80089.outbound.protection.outlook.com [40.107.8.89]) by dpdk.org (Postfix) with ESMTP id 553992BB5 for ; Thu, 6 Aug 2020 14:50:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E75+zQHX6bqTEF4DMzzh6UFBe+s57pivpD7FpRh0rTWjk9TMcU7/JzmzYEB/S/YkZnsojalXS/gVePsSE6bo1FY49ca+OA+X+SPsfauONJWrw/srdLyR2N5DWZv7MbJzo97wI6eqLD4H89ZMHec3eNw4PKRefJYvhwYKB+5v0c/ue6n0q+1tyl63rAs+6hDtDfOnUdW/546heoGcxObQmqOoGG9103hqeW1J56bagKkQlgwyjISr0AusbwmPDBC8tLs6DZ2BVg16KWDAR8QY3OgB0jb+EW2l/lAomwIJK9GEeKuuI0j/Xah/I1FL3isA3GTPBkIxOO6QqYs2MajGHQ== 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=m4bGjmxR2kQHMxRjpsC49KxTCV31ND6lNl6e6xMfmnU=; b=PrbRFXG+RmnoCv/UZfmy02jap/DWtpjOnANm895mhxPlwSMzVtkzXHSyaY1O26yZtx1ns3YV/hqN/RxfmKmwRSS/BOATW1FO81SnAHSkhy9vfC8gmXLUerhhyNkfggTtQVsJjQ/OGKROVv7E8eBt9iIznzf09ivrDRe07FYeAAY0LnsHUs+T960aMItGCthdspqL/jgE7n4TR3zwyCgV3PEVBNbaGPRJvNh19n6shOVv6gfv2gFsxU64RuVDtP16OP8Fjedi9WXlBfQdHjwuw8yMIhH6z/fiZv9A3cU4YhVHfUAmIRrsWMA6qtSujISqAQbIrKkl2nPNqkCRBtcOhg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m4bGjmxR2kQHMxRjpsC49KxTCV31ND6lNl6e6xMfmnU=; b=ngMxnr1r/9mpaPbvpbVVOMsoacDMO/jcYDuXke7AhG2MEkV5pVKpLWiski/nPL/+XrtdZpmbrXq+w6AnY7h7s+SMj0SG83FeTsET98Vq4cKeI6irAJ3wtgwC5/b9FCHMPiCkWJ8jFSuw0uV0Z8OMIdeH2wa0A18edq1Z4cN3JZQ= Received: from AM4PR05MB3265.eurprd05.prod.outlook.com (2603:10a6:205:8::26) by AM8PR05MB7252.eurprd05.prod.outlook.com (2603:10a6:20b:1c5::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Thu, 6 Aug 2020 12:50:31 +0000 Received: from AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed]) by AM4PR05MB3265.eurprd05.prod.outlook.com ([fe80::194e:dc46:7543:50ed%2]) with mapi id 15.20.3239.022; Thu, 6 Aug 2020 12:50:31 +0000 From: Slava Ovsiienko To: Chengchang Tang , "dev@dpdk.org" CC: "linuxarm@huawei.com" , Thomas Monjalon , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , "stephen@networkplumber.org" Thread-Topic: [dpdk-dev] [PATCH v2] doc: add new field to rxq info struct Thread-Index: AQHWa6Z+JUyjcQGILUiqwtnnQaxHnakrCA5g Date: Thu, 6 Aug 2020 12:50:29 +0000 Message-ID: References: <1596619484-19714-1-git-send-email-tangchengchang@huawei.com> <1596686446-8138-1-git-send-email-tangchengchang@huawei.com> In-Reply-To: <1596686446-8138-1-git-send-email-tangchengchang@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 11a6db41-518c-4e90-2046-08d83a074d60 x-ms-traffictypediagnostic: AM8PR05MB7252: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: DrjLsrPK/Ts3wDGeBuLUaXULIXhX/TG/dbmkTXIYRPorrFN6WGVWjaD2xuTt0eciE02WYs/N+Fw8Q9Z2Ar5do9TaKkybwxFtJlbvfudyAURi+H8s019/3Kapy5yhU51FUUW9HwCXF8/oyfQ/bF/2+lMCKgnT6X7HN6Mk7c+m5H1qcgsccUkJVXmX9FDgzBz01ClVQyUXu6VVXM3jKy746itd1i3mS9B2MYUXvdJGHsZAm+x0KnFk4ue4fobJ20Jz5dHL96k+NuN0hqLU3OFLHdwRIP2pwD0GJHJOORXkLNBUU1nHMQrryKFspDypbNr/X38NggazfJerOxZChZq2nI5pa6zQRMrCelZbYCoNNmGYFG2+ICJrIV5IOdKJvgovA0AfxIQYpuLSvYoFzheeFg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM4PR05MB3265.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39860400002)(376002)(366004)(346002)(136003)(396003)(71200400001)(26005)(7696005)(53546011)(66476007)(66946007)(8676002)(6506007)(66556008)(66446008)(76116006)(966005)(186003)(64756008)(5660300002)(45080400002)(8936002)(478600001)(316002)(83380400001)(4326008)(86362001)(52536014)(2906002)(55016002)(9686003)(33656002)(83080400001)(54906003)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: FXfpeP/IyBP7RisOqG4Hiw0oVpvwzoyCqR5x6gV4sMX6a4DngjnK7qWR3h8Epdg30696cmZ5V3YEMN2hsF5RwXzQrXCUiIPDTxjNyyKFiG1b012UVPjupNtRl98JeXXFBJ/9NssA+TCO9zn3DFFbVQL2ME2wT7aVRLaR82RQvDrY6GGMsI9gmO+StVe+6+ZL+kr1SUYl0f71pNmbU403x95ATTPkDo9N2OShnB9gtiRKlkR9Wmms8/xmA/ubLt8U4tbPAxMH6vYbMHAD8OQUBDIf1BHpGmJ4A6qoH0Rfsz9niEMxB6wpFldUgsQ/+6m0Ndh0USgTO11s7Rot4V2bP/gZX4Q0snW62Sm3BvzhSfhSOuBak3bm+IeEC7efBHfSJ6BrZ/EenRe6EHA8Gm5EglhhEuDX0WNYWjEcS2KJYd7XE7r6PUMBhjx36seFWd1UPyQy4xtFBY9v0BMGQfVdIWZY6T4vUjTyUorMk5cmSQT5Z2R2iY/nBKxDNy+oKmxsfP1++bgP/OYTZ2Xl6sl5zq8qwGZKBTEuyTFwODs0MgSIt4m8uEkCbddD3tw3zDSnQ8DMofc+hy0yyWsnfXMLmhGILqsBdGbGNIfdujMstQGtwFBmV5SEwz0DjtjAkbIpoRTuDp5MZ5ZZSSmFMxAx0Q== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AM4PR05MB3265.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11a6db41-518c-4e90-2046-08d83a074d60 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Aug 2020 12:50:30.7724 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 0zPxcaHQlM1wCc569Q8CjJgs6TByULflpItqqS7XkoSlNJK1onz2T6IsC3w0GKOWBZMKx/cpyxjWJD+jgaWuVafe1OoX+Y3QOHr84Ugfie8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR05MB7252 Subject: Re: [dpdk-dev] [PATCH v2] doc: add new field to rxq info struct 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: dev On Behalf Of Chengchang Tang > Sent: Thursday, August 6, 2020 7:01 > To: dev@dpdk.org > Cc: linuxarm@huawei.com; Thomas Monjalon ; > ferruh.yigit@intel.com; arybchenko@solarflare.com; > stephen@networkplumber.org > Subject: [dpdk-dev] [PATCH v2] doc: add new field to rxq info struct >=20 > Struct rte_eth_rxq_info will be modified to include a new field, indicati= ng the > size of each buffer that could be used for hw to receive packets. Add thi= s > field to rte_eth_rxq_info to expose relevant information to upper layer > users/application. >=20 > For more details: > https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmails= . > dpdk.org%2Farchives%2Fdev%2F2020- > July%2F176135.html&data=3D02%7C01%7Cviacheslavo%40mellanox.com > %7Cdb0d8bcc221145a4a67508d839bd9f14%7Ca652971c7d2e4d9ba6a4d149 > 256f461b%7C0%7C0%7C637322833881598698&sdata=3DW2G3iEdepIjSlp > Wq4296k7cmXV1RhMnfl88TAjivWLc%3D&reserved=3D0 >=20 > Signed-off-by: Chengchang Tang > Acked-by: Andrew Rybchenko > --- > v2: > - Remove field name. > - Fix some spelling mistakes. > --- > doc/guides/rel_notes/deprecation.rst | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index ea4cfa7..f08b5f9 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -110,6 +110,15 @@ Deprecation Notices > break the ABI checks, that is why change is planned for 20.11. > The list of internal APIs are mainly ones listed in ``rte_ethdev_drive= r.h``. >=20 > +* ethdev: A new field will be added to the public data structure > + ``rte_eth_rxq_info`` to indicate the buffer size used in receiving > +packets > + for HW. When receive packets, HW DMA won't exceed this size. And it > +will > + affect the number of fragments in receiving packets when scatter is > enabled. > + So, add this field to ``rte_eth_rxq_info`` to expose relevant > +information to > + upper layer user/application. > + This change is planned for 20.11. For more details: > + > +https://eur03.safelinks.protection.outlook.com/?url=3Dhttps%3A%2F%2Fmail > s > +.dpdk.org%2Farchives%2Fdev%2F2020- > July%2F176135.html&data=3D02%7C01%7 > +Cviacheslavo%40mellanox.com%7Cdb0d8bcc221145a4a67508d839bd9f14 > %7Ca65297 > +1c7d2e4d9ba6a4d149256f461b%7C0%7C0%7C637322833881598698& > ;sdata=3DW2G3i > +EdepIjSlpWq4296k7cmXV1RhMnfl88TAjivWLc%3D&reserved=3D0 > + > * traffic manager: All traffic manager API's in ``rte_tm.h`` were mistak= enly > made > ABI stable in the v19.11 release. The TM maintainer and other contribu= tors > have > agreed to keep the TM APIs as experimental in expectation of additiona= l > spec > -- > 2.7.4 We are going to introduce the more flexible format to descript the rx buffe= rs with multiple segment lengths/pools. It might be worth to consider extendin= g this info structure single field to array. I suppose it is the subject for furth= er discussion (on RFC). Acked-by: Viacheslav Ovsiienko