netgraph and VLANs (was Re: ti driver, vlan and tcpdump

2002-01-11 Thread CJTT
Is there a way to see entire VLAN packets with netgraph even if the driver has stripped off the VLAN info? (examples or pointers would be appreciated)... Thanks On Fri, 11 Jan 2002, CJTT wrote: > > (using the ti and and also the bge drivers) > with 4.5-PRERELEASE (cvs'uppe

Re: ti driver, vlan and tcpdump

2002-01-11 Thread CJTT
1, Brooks Davis wrote: > On Fri, Nov 16, 2001 at 06:27:25AM -0800, CJTT wrote: > > (I'll temporarily remove the VLAN support from the kernel). > > But when this is MFC'd, what will I need to do in order to > > continue seeing all traffic on the main interface > >

Re: ti driver, vlan and tcpdump

2001-11-16 Thread CJTT
On Thu, 15 Nov 2001, Brooks Davis wrote: > For the moment, on stable hosts, that will work. Driver vlan support is > no longer optional in current and that change will be MFC'd just as soon > as I get it tested. The right answer is probably to modify the > VLAN_INPUT_TAG macro to do the bpf stuf

Re: ti driver, vlan and tcpdump

2001-11-15 Thread CJTT
On Thu, 15 Nov 2001, Brooks Davis wrote: > On Thu, Nov 15, 2001 at 03:41:21PM -0600, Shaun Marko wrote: > > Could you also get the desired result by using a kernel without VLAN support? > > The original poster said he didn't want to configure VLAN interfaces anyway. > > For the moment, on stable

ti driver, vlan and tcpdump

2001-11-15 Thread CJTT
While sending some test traffic to a FreeBSD 4.4 (cvsupped yesterday), I noticed that tcpdump doesn't seem to see VLAN traffic received on the ti card as it does on the fxp card. (however, tcpdump on the sending ti card sees the traffic leave). tcpdump with non-VLAN traffic on receive side:

zero copy and wire speeds

2001-11-13 Thread CJTT
Do you have to be running Current in order to use the zero copy sockets? If so, when will this make it to Stable? (I'm on 4.4). On a related topic, if trying to maximize the amount of traffic being sent on an ethernet card, how can you write your code so that you can try to make sure every p