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 58677A046B; Thu, 9 Jan 2020 15:22:12 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2195D1DE1B; Thu, 9 Jan 2020 15:22:12 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00053.outbound.protection.outlook.com [40.107.0.53]) by dpdk.org (Postfix) with ESMTP id AB65F1DE11 for ; Thu, 9 Jan 2020 15:22:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EezVc1ZqFIzd9K3/BfMQWtudpNyUcHUjfX+5fRzkKMqx0VcC8ekzJMeFeqoctqa4Bf3r3vqVlJ0N1QrODQE84JXlHvyf1PKjV8xNhdmL3tvUH8WRPqhmSB7GI2rcOQReK0wrtrys/2AN/Idhj0T47rw7V4TbrHch7ieKnNLRLdvySYaVdFtDy3XxgLb/MH8i1n7mZ9MScWWxAC4GEVnqSNscBpTcr35P00Kx8YC8+86stdXwKRfqnCYd1veaFbId5VYdHY7HPwMpPzfXAv5tSkUbSfhOTruEMTPAn/vj3r1sGJSMNavAhUaIRHf8A+lFS5EwFDA3qwoE3xTrzkZdjQ== 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=d188mWgg9qaSm/veza8+ls9RboJ97apFQWxWUtlYQCw=; b=PgLVnH4PEE1gFm0rg9bpXZy5gcdsQlx4gVWMLhSPa3h/bR1ezOykI7aQhZO05D9NAdk7AlYZ09/sh7fcWjlaocU5GYdKY0IbcbVOoqGldMkYgfqrN2G3levDE78zt+ysJdKOhjPtjebotVYC78d8bCn+qTac8RGsMpKrlZNazRVWbQM5WQyLOmq2faMvH72pN8PLH932puESgJSkUvzeT+1R/vpCs4N8Im91l26aCKqivgEP7Y7qnGnOMturut88aE4nDoIfDiEDupQAUPwBkXAFwJiDBQmdR7h0uoze+qe3JMGfkmtSe5YgCs7vQTKydkhezCBvk4e0FHDOwufhqQ== 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=d188mWgg9qaSm/veza8+ls9RboJ97apFQWxWUtlYQCw=; b=bHGTUc/ZFuGyPm8Yf3h0NHYVnkaU6Yc++AucME40dwF0y7iknKIb5M5y3Ed0iledyQdnDN0LorbT6fE4WaFviyLusBUt8xMooWSrgynRSYNOSgOjjgSOSQ629QrcaJB79yivdcUTvsliGBUbCwLwn6yetJ+tHyC2Q5LPMuk773A= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB4771.eurprd05.prod.outlook.com (52.133.56.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.8; Thu, 9 Jan 2020 14:22:10 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::95ff:bfb2:7f11:87b2]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::95ff:bfb2:7f11:87b2%5]) with mapi id 15.20.2623.010; Thu, 9 Jan 2020 14:22:10 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam Thread-Topic: [PATCH v2 0/4] net/mlx5: remove Tx descriptor reserved field usage Thread-Index: AQHVxtt2k36oFxsbekmON9WYeLk2WqfiYluA Date: Thu, 9 Jan 2020 14:22:10 +0000 Message-ID: References: <1578500161-20156-1-git-send-email-viacheslavo@mellanox.com> <1578567380-26994-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1578567380-26994-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rasland@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 3e3adfdc-d06c-463e-0291-08d7950f5074 x-ms-traffictypediagnostic: AM0PR05MB4771:|AM0PR05MB4771: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 02778BF158 x-forefront-antispam-report: SFV:NSPM; SFS:(10001)(10009020)(4636009)(396003)(366004)(376002)(39860400002)(136003)(346002)(13464003)(199004)(189003)(966005)(66446008)(45080400002)(6506007)(478600001)(55016002)(7696005)(9686003)(53546011)(4326008)(66946007)(26005)(86362001)(76116006)(66476007)(52536014)(64756008)(66556008)(2906002)(8676002)(33656002)(54906003)(110136005)(107886003)(5660300002)(316002)(81156014)(186003)(71200400001)(8936002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB4771; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: T3a9eN+ILDK9kCgY8JbWfzLbkbVHCvscGuR3O97T9yYrwV6YEgezb+o2KNqpsdVRKH+i6j5ujn+dlt0B08091SAvXdF95xZ9KB2mhnsdKudAsB3CkHMZCftIhuyfjbUFNiqqGDeulr07dnk3Gn4IuPkvHkik1IZxT02VlC/+nfbsiYqRSjwcZ8jcPaGPE6FLqGuAx8a9KP9Xy0/fOsS4Zj8hsLTGeOdn2rqVSlaqf3ai0ZOmxG9J4RcrC0/7VlWKcMwJepL3yKim5buyCrEIr0k8/IZLRFVPiQIr9nef2KFDxPa8zA4XerAWfO7QW41weUmb5LE1UmSLhHpfbsfopX5cOKhQrXxh1zasVa1l/4haOpgtIMbF7hPrcQAXwtnAizw96PDq2gTIGm4HuuVy6gExAC+/+ugLr7eDi3eYLlRyunUc1VUon2gnM4i/aeuHIEb5cf7CW8Cx82btXj4n8lLrh96HrNIHDHRpCeNicLt30CvdIITNWsMThurj8qjneTHrLwLT8G651UvJKHxYggz02aF2PQZIbqlgVTs99kaeuPdfjoaHjKfvxXrGjyeh2e4rCZbmF19AQJOvM4El4vA1ql3+Xa9wKN62pSRoEnj5rehKkRSqXIpsVXRfy88M6brfq1Fo/13Cfj7ONQaetA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3e3adfdc-d06c-463e-0291-08d7950f5074 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2020 14:22:10.1847 (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: 4JF0p/8siIOS5vJ6D9RDiAbl3jX4nFDlXxb+b04pcCPyT3QtXSa8EvWArS+juvWir24/mbDT7qG0YecxrxWYXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4771 Subject: Re: [dpdk-dev] [PATCH v2 0/4] net/mlx5: remove Tx descriptor reserved field usage 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" Hi, Series applied on next-net-mlx, Kindest regards, Raslan Darawsheh > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Thursday, January 9, 2020 12:56 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam > Subject: [PATCH v2 0/4] net/mlx5: remove Tx descriptor reserved field usa= ge >=20 > The current Tx datapath implementation in mlx5 PMD uses the 16-bit > reserved field within transmit descriptor to store the indices of the elt= s array > keeping the mbuf pointers to be freed on transmit completion. On > completion PMD fetches the descriptor index, then fetches the elts array > index from reserved field and frees the mbufs. >=20 > The new ConnectX-6DX NIC might use this reserved descriptor field and > existing implementation might not work in intended way. > To resolve this issue the dedicated buffer is introduced to store indices= to > instead of descriptor field. >=20 > Signed-off-by: Viacheslav Ovsiienko >=20 > Viacheslav Ovsiienko (4): > net/mlx5: move Tx complete request routine > net/mlx5: update Tx error handling routine > net/mlx5: add free on completion queue > net/mlx5: engage free on completion queue >=20 > drivers/net/mlx5/mlx5_rxtx.c | 153 ++++++++++++++++++++----------------- > ------ > drivers/net/mlx5/mlx5_rxtx.h | 13 ++-- drivers/net/mlx5/mlx5_txq.c | = 19 > +++++- > 3 files changed, 94 insertions(+), 91 deletions(-) >=20 > -- > v1: > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F64293%2F&data=3D02%7C01%7Crasland%40mell > anox.com%7C56986b5d3d3c46f2725b08d794f297e6%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C637141641963098885&sdata=3DRP4VgjCQlp > oJc5J38aajK9Rr8twtJ4d%2FSVP2JxM5C98%3D&reserved=3D0 > v2: resolve minor compilation per patch issues >=20 > 1.8.3.1