Home
last modified time | relevance | path

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

/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_internal.h271 #define OPA_VNIC_MAC_TBL_SIZE BIT(OPA_VNIC_MAC_TBL_HASH_BITS) macro
274 #define vnic_hash_init(hashtable) __hash_init(hashtable, OPA_VNIC_MAC_TBL_SIZE)
278 &hashtable[hash_min(key, ilog2(OPA_VNIC_MAC_TBL_SIZE))])
282 !obj && (bkt) < OPA_VNIC_MAC_TBL_SIZE; (bkt)++) \
287 &name[hash_min(key, ilog2(OPA_VNIC_MAC_TBL_SIZE))], member)
291 !obj && (bkt) < OPA_VNIC_MAC_TBL_SIZE; (bkt)++) \
Dopa_vnic_encap.c121 u32 size = sizeof(struct hlist_head) * OPA_VNIC_MAC_TBL_SIZE; in opa_vnic_alloc_mac_tbl()