From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by dpdk.org (Postfix) with ESMTP id 529B791B0 for ; Tue, 10 Nov 2015 18:39:06 +0100 (CET) Received: by wmec201 with SMTP id c201so145508260wme.0 for ; Tue, 10 Nov 2015 09:39:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to; bh=J8j8hP6c9BjPp7G4iZSOg7To+aPmSrWgp+xqiFgI2Wo=; b=y4avMF9fk17pZF7lp+guoOvpDU80FN4TS+BKW42Po1C27HTn2+RBnW9K1abqZxrPJ3 u9gPw7ZExhGZ7TaF1hNxbNBxVYBmQnzdyrAWKwgnCjPi3Ku+Pl76ohu9koQ/5duhurB0 4gMWFQMACt+72sV5wdk0FVxrkbyFL0EN0qYX1Pj+ZVif7NA2yMvkrhttcddSBQqXwQFB 52EKkcrDvxNN+DgDxrZppSoULleUjdIJpig1bWXZekO9ywx5ABvO8hLU1SNQlRbkW847 6QDdV2+LR+DksTSON4MGdcqiA5xV8Q3IXYPufszEk9gyvPav9bPs/DcHa1M9gPq8DkE/ wsAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to; bh=J8j8hP6c9BjPp7G4iZSOg7To+aPmSrWgp+xqiFgI2Wo=; b=E8usffve9oaykbSZhozKeSACOgjEFWSL+cG/R8rQE55/r2Q4pqtTRAxeVePnPcC/RA UKYKch0ubCUTPpznvLgmsnQqnHHfSXWl8sXDQ4540t+2gQ5svv7xCyWdvKB0n/xb1GSl ecZdnk/5+mqNLWgkxhnKrZ7oMCJQehLR7+lMPTr1w+hcwL9L3HmrliWfS0X3SeJK9wX5 2M1W1tkbcDwSnuTJg3wBn7hbksO9Ee8FDZn/e2glzrf7n92B8XHSb+Xnsypt9I33KzsK qq7Ex5SSDxU99ALfBlapaJFpUU0aANR655dRZ8KO286bik2fpZwv9QZoF7UMKl5MJfrr qHUA== X-Gm-Message-State: ALoCoQk0i1ENgklQ9fIFR7jandoQPvMEPsu2DPY58mHWxTGmuuz4kF6AhcD6lEJT8npChVFBPmsb X-Received: by 10.28.16.132 with SMTP id 126mr31952339wmq.86.1447177146128; Tue, 10 Nov 2015 09:39:06 -0800 (PST) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id z13sm4600161wjr.47.2015.11.10.09.39.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Nov 2015 09:39:05 -0800 (PST) Date: Tue, 10 Nov 2015 18:38:46 +0100 From: Adrien Mazarguil To: Declan Doherty Message-ID: <20151110173846.GZ4013@6wind.com> Mail-Followup-To: Declan Doherty , dev@dpdk.org References: <1447101259-18972-1-git-send-email-declan.doherty@intel.com> <1447176763-19303-1-git-send-email-declan.doherty@intel.com> <1447176763-19303-3-git-send-email-declan.doherty@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1447176763-19303-3-git-send-email-declan.doherty@intel.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v6 02/10] ethdev: make error checking macros public X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2015 17:39:06 -0000 On Tue, Nov 10, 2015 at 05:32:35PM +0000, Declan Doherty wrote: > Move the function pointer and port id checking macros to rte_ethdev and > rte_dev header files, so that they can be used in the static inline > functions there. Also replace the RTE_LOG call within > RTE_PMD_DEBUG_TRACE so this macro can be built with the -pedantic flag > > Signed-off-by: Declan Doherty Acked-by: Adrien Mazarguil -- Adrien Mazarguil 6WIND