[dpdk-dev] [PATCH] eal: fix check number of bytes from read function

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Jul 22 01:09:10 CEST 2016


2016-07-21 20:50, Jastrzebski, MichalX K:
> From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com]
> > - (int)sizeof(uint64_t) can be replaced by 8 but it's shorter ;)
> 
> I didn't want to change all invokes of read() function here. 
> I can use some macro:
> #define PFN_MASK_SIZE	8
> How do You think?

Yes may be an idea.



More information about the dev mailing list