Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2003 21:06:53 -0800 (PST)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        bms@FreeBSD.org (Bruce M Simpson)
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/35511: sis(4) multicast filtering doesn't pass some Appletalk packets
Message-ID:  <20031128050653.5AFA816A4CF@hub.freebsd.org>
In-Reply-To: <200311260003.hAQ03kYO057252@freefall.freebsd.org> from Bruce M Simpson at "Nov 25, 2003 04:03:46 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Synopsis: sis(4) multicast filtering doesn't pass some Appletalk packets
> 
> Responsible-Changed-From-To: freebsd-bugs->wpaul
> Responsible-Changed-By: bms
> Responsible-Changed-When: Tue 25 Nov 2003 16:03:11 PST
> Responsible-Changed-Why: 
> Maybe wpaul can help on this one.
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=35511
> 

Nice try, monkey boy.

If anyone had bothered to look at sys_setmulti_sis(), they might
have noticed that it has to deal with the fact that different
revs of the SiS900 have different size multicast hash tables.
The problem here is almost certainly yet another rev that
has to be accounted for. But that somebody can't be me. Why?
Because this NIC is embedded on a particular motherboard which
I don't have.

The correct thing to do is for someone who does have this board
to experiment with the following code:

[...]
        /* hash table size */
        if (sc->sis_rev >= SIS_REV_635 ||
            sc->sis_rev == SIS_REV_900B)
                n = 16;
        else
                n = 8;
[...]

Maybe 'n' needs to be 4 or something, or maybe this is a new rev
that also has to be set to 16. Whatever the case, it's up to someone
else to experiment and report back with their findings.

-Bill

--
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul@windriver.com | Wind River Systems
=============================================================================
      "If stupidity were a handicap, you'd have the best parking spot."
=============================================================================



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