Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 15:14:48 -0700
From:      "Jack Vogel" <jfvogel@gmail.com>
To:        "Scott Long" <scottl@samsco.org>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Andre Oppermann <andre@freebsd.org>, John Baldwin <jhb@yahoo-inc.com>
Subject:   Re: Thoughts on vlan filter
Message-ID:  <2a41acea0709051514k3b72c932ya7b2e9bcb46a9c70@mail.gmail.com>
In-Reply-To: <46DF2119.6030909@samsco.org>
References:  <2a41acea0709051352n583b4724o359faaf29a1479d8@mail.gmail.com> <46DF2119.6030909@samsco.org>

index | next in thread | previous in thread | raw e-mail

On 9/5/07, Scott Long <scottl@samsco.org> wrote:
> Jack Vogel wrote:
> > I had an idea, I was debugging a problem on my new 10G driver a week back,
> > and found I had the hardware vlan filter enabled by accident, this led me to
> > wonder about supporting this hardware feature in the driver...
> >
> > I have done some experimentation, and find that when the vlan device is
> > configured, ultimately the SETMULTI ioctl will happen in my driver, this
> > means I could add code that checks the trunk, finds there is a vlan and
> > then sets the tag into the filter.
> >
> > Any interest, or thoughts ya or nay about my doing this?
> >
> > Cheers,
> >
> > Jack
>
> Overloading the SETMULTI ioctl is probably a bad idea for anything more
> than a proof-of-concept.  From a cleanliness point of view, making the
> software vlan module aware of this as a hardware offload capability and
> able to control it via new ioctls sounds more reasonable.
>
> Scott
>
>

You're right, that would be ideal, so is there any other adapters with
this capability, and is the vlan driver owner interested in implementing
it?

Jack


home | help

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