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 7B070A04FF for ; Mon, 23 May 2022 13:32:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 700C842685; Mon, 23 May 2022 13:32:22 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2073.outbound.protection.outlook.com [40.107.95.73]) by mails.dpdk.org (Postfix) with ESMTP id B967A40E78; Mon, 23 May 2022 13:32:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cjp4Js+zz4GWHL4xye5UNESqC7ewlHzefb1ZG3ibwI81+k9LshVp35XyPPlW7yNDpGcwebWJgIpo+Pqhw8ZP7CXnz3s3OtzvhZKFMR5mivffsVhshPqV4JpYQF5ebRad0SD4Y4ZoT00GLWqXXLLlPvh4CO88MocDLSihBu6uzlISP7HlW6S9xSiC2uksu+r2z18FS5vYhDp+/z+YJmoN3CW9J+OukReUXoxyWFLNK6tpkeY434lgxOSYl3K5t00Y2bgYfqekGgucWM0adjXZ0bSwuR3RefBQTw1GK1D6zEOcMDEt04+O12OQbOU+8Os3il+7zxftDrjDlf6IyIB6mg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MVi/1NZSo6vFBTKblVqiZ/HtMonGht7OUYjKC+ZMqeU=; b=aAyDFtdd2vx5uMjMNR1/K/CSa6rW0ycZYz4XebAUb3YakNcohhnVKe95XieOG6UuV/aiMKtG02AhojCU2a9xoaZNzg3FxxgVW3lpA6NB7RdXYFs3Op4io8lKurA8ol3mNElWICfos6X62KT/m2nS1z0LcRrgZ+YsUKalVGLuywAQpm/ukZHxJBMN93QvAVnwErjJ55ZEVc6PuqUpGc8Zt/jE2e5CaBFMJ6yWQDuwABF7gN1BAeKKufxZnU4RE++NW7eDAgqcM6Ln+jB+HE9ZC1dG28/vumUlEsjXQ5kqH6loWobV2JjgXMgMu2vEvgQjBBr34m6wQouvmZQcenLyZA== 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=MVi/1NZSo6vFBTKblVqiZ/HtMonGht7OUYjKC+ZMqeU=; b=LBMKn3fpBTskZJ5ki4FhvIWaChthbOghHgRfnGisjYbagNSlRUbAHYZAaIXl0e/iiuFE+M4YeQctm432jjzsoTAyQ1h2ybV/ebNQfVY05X+nYkXlT0DPrQeSCuay+envDBUWgo9wgH7UdI4LVgFZbbuP+Tpvci8e8RPJS7hP93UkTq/KceVwCDiFfkRt5cKk75IZqcNqXbw7L1iIF0g5dtfNczfSaMn74Z4fWK/6ELafc30l9e4vedqOawk7emrvHD6OxZM1RS/2j7h/qHpsTxadX8biiM8AOlqHQH50TwD4zr3ixuySAe1BJnaS4e1SPh/xE/uSRDxHEthTR1SFxA== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by MN2PR12MB3677.namprd12.prod.outlook.com (2603:10b6:208:15a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5273.15; Mon, 23 May 2022 11:32:18 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::bd2a:f22f:f435:7b36%5]) with mapi id 15.20.5273.022; Mon, 23 May 2022 11:32:17 +0000 From: Raslan Darawsheh To: Raja Zidane , "dev@dpdk.org" CC: Matan Azrad , "stable@dpdk.org" , Dmitry Kozlyuk Subject: RE: [PATCH] net/mlx5: fix Tx recovery Thread-Topic: [PATCH] net/mlx5: fix Tx recovery Thread-Index: AQHYapunyoNzG67AgU6slFawWFaj3K0sXDEg Date: Mon, 23 May 2022 11:32:17 +0000 Message-ID: References: <20220518094232.24197-1-rzidane@nvidia.com> In-Reply-To: <20220518094232.24197-1-rzidane@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: bd78c2a5-1bc1-43b1-5e8e-08da3cafe439 x-ms-traffictypediagnostic: MN2PR12MB3677:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: z+/ZokdFrGfN2tud9Y88wjT78fOaF8UwpeZC3Z7cQagJO/sCLRf1ftvrUrkaGIOlhAqs9lBwHgw4GKtRb2LIE3n8ke1tZzUOsAkh/0QFxt7RhSvODGC+185vRPKvUF3xqvyfMONa5dDjmY4GK5DpWNovnUJyUGLsKzCgSL+DGRcfBRrFE0USdH3Bci2jdZriCM5kJiPQ6hHKIwiQiydHX3cqlbBx67HNGsbzIwxSejZFd91Ogy0/oGKkNcrQb8NUAjkUc9mGpGZm4iEJaT/Bkv6vY4B3dnxRi/T3b/pFLOhqEaHv2iBlkbg+2WvyLuKyNjADj3wsRG05J4gfgDCfmeGbZXdmKtYj82fkRotPesXIqSrwj8YIRRwoENp2HUYLimk5Eut8NsOxV8BIvTDicyaTRgnKMCd+hdgNRvR1GbhridvOC6UM/ULLuiXFQWgh3OcgogP//nrlL3KmoLs0LrsYkwqJYnOCh7Iuh5N2PvvLsXxAlHVJnbaMKaYGX0GjpQLw7mZVdxtZtfXwqNHxX9ZC17vVgOUzoG4IN+HyvA0GWdXo1r5PSSx4P2EztY/UDFR6SzPFaeoovzlNmEfCBv+yO0F/niXJofwfJ/T6eCHR5ykZLt6HBjQlQ28HCGiP1S86M20oOVqrtky7P0/XTW0Cb76j0rDKneCaTLNzAvz0HfOmv4Js+/e1mIAvnLDusMUyfUJeO6kQawBcyuO5UA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(66476007)(86362001)(64756008)(66446008)(66556008)(4326008)(83380400001)(8676002)(66946007)(52536014)(71200400001)(76116006)(450100002)(4744005)(5660300002)(9686003)(26005)(186003)(8936002)(33656002)(508600001)(107886003)(2906002)(316002)(54906003)(55016003)(38070700005)(122000001)(53546011)(38100700002)(7696005)(110136005)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?is37UdToj73j4l54zqtcIb2HYy/0WtBcF4NXJFRZyY2HLvAJSdgDHQxclaA8?= =?us-ascii?Q?FB+BifStIc9QSYd4oInrY4mjIcFwpmnffUelpKZ/TDpHcFNh/0lgd3dZ77fy?= =?us-ascii?Q?afRqlyWEIcqwVjTxp58SEab5soxNxhi6R3Fc3lV36IJBOloEcXTDHZToqqmq?= =?us-ascii?Q?qiSQWPIf0UfXqOZ2WCylIoX/Ps2ZBqYWDf3UVTZ3K6FCoU9ys96UDZaiP8DR?= =?us-ascii?Q?57Tx11XZ9AB8pj4oBfrh4hsk3WkgyLiwPB83t/FHznSfrXdKoxVRyLiskhgn?= =?us-ascii?Q?mRfii5SmcvtbidbK6kciRx5yS/sSIMB1xua5h4xYunevg3B/vqBWI9lIKGC7?= =?us-ascii?Q?9x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UTJAAl32jxEzdU?= =?us-ascii?Q?OWdFfhKPTH0tWsf8/nopnjIJ2Jveebrf7IqkTFFfN94fJ8xz/6HSxrVkY9TH?= =?us-ascii?Q?9HJzAP1nrXIAzddJQgibsoKcx3cxRoEEuLqhY8dErRC9OUm7mlZl5pIiuyMK?= =?us-ascii?Q?X51lgCetDtBKFYZ3JO/XkTJMxr1WBv+emGKy+3xZd+3z1b2ysixjzVCeJ2UW?= =?us-ascii?Q?2IldtPbkLUZ1cStvMuk0zzWaaMsKZlVm6PKWA8CqWwD+pfrlmcie5sI0FiNn?= =?us-ascii?Q?Tx6DDMJD3jJK4BZ/hL/z+ruwWLVgdCmBxnZBWrF2Ywra8a4SDoYiiWPxO6cQ?= =?us-ascii?Q?TTgGaiv47vnypsn1ao7B4Pr1bDhlGdvHT1aszknA8vDIlYOW/9c3CgwI+7RP?= =?us-ascii?Q?dD/1OhgLLxVlNGHDNNzOQTj/vmkfeccpaXd34+NnxrITkO0QnezsmqXgGlcG?= =?us-ascii?Q?J93OEnA9m78xqdWseNONoFdzPveOHmGRcPzudjTNdk9Fo2eSi7/P3sAmdkIt?= =?us-ascii?Q?zU8+teEz4w=3D=3D?= 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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: bd78c2a5-1bc1-43b1-5e8e-08da3cafe439 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 May 2022 11:32:17.1629 (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: PmqSVAvayio71tW27b7C/LZZQEJnQSY93B8vOyJMTIxbzBOZI51UlVRnJgHNmXdxt6MDHvHAJ4aRFPm0MskUkg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR12MB3677 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, > -----Original Message----- > From: Raja Zidane > Sent: Wednesday, May 18, 2022 12:43 PM > To: dev@dpdk.org > Cc: Matan Azrad ; stable@dpdk.org; Dmitry Kozlyuk > > Subject: [PATCH] net/mlx5: fix Tx recovery >=20 > When an error occurs in Tx, and it is moved to ERROR state, it is not > recoverable, during recovery it's state cannot be modified to INIT. to mo= dify > state from RESET to INIT, the port must be passed in modify attributes, a= nd in > case of ERROR to READY modification path, it was not provided. >=20 > Provide port number when changing state from RESET to INIT. >=20 > Fixes: 3a87b964edd3 ("net/mlx5: create Tx queues with DevX") > Cc: stable@dpdk.org >=20 > Signed-off-by: Raja Zidane > Acked-by: Matan Azrad > Acked-by: Dmitry Kozlyuk Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh