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 C63D8A0C41 for ; Tue, 9 Nov 2021 12:43:37 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B994341104; Tue, 9 Nov 2021 12:43:37 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00056.outbound.protection.outlook.com [40.107.0.56]) by mails.dpdk.org (Postfix) with ESMTP id DB4E44068B; Tue, 9 Nov 2021 12:43:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZHjtXT4zIGaX7N4OYOt9CIT+hOFx3WNhFAOWPuFOWzj7vfRp5ygLqmpt8F+r/2zCJm41HPPgoIbsm8nu71a2G/9/YPz2fj5EbvWBxWXAH7iJujBfCuq73zsVL12FOZZbnrxRXu3dnJ6shHBQ0uqrypu0xd++nJjvq2PhxRhAuDzBF8kLqbz+mZ3no8lS2PuHMbrk1U5cVhYeNUNT8n4EF+x72wj9aF7SfqvyLKbejmHBlsRGWmF6UzeBHbm6Y8AtKej1iX8FSpSmx86p4UvoNmNp7VXjybrcLEP3ZMN0ax7YTwFBq9wK/XuiKU49K4RL+9kc9ZYc2q83gOX3h6DXRA== 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=4irwrvFaibLedQS+vzHuA0go8rZi8d7qQn4XLDSydl0=; b=OyRw2lP92kAuJYqNruIa/AD00pUzfmoHG3pLVwnv20fh4PpTPzp862omH92d+KjSPxG/uhK0SeCfkEwg9WMTNsA0ly8rVQcngesXWBMXP1jCbhBbrMfD8WRlvG6nysPaQdZj8B6vHAnqNueDTjJFb68IRs10xGlLdjrfC1L/3slWDMn2m2OBzb8CzPjc1l5LEA4YLGXniCeK2YP+AD0PItlho+dsBKS/axq3+rgJejUigwvVhBeK50ELniCn/jGXCR8oRHz+dau/Xzi4czR6HvFppjknolaKxxRE47jwsTVFIVWPguNbB//k1e2dV4LMnEkYH+mFKoRaJwMKlSyqaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4irwrvFaibLedQS+vzHuA0go8rZi8d7qQn4XLDSydl0=; b=EaLHxy6N3gQh+oYJJK0ibqSa1vrGwnMykY5hRJNVTUDqtdlpvxMj1rjnD6Sng7L1VXsFfiQ38V3yr4J6Fe3XH1XT5H9PV25pc/tm0zpdtNh+AgfxS9TFqCRucA53cAq4Y+0eDc3WZDCcXP/EENC55FRouFWBkXQPb4s5gN8mtn0= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by DB7PR07MB5708.eurprd07.prod.outlook.com (2603:10a6:10:83::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.5; Tue, 9 Nov 2021 11:43:33 +0000 Received: from DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::8b2:d48f:7cb7:8b3d]) by DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::8b2:d48f:7cb7:8b3d%6]) with mapi id 15.20.4690.015; Tue, 9 Nov 2021 11:43:33 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: "Kundapura, Ganapati" , "jerinj@marvell.com" , "Jayatheerthan, Jay" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] eventdev: fix Rx adapter stalls on event device backpressure Thread-Index: AQHX1KQ/QCYTqxYjk0WHUVuOpuqwt6v5o/YAgAEYJQCAACIZgIAALPCAgAAJn4A= Date: Tue, 9 Nov 2021 11:43:33 +0000 Message-ID: References: <20211108132558.28748-1-mattias.ronnblom@ericsson.com> <240c3c83-f0c9-3b51-0bc5-ae040ecd340b@ericsson.com> In-Reply-To: Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 26666d9c-39bb-45de-9fb5-08d9a37628e7 x-ms-traffictypediagnostic: DB7PR07MB5708: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xgqQ72VbYIv/67B7bijajGGxRnjMFRp7p3cwhmRV3DG/qeaXsSAhkmqTXPtwsmbY1e3yrRk1N7oLu0A2A5jpBNw4Yyz1WNzg2rkepipElAGgLY34weDz3cqcaGkbkjnictzTfRr9NK4IMEMF+wlX1JSbp8dBcM8DptbCEveqcVcGlIknf8Qm13q3XMptgT81ZpmP1+tIenBzyTO/ZriDHD/E57ecEfy4wtoifLMVfKQeqcNLFhEFl0Rw9/PyV1dVCYVrWqPHMAq4x07QaUsbiiz53ZhRKcXLzF7uVjEYCMl/L4Ghtgo2s0GuwVn+oT8oe9AD8+TBFNRg4MkpRilD4lThtXGAM2tcFigxKJLp7NqlI0eqO0C6ks1xdco8DN9JtpvY88Obra16dq1xUdpWh2t4NzTSbLExCZyV1JrgP7t3bLHQ7Ea9KebnxHs5PGx5UtQ+RQnuvPL04LCYhhjomlZQJ9/LjgX3d/vechwmt9ZbSfkBw+tzo24zIU4tyWcfdquk4ipczHr4Nq1wu9Zwip7n+UtXVodRS+p+FiTxLv4PILTPGwodGByf3tl62Sgk6ognkM5FgMS+ilsP6nrKB2OUdstkFcS7hGJAnV4ONkSCGN3POlHEOZeYAovzXK11pKENWPhYUoRIgJ3XW69aNuiV2Y6jo3AjJLDLuVE+lEpI6oiVTSH1ab4gFc6vOn5v3248XsP1f7HWyRNcyGAVd0Tegv7gNphrcx0hfOhQxINulgBeA+LSUaKr8tnOyCWL64AwNm7g3po7p2zmDiFHvg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5978.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38070700005)(6512007)(83380400001)(316002)(6486002)(5660300002)(4326008)(31696002)(86362001)(82960400001)(110136005)(54906003)(8936002)(71200400001)(8676002)(2616005)(85202003)(66556008)(64756008)(66476007)(76116006)(66446008)(66946007)(31686004)(38100700002)(66574015)(186003)(85182001)(2906002)(26005)(6506007)(122000001)(53546011)(508600001)(36756003)(45980500001)(43740500002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?cXY5bHlLYmgxN0hRT25tYThHdFBqdVoyMW1nZ254V2pJQVRTTDNsTUZvRlJ2?= =?utf-8?B?WTF5bmZCaUZkQy84WWJ4SHJMN1RlSHlRd1ZnZ3pMOHRncmhJeVp6bGtoYlBh?= =?utf-8?B?bGZKN1M0MFo2TzV6R0tCN1pmcldwQnlCQmViTzNXWEZPTW0razROU0YxS2d6?= =?utf-8?B?Nks2NjJ6ZkRhWEFWRzg3TnpTSGttemVPcGgwZmluQWllR2Nma2RucWFUUGl5?= =?utf-8?B?TmtMaTIweUtvQ3dXWmo0d25yb3JaeDF5OThOSVhFTVNoV3h0eWNUamN3bEdD?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FNmT3lPQURzWWpzWDZ4V1h6WVRuZm5QbFlKQjEzZThoclgyNVNP?= =?utf-8?B?QWdocHNtODc2R1lPZ1BpRTI4MkxHOGRCSWVTYnlwOG5hQ01zd3NJQU5halhh?= =?utf-8?B?eEhBNUQxSG8vckphcEZIUUlrcWw3bUowa1hBV29naHZyWUJtVkRvOGltN1RG?= =?utf-8?B?MmVFQ3UwL3A2NXdzRGhndmJLZ3Z3PT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: <0B17FDDB59A4334999BFE023BD02644F@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5978.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26666d9c-39bb-45de-9fb5-08d9a37628e7 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Nov 2021 11:43:33.5393 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jIJNimfuYsL9NvCp9ozox026H6UmX6mN5XoaLqHYuTXip4EKJy8WqHDUQsxZAuDWirYVBW7QkmoOT0t5HZHpAYp9qepiOa0WMsNl/n+Fnfk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR07MB5708 Subject: Re: [dpdk-stable] [PATCH] eventdev: fix Rx adapter stalls on event device backpressure 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 Sender: "stable" T24gMjAyMS0xMS0wOSAxMjowOSwgS3VuZGFwdXJhLCBHYW5hcGF0aSB3cm90ZToNCj4NCj4+IC0t LS0t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