Julian Stecklina wrote: > Julian Stecklina <[email protected]> writes: > >> Would it be a good idea to extend the E1000_VF_SET_PROMISC interface to >> enable unicast promiscuity as well, e.g. by introducing a new flag >> E1000_VF_SET_PROMISC_UNICAST alongside the already existing >> E1000_VF_SET_PROMISC_MULTICAST? igbvf could than at least indicate that >> it wants to be promiscuous. I'll produce a proof-of-concept patch later >> today or tomorrow. > > This was easier than I thought. The attached patch (against 2.6.35) > extends the interface as described above. The igb driver (as it is now) > will NAK attempts to enable promiscuous mode. Our 82576 PF driver > implements it. Is it possible to push something along those general > lines into mainline Linux? > > Perhaps a little disclaimer: My Linux kernel programming skills are > virtually non-existent. Be gentle. ;) > > Regards, Julian > > Your patch didn't come through, but I'm not too worried since what you mention already exists in our standalone igb driver on e1000.sf.net. You should find that there is an option to enable the feature you are asking for by doing a "make CFLAGS_EXTRA=-DIGB_ENABLE_VF_PROMISC" to build with the PF support necessary.
We never enabled this feature primarily due to security issues. The first being that a VF being able to enable promisc is undesirable in a virtualized environment. The second being that any interfaces that don't use exact unicast filters will have their traffic also sent out on the network port in the case of VF to VF/PF communication. Thanks, Alex ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ E1000-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/e1000-devel To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
