Searched refs:OPA_VNIC_MAC_TBL_SIZE (Results 1 – 2 of 2) sorted by relevance
271 #define OPA_VNIC_MAC_TBL_SIZE BIT(OPA_VNIC_MAC_TBL_HASH_BITS) macro274 #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)++) \
121 u32 size = sizeof(struct hlist_head) * OPA_VNIC_MAC_TBL_SIZE; in opa_vnic_alloc_mac_tbl()