From mboxrd@z Thu Jan 1 00:00:00 1970 From: "De Lara Guarch, Pablo" Subject: Re: [PATCH v3 4/5] compress/zlib: support burst enqueue/dequeue Date: Mon, 23 Jul 2018 13:00:08 +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: "Verma, Shally" Return-path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 5184AF72 for ; Mon, 23 Jul 2018 15:00:11 +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" > -----Original Message----- > From: Verma, Shally [mailto:Shally.Verma@cavium.com] > Sent: Monday, July 23, 2018 1:53 PM > To: De Lara Guarch, Pablo > 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 >=20 > Hi Pablo >=20 > >-----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 t= hrough > [-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 = version > you following, since this isn't seen during our build (which we did on mu= ltiple > platforms) so want to understand what is the environment we need to have = to > avoid such regressions. I see this with gcc 7.2.1 (on Fedora 27). Pablo >=20 > Thanks > Shally >=20 > > > >Thanks, > >Pablo > > > >> + case RTE_COMP_OP_STATUS_OUT_OF_SPACE_TERMINATED: > >> + op->produced +=3D strm->total_out; > >> + break;