Lines Matching refs:txqs
120 gather_tx_stats(nic_tx_stats, &nic_dev->txqs[i]); in gather_nic_stats()
134 if (nic_dev->txqs) in create_txqs()
137 nic_dev->txqs = devm_kcalloc(&netdev->dev, num_txqs, in create_txqs()
138 sizeof(*nic_dev->txqs), GFP_KERNEL); in create_txqs()
139 if (!nic_dev->txqs) in create_txqs()
147 err = hinic_init_txq(&nic_dev->txqs[i], sq, netdev); in create_txqs()
165 hinic_clean_txq(&nic_dev->txqs[i]); in create_txqs()
168 hinic_sq_debug_rem(nic_dev->txqs[j].sq); in create_txqs()
169 hinic_clean_txq(&nic_dev->txqs[j]); in create_txqs()
174 devm_kfree(&netdev->dev, nic_dev->txqs); in create_txqs()
184 napi_enable(&nic_dev->txqs[i].napi); in enable_txqs_napi()
193 napi_disable(&nic_dev->txqs[i].napi); in disable_txqs_napi()
205 if (!nic_dev->txqs) in free_txqs()
209 hinic_sq_debug_rem(nic_dev->txqs[i].sq); in free_txqs()
210 hinic_clean_txq(&nic_dev->txqs[i]); in free_txqs()
215 devm_kfree(&netdev->dev, nic_dev->txqs); in free_txqs()
216 nic_dev->txqs = NULL; in free_txqs()
834 nic_dev->txqs[q_id].napi.state); in hinic_tx_timeout()
1208 nic_dev->txqs = NULL; in nic_dev_init()