From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCHv5 1/8] ethdev: add new API to retrieve RX/TX queue information Date: Wed, 14 Oct 2015 09:09:04 -0700 Message-ID: <20151014090904.3d632d92@xeon-e3> References: <1443729293-20753-1-git-send-email-konstantin.ananyev@intel.com> <1443729293-20753-2-git-send-email-konstantin.ananyev@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev@dpdk.org To: Konstantin Ananyev Return-path: Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by dpdk.org (Postfix) with ESMTP id BB6848D8B for ; Wed, 14 Oct 2015 18:08:53 +0200 (CEST) Received: by padcn9 with SMTP id cn9so27196771pad.2 for ; Wed, 14 Oct 2015 09:08:53 -0700 (PDT) In-Reply-To: <1443729293-20753-2-git-send-email-konstantin.ananyev@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, 1 Oct 2015 20:54:46 +0100 Konstantin Ananyev wrote: > + if (nb_rx_desc > dev_info.rx_desc_lim.nb_max || > + nb_rx_desc < dev_info.rx_desc_lim.nb_min || > + nb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) { > + Preferred indentation style is to line up the conditional. if (nb_rx_desc > dev_info.rx_desc_lim.nb_max || nb_rx_desc < dev_info.rx_desc_lim.nb_min || nb_rx_desc % dev_info.rx_desc_lim.nb_align != 0) {