[dpdk-dev] dpdk-1.7.0 bug report

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Aug 1 17:58:45 CEST 2014


2014-07-23 14:24, David Binderman:
> dpdk-1.7.0/lib/librte_ether/rte_ether.h:208]: (style) Expression '(X & 0x2) == 0x1' is always false.
> 
> Source code is
> 
>     return ((ea->addr_bytes[0] & ETHER_LOCAL_ADMIN_ADDR) == 1);
> 
> but
> 
> #define ETHER_LOCAL_ADMIN_ADDR 0x02 /**< Locally assigned Eth. address. */

It's now fixed:
	http://dpdk.org/browse/dpdk/commit/?id=030df0102ce762360

Thanks
-- 
Thomas


More information about the dev mailing list