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 1B666A0C4D; Mon, 8 Nov 2021 14:43:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98CA2410FD; Mon, 8 Nov 2021 14:43:38 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150084.outbound.protection.outlook.com [40.107.15.84]) by mails.dpdk.org (Postfix) with ESMTP id 63AC940E28; Mon, 8 Nov 2021 14:43:36 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TXVgVEyvkJiO6BkoMy9yCg2SPstlGWNz3Qx2wWsMPMBTw93VSNq5EiYfmBHAQyDIxgA8KJJdk5X1xCNju+do9z/7qa/toiADIJxMdCA7CkSmpyKkt5j+wH9rJETWdxV5Eyo3u/RRruzuUR6k2DZub+iqi79vHbFE0e13c3+OY2G+MCbdDJDzk10pOo6E04d0JOqdUDz8II02xb31XAvPxk8ldgki8x7I4IWLo6nVVtbOMCGgMV+4Kv7Omf5Mws8GvWwYFroOzyTULDbxsQO2CqatL27sVCmKhfXzlyV+8GsTe9mfdtoiBwfBm3dde59UePL5aDGz2udPr8adOFQ+sg== 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=mMtfsSO1u0s3MVRHnaIJLVsIFIN1aramGXo3Q9NUpXU=; b=S6YuDq3NrBO2Bw1I7+SLtJ/W3Abq16vuHeSAheT5Z5yLrndxYUEOqncd41QxsC0GAOUp7jnQUX1AnEGxw0I14gxYZXFGnBOdPUd2xBzYzM89mjdwMh9xz4Q0U5CcpsVeRfkXFRMocAwbvJkt4nFrST0Xiyw3F0v82w8ZTQbdDe6S43XOY0qX+uBsF/KZDShkWRWaCzZP5+FhYqsH8drhR16hrnujqZ2n94XLBFG24jFcPBZhk+JgcH8cdNyvAAMwcRSFBRrWC0zd8Xw9d2HtIEperLdfhPIdsoPxM/tH2qGXQbPdYytsAFEVfGoiTQAbebu01x9pqRLiaWYm1fgf7g== 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=mMtfsSO1u0s3MVRHnaIJLVsIFIN1aramGXo3Q9NUpXU=; b=qcs/D55pwAT1kq1Kqqwe4vR+Y4yLJHm2AWrROQfmz5TsPYLt42TU/3iY0smYA+Yk9LCIezH3GlAOGWxriYucg6Ov0tQwmM/pBUNvxjyOvniv+bUcv3qkzFmpPFoS2MO26PgffHIFFB4LoPtYVy5QRVcCdus6RrP1e76R8lszhOo= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by DB6PR07MB3173.eurprd07.prod.outlook.com (2603:10a6:6:19::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.14; Mon, 8 Nov 2021 13:43:34 +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.014; Mon, 8 Nov 2021 13:43:34 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: "jerinj@marvell.com" , "jay.jayatheerthan@intel.com" CC: "dev@dpdk.org" , "ganapati.kundapura@intel.com" , "stable@dpdk.org" Thread-Topic: [PATCH] eventdev: fix Rx adapter stalls on event device backpressure Thread-Index: AQHX1KQ/QCYTqxYjk0WHUVuOpuqwt6v5o/YA Date: Mon, 8 Nov 2021 13:43:34 +0000 Message-ID: References: <20211108132558.28748-1-mattias.ronnblom@ericsson.com> In-Reply-To: <20211108132558.28748-1-mattias.ronnblom@ericsson.com> 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: 589d6e47-8362-49ee-2d4a-08d9a2bdc2b6 x-ms-traffictypediagnostic: DB6PR07MB3173: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KXbg9I5IkLDWwv9q6/nU084XMtjJhaEDqdH8NtYWt/c7LeO7AkCpeNEYj3H8cd4FljpjXgknjt1OdjJiGagQHmJqMReotkPJ98fY3WvTtK+mxPYFVe0ODkrapyt7imV+VRKixaUi4ss1bah/v2FrAQ2Z4trWqWWx+I7W7PGKjTuY9TT+FdqyStEHBsfu5apPbUG9uDtNoV96mc/JX8z7rOyyzDehXu/DLCPaIYFbtYdNLOVweSg9/TKTIN2ZN0NUP4l/+2bRWF1gSwk7OHbrmvCY+11fLgzNNwQdiy+WD71HDb+UFuKQxHFOeFolRRP+MQbijPgwk+HdTeD9x4SQwmY479LQ5VB5G57oX3kV5nOLmtWPJYIcWhG5vu/2VlDf706JA6oBM7puFaM0omtBBCnzWOn9jWSl4vira3rO/DP7Yc+9q5ot0CVRZ/c8AwclUOwNvHqrMGV4+gB/J/5n9x1crYFxUChFBBKlF3gUqqW/gVmAtf2ZUqhL9w5gKF51AgrPRVO88fay74Bflxl9hvqFHJ9MMhgn40q77PniHNsttY/O/l5ZEOt7FCXUWgeIvD/41HeygcToWnCDN584x5zo2lyJcP5pdKBPnEjixi9BRFgZzuP2zBPvgbflIwaITjCIBhTZD0qMmjFDe3Pn6tUJQOnraT7fxjra1EZ7TxDxKmPjjU7VR4AQQr0/gDV9rwQ8Kd2l2sqqtt9Q36cNkWafvxZ7c+lFkxPCTHrbfTBJ5h/U9hKvrlYebGvIweZTaTGS2AcsjgGi/eJ6eNwTGw== 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)(6512007)(122000001)(91956017)(6506007)(76116006)(38070700005)(508600001)(53546011)(8676002)(38100700002)(4326008)(85202003)(83380400001)(186003)(31686004)(2616005)(31696002)(66946007)(66556008)(2906002)(66476007)(82960400001)(8936002)(316002)(64756008)(6486002)(66446008)(36756003)(71200400001)(86362001)(5660300002)(85182001)(54906003)(26005)(110136005)(45980500001)(43740500002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?eEhqSStQUGl1UnFjWnJCOS9lK25OWENrWC9JbGZCYmFHTlR5aTZGQktXS2U4?= =?utf-8?B?T005cE5DZGFyeDA4UU1pUnEzbTlTRGloWkNCeWNacDU4enkzb1Zlc0xVb3Js?= =?utf-8?B?VW03T0dZRVg2Q0I0MTJtZWowUTFsUzk0Q25XT2xYR3luZzRjbXJxZTdoR0Fj?= =?utf-8?B?WUcrendjazdZMTkzK2ZLTDQvV01qS1ZQS3g4dTl3NTFJaG0zTzgzdnBPZkNC?= =?utf-8?B?TlJtVDlxMFcvOGFlRHdHdTZTSU5mWUUvOWNHTmtRTWFTTitUYmw1UkRIbVFj?= =?utf-8?B?Nmw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V6ZFlEN2ZG?= =?utf-8?B?c21aWnVFbjJCdTJUOWExSW95R0cvQ3VpYUVHSSt3RkVWVXg4UWdFVVQzQ05n?= =?utf-8?B?bG9mRUxSZXA3TVhjRmp1cVRuSkIxbU01MWxQcEhFRExNUVJrcHB0UTZSZlQ3?= =?utf-8?B?SGMvaEt2cUs2ZGlSK1RGekdZMnJBPT0=?= Content-Type: text/plain; charset="utf-8" Content-ID: <0D09870A95E15543987B8557831D8311@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: 589d6e47-8362-49ee-2d4a-08d9a2bdc2b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Nov 2021 13:43:34.8044 (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: tvJz2VEI9iL5yUvrlKLq7fd6THo6VCLz9O9aHQoriV1H2QqrTSsHkgYBGxaOe+p6IKKpH8kY45La412GdJseoD4lqTq7v62rFeErFRIdTUk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR07MB3173 Subject: Re: [dpdk-dev] [PATCH] eventdev: fix Rx adapter stalls on event device backpressure 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" T24gMjAyMS0xMS0wOCAxNDoyNSwgTWF0dGlhcyBSw7ZubmJsb20gd3JvdGU6DQo+IEluIHRoZSBF dmVudGRldiBFdGhlcm5ldCBSWCBBZGFwdGVyLCBjb3Jy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