Home
last modified time | relevance | path

Searched refs:mac_hash (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c709 unsigned int mac_hash; in mlx4_en_replace_mac() local
714 bucket = &priv->mac_hash[prev_mac[MLX4_EN_MAC_HASH_IDX]]; in mlx4_en_replace_mac()
725 mac_hash = new_mac[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_replace_mac()
727 &priv->mac_hash[mac_hash]); in mlx4_en_replace_mac()
1156 bucket = &priv->mac_hash[i]; in mlx4_en_do_uc_filter()
1200 bucket = &priv->mac_hash[ha->addr[MLX4_EN_MAC_HASH_IDX]]; in mlx4_en_do_uc_filter()
1237 unsigned int mac_hash; in mlx4_en_do_uc_filter() local
1240 mac_hash = ha->addr[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_do_uc_filter()
1241 bucket = &priv->mac_hash[mac_hash]; in mlx4_en_do_uc_filter()
1327 &priv->mac_hash[entry->mac[MLX4_EN_MAC_HASH_IDX]]); in mlx4_en_set_rss_steer_rules()
[all …]
H A Den_rx.c791 unsigned int mac_hash; in mlx4_en_process_rx_cq() local
794 mac_hash = ethh->h_source[MLX4_EN_MAC_HASH_IDX]; in mlx4_en_process_rx_cq()
795 bucket = &priv->mac_hash[mac_hash]; in mlx4_en_process_rx_cq()
H A Dmlx4_en.h621 struct hlist_head mac_hash[MLX4_EN_MAC_HASH_SIZE]; member
/openbmc/linux/drivers/net/ipvlan/
H A Dipvlan_core.c236 unsigned int mac_hash; in ipvlan_process_multicast() local
253 mac_hash = ipvlan_mac_hash(ethh->h_dest); in ipvlan_process_multicast()
264 if (!test_bit(mac_hash, ipvlan->mac_filters)) in ipvlan_process_multicast()
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslic.h464 __le16 mac_hash; member
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_main.c434 u32 mac_hash = get_unaligned((u32 *)(&ha->addr[2])); in qeth_l2_add_mac() local
437 hash_for_each_possible(card->rx_mode_addrs, mac, hnode, mac_hash) { in qeth_l2_add_mac()
451 hash_add(card->rx_mode_addrs, &mac->hnode, mac_hash); in qeth_l2_add_mac()