search for: mc_addr_ptr

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

2009 Feb 10
3
[PATCH 2/2] Use correct config option for ixgbe VMDq
...1,11 +2491,11 @@ static inline int is_fcoe_ether_addr(con static const u8 fcoe_oui[] = { 0x0e, 0xfc, 0x00 }; return compare_ether_oui(addr, fcoe_oui) == 0; } -#endif /* 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_p...
2009 Jan 27
5
[PATCH 2/2] Add VMDq support to ixgbe
...ontaining an Ethernet address @@ -2426,10 +2493,13 @@ static inline int is_fcoe_ether_addr(con static const u8 fcoe_oui[] = { 0x0e, 0xfc, 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 *m...