Lines Matching refs:queue_pairs
107 hw->queue_pairs); in ntb_handshake_work()
466 if (queue_id >= hw->queue_pairs) in ntb_queue_setup()
483 if (queue_id >= hw->queue_pairs) in ntb_queue_release()
498 return hw->queue_pairs; in ntb_queue_count()
844 if (!hw->queue_size || !hw->queue_pairs) { in ntb_dev_info_get()
853 info->ntb_hdr_size = hw->hdr_size_per_queue * hw->queue_pairs; in ntb_dev_info_get()
870 hw->queue_pairs = conf->num_queues; in ntb_dev_configure()
875 sizeof(struct ntb_rx_queue *) * hw->queue_pairs, 0); in ntb_dev_configure()
877 sizeof(struct ntb_tx_queue *) * hw->queue_pairs, 0); in ntb_dev_configure()
879 xstats_num = (hw->queue_pairs + 1) * NTB_XSTATS_NUM; in ntb_dev_configure()
916 for (i = 0; i < hw->queue_pairs; i++) { in ntb_dev_start()
941 if (peer_val != hw->queue_pairs) { in ntb_dev_start()
943 " %u)", hw->queue_pairs, peer_val); in ntb_dev_start()
965 for (i = 0; i < hw->queue_pairs; i++) { in ntb_dev_start()
1019 for (i = 0; i < hw->queue_pairs; i++) { in ntb_dev_stop()
1038 for (i = 0; i < hw->queue_pairs; i++) in ntb_dev_close()
1040 hw->queue_pairs = 0; in ntb_dev_close()
1098 hw->queue_pairs = attr_value; in ntb_attr_set()
1210 for (j = 0; j < hw->queue_pairs; j++) { in ntb_xstats_get()
1218 xstats_num = NTB_XSTATS_NUM * (hw->queue_pairs + 1); in ntb_xstats_get()
1239 xstats_num = NTB_XSTATS_NUM * (hw->queue_pairs + 1); in ntb_xstats_get_names()
1247 for (i = 0; i < hw->queue_pairs; i++) { in ntb_xstats_get_names()
1270 xstats_num = NTB_XSTATS_NUM * (hw->queue_pairs + 1); in ntb_xstats_get_by_name()
1278 for (j = 0; j < hw->queue_pairs; j++) { in ntb_xstats_get_by_name()
1312 xstats_num = NTB_XSTATS_NUM * (hw->queue_pairs + 1); in ntb_xstats_reset()
1315 for (j = 0; j < hw->queue_pairs; j++) { in ntb_xstats_reset()