Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-drv.c546 hw_feat->hash_table_size = XGMAC_GET_BITS(mac_hfr1, MAC_HWF1R, in xgbe_get_all_hw_features()
560 switch (hw_feat->hash_table_size) { in xgbe_get_all_hw_features()
564 hw_feat->hash_table_size = 64; in xgbe_get_all_hw_features()
567 hw_feat->hash_table_size = 128; in xgbe_get_all_hw_features()
570 hw_feat->hash_table_size = 256; in xgbe_get_all_hw_features()
Dxgbe.h745 unsigned int hash_table_size; /* Hash Table Size */ member
Dxgbe-dev.c810 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
811 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
837 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2097 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c2006 int hash_table_size; in bnx2fc_allocate_hash_table() local
2013 hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL * in bnx2fc_allocate_hash_table()
2016 segment_count = hash_table_size + BNX2FC_HASH_TBL_CHUNK_SIZE - 1; in bnx2fc_allocate_hash_table()