From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0077.outbound.protection.outlook.com [104.47.34.77]) by dpdk.org (Postfix) with ESMTP id 5B404160 for ; Tue, 24 Jul 2018 09:20:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OvY+z0XD/5G/jNFZ2xn3hNYijTkK+GkuJSrCmfFH9UE=; b=TGgG+tWh0U4hAuhbH6afrx5OWZisbjAVOYwSLgrmBoPMdu4bCEJBY5mKY8gnY/ozu2fjcoKmulpzbJ5rBSYAlD6/NuA/s3O0LB8TEcoNqArTK8yhPmT/EVTadwB06/fm+HlM+F5BC56LavErF58s1BLztJVy1zftngr8KYZj0y8= Received: from CY4PR0701MB3634.namprd07.prod.outlook.com (52.132.101.164) by CY4PR0701MB3649.namprd07.prod.outlook.com (52.132.102.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.973.21; Tue, 24 Jul 2018 07:20:02 +0000 Received: from CY4PR0701MB3634.namprd07.prod.outlook.com ([fe80::f0d4:1828:37f5:5927]) by CY4PR0701MB3634.namprd07.prod.outlook.com ([fe80::f0d4:1828:37f5:5927%2]) with mapi id 15.20.0973.022; Tue, 24 Jul 2018 07:20:02 +0000 From: "Verma, Shally" To: "De Lara Guarch, Pablo" CC: "dev@dpdk.org" , "Athreya, Narayana Prasad" , "Challa, Mahipal" , "Gupta, Ashish" , "Sahu, Sunila" Thread-Topic: [PATCH v4 1/5] compress/zlib: add ZLIB PMD Thread-Index: AQHUItBRGStEvXXIDU+4znfhSYY/56Sd96FQ Date: Tue, 24 Jul 2018 07:20:02 +0000 Message-ID: References: <1532357474-9544-1-git-send-email-shally.verma@caviumnetworks.com> <1532357474-9544-2-git-send-email-shally.verma@caviumnetworks.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Shally.Verma@cavium.com; x-originating-ip: [114.143.185.87] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CY4PR0701MB3649; 6:g2LKy0tx+5RgcIWW1YliIMnfQwa3s2BARR56AmKSVZEYBQiBIfa6b95dj1R+3p9OIk86FP4RxDgtWRSOaX4H2IItu7NxQedFaAiP5vmXE9ayDrT7Das/+UEsm/qcgiGT1PDgj3u5/49gXs0kAzzMDiroJnGU26IfJPtFTtHKMYaCr4KqMLWDd1GLaI7SREqOY2G4sWqYxNMd4PpM8ggAb1Ghq9wxu/kEuQvsJLNB8tu3icVNSjCrXz4227KSwey4XVougL/I7uBlbI/Kg6SSyzCv3Cp/Mq7ZEVOD3uuIkX16d3qK4HCKXMJFeWijI6RI7FR5iKM9E6hWsg8BmUOOwTp/h3+li8+WPKajf/9o/f2QNk1zEplXJ9smDsmQp5x+sIkVzUq3ZlqjLaCbZCAldclQhJdIkppufYPeXvh3Al52cp5YmEemf92T4IUAS3rDc2AOhG9Zq8eLOzVosf0+BQ==; 5:SYAxwyWmkmAYEOAdoXZGI4u+jStH/Ki5MOERJd5fSkALRKFuL+GY2FocveZtPjBRYXQ1yg/5o2r55BuIcHiUwcEoxKEgZ+QkkZkm9jIyCFdSwZQC7EIPPErPCULbV0FAm4zir6YkAYUAZ0cobeC/aVyd3whWycDj4Z8CcRwgBnA=; 7:+8KKFTVTkIOZMzRdn3VIYogiZH0xZ9b5/9JKIizNen5s5lzLFIO9mK7LBje5lMFx3i9ddgb7upo1DRkwP9+Fjkw/4t7vq/9s8Y8FfSrIbn4HKevKCnEQP/a3rNyyifhQ37vQYmOwgPKNnhWjgZ55EUT9Mn85C1aSJytiKbQu0xXQaZvnY4LqEwFYfCoX+XXGUeMrd4aL42sAf1gsvQnZdkQZPEnBQDcoznI8aa9bsGP06nYkub9iuLosIm47AUQp x-ms-exchange-antispam-srfa-diagnostics: SOS;SOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(396003)(136003)(376002)(39860400002)(346002)(366004)(199004)(189003)(13464003)(55016002)(4326008)(186003)(68736007)(446003)(2900100001)(6506007)(25786009)(53936002)(74316002)(102836004)(26005)(11346002)(76176011)(54906003)(256004)(33656002)(305945005)(7696005)(6246003)(107886003)(5250100002)(7736002)(99286004)(316002)(3846002)(6436002)(5660300001)(229853002)(105586002)(81166006)(66066001)(6116002)(14454004)(2906002)(9686003)(106356001)(8936002)(81156014)(6916009)(97736004)(478600001)(486006)(8676002)(72206003)(86362001)(476003); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR0701MB3649; H:CY4PR0701MB3634.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; x-ms-office365-filtering-correlation-id: 3d4f6c61-b2ee-4b16-a911-08d5f135df32 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600073)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:CY4PR0701MB3649; x-ms-traffictypediagnostic: CY4PR0701MB3649: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(228905959029699); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231311)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011)(7699016); SRVR:CY4PR0701MB3649; BCL:0; PCL:0; RULEID:; SRVR:CY4PR0701MB3649; x-forefront-prvs: 0743E8D0A6 received-spf: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: DdQWAaB0hyc0Xfx9ZKMfB9YcVsRcGfyQymz43kou5USuRDkSHDE02WazTghpLG1qsuWJyh9bbDC0YvfD16lcWq0iaK/Pxma1J2Vvc3fTy8Lbnme2xB106KuwzSJLS55pvfWhB4qKg/y6tE4vqePZ65nse3l5Lq26ouf+TIT5wr+gBQlNddykc9wk/32boXElDV0qjXYEtg8UwUrHZv995/p+Vd85GgoS5geZI0/cF1u4rgQuchJn8hZs3UNvj7M3tgkgT04eFGG8TvlQDKtOltHw8zPaF1/U8EjmYAj/sZNzxn2sU3p/m9SbugvlwTrXh/7mz6b+/Eui9AvJFQC2954mYUXiYnyWGuRTgxMPxIk= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d4f6c61-b2ee-4b16-a911-08d5f135df32 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2018 07:20:02.0691 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR0701MB3649 Subject: Re: [dpdk-dev] [PATCH v4 1/5] compress/zlib: add ZLIB PMD 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: Tue, 24 Jul 2018 07:20:06 -0000 >-----Original Message----- >From: De Lara Guarch, Pablo >Sent: 24 July 2018 03:29 >To: Verma, Shally >Cc: dev@dpdk.org; Athreya, Narayana Prasad ; Challa, Mahipal >; Gupta, Ashish ; Sahu= , Sunila >Subject: RE: [PATCH v4 1/5] compress/zlib: add ZLIB PMD > ... > >> +++ b/drivers/compress/zlib/zlib_pmd.c > >... > >> +static int >> +zlib_probe(struct rte_vdev_device *vdev) { >> + struct rte_compressdev_pmd_init_params init_params =3D { >> + "", >> + rte_socket_id() >> + }; >> + const char *name; >> + const char *input_args; >> + >> + name =3D rte_vdev_device_name(vdev); >> + >> + if (name =3D=3D NULL) >> + return -EINVAL; >> + input_args =3D rte_vdev_device_args(vdev); >> + rte_compressdev_pmd_parse_input_args(&init_params, input_args); > >Need to check the return value of this function. Ack. Thanks Shally