On Tue, 2011-11-08 at 23:55 -0800, Roopa Prabhu wrote: > From: Roopa Prabhu <roprabhu@xxxxxxxxx> > > This patch introduces the following netlink interface to set > MAC and VLAN filters on an network interface. It can be used to > set RX filter on any network interface (if supported by the driver) and > also on a SRIOV VF via its PF > > Interface to set RX filter on a SRIOV VF > [IFLA_VF_RX_FILTERS] = { > [IFLA_VF_RX_FILTER] = { > [IFLA_RX_FILTER_VF] > [IFLA_RX_FILTER_ADDR] = { > [IFLA_RX_FILTER_ADDR_FLAGS] > [IFLA_RX_FILTER_ADDR_UC_LIST] = { > [IFLA_ADDR_LIST_ENTRY] > } > [IFLA_RX_FILTER_ADDR_MC_LIST] = { > [IFLA_ADDR_LIST_ENTRY] > } > } > [IFLA_RX_FILTER_VLAN] = { > [IFLA_RX_FILTER_VLAN_BITMAP] > } > } > ... > } [...] Please put the details of both syntax *and semantics* in if_link.h. Ben. -- Ben Hutchings, Staff Engineer, Solarflare Not speaking for my employer; that's the marketing department's job. They asked us to note that Solarflare product names are trademarked. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html