DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Binderman <dcb314@hotmail.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Subject: [dpdk-dev] dpdk-1.7.0 bug report
Date: Wed, 23 Jul 2014 14:24:15 +0000	[thread overview]
Message-ID: <DUB128-W1850C167912A9F863C41D69CFE0@phx.gbl> (raw)

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

 		 	   		  

             reply	other threads:[~2014-07-23 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-23 14:24 David Binderman [this message]
2014-07-23 14:31 ` Thomas Monjalon
2014-07-23 14:35   ` David Binderman
2014-08-01 15:58 ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB128-W1850C167912A9F863C41D69CFE0@phx.gbl \
    --to=dcb314@hotmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).