Lines Matching refs:vinfo
126 struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_send_dma() argument
129 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_send_dma()
220 struct hfi1_vnic_vport_info *vinfo = vnic_sdma->vinfo; in hfi1_vnic_sdma_wakeup() local
223 if (__netif_subqueue_stopped(vinfo->netdev, vnic_sdma->q_idx)) in hfi1_vnic_sdma_wakeup()
224 netif_wake_subqueue(vinfo->netdev, vnic_sdma->q_idx); in hfi1_vnic_sdma_wakeup()
227 inline bool hfi1_vnic_sdma_write_avail(struct hfi1_vnic_vport_info *vinfo, in hfi1_vnic_sdma_write_avail() argument
230 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[q_idx]; in hfi1_vnic_sdma_write_avail()
235 void hfi1_vnic_sdma_init(struct hfi1_vnic_vport_info *vinfo) in hfi1_vnic_sdma_init() argument
239 for (i = 0; i < vinfo->num_tx_q; i++) { in hfi1_vnic_sdma_init()
240 struct hfi1_vnic_sdma *vnic_sdma = &vinfo->sdma[i]; in hfi1_vnic_sdma_init()
245 vnic_sdma->sde = &vinfo->dd->per_sdma[i]; in hfi1_vnic_sdma_init()
246 vnic_sdma->dd = vinfo->dd; in hfi1_vnic_sdma_init()
247 vnic_sdma->vinfo = vinfo; in hfi1_vnic_sdma_init()