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 7F440A0350; Mon, 11 May 2020 15:33:51 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 62E8A1C1A6; Mon, 11 May 2020 15:33:51 +0200 (CEST) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com [40.107.21.77]) by dpdk.org (Postfix) with ESMTP id A53E81C1A1; Mon, 11 May 2020 15:33:49 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QZ6XRzXRPuxKfXfMqYiSlqr8tVjd+/XFyQuAHOvwOgwTPBk+zE6e+P0g8d3Y0YTVT+zSQ63K2yW9v3xHn9rIr0gf3YvOY1GT4J53kXvHcT+WVUr2LsJlOUu0bdZ47VQTbG2EbWanDP28wOdgCXsS2nIs8XhDHDCJ22wDhbonazK4hfnandIfpG8haw3GaStkDxMZI7d1EbDOfzcX8ooETNSTSwEeYeQUWAiADh/x7qT5tjFgkMdQnyUgD09jovdnaqrnuH0Ty4CLvF4yfqZgcACeOeGgFzTOZcOzWH6SZv6b62pwzE96Z0AskGpUD3wg9Xe+/gINZ5ldGOUeFsBCag== 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=vVjQTWlMKwezxolPLIPvs2n4ZrLkvDfXdgKCG897SsI=; b=IaNKJoRyYQXJRwXFGVY++Kn9/2FSIRfYqTjcz4valgn0g2VVy+Xty4cR89DL0MKX6VgdhKdotENSPULLEqkuO7zhKzpGdf+Hw9E6b8SDNuOnBarYhXsIK+2RNqqzbSnniesqKfbi6Bmntmn5N5wiomGDGSI3JcXC/M6WMgS61hVw2FtjWzixWF5+eYo6PdxHdUi8UrxO5utlQ3GWm2vT74wGQFAPfLCjHrPi13LM1IGB3aTB/saHxDxid2OMuJ27oHxumAKQtsaMug/UmZg03dvVrQ50Gw1nHkzdfk9pNxMXDh931IC9DH3Ue6aCL+LUoqp9beSxaL1DLO6sZK/tOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vVjQTWlMKwezxolPLIPvs2n4ZrLkvDfXdgKCG897SsI=; b=aJqIEtZkYmu555T27gdMo8SPYJYPciZ2K4hqGHtpFM9dP5MEApCn9aMdqaWualDz4NdUEDDpjJP9NyajsnxdBuEEi+NiEWOmAfF4U39kqrtaMNIsufzfIPtB/8r17J2zrtCPmxEReP5kvSLX4J6iMZnjlphIQ16bzBcBDnu/D94= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB4817.eurprd05.prod.outlook.com (2603:10a6:208:cf::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.27; Mon, 11 May 2020 13:33:48 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e%5]) with mapi id 15.20.2979.033; Mon, 11 May 2020 13:33:48 +0000 From: Raslan Darawsheh To: Michael Baum , "dev@dpdk.org" CC: Matan Azrad , Slava Ovsiienko , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/mlx4: fix drop queue mem alloc failure handle Thread-Index: AQHWI8Nj3kkbWdN79UGRbtcUdSpqzKii6gDw Date: Mon, 11 May 2020 13:33:48 +0000 Message-ID: References: <1588782474-17314-1-git-send-email-michaelba@mellanox.com> In-Reply-To: <1588782474-17314-1-git-send-email-michaelba@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [188.161.229.217] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 42c47781-0f53-43c1-cb9d-08d7f5afefb5 x-ms-traffictypediagnostic: AM0PR05MB4817:|AM0PR05MB4817: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:983; x-forefront-prvs: 04004D94E2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5gAdvHJVSLRLk/07ZKmvL0zHegkwX11pVF43CAxpJZPjaANtiAdE59JZwcJ3DuVwMXJJi8i+D8nrmd6/UUgTjiyFToQg0oCqaDJON96lDWnmuV45sByDypClHKBqBy24REYwBi5byB3qGF3/LmQVQIPvlcwAFKs1cM0FIlH8+vETyJBNeFj/2z0nm7ck43x/ZZh/Jz+q3gMZdtqMKX1OYl2IraZmYDJCXF4NVo7zOpmLFiLvePbBTrfQVPDh+zFaYi3AxMR+PIdV+DYogJPID0HURGqxycohdHvERsmE3LV8/0isWZeG+pN7Sww1YvN9CtVmdWjO77nURECLYwTejlBFPGSIR5UTrQllaC66XCpjWJMYwWhwciFPyNszNyiWhubb4kl732NmLUra50ZCeAkYEGBWAK/cTC2F5xCYbLrW5BAY2egrtSKLH5OzzCxKA1RkfpeBBTAviqmxkIQD12sxvor/MG5LK0fy28ASsZukr8Moy2BwMosobbb2A17qFtAHbpBNfqxePn9/tYUqnA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(346002)(376002)(366004)(39860400002)(136003)(33430700001)(55016002)(478600001)(186003)(33656002)(4326008)(8936002)(450100002)(7696005)(76116006)(316002)(110136005)(5660300002)(54906003)(6506007)(26005)(53546011)(33440700001)(9686003)(52536014)(66476007)(71200400001)(2906002)(66446008)(66946007)(86362001)(64756008)(66556008)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: A03+kUEM+Qgs9h87tRP36pop9kKmAAVn943PuMq5kWhNvCYKheZzLsKcw1Es2awDi98F55uuPbBjDevd3W5aXnb/cIs5EE9d3mS1hOXAlwvVq0jls/PuX+Ht7BmQRZCFoxzYZRPGZYnQn5GfPLDpx0HlXv9CxNkhsadUTF0oJq/lQcs4tGgIsMCF9obQD3NJhlR6XGn/Che6WtTEQvAwsFOZ5uSs8YfMwF9DsOwGWUgOdwGZ7FoDDsPtkK2EFt+iAgeVYQasC1FlVxExV8B2idVKCrscaUcDl2872NxNpr/u3GvM/KumxJOx9HRCtdhHB6gqNNclV/EfTv20V7vrNndPc1uvLM4fDH2hxr/oAiRzN34qdG2BAWW48AlE/ir3HTE2Sy349eMb7gZAHmXVHcLF1TtmOz5pHYlA94UfeHcGL6EvZrjGL7a12tjDZ328ZDkyUi3FrwYOeUgwZSZNidj9gJrxEC3XhKffOdPVRyNmygTqnX/7tCNhdU7/MXDs Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 42c47781-0f53-43c1-cb9d-08d7f5afefb5 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2020 13:33:48.4392 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 7c7GLYWwNFHuH5KBmObGEJqAIKsN19I5nQxI87IRCFXBa7vJQM3BFBvEcg6HILA1au30z1nsRe5X9t2YWRej4A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB4817 Subject: Re: [dpdk-dev] [PATCH] net/mlx4: fix drop queue mem alloc failure handle 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" SGksDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IGRldiA8ZGV2LWJvdW5j ZXNAZHBkay5vcmc+IE9uIEJlaGFsZiBPZiBNaWNoYWVsIEJhdW0NCj4gU2VudDogV2VkbmVzZGF5 LCBNYXkgNiwgMjAyMCA3OjI4IFBNDQo+IFRvOiBkZXZAZHBkay5vcmcNCj4gQ2M6IE1hdGFuIEF6 cmFkIDxtYXRhbkBtZWxsYW5veC5jb20+OyBTbGF2YSBPdnNpaWVua28NCj4gPHZpYWNoZXNsYXZv QG1lbGxhbm94LmNvbT47IHN0YWJsZUBkcGRrLm9yZw0KPiBTdWJqZWN0OiBbZHBkay1kZXZdIFtQ QVRDSF0gbmV0L21seDQ6IGZpeCBkcm9wIHF1ZXVlIG1lbSBhbGxvYyBmYWlsdXJlDQo+IGhhbmRs ZQ0KPiANCj4gVGhlIGZ1bmN0aW9uIG1seDRfZHJvcF9nZXQoKSBjcmVhdGVzIHBvaW50ZXIgdG8g YSBzdHJ1Y3QgbWx4NF9kcm9wIGFuZA0KPiBpZiBuZWVkZWQgYWxsb2NhdGVzIGJ5IHJ0ZV9tYWxs b2MuDQo+IA0KPiBJZiB0aGUgYWxsb2NhdGlvbiBpcyBmYWlsZWQgdGhlIGZ1bmN0aW9uIGdvZXMg dG8gbGFiZWwg4oCcZXJyb3LigJ0sIGFuZA0KPiB0aGVyZSBkb2VzIGRlcmVmZXJl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