Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_nve.c847 struct mlxsw_sp_nve_ipv6_ht_node *ipv6_ht_node; in mlxsw_sp_nve_ipv6_ht_insert() local
851 ipv6_ht_node = kzalloc(sizeof(*ipv6_ht_node), GFP_KERNEL); in mlxsw_sp_nve_ipv6_ht_insert()
852 if (!ipv6_ht_node) in mlxsw_sp_nve_ipv6_ht_insert()
855 ether_addr_copy(ipv6_ht_node->key.mac, mac); in mlxsw_sp_nve_ipv6_ht_insert()
856 ipv6_ht_node->key.fid_index = fid_index; in mlxsw_sp_nve_ipv6_ht_insert()
857 ipv6_ht_node->addr6 = *addr6; in mlxsw_sp_nve_ipv6_ht_insert()
859 err = rhashtable_insert_fast(&nve->ipv6_ht, &ipv6_ht_node->ht_node, in mlxsw_sp_nve_ipv6_ht_insert()
864 list_add(&ipv6_ht_node->list, &nve->ipv6_addr_list); in mlxsw_sp_nve_ipv6_ht_insert()
869 kfree(ipv6_ht_node); in mlxsw_sp_nve_ipv6_ht_insert()
875 struct mlxsw_sp_nve_ipv6_ht_node *ipv6_ht_node) in mlxsw_sp_nve_ipv6_ht_remove() argument
[all …]