dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* dpdk-1.7.0 bug report
@ 2014-07-23 14:24 David Binderman
       [not found] ` <DUB128-W1850C167912A9F863C41D69CFE0-MsuGFMq8XAE@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: David Binderman @ 2014-07-23 14:24 UTC (permalink / raw)
  To: dev-VfR2kkLFssw@public.gmane.org

Hello there,

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. */

Regards

David Binderman

 		 	   		  

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-01 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23 14:24 dpdk-1.7.0 bug report David Binderman
     [not found] ` <DUB128-W1850C167912A9F863C41D69CFE0-MsuGFMq8XAE@public.gmane.org>
2014-07-23 14:31   ` Thomas Monjalon
2014-07-23 14:35     ` David Binderman
2014-08-01 15:58   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).