From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Verma, Shally" Subject: Re: [PATCH v3 4/5] compress/zlib: support burst enqueue/dequeue Date: Mon, 23 Jul 2018 12:52:36 +0000 Message-ID: References: <1532197069-24224-1-git-send-email-shally.verma@caviumnetworks.com> <1532197069-24224-5-git-send-email-shally.verma@caviumnetworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "dev@dpdk.org" , "Athreya, Narayana Prasad" , "Challa, Mahipal" , "Gupta, Ashish" , "Sahu, Sunila" , "Sahu, Sunila" To: "De Lara Guarch, Pablo" Return-path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680083.outbound.protection.outlook.com [40.107.68.83]) by dpdk.org (Postfix) with ESMTP id 4D001235 for ; Mon, 23 Jul 2018 14:52:39 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi Pablo >-----Original Message----- >From: De Lara Guarch, Pablo >Sent: 23 July 2018 18:07 >To: Verma, Shally >Cc: dev@dpdk.org; Athreya, Narayana Prasad ; Challa, Mahipal >; Gupta, Ashish ; Sahu= , Sunila ; Sahu, Sunila > >Subject: RE: [PATCH v3 4/5] compress/zlib: support burst enqueue/dequeue > >External Email > >> -----Original Message----- >> From: Shally Verma [mailto:shally.verma@caviumnetworks.com] >> Sent: Saturday, July 21, 2018 7:18 PM >> To: De Lara Guarch, Pablo >> Cc: dev@dpdk.org; pathreya@caviumnetworks.com; >> mchalla@caviumnetworks.com; ashish.gupta@caviumnetworks.com; >> sunila.sahu@caviumnetworks.com; Sunila Sahu >> Subject: [PATCH v3 4/5] compress/zlib: support burst enqueue/dequeue >> >> From: Sunila Sahu >> >> Signed-off-by: Sunila Sahu >> Signed-off-by: Shally Verma >> Signed-off-by: Ashish Gupta >> --- >> drivers/compress/zlib/zlib_pmd.c | 254 > >... > >> +def_end: >> + /* Update op stats */ >> + switch (op->status) { >> + case RTE_COMP_OP_STATUS_SUCCESS: >> + op->consumed +=3D strm->total_in; > >Compilation issue here: > >drivers/compress/zlib/zlib_pmd.c:94:16: error: this statement may fall thr= ough [-Werror=3Dimplicit-fallthrough=3D] > op->consumed +=3D strm->total_in; > ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ > >I think you are missing a "/* Fall-through */" comment here. OK. I will send next patch immediately with this fix. But which compiler ve= rsion you following, since this isn't seen during our build (which we did o= n multiple platforms) so want to understand what is the environment we need= to have to avoid such regressions. Thanks Shally > >Thanks, >Pablo > >> + case RTE_COMP_OP_STATUS_OUT_OF_SPACE_TERMINATED: >> + op->produced +=3D strm->total_out; >> + break;