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()
775 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
810 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()
1306 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
1311 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
1344 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()
1970 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.tx_fifo_size, in xgbe_config_tx_fifo_size()
1986 fifo_size = xgbe_calculate_per_queue_fifo(pdata->hw_feat.rx_fifo_size, in xgbe_config_rx_fifo_size()
2008 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2009 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2011 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2097 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()