Thread (1 message) 1 message, 1 author, 2014-08-01

Re: dpdk-1.7.0 bug report

From: Thomas Monjalon <hidden>
Date: 2014-08-01 15:58:45

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help