VLAN offloads on FreeBSD 6.3 & 7.0

2008-11-16 Thread Yony Yossef
Hi All, I'm working on an Ethernet driver for FreeBSD, currently implementing VLAN offloads. I have two problems, one is enabling TSO over the VLAN interface and the second is enabling the VLAN filtering offload. About the TSO problem, I'm currently suffering a hugh performance penalty since I ha

Re: VLAN offloads on FreeBSD 6.3 & 7.0

2008-11-16 Thread Yony Yossef
Thanks! it looks like a solution. On Sun, Nov 16, 2008 at 5:08 PM, Max Laier <[EMAIL PROTECTED]> wrote: > On Sunday 16 November 2008 15:10:19 Yony Yossef wrote: >> Hi All, >> >> I'm working on an Ethernet driver for FreeBSD, currently implementing >> VLAN of

Re: VLAN offloads on FreeBSD 6.3 & 7.0

2008-11-16 Thread Yony Yossef
Hi Max, do you happen to know if TSO (as other capabilities) can be enabled on a VLAN interface? I've already posted this question so I'm not sending this mail to the list. On Sun, Nov 16, 2008 at 5:08 PM, Max Laier <[EMAIL PROTECTED]> wrote: > On Sunday 16 November 2008 1

TSO on VLAN interface, FreeBSD 7

2008-11-26 Thread Yony Yossef
Hi All, When I create a VLAN interface it does not inherit the parent interface capabilities. Is there a way to enable TSO (as other capabilities) on VLAN interfaces? Thanks, Yony ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

IFCAP_LRO on FreeBSD 7

2008-11-27 Thread Yony Yossef
Hi All, Is there a native interface for LRO in FreeBSD 7? I can't find any use for IFCAP_LRO but notifying the driver if to use or not to use this offload. If not, is it planned for FreeBSD 8? Thanks Yony ___ freebsd-hackers@freebsd.org mailing list h

Timer driven tasks in FreeBSD 7

2008-12-07 Thread Yony Yossef
Hi All, What mechanism should I use for making my netwrok driver call a function every half a second, for instnace? I am already using task queues but I haven't found a way to make it work with a timer. Thanks Yony ___ freebsd-hackers@freebsd.org mail

Detecting network memory leaks using netstat -m

2008-12-14 Thread Yony Yossef
Hi All, I'm trying to find out whether my ethernet driver is leaking. I just found out about netstat -m, but I don't understand some of it's output. Can somebody explain me what is "mbuf+clusters out of packet secondary zone in use" ? My output shows it raised significantly during equilibrium a