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?

I can't say for sure what the right answer here is. It seems reasonable to have a means of checking if the setmulti is happening from a stacked vlan(4) instance. I think it is reasonable to only support this for 2 layers of nesting levels i.e. Q-in-Q, in the mainline stack, and encourage folks to use Netgraph if they need arbitrary nesting levels.

Kip raised some performance related concerns about the driver lock being taken whenever multicast address list changes happen, thus deferring or delaying packet flows on other transmit queues, perhaps he can chime in?

regards,
BMS
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to