From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E4DDA034F; Thu, 29 Jul 2021 17:16:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B666340687; Thu, 29 Jul 2021 17:16:47 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2085.outbound.protection.outlook.com [40.107.237.85]) by mails.dpdk.org (Postfix) with ESMTP id 072334067A; Thu, 29 Jul 2021 17:16:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BKg1QsghDqpfEc7DwRQkqkUnnBjMoKIyUVHb4RvxFUGt74n/BtiZ4jHhGSel6RpoG9VHEdqOI7oMoLIIUMQ9siQwiG1XRrg9xWDIRi7brRvpKFiaoTdNzP3/33St4j0wDlUSPQKRqMdScU8yevzcKpm5/DUVKi21OEIrK5vO1IOwhS4HKTMhbCADlnzPfibJYWCpIgfKHXZlm/Nc7nTkYr+lusW4KBn/Lh2nj+R9KrIdWJvGX3aWrMSi7ibvrIiYltg8Xz/fhsf0M/DsUMmJwU9H4tbpJ9iVgMAcO9reKolrLp/fh541CJ7I/zs4V2CSe1wnqMhej6a6InR3KCUdBQ== 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=UOCgOFInusUh/EZTGByeVX7QZj5O2mb+IYYy2GdoHwc=; b=MTm93xcgd4rmv/fwe7GD6KQEDzf4D/rw4exDiKLG/oegRCUSmFPafew94JBIoM8J6xV4N2pWvOv1aWYzywqZgmU/Xtas++vc/xt+joSz1mQt8X0MtV8MdGJz7Pk04sJ7R6OqsistHKdIyutTdA7BegYlA0H6vPG2HInOTI317F1nG7UGkVyw/1V25+BpFgsBSq7evBFAm3wvnfU9uBG3TiZdvXh4ohSaH44OgrmmnynMYXGgzR4ghczBaZ5xXsc/6VvnqBpc41MD87uWUsL70LX+R14tHzb7WRwKtMQ8IEbqQ2j7nZeqYSc95c7i7JPhqF2y/yUFQ7J9pKatP9wKPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UOCgOFInusUh/EZTGByeVX7QZj5O2mb+IYYy2GdoHwc=; b=SMctiOdEQoxqjEgfIRoTWUcE5aT5EgGRfENeDXi1EbvqM373tCbDfQrMrocKhzN8uyAQ96pt+UCcQB4tOVVtAzsTcXlq1oDv09wSWAKQrcdSh267nKleLWzXeaWGDY+Vq1tVyAkr6CoQ5eQW1HqEkiet64YKVlxaArCaAO33CpNDhoVYnuXU6db31KlF3s/BErVmEx65J2ildVEE+6HAevH2KE88FxwXwff34o8RF7vSs7X/ZXySVMHkxDZyPiVEum4s/iQtolZ4UY435iOOTCaQsAuWQEvEDfLNnnO3SUmKfP2EXPYV0Z/z9y2bw07WBqQgWd4WwX2nW+osjIspnQ== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM4PR12MB5231.namprd12.prod.outlook.com (2603:10b6:5:39b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.19; Thu, 29 Jul 2021 15:16:45 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::584f:2720:1100:666a%4]) with mapi id 15.20.4373.022; Thu, 29 Jul 2021 15:16:45 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix Tx queues creation type check for scheduling Thread-Index: AQHXhHUIOJDrYK9gtUa8hy1TU1OPr6taEH+g Date: Thu, 29 Jul 2021 15:16:45 +0000 Message-ID: References: <20210729122643.24865-1-viacheslavo@nvidia.com> In-Reply-To: <20210729122643.24865-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07b8f53b-29e8-4074-3826-08d952a3e10c x-ms-traffictypediagnostic: DM4PR12MB5231: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3ie8jlJSeQJiwMfFdZg7bLA9IAquGxqM9BNJWeMpLi5or/CUQCPZOYaHJTb0bp8fqu4Ml3nP2jokjCgYbPiQDKjv+24KpQOC7ZB9zC+xNCtyf+4KeQUq7nfWbHDWlQPZn565coaKMlps3Cc//Orvoi0k2tgpehDFJS9YETxmoDZFkL54fV/WalZ9WEig7WXXV3ULT7Y9hrcDcDwl9v60UE+39tmjE5dTLzHJ1KrjlIPEbDRZ8apB3xINLrg/LoZKdN9QPTwFb1hvdBfT6RuHrRh1f9StdwBEQjNXUYm3NvTgtoemTEDr7Y2ry3WranWFWeqEgDTSaAKYPN9oxxJ+2bqJj90OfxvOzrRXxN58ri+vd0Krl9Xx8t/sSIe/nPIdo5NU8CVzVGxg6x+6sF3/j/Ni7AS0FGiM3pPQVtka8Aaa2paax50uVJBLe+7ZRnE8N1vPGTX7yMCEYvwgL/yXhiLC4w73SpISoeSutFB79Ru99LIFUFPWjaL68w+cyIYoj/qVwVTqS7oIzs5NxqD1ptRydyF2zLTVHyBtCSxeX9d3NY97od6YW0jjODjNZgHc+tGnddAWTqlBomRk1bpoSGUfGc+Q2hlJrQ7gwP5+O3XkqlrbYuZigYQQxFDFDf6XJZ9S5d8VdoX3PsjfT1BXtTN7oEhjS15ChA5hz8Hlub7lQVVsc90MxOLzy56zGY5b+Vz8Rk4Tt9BU9wf0zbRzSg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(8676002)(508600001)(9686003)(2906002)(38070700005)(83380400001)(38100700002)(86362001)(450100002)(316002)(4326008)(54906003)(52536014)(53546011)(186003)(71200400001)(66946007)(64756008)(66556008)(26005)(5660300002)(66446008)(76116006)(66476007)(8936002)(110136005)(55016002)(7696005)(122000001)(6506007)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?sQKoOGXpUR+u2CuIgl8unPOHJVZDExrC2vVPKGzGKpu20WjtUfXTbsgL4kuF?= =?us-ascii?Q?1H52mmMD22TtU8o7WnhUYlLHyWh01vNtdQ8ouJyYSE3Uc8w3dcWc+z+XFS+Q?= =?us-ascii?Q?UTZn7Ktlf4XNH/Tv3YBN9H4x+Bd6jiqmbEpoCqbxEDm4wnLO7a5fAoCLBL1a?= =?us-ascii?Q?WGWsCVevzqhwsmDMxwCxGwM7lzpQp5D/zLpJ9Ko3FzjxY4YqcTOWQHt+rmkZ?= =?us-ascii?Q?RgpfWsDB03Ee6L1sPRxvRz5DZWxG0Xb3tyfaX4WT4dIWz8E5LGbVMPqi3olI?= =?us-ascii?Q?E8px3ssKZ0GGOJJ8rvDOdfNgIhOBfxz65jFvF75FKhki/lLFV1agegfxMdnr?= =?us-ascii?Q?de+GWBJARcrfFCLUft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?= =?us-ascii?Q?BEQsYqJpfkvxjrIQUgyE9gB9hSh6CLnrLmtkYjw/Og2MHRwLoplfzSxSqMQR?= =?us-ascii?Q?74wGtltgO3PkfjlLSl948a8Y?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07b8f53b-29e8-4074-3826-08d952a3e10c X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2021 15:16:45.7182 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: anKwyEfaKzbzVnEBqB/Xg0P85Bp3KMIh9TFv/gCBmqaB/B+zuHB7PnxnEFFiR41MBaY+fUrI6ZJr+iGlVkNjcg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5231 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix Tx queues creation type check for scheduling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Slava Ovsiienko > Sent: Thursday, July 29, 2021 3:27 PM > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Matan Azrad > ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix Tx queues creation type check for scheduli= ng >=20 > The send scheduling on timestamp offload requires the Send > Queue (SQ) shares its User Access Region (UAR) with the > pacing Clock Queue. The SQ can be created by mlx5 PMD either > with DevX or with Verbs. If the SQ is being created with > DevX the dedicated UAR can be specified and all the SQs > share the single UAR. Once SQ is being created with Verbs > the SQ's UAR is allocated by the rdma-core library internally > on its own and there are no UAR sharing. This caused hardware > errors on WAIT WQEs and overall send scheduling malfunction. >=20 > If SQs are going to be created with Verbs and the send > scheduling offload is explicitly requested via tx_pp devarg > the device probing is rejected as device configuration > can't satisfy the requirements. >=20 > Fixes: 3ec73abeed52 ("net/mlx5/linux: fix Tx queue operations decision") > Fixes: 8f848f32fc24 ("net/mlx5: introduce send scheduling devargs") > Cc: stable@dpdk.org >=20 > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh