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()
660 ver = XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER); in xgbe_enable_dma_interrupts()
718 q_count = max(pdata->hw_feat.tx_q_cnt, pdata->hw_feat.rx_q_cnt); in xgbe_enable_mtl_interrupts()
1013 addn_macs = pdata->hw_feat.addn_mac; in xgbe_set_mac_addn_addrs()
1048 hash_table_shift = 26 - (pdata->hw_feat.hash_table_size >> 7); in xgbe_set_mac_hash_table()
1049 hash_table_count = pdata->hw_feat.hash_table_size / 32; in xgbe_set_mac_hash_table()
1075 if (pdata->hw_feat.hash_table_size) in xgbe_add_mac_addresses()
2189 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) < 0x21) in xgbe_flush_tx_queues()
2253 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_mtl_mode()
2357 pdata->hw_feat.tx_fifo_size); in xgbe_get_tx_fifo_size()
2364 pdata->hw_feat.rx_fifo_size); in xgbe_get_rx_fifo_size()
2601 qptc = pdata->tx_q_count / pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2602 qptc_extra = pdata->tx_q_count % pdata->hw_feat.tc_cnt; in xgbe_config_queue_mapping()
2604 for (i = 0, queue = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_queue_mapping()
2717 total_weight = pdata->netdev->mtu * pdata->hw_feat.tc_cnt; in xgbe_config_dcb_tc()
2722 for (i = 0; i < pdata->hw_feat.tc_cnt; i++) { in xgbe_config_dcb_tc()
2793 if (pdata->hw_feat.hash_table_size) { in xgbe_config_mac_address()
3236 if (XGMAC_GET_BITS(pdata->hw_feat.version, MAC_VR, SNPSVER) > 0x20) in xgbe_prepare_tx_stop()