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 43C5BA0512; Tue, 14 Jan 2020 20:46:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8A75B1C126; Tue, 14 Jan 2020 20:46:09 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 6A0F51C124; Tue, 14 Jan 2020 20:46:08 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00EJh7GJ019742; Tue, 14 Jan 2020 11:46:07 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=NHqo0RTDhw43hu0P3kkW89aGb9TURUN2ocO2l1efkJI=; b=ha2OYz+YaRq0qymrVAgnlVJBaaLyXIWFqtg0+/vumdTU438GO+isXoPvv+WOW0uNqYrl te7ubqrCasT1TBcoNU63e2EUjGeMs3hISjkd6MQQ8za2nVBwGuLICFtMYxVSszv8vyqA Ejp+e2mJYJ3dp9ITkg8CNCgQOugQTVK/oUidyAFFubZpaUo731RjWhQKjsPALMbwhehV rST7VbxveoH4hnEeeEpSKe+cUZ+jSHyFUMFMgRHm2EyKA9ZWjJ53tbD5jf/w/oWWZVMW 7/FKWHhxOsVMZQesJLIvZDVd0UKWW7vy1RqbE/a7hJ8bb9S29dBIxC/wiIESAwVcN9bB pw== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0b-0016f401.pphosted.com with ESMTP id 2xgng4x56d-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 14 Jan 2020 11:46:07 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Jan 2020 11:46:05 -0800 Received: from NAM04-SN1-obe.outbound.protection.outlook.com (104.47.44.59) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 14 Jan 2020 11:46:05 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b4pcfD3NkUYhSq/BDSu7eGsTI+1zlngdihrsCaHc4WHqno/KG+I5qB9JK2pwbZTXV0/4iN63QDEEHANbhnwQp/lZoP33Ddn0GWg+z9Hr+5sxRt9zku8XXmT9Zr9OJl6n/7hfK+57W9afoRCTDKYTG5HtWfpRyJuW3C3ksKVlHTsawg4Aq7bOk7sTCu2p7FWAgHo8Fg28ffep7kdxWhCAcmQxdItboQFU41dmmNcSzdXFwqyzVaz1swBccxIQp2OlE97TdE22AbfwrgxThHGYeNdz/1YWi7qzNq7B7ReV9r4e482iVDoEmzJ+MJSjzYlx8FdyhXPOIX3X3+cpFobrpQ== 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=NHqo0RTDhw43hu0P3kkW89aGb9TURUN2ocO2l1efkJI=; b=XNGjOtf8V1laqzlvCqO6V0lxuFgazxT1MpbWWwk7J5KQQ5hrwXzaQ49VU3X/pwE9UzqG39HzG4NBsqRa36Xqiwu5kzy5TBbOPvb43REXoLZGTKDSyUjnFeXotOeg6OPu5conP7ddBkhJ0aGH1zUSp8P3jC6D40sOel/iyeOcII1ad6BQgmJz8iSGi7jjrN6J4//fDSoFTUXkVrxN4+8jqn5lGKw2AWxNxu8oMsyO757Pvbl3ST54BDCimxBjT9zUh8EHcCkwSXperjUZpIPdunh3uRwtaAcfKrI8OLK6kc/s+MojhSd/SSsqOgDmiGZi2wMp+bIlKxlPS0tc+00jAQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NHqo0RTDhw43hu0P3kkW89aGb9TURUN2ocO2l1efkJI=; b=qWf9nNIhlkqhJD9FZwS8J3lhfaq5PVnZ2z2WE8q3NI+5f71/LRyVBCc6J49RDQ8Rp3o5JOORkKvheAZkTSCmmdg6n1scsgqHdF5viQg0vklQBwZf4mmCBF7IUTTrdGUiDJ/4Z/4JmR9umzDKYZK1E0vC/XBpyDhav+6Msfl9bwE= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2679.namprd18.prod.outlook.com (20.179.94.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2623.13; Tue, 14 Jan 2020 19:46:04 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1518:7b9a:3d96:4a2c]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1518:7b9a:3d96:4a2c%7]) with mapi id 15.20.2623.017; Tue, 14 Jan 2020 19:46:04 +0000 From: Jerin Jacob Kollanukkaran To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] event/dsw: avoid credit leak on oversized enqueue bursts Thread-Index: AdXLEz+NDSnp12YVTkerjZ/wA8Nz/A== Date: Tue, 14 Jan 2020 19:46:04 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [223.226.40.251] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ee8fdb8a-f7ac-4dd9-3589-08d7992a6453 x-ms-traffictypediagnostic: BYAPR18MB2679: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39850400004)(376002)(396003)(136003)(346002)(366004)(189003)(199004)(6506007)(8936002)(6916009)(8676002)(81156014)(81166006)(7696005)(54906003)(2906002)(316002)(478600001)(33656002)(86362001)(71200400001)(186003)(26005)(966005)(5660300002)(66946007)(66556008)(66476007)(64756008)(76116006)(9686003)(55016002)(66446008)(53546011)(4326008)(52536014)(55236004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2679; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SFyn9sr5Oxqj8an2WZiwkFVjEPFp3+vTJ3kS+vxpgQOPk3F3+P17KFXZ1QX8BZYCgUZs1tsCJkJnF5cyLrPjlAyIxSVf7FTb/RFeCioC146sqcZHzbITzAYGaanz9XdYzjkx954gIEtmNac6LSgzSjOu+Kbyu9rJ9+fEYzky7opzaVopVn2Sj9CrDX21zOge5yjFUpnoGudagjZugYHvBamJm1vc3IMzn99knyp7PCKAiSyfWXrEYWRU+LSH71Roqpq/66q7UfNSM3FP+hyXTh6dtJnoTKEbNNXuSebl98dCZphmJxiNej49VzBfZzB9vdT14XrawNSyp3cU7q2tB+48k3jTcgoAWI2Q7ISamiBZkjybPimx5iM4yAzO78q+57uVTyGzMpxXWlPjSRSt3ulHoGXziy3Kl8UbLN1rpZCMLcQJVvIphFTw3EnM9qmXcNnS+IfDR1r4axyPvA1remBNE2wOdaiLn2urK1BM8MO4qLjBRRA/gPEnZc9Rj59f3OW6XodYBURpchC/hSBsyA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: ee8fdb8a-f7ac-4dd9-3589-08d7992a6453 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 19:46:04.5196 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2UADvjBZIAuHGC88qgmjjsQAmsy4Da1WsIFEwehXbNzEbvDr+88PrMBGZHbnOehGPXRDqak6lSYLSCGXu1EJQA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2679 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-01-14_06:2020-01-14, 2020-01-14 signatures=0 Subject: Re: [dpdk-dev] [PATCH v2] event/dsw: avoid credit leak on oversized enqueue bursts 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF0dGlhcyBSw7ZubmJs b20gPG1hdHRpYXMucm9ubmJsb21AZXJpY3Nzb24uY29tPg0KPiBTZW50OiBUdWVzZGF5LCBKYW51 YXJ5IDE0LCAyMDIwIDExOjM0IFBNDQo+IFRvOiBKZXJpbiBKYWNvYiBLb2xsYW51a2thcmFuIDxq ZXJpbmpAbWFydmVsbC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmc7IE1hdHRpYXMgUsO2bm5ibG9t IDxtYXR0aWFzLnJvbm5ibG9tQGVyaWNzc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