From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3 7/8] ethdev: support of multiple sizes of redirection table Date: Mon, 27 Oct 2014 15:23:34 +0100 Message-ID: <2549150.oVMv5n2oYl@xps13> References: <1411634427-746-1-git-send-email-helin.zhang@intel.com> <1413978810-24610-1-git-send-email-helin.zhang@intel.com> <1413978810-24610-8-git-send-email-helin.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Helin Zhang Return-path: In-Reply-To: <1413978810-24610-8-git-send-email-helin.zhang-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" 2014-10-22 19:53, Helin Zhang: > +#define RTE_BIT_WIDTH_64 (CHAR_BIT * sizeof(uint64_t)) How can it be different of 64? Using 64 would be simpler to understand than RTE_BIT_WIDTH_64. > + uint8_t reta[RTE_BIT_WIDTH_64]; /**< 64 redirection table entries. */ Even your comment is saying that it's 64. -- Thomas