Netdev List
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Vitalii Demianets <vitas@nppfactor.kiev.ua>
Cc: Jay Vosburgh <fubar@us.ibm.com>,
	Ben Hutchings <bhutchings@solarflare.com>,
	Andy Gospodarek <andy@greyhouse.net>,
	Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
	netdev@vger.kernel.org,
	bonding-devel <bonding-devel@lists.sourceforge.net>
Subject: Re: [PATCH] bonding,llc: Fix structure sizeof incompatibility for some PDUs
Date: Thu, 12 May 2011 09:16:13 -0700	[thread overview]
Message-ID: <1305216973.6124.43.camel@Joe-Laptop> (raw)
In-Reply-To: <201105121910.13090.vitas@nppfactor.kiev.ua>

On Thu, 2011-05-12 at 19:10 +0300, Vitalii Demianets wrote:
> On Thursday 12 May 2011 18:52:34 you wrote:
> [...]
> > What arch needs __packed for
> > struct mac_addr {
> > 	unsigned char addr[6];
> > };
> > ?
> Currently I'm working with AT91SAM9260 which is an ARM CPU, and without 
> __packed I get sizeof(struct mac_addr) == 8.

Thanks.


      reply	other threads:[~2011-05-12 16:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-12 12:57 [PATCH] bonding,llc: Fix structure sizeof incompatibility for some PDUs Vitalii Demianets
2011-05-12 14:33 ` Ben Hutchings
2011-05-12 15:45   ` Vitalii Demianets
2011-05-12 15:52     ` Joe Perches
2011-05-12 16:02       ` Eric Dumazet
2011-05-12 16:10       ` Vitalii Demianets
2011-05-12 16:16         ` Joe Perches [this message]

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=1305216973.6124.43.camel@Joe-Laptop \
    --to=joe@perches.com \
    --cc=acme@ghostprotocols.net \
    --cc=andy@greyhouse.net \
    --cc=bhutchings@solarflare.com \
    --cc=bonding-devel@lists.sourceforge.net \
    --cc=fubar@us.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=vitas@nppfactor.kiev.ua \
    /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