From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 60B761B73E; Mon, 17 Dec 2018 00:12:03 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id wBGNC0tr029692; Sun, 16 Dec 2018 15:12:00 -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-id : content-transfer-encoding : mime-version; s=pfpt0818; bh=1pOt9L4W8iTIGVNow5+rB4txz1ya6vSz5kFacuXti10=; b=Yi0Z7+EI7rXJd/hkpWVxTSoOmIYBJRmUaVxb0xAxFvnchzG6K+2TzlxfEdjrBP79xfqH 4Wta7XJkQ4vBk4UHq3625vGEXbL/rdQH2exyuXj1grO0mKFCag+cVT7jhc20lE0hUOhF 2GqMQap1D/rKbnptxwVh+KoYI3SVxBGmeywp+AzWkTf8aV0PXW+2g30D34f0WzeGmsLz Cxkx2Bc1IaNdOCWqPSqVgOtDB5WPqOFvSQZR2VYdBOjii5wpHHKXUDoW9pQlO5OwzTjo iQNGTawrxBLKXYRedLQaA3fNQkmpMkxjov1wd+Z12WDn1sRoOpRvd885zQ5DmbDLW7Bg OA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2pdum60ps1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 16 Dec 2018 15:12:00 -0800 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 16 Dec 2018 15:11:58 -0800 Received: from NAM01-SN1-obe.outbound.protection.outlook.com (104.47.32.54) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 16 Dec 2018 15:11:58 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1pOt9L4W8iTIGVNow5+rB4txz1ya6vSz5kFacuXti10=; b=ZeQ39INu96kcEBrnhvH5zPpXmOm2aQJt7HaamW2SBHzdRZq3TlZz3kiIyUOk28IMQ2VchbcwjcpKDpRBahUErnhOFILpQ8rHo113daGJZCV8hwNhupSIpkMJM0ndNTIJkEZ97t6+FHdBMVa+HXPw2SKTgsdKjnfF50s3XwqYC4w= Received: from CY1PR18MB0584.namprd18.prod.outlook.com (10.164.217.134) by CY1PR18MB0217.namprd18.prod.outlook.com (10.163.52.154) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1425.18; Sun, 16 Dec 2018 23:11:52 +0000 Received: from CY1PR18MB0584.namprd18.prod.outlook.com ([fe80::259c:46a2:412a:b645]) by CY1PR18MB0584.namprd18.prod.outlook.com ([fe80::259c:46a2:412a:b645%4]) with mapi id 15.20.1425.021; Sun, 16 Dec 2018 23:11:52 +0000 From: Jerin Jacob Kollanukkaran To: "nikhil.rao@intel.com" , "dev@dpdk.org" CC: "jerin.jacob@caviumnetworks.com" , "stable@dpdk.org" Thread-Topic: [EXT] [PATCH v2] eventdev: fix eth Tx adapter queue count checks Thread-Index: AQHUkr0+A8WzgMp9LEKh2lt9KKIpI6WCA/gA Date: Sun, 16 Dec 2018 23:11:51 +0000 Message-ID: <56dcbf563d2e37698abf25b8f3b5fc15803955f6.camel@marvell.com> References: <1543489908-60688-1-git-send-email-nikhil.rao@intel.com> <1544689402-175655-1-git-send-email-nikhil.rao@intel.com> In-Reply-To: <1544689402-175655-1-git-send-email-nikhil.rao@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [108.20.23.67] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY1PR18MB0217; 20:vqeteaX7bTMDxwe3y6LOnWMoafXzachv7gw7tOQjNJz+mrOx5IVWOoiIFBmuazpgYvay4xJfATuDgh4Dt9C1hMBm15wuGsVSFjXFMzANmzHtrBpkFx8vAqG0Ajh+ZESQXfOqFfM3dMsnMp5gH26hyYvA6mCJe9bop+qoH2A/7H8= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 43d5be58-ade5-4cb3-3270-08d663abdd82 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY1PR18MB0217; x-ms-traffictypediagnostic: CY1PR18MB0217: x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(3230021)(999002)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231475)(944501520)(52105112)(148016)(149066)(150057)(6041310)(20161123562045)(20161123564045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095); SRVR:CY1PR18MB0217; BCL:0; PCL:0; RULEID:; SRVR:CY1PR18MB0217; x-forefront-prvs: 0888B1D284 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(346002)(39850400004)(136003)(376002)(396003)(189003)(199004)(229853002)(6436002)(6116002)(106356001)(97736004)(4001150100001)(3846002)(446003)(105586002)(68736007)(11346002)(66066001)(316002)(54906003)(5660300001)(478600001)(2501003)(14454004)(6486002)(86362001)(25786009)(36756003)(71200400001)(256004)(186003)(99286004)(4326008)(6506007)(26005)(102836004)(81166006)(110136005)(53936002)(305945005)(7736002)(71190400001)(76176011)(8676002)(6246003)(2906002)(81156014)(118296001)(476003)(2616005)(486006)(8936002)(6512007); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR18MB0217; H:CY1PR18MB0584.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-microsoft-antispam-message-info: wZR5iC3SkpeQYYCca67pwQh8mchuaJwGX8QfPBwsbx+cMsX/9SUDn9OyYUaLHsZSWJD5o8UW5//1it/kRSh8aZSSDuelrmKJZyoRQldWWxQl9f7vLy1zIBL8W9v1wr2cwqUzCbBlIiWmuEcidBxg/jrGLhJxAMhw/bG7POGjVAXyxLB3dByz2Z8BmOWoqQ3ByFUpZdRIudzXszT6sN4L+TFbt8XhuBS3O4LpftD7v02cLNSEz4o8eVF1YiaCS3VnRNUCObeNgjrQwuB5EeM4MZMoo3iMb17VP0vIPvlm8xGWAQ1QlLQ8d1tirAVuzI8a spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 43d5be58-ade5-4cb3-3270-08d663abdd82 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Dec 2018 23:11:52.5658 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR18MB0217 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-12-16_16:, , signatures=0 X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812160216 Subject: Re: [dpdk-dev] [EXT] [PATCH v2] eventdev: fix eth Tx adapter queue count checks 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: , X-List-Received-Date: Sun, 16 Dec 2018 23:12:03 -0000 T24gVGh1LCAyMDE4LTEyLTEzIGF0IDEzOjUzICswNTMwLCBOaWtoaWwgUmFvIHdyb3RlOg0KPiAN Cj4gcnRlX2V2ZW50X2V0aF90eF9hZGFwdGVyX3F1ZXVlX2FkZCgpIC0gYWRkIGEgY2hlY2sNCj4g dGhhdCByZXR1cm5zIGFuIGVycm9yIGlmIHRoZSBldGhkZXYgdGhlIHplcm8gVHggcXVldWVzDQo+ IGNvbmZpZ3VyZWQuDQo+IA0KPiBydGVfZXZlbnRfZXRoX3R4X2FkYXB0ZXJfcXVldWVfZGVsKCkg LSByZW1vdmUgdGhlDQo+IGNoZWNrcyBmb3IgZXRoZGV2IHF1ZXVlIGNvdW50LCBpbnN0ZWFkIGNo ZWNrIGZvcg0KPiBxdWV1ZXMgYWRkZWQgdG8gdGhlIGFkYXB0ZXIgd2hpY2ggbWF5YmUgZGlmZmVy ZW50DQo+IGZyb20gdGhlIGN1cnJlbnQgZXRoZGV2IHF1ZXVlIGNvdW50Lg0KPiANCj4gRml4ZXM6 IGEzYmJmMmUwOTc1NiAoImV2ZW50ZGV2OiBhZGQgZXRoIFR4IGFkYXB0ZXIgaW1wbGVtZW50YXRp b24iKQ0KPiBDYzogc3RhYmxlQGRwZGsub3JnDQo+IFNpZ25lZC1vZmYtYnk6IE5pa2hpbCBSYW8g PG5pa2hpbC5yYW9AaW50ZWwuY29tPg0KPiAtLS0NCj4gIGxpYi9saWJydGVfZXZlbnRkZXYvcnRl X2V2ZW50X2V0aF90eF9hZGFwdGVyLmMgfCA1Mw0KPiArKysrKysrKysrKysr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