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 499ADA04B3; Mon, 10 Feb 2020 16:08:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 29AC44C90; Mon, 10 Feb 2020 16:08:13 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00059.outbound.protection.outlook.com [40.107.0.59]) by dpdk.org (Postfix) with ESMTP id 64100493D; Mon, 10 Feb 2020 16:08:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V7NWHLCUIfAilkjuthGJUvPGo4cZ5RqdQN5RquekLHjS1j3tHvnvO517kLFsRRvkjm7inigkPj/ixjpgQ72fU5srMZnfhm8HLhlZGfijOjJxoEtJrsb8M7wbC+hUdKTtzPjnTpls6YfE2xSDXRDZBC/94F+l+AmnPNxti8/xd1SQSyOSt0pEmtm23hGD4Yn+cxkyMzUkryTIsEtJHpTlBL7gKWrDv+Q8yvGsMyVfDt2IyZzsvlbn/JCBLwdYxmliqfdyP7MN8heKLfcgUJ+kjpaVargQi0D73egJOhaGzRbfRNEl6pMn36vYN+2lFFnTT+jJvDnx/UKYy4SWPDeDMQ== 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=XUjNtkBgvE2AYQpdEBosT9DdQ1/UYRMa4Jb4xnZb1YM=; b=naGiu7JY++ei23EDJM7ez6UEiwJJTFZCu4Shpep+dz8+CgUU7Oo8eyJt0mpWuSoe40hfyjxs3TbYKhhivQ6EXek2uy2kOl35w6H4PmKELuhXlYxP5p5HIMmgRe+bfdCs5enjrN0oGS7J2LHAZ+2iMowSoYcf/w5r5pljC0+luWWLlgQDzwDGL/Q0g9Hkk74SypwXDWDGZVjIFkX4GHsfD0DhygG8uQOuo2ngjyFYObAupZTGsb3AybVDqYCHGUs7wxpxMh/4sFp6vIiODQSnCZ+apAfYd4vd+aUOdjvxlgEvJTFgnMaYb7W0WlL5wByqgfRPJF5RLTEJYm5yJXeueQ== 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=XUjNtkBgvE2AYQpdEBosT9DdQ1/UYRMa4Jb4xnZb1YM=; b=OQVSbTIUcBByVNZMk2Jkh8zEWdUSYeVv8+p9mMzG5Tsw81B35V+/jfCz3/W4viw9I1fJHja6bSnxCAAr18CsZPMzd/CoyXT1PeQY7Os0t/NN8F6hBEx4j8Edy7Ynyi7eDrDSGsAdv1KkKZspoyoh91PGWntO0aJ3XLAlYoa7Rew= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB3684.eurprd05.prod.outlook.com (52.133.46.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.25; Mon, 10 Feb 2020 15:08:11 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2707.028; Mon, 10 Feb 2020 15:08:11 +0000 From: Matan Azrad To: Slava Ovsiienko , "dev@dpdk.org" CC: Raslan Darawsheh , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix the legacy multi packet write session Thread-Index: AQHV353VsRYlAzte8UWipRTgfFQtYagUiG4A Date: Mon, 10 Feb 2020 15:08:11 +0000 Message-ID: References: <1581288893-1878-1-git-send-email-viacheslavo@mellanox.com> In-Reply-To: <1581288893-1878-1-git-send-email-viacheslavo@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 0aabb7a0-4d9a-4aeb-6b29-08d7ae3b0b86 x-ms-traffictypediagnostic: AM0PR0502MB3684:|AM0PR0502MB3684: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2803; x-forefront-prvs: 03094A4065 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(396003)(366004)(39860400002)(376002)(189003)(199004)(52536014)(71200400001)(86362001)(4744005)(54906003)(8676002)(81166006)(81156014)(5660300002)(110136005)(55016002)(8936002)(478600001)(66446008)(64756008)(66556008)(9686003)(450100002)(316002)(6506007)(2906002)(4326008)(186003)(7696005)(26005)(66946007)(66476007)(33656002)(76116006); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB3684; H:AM0PR0502MB4019.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: 1kT767Qx6MENge7IezTlS2/SJ2q+FDSWIYZgzEBUSYnCrRL5u3G7Q1vcGY9yCBrOBKqW69yIv1Nb0vUfM5iFbGQlR0G1O4ZgSA7PjR0zRmWSaTFtkyMkfXcaMmmUhcJqWV7BP3I4sbGkMnIcaQfZZskHRAN3GZwrx1gc/gOdJUQUjceevIETCnrJ89tvRDp1a1lT/uFKeNax19N6OwmIkWqF8T1reWXT6U+FPQ8qK2zrpJM4Zed1ZTymqqGg87YlzfLrsb49SVmbfDoE75tjU9mG30bgvSbea1voLanu7kqfIyOhzBUONrJZja0S6sp7VgtpvhpNms5NZkD8CLHRL8IIEHDsVYY4YZHOH2v+A4h4rtBfc1q9mzWT7BZ43gFNb2kvSl0be5DqMOfV3AEPFtuKU+jDl1V9aRfmmhxC+zvmTkTPxcG0ve4Fu0vDL/w+ x-ms-exchange-antispam-messagedata: Uo4nBeDfjK3a83psKqwqOq2pd88lygNFETWclosFGFfOzw2PsWZgp/jvhrazA0Sfg0E59YDXTV5efuWmPyb13ytObZ1bnxGrYrYsKcz6noE97eWLrkQa9oY0KoAXyh2TQi1hZcQcRehaSjNzitteAg== 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: 0aabb7a0-4d9a-4aeb-6b29-08d7ae3b0b86 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Feb 2020 15:08:11.4187 (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: j6isUb1OGhERqW4N1ODg6kfcV/PEPbWEu0rOvjO9YlnQ6dTQnz+qYwkE4+v2kHM6uvFDxKmf9yJuFt1BKr1wDw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB3684 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix the legacy multi packet write session 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: Viacheslav Ovsiienko > To provide the better PCIe bandwidth utilization the ConnectX-4LX NIC > supports the multi-packet write (MPW) sessions allowing to pack multiple > packets into one descriptor (WQE). This is legacy feature and it has some > limitations on the packets and data description segments. To provide the > best performance all inline packets must be put into shared data segment > and the total length of MPW session must be limited. The limit is control= led > with txq_inline_mpw devarg. >=20 > Fixes: 82e75f8323bf ("net/mlx5: fix legacy multi-packet Tx descriptors") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad