Lines Matching refs:hw_feat
445 if (!pdata->hw_feat.rss) in xgbe_enable_rss()
469 if (!pdata->hw_feat.rss) in xgbe_disable_rss()
481 if (!pdata->hw_feat.rss) in xgbe_config_rss()
650 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts()
772 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
807 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
808 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
834 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
1317 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
1322 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
1353 for (tc = 0; tc < pdata->hw_feat.tc_cnt; tc++) { in xgbe_config_dcb_pfc()
1867 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues()
1930 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
2023 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.tx_fifo_size, in xgbe_config_tx_fifo_size()
2039 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.rx_fifo_size, in xgbe_config_rx_fifo_size()
2061 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2062 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2064 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2146 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()