From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] librte_pmd_ixgbe: Add queue start failure check Date: Tue, 27 Jan 2015 11:00:46 +0100 Message-ID: <3276396.omH03JUPtz@xps13> References: <1421333111-22136-1-git-send-email-michael.qiu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Michael Qiu Return-path: In-Reply-To: <1421333111-22136-1-git-send-email-michael.qiu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" Hi Michael, I'm clearly not the maintainer of ixgbe, so I'd prefer someone else reviewing this patch. However I have few comments. 2015-01-15 22:45, Michael Qiu: > - ixgbe_dev_rxtx_start(dev); > + err = ixgbe_dev_rxtx_start(dev); > + if (err < 0) { > + PMD_INIT_LOG(ERR, "Unable to start rxtx queues\n"); \n is not needed in PMD_INIT_LOG. Is this useful to print a log here, given that there already has some logs in ixgbe_dev_rxtx_start? > + PMD_INIT_LOG(ERR, "Start tx queue failed\n"); [...] > + PMD_INIT_LOG(ERR, "Start rx queue failed\n"); Please remove \n. Except these minor comments, it looks good. Thanks -- Thomas