> -----Original Message----- > From: Varghese, Vipin > Sent: Thursday, November 22, 2018 1:28 PM > To: Pattan, Reshma <[email protected]>; [email protected]; > [email protected]; [email protected]; Mcnamara, John > <[email protected]> > Cc: Byrne, Stephen1 <[email protected]>; Glynn, Michael J > <[email protected]>; Patel, Amol <[email protected]> > Subject: RE: [PATCH v4 5/9] app/procinfo: add support for show tm > > Hi Reshma, > > <snipped> > > > > > > + if ((ret) | (!is_leaf)) > > > + > > > > Is the operator here should be || ? > > > > > > Check is done for 'if either ret is not 0 or if it ret is 0 but not leaf' we > skip leaf > details print. If 'ret is 0 and is leaf' we skip continue to print leaf > details. IMO, using logical operator over bitwise operator is good here in if statement . Like below.? If (ret || (is_leaf == 0 ))
- [dpdk-dev] [PATCH v4 4/9] app/procinfo: add support fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 5/9] app/procinfo: add support fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 6/9] app/procinfo: add support fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 7/9] app/procinfo: add support fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 8/9] app/procinfo: add support fo... Vipin Varghese
- [dpdk-dev] [PATCH v4 9/9] doc/procinfo: add informatio... Vipin Varghese
- [dpdk-dev] [PATCH v4 1/9] app/procinfo: add usage for ... Vipin Varghese
- [dpdk-dev] [PATCH v4 5/9] app/procinfo: add suppo... Vipin Varghese
- Re: [dpdk-dev] [PATCH v4 5/9] app/procinfo: a... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9] app/procinf... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 5/9] app/pro... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9] ap... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 5/9... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 5/9... Pattan, Reshma
- Re: [dpdk-dev] [PATCH v4 5/9... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 5/9... Stephen Hemminger
- Re: [dpdk-dev] [PATCH v4 5/9... Varghese, Vipin
- Re: [dpdk-dev] [PATCH v4 5/9... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v4 5/9... Ananyev, Konstantin
- Re: [dpdk-dev] [PATCH v4 5/9... Varghese, Vipin

