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 65E1DA0517; Wed, 10 Jun 2020 12:01:09 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 37E9F2C4F; Wed, 10 Jun 2020 12:01:09 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 9B8552C27 for ; Wed, 10 Jun 2020 12:01:07 +0200 (CEST) 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 05AA0GVY027897; Wed, 10 Jun 2020 03:01:06 -0700 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=NtyAIj6sXFZKuGMtm5aV95vcqYYbIL0hBRq+fUq4RyA=; b=D17S57aPe3uzr/0xiaKmmMO9FcCxyjUSm6aqXVTET3Kxir/atrDUTiJnb5IaUtYpMoqv zNIeMrLl8PVYAaAQTp/gFmbe6XBChV/5KODTJFymzcZqTKWPy/4x/tJhAaePEvvGQbq0 5BNmt8Jljd7hKbJtfuDEcGk603MUlrYOulbunH4SzclWhQ1trbespoNOnwObym239fYp 8Q92KA1HxUPWxiK6tqD6fZX4DLwqHGSGy82V29uWykjKoxfZkfB7NW/M2ei8MKdew/wx nPVMNb/Wysxj0YuivxsoCff1pcKzh12bufMwV6j/6LD03YKsmgsxnslXBH+pga5cb7yQ mw== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0b-0016f401.pphosted.com with ESMTP id 31gannd7kw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 10 Jun 2020 03:01:06 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Jun 2020 03:01:04 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 10 Jun 2020 03:01:04 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.51) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Wed, 10 Jun 2020 03:01:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m0nAIrjoCkEH/7q4cuNwm58eawOqphptJms5OdzpVPzEMztqsdFEHY9XofSLwmEu35J5mw6XJD4/o2sZ0rNvfV/eie8+IfEtlCjNMQBr1RZ/uzxhzbCbgcqDfLn/0fU6VKRCq64RP+Eq013yHlt9cFoKmlQ+KLoBlpLmXR4kuKqF+oIPQ/Hfv9kHcxr5CXIi4QZwOF0p1GHi2ZDaKwO2OQZskuwrIcT7agjlQVJTNZ61cEs+4X2Cbm35AJocg55BXqztrS8ssc8/+Uwu1QraoE4OED8NQk4EZC/C2fReX8PJ80FdIrMp0zT8m2F0nFEF0nJPOcgU+W3Wwplgof87FQ== 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=NtyAIj6sXFZKuGMtm5aV95vcqYYbIL0hBRq+fUq4RyA=; b=hj3ykGezFQq5mVdkFbneRoomxjWXFBuf4lYprzjit/vrSEpd5Cd+owFbqbbmc01owDZl6EGDvG9Gs14xgUIc1Whe9FmJcOWYCwQ0naD6X9eQgeSaLxn6sxGuxKJ37ILGy8wk0eRgg46jZuYX33LkdoZ/C2Bqki2jGXfup1ZLAJ5MSbgLErx1GPAS4Y++n21852hakcKbpnT9x96B2tPlFcfg0GBP6NYq5GKqpOiFc90qX5JqLsYAyLsbgRGBvgocN0rMnAjf7uD4iCYKnTVg2AYl6UUHEMQ3kxzVmQut8SMGoVtOXtsukGejN3SJAkDDVvvKLmLbPgAbZRnGdMYopQ== 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=NtyAIj6sXFZKuGMtm5aV95vcqYYbIL0hBRq+fUq4RyA=; b=NyQ0wvDW19rfrr4BJt0FXvPVeBoIi4F7FZ7kPluwBTecH1HlQMGuu95QNDKy8xmXfYa9tDfEZWzWYceogcG1lMcvTqbh+Y3fX41dVuy7kXjQn1CGMsFAeDqAIXG7PMGFZfT746rTMpdusyfDz6Fg0HuwXJ4trYr41YOIEP2b9is= Received: from BY5PR18MB3105.namprd18.prod.outlook.com (2603:10b6:a03:1a4::30) by BY5PR18MB3315.namprd18.prod.outlook.com (2603:10b6:a03:196::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.20; Wed, 10 Jun 2020 10:01:03 +0000 Received: from BY5PR18MB3105.namprd18.prod.outlook.com ([fe80::cc7:b35a:8b18:3d0c]) by BY5PR18MB3105.namprd18.prod.outlook.com ([fe80::cc7:b35a:8b18:3d0c%7]) with mapi id 15.20.3088.018; Wed, 10 Jun 2020 10:01:02 +0000 From: Sunil Kumar Kori To: Muhammad Bilal CC: "declan.doherty@intel.com" , "tomasz.kantecki@intel.com" , "Pavan Nikhilesh Bhagavatula" , "dev@dpdk.org" , "jgrajcia@cisco.com" , "vipin.varghese@intel.com" Thread-Topic: [EXT] [PATCH 1/5] examples/l2fwd-event: free resources in case of error Thread-Index: AQHWLbs7IiZBopkxvk+4vFBt81nvaqivIz8AgBYzhYCADGfKUA== Date: Wed, 10 Jun 2020 10:01:02 +0000 Message-ID: References: <20200519085444.4562-1-m.bilal@emumba.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: emumba.com; dkim=none (message not signed) header.d=none;emumba.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [2401:4900:44e3:a5a5:5da1:8c7a:42b2:3b6f] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3756de51-0771-4948-7663-08d80d252f32 x-ms-traffictypediagnostic: BY5PR18MB3315: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2201; x-forefront-prvs: 0430FA5CB7 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: W13WzLHxQF0JCJ98s3LRPvXj/RPrUqbBvCaVIPFs6BYTok/xT+a68yCkiebOUGLfr9R2kytmtaVlDMvvby5CzoIaOnQglTBcA8tCln9JkcQ7/Id5pvBB712Ty3EDT3cERmunFdwOPiDzwqTaYkiA95+gdF0oukjMXUSVeCsq+b26Bl7kTojtCjuHq7Vs2RKRu/dd8HovskHRl0UjXg5U/XXTsdYQhnCLVLc9qvy7VgrKafu7RUWmLrsrwOfcML9mwQ8xw/hYdQ8ZlJkRVbDe5yoLG1PF+Oc15DVpTgVOeXttMa6/CgniluCCfw7SA5yUmTHaxHcmzPGxHc9sHSE/OHVfVxyPRPLD5TenysUT1dzEpJFyqjIEehgoWmz5HMUUq36stbZjCsxj/rEGc4Fs3A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR18MB3105.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(39850400004)(376002)(136003)(396003)(346002)(366004)(186003)(4326008)(76116006)(2906002)(55016002)(9686003)(66476007)(52536014)(64756008)(5660300002)(66556008)(66946007)(66446008)(86362001)(54906003)(316002)(7696005)(6916009)(71200400001)(6506007)(8936002)(478600001)(83380400001)(33656002)(8676002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: ZXgfLoSMDl+XSFwv2JnHEtxw7Db895j4vg0KoKpC6mgC3q2Mcmoh4uRI1k3TNV/S7KyLuGd0KXfU/rfcMgWvJ9Xr6mVKG2mDVUOaPnNzZaABcOMJnUope7aiH8DeJheTPduO7LIh8J2mbHEkmc9JSaNjw0QH9WE+M82hmLFKbeMsifl41iMh3AihlHqhXPGHRoZFuYWNaZ73xSKAOye8qeK7CeiiG08xEWdHTyLYylhhD/6XH5nmyucOu8DM+ZSwxY/XKwZlUZmKc7I/My24MCNIQr63CzXSHxyiMvq+iTD7iYgFS5/YKMgrzf5p7rtl0q8KzKN6GWhVBziJO8kfO5zI5d1G3r0wfsp8qxp/8PMQBUaNBOA12OIQAGR4GrcS9q21Rzcr1OK92JPZiKIXep18lBEQ4w4hqjWg122YTffDmnUT+/Rm0LYUm71drjtNxn2NwVQtPkTvJyKDUPhGmamzcRN/caNgPoIJwwlUITaGgXwG/LYI7mH+gfcrXazvqwj/LQGEBWyHwxw8tVRKQjCiZofFRN+fIIX79f2un4wbg5A/De9piScbkq3/jznc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3756de51-0771-4948-7663-08d80d252f32 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2020 10:01:02.7953 (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: JOB8sds5FrxBEuzCQx2lDQOVOtxvwfvXVFTI1Op3pctY6eWnBX+V9lCpPpbDLpUfvh3UGRFv2IAGOsltGYad2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR18MB3315 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-10_06:2020-06-10, 2020-06-10 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH 1/5] examples/l2fwd-event: free resources in case of error 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" Pi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+RnJvbTogTXVoYW1tYWQgQmlsYWwgPG0uYmls YWxAZW11bWJhLmNvbT4NCj5TZW50OiBUdWVzZGF5LCBKdW5lIDIsIDIwMjAgNTo1NyBQTQ0KPlRv OiBTdW5pbCBLdW1hciBLb3JpIDxza29yaUBtYXJ2ZWxsLmNvbT4NCj5DYzogZGVjbGFuLmRvaGVy dHlAaW50ZWwuY29tOyB0b21hc3oua2FudGVja2lAaW50ZWwuY29tOyBQYXZhbiBOaWtoaWxlc2gN Cj5CaGFnYXZhdHVsYSA8cGJoYWdhdmF0dWxhQG1hcnZlbGwuY29tPjsgZGV2QGRwZGsub3JnOw0K PmpncmFqY2lhQGNpc2NvLmNvbTsgdmlwaW4udmFyZ2hlc2VAaW50ZWwuY29tDQo+U3ViamVjdDog UmU6IFtFWFRdIFtQQVRDSCAxLzVdIGV4YW1wbGVzL2wyZndkLWV2ZW50OiBmcmVlIHJlc291cmNl cyBpbiBjYXNlDQo+b2YgZXJyb3INCj4NCj5PbiBUdWUsIE1heSAxOSwgMjAyMCBhdCAyOjM1IFBN IFN1bmlsIEt1bWFyIEtvcmkgPHNrb3JpQG1hcnZlbGwuY29tPg0KPndyb3RlOg0KPj4NCj4+ID4t LS0tLU9yaWdp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