Lines Matching refs:hw_feat
413 if (!pdata->hw_feat.rss) in xgbe_enable_rss()
437 if (!pdata->hw_feat.rss) in xgbe_disable_rss()
449 if (!pdata->hw_feat.rss) in xgbe_config_rss()
494 if (!pdata->hw_feat.vxn) in xgbe_enable_vxlan()
512 if (!pdata->hw_feat.vxn) in xgbe_disable_vxlan()
532 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) >= 0x30) in xgbe_get_fc_queue_count()
667 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_enable_dma_interrupts()
725 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts()
1023 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
1058 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
1059 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
1085 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2256 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues()
2320 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
2424 pdata->hw_feat.tx_fifo_size); in xgbe_get_tx_fifo_size()
2431 pdata->hw_feat.rx_fifo_size); in xgbe_get_rx_fifo_size()
2668 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2669 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2671 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2784 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
2789 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
2860 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
3303 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) > 0x20) in xgbe_prepare_tx_stop()