public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Alexander Aganichev <aaganichev@gmail.com>
Cc: eCos Discussion <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] Multi-cast support in Ethernet drivers
Date: Mon, 09 Jul 2007 08:34:00 -0000	[thread overview]
Message-ID: <20070709083403.GL24630@lunn.ch> (raw)
In-Reply-To: <c25335bc0707082359n30b77e05l2c564f219f6fcadf@mail.gmail.com>

On Mon, Jul 09, 2007 at 10:59:42AM +0400, Alexander Aganichev wrote:
> On 7/8/07, Andrew Lunn <andrew@lunn.ch> wrote:
>> On Fri, Jul 06, 2007 at 05:06:41PM +0400, Alexander Aganichev wrote:
>> > Hello,
>> >
>> > I noticed that when I use DM9000 driver I have a complaint from the IO
>> > subsystem that multi-cast is not supported, but wanted by FreeBSD
>> > stack. I added this support and everything stop working. I dig it a
>> > bit and found that FreeBSD wanted some bogus address to be added. It
>> > seems it cannot work at all since link level address is seems not
>> > filled in the struct sockaddr_dl anywhere in the eCos tree (correct me
>> > if I'm wrong, but I was unable to find it). So now I'm confused why
>> > this complaint was ever introduced and how it works for the Ethernet
>> > drivers that support multi-cast mode already... For now I just
>> > disabled the feature and return good result to prevent complaint. Any
>> > ideas how it should work correctly?
>>
>> Multicast support is required for IPv6 support. It is not needed for
>> IPv4.
>>
>> It looks like the IPv4 code is joining the all hosts group at start
>> up. See packages/net/bsd_tcpip/current/src/sys/netinet/in.c:738 Is it
>> this call which is causing your problems?
>
> Yes, it is this call. What is the best way to resolve that?

The call looks valid. At least it does not cause other platforms to
break. I suggests that the problem is in your modifications to the
DM9000 driver to support this IOCTL call.

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

  reply	other threads:[~2007-07-09  8:34 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-06 13:06 Alexander Aganichev
2007-07-08 18:51 ` Andrew Lunn
2007-07-09  6:59   ` Alexander Aganichev
2007-07-09  8:34     ` Andrew Lunn [this message]
2007-07-16 12:58       ` Alexander Aganichev
2007-07-17 16:00         ` Andrew Lunn
2007-07-19 10:42           ` Alexander Aganichev
2007-07-20 19:22             ` Andrew Lunn
2007-07-20 19:44               ` [ECOS] " Grant Edwards

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=20070709083403.GL24630@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=aaganichev@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).