mac_table 72 arch/powerpc/boot/planetcore.c static u64 mac_table[4] = { mac_table 91 arch/powerpc/boot/planetcore.c mac_table[i]; mac_table 594 drivers/net/ethernet/intel/igb/igb.h struct igb_mac_addr *mac_table; mac_table 3461 drivers/net/ethernet/intel/igb/igb_main.c kfree(adapter->mac_table); mac_table 3673 drivers/net/ethernet/intel/igb/igb_main.c kfree(adapter->mac_table); mac_table 3844 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table = kcalloc(hw->mac.rar_entry_count, mac_table 3847 drivers/net/ethernet/intel/igb/igb_main.c if (!adapter->mac_table) mac_table 7141 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].state &= ~IGB_MAC_STATE_IN_USE; mac_table 7142 drivers/net/ethernet/intel/igb/igb_main.c memset(adapter->mac_table[i].addr, 0, ETH_ALEN); mac_table 7143 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].queue = 0; mac_table 7158 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[i].state & IGB_MAC_STATE_DEFAULT) mac_table 7162 drivers/net/ethernet/intel/igb/igb_main.c if ((adapter->mac_table[i].state & IGB_MAC_STATE_IN_USE) && mac_table 7163 drivers/net/ethernet/intel/igb/igb_main.c (adapter->mac_table[i].queue != queue)) mac_table 7175 drivers/net/ethernet/intel/igb/igb_main.c struct igb_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 7177 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(mac_table->addr, adapter->hw.mac.addr); mac_table 7178 drivers/net/ethernet/intel/igb/igb_main.c mac_table->queue = adapter->vfs_allocated_count; mac_table 7179 drivers/net/ethernet/intel/igb/igb_main.c mac_table->state = IGB_MAC_STATE_DEFAULT | IGB_MAC_STATE_IN_USE; mac_table 7227 drivers/net/ethernet/intel/igb/igb_main.c if (!igb_mac_entry_can_be_used(&adapter->mac_table[i], mac_table 7231 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(adapter->mac_table[i].addr, addr); mac_table 7232 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].queue = queue; mac_table 7233 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].state |= IGB_MAC_STATE_IN_USE | flags; mac_table 7271 drivers/net/ethernet/intel/igb/igb_main.c if (!(adapter->mac_table[i].state & IGB_MAC_STATE_IN_USE)) mac_table 7273 drivers/net/ethernet/intel/igb/igb_main.c if ((adapter->mac_table[i].state & flags) != flags) mac_table 7275 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[i].queue != queue) mac_table 7277 drivers/net/ethernet/intel/igb/igb_main.c if (!ether_addr_equal(adapter->mac_table[i].addr, addr)) mac_table 7283 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[i].state & IGB_MAC_STATE_DEFAULT) { mac_table 7284 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].state = mac_table 7286 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].queue = mac_table 7289 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].state = 0; mac_table 7290 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[i].queue = 0; mac_table 7291 drivers/net/ethernet/intel/igb/igb_main.c memset(adapter->mac_table[i].addr, 0, ETH_ALEN); mac_table 9087 drivers/net/ethernet/intel/igb/igb_main.c u8 *addr = adapter->mac_table[index].addr; mac_table 9098 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & IGB_MAC_STATE_IN_USE) { mac_table 9102 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & IGB_MAC_STATE_SRC_ADDR) mac_table 9108 drivers/net/ethernet/intel/igb/igb_main.c if (adapter->mac_table[index].state & mac_table 9113 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[index].queue; mac_table 9117 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[index].queue; mac_table 9139 drivers/net/ethernet/intel/igb/igb_main.c ether_addr_copy(adapter->mac_table[rar_entry].addr, mac_addr); mac_table 9140 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[rar_entry].queue = vf; mac_table 9141 drivers/net/ethernet/intel/igb/igb_main.c adapter->mac_table[rar_entry].state |= IGB_MAC_STATE_IN_USE; mac_table 428 drivers/net/ethernet/intel/igc/igc.h struct igc_mac_addr *mac_table; mac_table 2362 drivers/net/ethernet/intel/igc/igc_main.c u8 *addr = adapter->mac_table[index].addr; mac_table 2375 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->mac_table[index].state & IGC_MAC_STATE_IN_USE) { mac_table 2380 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[index].queue; mac_table 2392 drivers/net/ethernet/intel/igc/igc_main.c struct igc_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 2394 drivers/net/ethernet/intel/igc/igc_main.c ether_addr_copy(mac_table->addr, adapter->hw.mac.addr); mac_table 2395 drivers/net/ethernet/intel/igc/igc_main.c mac_table->state = IGC_MAC_STATE_DEFAULT | IGC_MAC_STATE_IN_USE; mac_table 2442 drivers/net/ethernet/intel/igc/igc_main.c if (!igc_mac_entry_can_be_used(&adapter->mac_table[i], mac_table 2446 drivers/net/ethernet/intel/igc/igc_main.c ether_addr_copy(adapter->mac_table[i].addr, addr); mac_table 2447 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[i].queue = queue; mac_table 2448 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[i].state |= IGC_MAC_STATE_IN_USE | flags; mac_table 2486 drivers/net/ethernet/intel/igc/igc_main.c if (!(adapter->mac_table[i].state & IGC_MAC_STATE_IN_USE)) mac_table 2488 drivers/net/ethernet/intel/igc/igc_main.c if ((adapter->mac_table[i].state & flags) != flags) mac_table 2490 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->mac_table[i].queue != queue) mac_table 2492 drivers/net/ethernet/intel/igc/igc_main.c if (!ether_addr_equal(adapter->mac_table[i].addr, addr)) mac_table 2498 drivers/net/ethernet/intel/igc/igc_main.c if (adapter->mac_table[i].state & IGC_MAC_STATE_DEFAULT) { mac_table 2499 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[i].state = mac_table 2502 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[i].state = 0; mac_table 2503 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table[i].queue = 0; mac_table 2504 drivers/net/ethernet/intel/igc/igc_main.c memset(adapter->mac_table[i].addr, 0, ETH_ALEN); mac_table 4351 drivers/net/ethernet/intel/igc/igc_main.c kfree(adapter->mac_table); mac_table 4439 drivers/net/ethernet/intel/igc/igc_main.c adapter->mac_table = kzalloc(size, GFP_ATOMIC); mac_table 4440 drivers/net/ethernet/intel/igc/igc_main.c if (!adapter->mac_table) mac_table 747 drivers/net/ethernet/intel/ixgbe/ixgbe.h struct ixgbe_mac_addr *mac_table; mac_table 4729 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4733 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4734 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state &= ~IXGBE_MAC_STATE_MODIFIED; mac_table 4736 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->state & IXGBE_MAC_STATE_IN_USE) mac_table 4738 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->addr, mac_table 4739 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->pool, mac_table 4749 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4753 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4754 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(mac_table->state & IXGBE_MAC_STATE_MODIFIED)) mac_table 4757 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state &= ~IXGBE_MAC_STATE_MODIFIED; mac_table 4759 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->state & IXGBE_MAC_STATE_IN_USE) mac_table 4761 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->addr, mac_table 4762 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->pool, mac_table 4771 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4775 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4776 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state |= IXGBE_MAC_STATE_MODIFIED; mac_table 4777 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state &= ~IXGBE_MAC_STATE_IN_USE; mac_table 4785 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4789 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4791 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->state & IXGBE_MAC_STATE_DEFAULT) mac_table 4795 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->state & IXGBE_MAC_STATE_IN_USE) { mac_table 4796 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->pool != pool) mac_table 4809 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4812 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c memcpy(&mac_table->addr, hw->mac.addr, ETH_ALEN); mac_table 4813 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->pool = VMDQ_P(0); mac_table 4815 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state = IXGBE_MAC_STATE_DEFAULT | IXGBE_MAC_STATE_IN_USE; mac_table 4817 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c hw->mac.ops.set_rar(hw, 0, mac_table->addr, mac_table->pool, mac_table 4824 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4831 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4832 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->state & IXGBE_MAC_STATE_IN_USE) mac_table 4835 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ether_addr_copy(mac_table->addr, addr); mac_table 4836 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->pool = pool; mac_table 4838 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state |= IXGBE_MAC_STATE_MODIFIED | mac_table 4852 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c struct ixgbe_mac_addr *mac_table = &adapter->mac_table[0]; mac_table 4860 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c for (i = 0; i < hw->mac.num_rar_entries; i++, mac_table++) { mac_table 4862 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!(mac_table->state & IXGBE_MAC_STATE_IN_USE)) mac_table 4865 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (mac_table->pool != pool) mac_table 4868 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!ether_addr_equal(addr, mac_table->addr)) mac_table 4871 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state |= IXGBE_MAC_STATE_MODIFIED; mac_table 4872 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c mac_table->state &= ~IXGBE_MAC_STATE_IN_USE; mac_table 6303 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c adapter->mac_table = kcalloc(hw->mac.num_rar_entries, mac_table 6306 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c if (!adapter->mac_table) mac_table 11182 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(adapter->mac_table); mac_table 11271 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c kfree(adapter->mac_table); mac_table 3039 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_init_mac_table(dev, &info->mac_table); mac_table 839 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_mac_table mac_table; mac_table 153 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *table = &info->mac_table; mac_table 185 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *table = &info->mac_table; mac_table 191 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; mac_table 386 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; mac_table 393 drivers/net/ethernet/mellanox/mlx4/port.c table = &info->mac_table; mac_table 477 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *table = &info->mac_table; mac_table 482 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *dup_table = &mlx4_priv(dev)->port[dup_port].mac_table; mac_table 844 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; mac_table 845 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *t2 = &mlx4_priv(dev)->port[2].mac_table; mac_table 898 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *t1 = &mlx4_priv(dev)->port[1].mac_table; mac_table 899 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_mac_table *t2 = &mlx4_priv(dev)->port[2].mac_table; mac_table 1174 drivers/net/ethernet/micrel/ksz884x.c struct ksz_mac_table mac_table[STATIC_MAC_TABLE_ENTRIES]; mac_table 2832 drivers/net/ethernet/micrel/ksz884x.c entry = &hw->ksz_switch->mac_table[i]; mac_table 2850 drivers/net/ethernet/micrel/ksz884x.c entry = &hw->ksz_switch->mac_table[STP_ENTRY]; mac_table 2878 drivers/net/ethernet/micrel/ksz884x.c entry = &hw->ksz_switch->mac_table[i]; mac_table 396 drivers/net/wireless/ti/wl1251/acx.c memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN); mac_table 348 drivers/net/wireless/ti/wl1251/acx.h u8 mac_table[ACX_MC_ADDRESS_GROUP_MAX_LEN]; mac_table 231 drivers/net/wireless/ti/wlcore/acx.c memcpy(acx->mac_table, mc_list, mc_list_len * ETH_ALEN); mac_table 192 drivers/net/wireless/ti/wlcore/acx.h u8 mac_table[ADDRESS_GROUP_MAX_LEN];