Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2007 12:55:51 +0200
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
Cc:        arm@freebsd.org, ticso@cicely.de
Subject:   Re: if_ate handles the bytes of the MAC address in a "wrong" order
Message-ID:  <20070610105550.GQ16463@cicely12.cicely.de>
In-Reply-To: <1161.89.247.105.240.1181457870.squirrel@webmail.alpha-tierchen.de>
References:  <59832.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181391583.squirrel@webmail.alpha-tierchen.de> <20070609123941.GJ16463@cicely12.cicely.de> <51831.2001:6f8:101e:0:20e:cff:fe6d:6adb.1181397815.squirrel@webmail.alpha-tierchen.de> <20070609.094708.-2034663768.imp@bsdimp.com> <1161.89.247.105.240.1181457870.squirrel@webmail.alpha-tierchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 10, 2007 at 08:44:30AM +0200, Björn König wrote:
> > I think these patches are basically good.  I gotta think about how I
> > wanna roll these into the kernel as I have units in the field that
> > upgrading their boot loader would be awkward...
> 
> Maybe we need a kernel option for keeping backward compatibility.
> 
> > Why do you look at all four SA registers, but only pick the first
> > non-zero one?  Why is that going to he better than just looking at the
> > first one?  Until FreeBSD can support muliple MAC addresses, I'm not
> > sure I see the point...
> 
> You're right, adding multiple addresses would be perfect. I didn't take
> that into account, because I just wanted that the driver doesn't fail if
> the first register is empty, but one of the others isn't. That seems to be
> strange, but it is reality in my case. - Thus adding multiple addresses is
> the next task on my list. ;-)

This is more than just adding support into the driver.
AFAIK the system has no support for multiple MAC yet.

There are two points in the driver missing I know of.
The first one is promiscuous support, this should be nothing more
than adding the flag and seting the device bit.
It wasn't on my list of things to do, because I have a switch soldered
onboard, which have to be configured for promiscuous as well.
The second one is add support for polling.
Polling is a feature, which has showed positive effects on many small
systems such as soekris.
I asume polling support for ate to be a big win.

Then tcpdump crashes with an unaligned fault when tracing ate - it does
run when I trace ng interface.
This is likely userland problem, but it is interesting that it doesn't
happen with ng.
Maybe just a matter of packets - who knows.

-- 
B.Walter                http://www.bwct.de      http://www.fizon.de
bernd@bwct.de           info@bwct.de            support@fizon.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070610105550.GQ16463>