Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c208 struct hlist_head *new_mactbl, *old_mactbl; in opa_vnic_update_mac_tbl() local
215 new_mactbl = opa_vnic_alloc_mac_tbl(); in opa_vnic_update_mac_tbl()
216 if (IS_ERR(new_mactbl)) { in opa_vnic_update_mac_tbl()
218 return PTR_ERR(new_mactbl); in opa_vnic_update_mac_tbl()
255 vnic_hash_add(new_mactbl, &node->hlist, key); in opa_vnic_update_mac_tbl()
277 vnic_hash_add(new_mactbl, &new_node->hlist, key); in opa_vnic_update_mac_tbl()
282 rcu_assign_pointer(adapter->mactbl, new_mactbl); in opa_vnic_update_mac_tbl()
289 opa_vnic_free_mac_tbl(new_mactbl); in opa_vnic_update_mac_tbl()