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 CD542A04F0; Mon, 13 Jan 2020 10:36:25 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A4E3F1D5DB; Mon, 13 Jan 2020 10:36:25 +0100 (CET) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70075.outbound.protection.outlook.com [40.107.7.75]) by dpdk.org (Postfix) with ESMTP id C72161D424 for ; Mon, 13 Jan 2020 10:36:24 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=of1xGZBjyaUYVH6Nl9OmTdy8tq7eSBHT6a8RISwe57eJe05rKxjRZbpP7/ZXKOvc20RlkbMeYZrKf4+Nen2QDvlovnfxFxBZOqXE3tkfXFMdMlDWM9NP79K4sl8WL0cgHAMG1qGYBvNjjsT6hK2t+HnZNcupwiMsDfMd/DEGML3iinNqNuuFYc4Y8ijr8NRXDBU/WGiYNyszsuH3Ax7TGbxGFbCgk0oIhzPypue1XzwqUqYA9GmlFNXy3VOfDg75jfZl4eUl89HMH9bW/wY0yScFyugdJ41d9Hmb1IzSLliFs8F03FUrx+GbS/f8uAOi37/UOlaavtyvfRa1qsF36A== 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=EssiDW0erVGkj1TgVZNIwRbwTwd+MhTdRdOJ5BxqgZI=; b=mCk6NpmdfzNTBW1dK2mIUpCCWt4tVmEEZzS6viRaHDOdCSvh47Sj9m7cDMk80ySarmSIn2FRhN8rJy+k/HLDDCpx65cT0qAUc3ln+FLkwFqppK73X39g4Juk00HTi7TkHmTX7Qd/CL06q0ujHmbbG7SL2p4DXMVCUDe348JUfOqZbronazgRBXeKToeZO4IXFXUScAuxaX/QYgt6HAK66XjyZ3xyxgXB/zINKBYbbsVgRfcECja/VRm2kmtfcDdBIka0wZraTuXvmCQADQLIw7IS6p6e6VxB2z/nkkMlGgkM2Jg5fw94IosegI/rCskaf59fjgHxk7LiFelxMELhSA== 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=EssiDW0erVGkj1TgVZNIwRbwTwd+MhTdRdOJ5BxqgZI=; b=ckhcRlS7UNtNc3CkoI1RPnqrSYICUBOFe6v/k6Ve1bpbdfBlx08gm8nA1u62Ctdp8GyJnldsGy5MpsLQHCJbFDbOodQyjbWKvt8aoQF4OMRpIbRDl5p0ATaoPWOWRoRgFYjKmJH80aifV+MGJ9l2VboMe6U8xuR73BSwio5JeZA= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (10.186.174.145) by AM0PR05MB6242.eurprd05.prod.outlook.com (20.178.119.213) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.9; Mon, 13 Jan 2020 09:36:23 +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.015; Mon, 13 Jan 2020 09:36:23 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , Ori Kam Thread-Topic: [PATCH v3 0/4] net/mlx5: remove Tx descriptor reserved field usage Thread-Index: AQHVxxChxeV8O1SUv0SA2CFv/5ZvK6foW6UA Date: Mon, 13 Jan 2020 09:36:23 +0000 Message-ID: References: <1578500161-20156-1-git-send-email-viacheslavo@mellanox.com> <1578590167-10167-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1578590167-10167-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: 1a87772e-fa53-40f1-2a90-08d7980c0df5 x-ms-traffictypediagnostic: AM0PR05MB6242:|AM0PR05MB6242: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 028166BF91 x-forefront-antispam-report: SFV:NSPM; SFS:(10001)(10009020)(4636009)(346002)(136003)(396003)(376002)(366004)(39860400002)(189003)(199004)(71200400001)(45080400002)(33656002)(478600001)(966005)(66946007)(66476007)(66556008)(64756008)(66446008)(76116006)(107886003)(316002)(86362001)(4326008)(54906003)(110136005)(53546011)(8676002)(81156014)(81166006)(6506007)(186003)(9686003)(55016002)(52536014)(8936002)(26005)(5660300002)(2906002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR05MB6242; H:AM0PR05MB6707.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A: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: EMrJMn0OXs1qLXY72H1D1y+xM8+LIR8jqVqpx19EDdaDqnB6dxP7HjLcxuwiup/gqtE2aEhugm8d1uuKYy8hMDsx0XrgOJ9YoX2kCG5verv/aiQnatkzas7ecMTn1SpNmdEbpaaxRruDp3Q8Sx73Rk72WmlrZzPOkC8uN+AQnLmqhkH6JC1Fu49/mt2agTY1OnCQ3OzKRwibPgbJtHGFy6Mcv10N445AneXpE6UgM+L+6Xdx7QowOjiqc+quB4iTUD/kpQdoUPwNzbaftMR8e1kWfgdWASftQ+UPLDPod0zIM1G1HtA9kAl1Sj8tqaCZ1SG8BbIfMUi9b/5M7GXbHxpPO9CyUj9hRcyY+aZNJF+CdXNcvs4pAbw13hAhzmgF7X6MXsh78kCQj5Wgqs8xZdr/XojSYQYHGJC+a/8+ZRlaozJbGknKYorTR6xblLB+L1ZAYTfzha46XCXew1tgYPoa2O0ZcZPg6Dd8Dug7mfkUIz9m0HP95f6bQUWkUXV/Ite0FyuSwUDrzs01jRcWVGQYlysGygGstnsKqDBaXu/SDH5XiHM6roXEfJ+VKpe6saVV9LW5YxGQ0s3XYZmTgQ== 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: 1a87772e-fa53-40f1-2a90-08d7980c0df5 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jan 2020 09:36:23.6050 (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: 1vfCIg4zVDDVj3nQXRyvVmUksT1kdPt2mLLy6pxCumGV6xuHZkVQPG3CEjuixB1kcdz6TsQxfbu/YXay9Wi+rg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB6242 Subject: Re: [dpdk-dev] [PATCH v3 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, > -----Original Message----- > From: Viacheslav Ovsiienko > Sent: Thursday, January 9, 2020 7:16 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; Ori Kam > Subject: [PATCH v3 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%7C2581e58267ee4d46f6db08d79527c2da%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C637141870319356462&sdata=3DrSy16E3H9 > OqxKekFtNTPSii3%2FPrKK1xjvEVddF14oMw%3D&reserved=3D0 > v2: - > https://eur03.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fpatch > es.dpdk.org%2Fcover%2F64331%2F&data=3D02%7C01%7Crasland%40mell > anox.com%7C2581e58267ee4d46f6db08d79527c2da%7Ca652971c7d2e4d9ba6 > a4d149256f461b%7C0%7C0%7C637141870319356462&sdata=3DN3XndSHXY > Ae73Ubu%2BNNlr6CBDt6ciq7HKxNnuerHpzo%3D&reserved=3D0 > - resolve minor compilation per patch issues > v3: - change the fcq entry type to uint16_t in non-debug mode >=20 > 1.8.3.1 Series applied to next-net-mlx, Kindest regards, Raslan Darawsheh