On Thu, 2009-12-17 at 03:46 -0800, György Szaniszló wrote: > Hi, > > Please help me to understand how VLAN filtering works with ixgbe driver. > > I have the following setup > 2 x Intel(R) 10 Gigabit XF SR Dual Port Server Adapter, 82598 controller > OpenSuse 11.2, 64 bit, kernel version: 2.6.31.5 > ixgbe-2.0.44.14-NAPI > > I have 4 ixgbe interfaces (eth1, eth2, eth3, eth4), and I would like to > bridge them. > I would like to bridge only some specified VLANs (101 and 102). > > I have to cope with mass traffic, so effective VLAN filtering is very > important. > I would like to use the 82598 controller's HW VLAN filtering. > > I use the following script: > > input_eths="eth1 eth2 eth3 eth4" > input_vlans="101 102" > > echo "" > echo " Setting up input interfaces ..." > for eth in $input_eths > do > echo " $eth" > ifconfig $eth 0.0.0.0 up > for vlan in $input_vlans > do > vconfig add $eth $vlan > ifconfig $eth.$vlan up > done > done > > echo "" > echo " Setting up bridge ..." > brctl addbr br0 > for eth in $input_eths > do > for vlan in $input_vlans > do > brctl addif br0 $eth.$vlan > done > done > ifconfig br0 up > > My question is the following: > If I use the vconfig utility to specify VLANs, does it result HW vlan > filtering in the 82598 Controller, > or VLAN filtering is expressen only in the Linux (in the ixgbe driver or in > the Linux network stack)? > > Thanks, > Gyorgy Szaniszlo > Ericsson Hungary Ltd. > >
Yes, when using vconfig, the ixgbe driver is given the vlan information and sets the appropriate bits in the HW to do the filtering in the hardware. sln ====================================================================== Mr. Shannon Nelson LAN Access Division, Intel Corp. [email protected] I don't speak for Intel (503) 712-7659 Parents can't afford to be squeamish.
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel
