search for: mc_ptr

Displaying 2 results from an estimated 2 matches for "mc_ptr".

Did you mean: m_ptr
2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
...* CONFIG_XEN_NETDEV2_BACKEND */ +#endif /* CONFIG_XEN_NETDEV2_VMQ */ static u8 *ixgbe_addr_list_itr(struct ixgbe_hw *hw, u8 **mc_addr_ptr, u32 *vmdq) { -#ifndef CONFIG_XEN_NETDEV2_BACKEND +#ifndef CONFIG_XEN_NETDEV2_VMQ struct ixgbe_adapter *adapter = hw->back; #endif struct dev_mc_list *mc_ptr; @@ -2507,7 +2507,7 @@ static u8 *ixgbe_addr_list_itr(struct ix *mc_addr_ptr = mc_ptr->next->dmi_addr; else *mc_addr_ptr = NULL; -#ifndef CONFIG_XEN_NETDEV2_BACKEND +#ifndef CONFIG_XEN_NETDEV2_VMQ if (adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) { /* VMDQ set 1 is used for FC...
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...0x00 }; return compare_ether_oui(addr, fcoe_oui) == 0; } +#endif /* CONFIG_XEN_NETDEV2_BACKEND */ static u8 *ixgbe_addr_list_itr(struct ixgbe_hw *hw, u8 **mc_addr_ptr, u32 *vmdq) { +#ifndef CONFIG_XEN_NETDEV2_BACKEND struct ixgbe_adapter *adapter = hw->back; +#endif struct dev_mc_list *mc_ptr; u8 *addr = *mc_addr_ptr; *vmdq = 0; @@ -2439,7 +2509,7 @@ static u8 *ixgbe_addr_list_itr(struct ix *mc_addr_ptr = mc_ptr->next->dmi_addr; else *mc_addr_ptr = NULL; - +#ifndef CONFIG_XEN_NETDEV2_BACKEND if (adapter->flags & IXGBE_FLAG_VMDQ_ENABLED) { /* VMDQ set 1 is u...