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 741E6A0512; Tue, 14 Jan 2020 18:25:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 461371C0DA; Tue, 14 Jan 2020 18:25:01 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id A8E121C0C5; Tue, 14 Jan 2020 18:24:59 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00EHOwmx023107; Tue, 14 Jan 2020 09:24:58 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=iIILTwyockhkGetOpHsl2jRc4wr+mG2cCt+3X1/uODg=; b=UJUTdzAyvBxTYEk6zJdusgnyIWP2xf/nXAiWXGENicM21bZoE6htGgcfNTz3TDYkQJJF qVMYw153z4/G+N5qEi7cmXCuHRrd10rjMV+XTm0rtm0WLJUr9Cr/DePaP/HtRNovuQqD FmrDgIE2gF2SwKIASFPmB89W8rAt+Se+NwyQJgwweIQYFx6bMh9LLFaBQJQwzCCBIve9 OEIMZmAgRqelxiV9jixKxBQD9s5FBhFiBcOHVetmg7qXb0OPzNh+y4hTFGEFWFo2wKBz Uvqq9ZQyH3grMtsd9sUgHZjHGIlSA3ommabAQiS1aQiSmATYrCiJhB5tbF8P55me/BhJ nA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2xhc6shbtu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 14 Jan 2020 09:24:58 -0800 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Jan 2020 09:24:57 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.177) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 14 Jan 2020 09:24:57 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i9xxxJNYuDmeiXP8LkNU1kiwkqWQdeEzfChpQytwCVfoD9ZHXbGZuklIY3Di9QpJKEv42uklLzOV79GF9IMRdfJ/6mydSA+W+GjRWI2eiCvqiH/DwqqhjnyNNjQUNCkUKsSkBq8BH8Nomx2Zv0nkUwmaEJPzjd3c694sHwkmlRgQN9ZSx++buXWW9virPOUSCX06/VljUAePWmMUG76tzFmkt0KUIUYzkdkBmXd8PaM5gumkxhlhmM06PMhWO3l4lbtO219ghDzn1hTa69K9i+b09QuBMbGbROP36JONzLNMRbqjAy3FL0EvHaMbO5zh96R923ieRrf8e+EsEtfl9Q== 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=iIILTwyockhkGetOpHsl2jRc4wr+mG2cCt+3X1/uODg=; b=WEbKs3oZV6bQ9ULUiT1kQ4N+GdDiMzYdGM2F4KjdvQNF1l2AdlCvFfi4h0hmfkm/7VfNPddgHFUS4gme5HDRnbqcVCCn9epUvjNLAJgMBQjtUtbDQjybOZWl/MdbvD/7FySdyJdn0lqaj8u0hOG+2cly+lRMVTJqb8M8W+D3rA8CyzalD47A2lAJ147Zg9yuBjPI/t4XlMB3LQRf/QYrR23t2QXTqUL/HeQc6Ti4Y+6Ugs4nZ42LPq4T2olD3RsWN7/nLraxJJZPgFUYXcYe88I0fzL+jzasIP3DtNPvWUeO78GLV6Nmhp37uu1wwx7T21MDvW7rGiPpjDtMgQWDgg== 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=iIILTwyockhkGetOpHsl2jRc4wr+mG2cCt+3X1/uODg=; b=n3jNsprYV99Fjn/ztEh9G1ejdZU3OriVxxwSN3K0HN0da08PHAnHEf/RZy3T74kLzEJPEatOq0paOTWgxdQNeY+845NKOw97cR94GkAhvAm3/13F/tq0tl0kw5677qf1ZR89H1VlUq0vDHBTTB+cjmJQCFG4L6WBrlwpTLpqv2s= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB3063.namprd18.prod.outlook.com (20.179.57.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.18; Tue, 14 Jan 2020 17:24:56 +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 17:24:56 +0000 From: Jerin Jacob Kollanukkaran To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= CC: "dev@dpdk.org" , "niclas.storm@ericsson.com" , "stable@dpdk.org" Thread-Topic: [EXT] [PATCH] event/dsw: immediately flush buffers on zero-sized enqueue Thread-Index: AQHVtMsoe1O2xzxt30O8HLPngDpl76fqlV0g Date: Tue, 14 Jan 2020 17:24:55 +0000 Message-ID: References: <20191217111344.27468-1-mattias.ronnblom@ericsson.com> In-Reply-To: <20191217111344.27468-1-mattias.ronnblom@ericsson.com> 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: eb14cda2-9c17-4a92-d90a-08d79916ac95 x-ms-traffictypediagnostic: BYAPR18MB3063: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2582; x-forefront-prvs: 028256169F x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(39850400004)(136003)(396003)(376002)(366004)(346002)(189003)(199004)(478600001)(6916009)(5660300002)(33656002)(52536014)(4326008)(53546011)(71200400001)(81156014)(81166006)(66574012)(8936002)(186003)(8676002)(55236004)(7696005)(26005)(66476007)(66556008)(9686003)(66946007)(64756008)(66446008)(76116006)(55016002)(86362001)(6506007)(54906003)(316002)(2906002)(14773001); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3063; 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: laj1u10T4zCsZpUYdmEoL74SVH1g2ZtAOxFNw4Xs10eFb7GiuHazhtpEyw+X20w7plzg0WcWiBprfHwxB1RDaIVdxFMl3+55IhK5KxZc/BWndVfn0ACrXWdB6ARlPHlkz6JrxvNfEo07XN2tpV3Bs4wJLCfzTwV1VoPhTQvp6cbFW1gI4/9fhKokwQehrUGfRVb1Y7MpmWbeulXlFEH1bHHMim7DbUtk4rW85eI00p+scacY17HkfEuubCXqnX6Kzzif/TcFRDJAHPh/rzoxC/eG3Hp8HUYJ2I7T0poGmmu4sosAquNMNpKUja4cVIdlaYu4DIkZhD0qB+mNHfSYqxlNWqSrJ/885+5QHeW3+QXwio9+YeATqnXDR4THHIt5CmTLuKwm0OT5lM7zNw+jvlayAZyv6KrwSjfgA3O7QPTa04aVYMKEeF/FgwP0X648WRrbqmPpP97V351d+VWEWYnNHdYVE9etGHEr2d5nzmk= 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: eb14cda2-9c17-4a92-d90a-08d79916ac95 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Jan 2020 17:24:55.8147 (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: vHo5EeBVlo525qwd4uWAmTt18ds1GSEYAWDY3I1o8LFVvi8XTzgAmQlkn5WpBrSTABgaznXjpgWKt4WdwbsbGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB3063 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] [EXT] [PATCH] event/dsw: immediately flush buffers on zero-sized enqueue 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 b20gPG1hdHRpYXMucm9ubmJsb21AZXJpY3Nzb24uY29tPg0KPiBTZW50OiBUdWVzZGF5LCBEZWNl bWJlciAxNywgMjAxOSA0OjQ0IFBNDQo+IFRvOiBKZXJpbiBKYWNvYiBLb2xsYW51a2thcmFuIDxq ZXJpbmpAbWFydmVsbC5jb20+DQo+IENjOiBkZXZAZHBkay5vcmc7IG5pY2xhcy5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