/illumos-gate/usr/src/uts/common/io/xge/hal/xgehal/ |
H A D | xgehal-channel-fp.c | 49 channel->type, channel->post_qid, in __hal_channel_dtr_alloc() 81 "free_length %d", channel->type, channel->post_qid, in __hal_channel_dtr_alloc() 101 channel->type, channel->post_qid, in __hal_channel_dtr_alloc() 125 channel->post_qid, channel->compl_qid, offset, in __hal_channel_dtr_restore() 132 channel->type, channel->post_qid, channel->compl_qid, in __hal_channel_dtr_restore() 186 channel->type, channel->post_qid, in __hal_channel_dtr_free() 238 return channel->post_qid; in xge_hal_channel_id()
|
H A D | xgehal-channel.c | 96 __hal_channel_allocate(xge_hal_device_h devh, int post_qid, in __hal_channel_allocate() argument 105 xge_assert(post_qid + 1 >= XGE_HAL_MIN_FIFO_NUM && in __hal_channel_allocate() 106 post_qid + 1 <= XGE_HAL_MAX_FIFO_NUM); in __hal_channel_allocate() 110 xge_assert(post_qid + 1 >= XGE_HAL_MIN_RING_NUM && in __hal_channel_allocate() 111 post_qid + 1 <= XGE_HAL_MAX_RING_NUM); in __hal_channel_allocate() 133 channel->post_qid = post_qid; in __hal_channel_allocate() 317 tmp->post_qid == attr->post_qid && in xge_hal_channel_open()
|
H A D | xgehal-ring.c | 253 queue = &ring->config->queue[attr->post_qid]; in __hal_ring_open() 355 queue = &ring->config->queue[ring->channel.post_qid]; in __hal_ring_close() 398 queue = &ring->config->queue[ring->channel.post_qid]; in __hal_ring_prc_enable() 411 val64, &bar0->prc_rxd0_n[ring->channel.post_qid]); in __hal_ring_prc_enable() 414 ring->channel.post_qid, (unsigned long long)val64); in __hal_ring_prc_enable() 417 ring->channel.regh0, &bar0->prc_ctrl_n[ring->channel.post_qid]); in __hal_ring_prc_enable() 441 val64, &bar0->prc_ctrl_n[ring->channel.post_qid]); in __hal_ring_prc_enable() 456 ring->channel.post_qid, queue->buffer_mode); in __hal_ring_prc_enable() 473 &bar0->prc_ctrl_n[ring->channel.post_qid]); in __hal_ring_prc_disable() 476 val64, &bar0->prc_ctrl_n[ring->channel.post_qid]); in __hal_ring_prc_disable() [all …]
|
H A D | xgehal-device-fp.c | 120 (fifo->channel.post_qid * XGE_HAL_FIFO_HW_PAIR_OFFSET)); in xge_hal_device_bar1_set() 371 hldev->irq_workload_rxd[channel->post_qid] += *got_rx; in xge_hal_device_poll_rx_channel() 372 hldev->irq_workload_rxcnt[channel->post_qid] ++; in xge_hal_device_poll_rx_channel() 374 hldev->irq_workload_rxlen[channel->post_qid] += got_bytes; in xge_hal_device_poll_rx_channel() 418 hldev->irq_workload_txd[channel->post_qid] += *got_tx; in xge_hal_device_poll_tx_channel() 419 hldev->irq_workload_txcnt[channel->post_qid] ++; in xge_hal_device_poll_tx_channel() 421 hldev->irq_workload_txlen[channel->post_qid] += got_bytes; in xge_hal_device_poll_tx_channel()
|
H A D | xgehal-fifo.c | 161 queue = &fifo->config->queue[attr->post_qid]; in __hal_fifo_open() 193 (attr->post_qid * XGE_HAL_FIFO_HW_PAIR_OFFSET)); in __hal_fifo_open() 473 tmp->post_qid == i) { in __hal_fifo_hw_initialize()
|
H A D | xgehal-ring-fp.c | 493 ((xge_hal_ring_t *)channelh)->channel.post_qid); in xge_hal_ring_dtr_pre_post() 726 ((xge_hal_channel_t*)ring)->post_qid, *t_code, in xge_hal_ring_dtr_next_completed()
|
H A D | xgehal-mgmtaux.c | 959 (void) xge_os_snprintf(key, sizeof(key), "ring%d_", channel->post_qid); in xge_hal_aux_stats_hal_read() 998 (void) xge_os_snprintf(key, sizeof(key), "fifo%d_", channel->post_qid); in xge_hal_aux_stats_hal_read() 1282 (void) xge_os_snprintf(key, sizeof(key), "ring%d_", channel->post_qid); in xge_hal_aux_channel_read() 1333 (void) xge_os_snprintf(key, sizeof(key), "fifo%d_", channel->post_qid); in xge_hal_aux_channel_read()
|
H A D | xgehal-device.c | 6516 int ring = channel->post_qid; in xge_hal_channel_msi_set() 6526 int fifo = channel->post_qid; in xge_hal_channel_msi_set() 6663 int ring = channel->post_qid; in xge_hal_channel_msix_set() 6670 hldev->config.ring.queue[channel->post_qid].intr_vector = in xge_hal_channel_msix_set() 6673 int fifo = channel->post_qid; in xge_hal_channel_msix_set() 6680 hldev->config.fifo.queue[channel->post_qid].intr_vector = in xge_hal_channel_msix_set()
|
H A D | xgehal-mgmt.c | 548 … __hal_update_ring_bump( (xge_hal_device_t *) channel->devh, channel->post_qid, channel_info); in xge_hal_mgmt_channel_stats()
|
/illumos-gate/usr/src/uts/common/io/xge/hal/include/ |
H A D | xgehal-channel.h | 254 int post_qid; member 390 int post_qid; member 426 __hal_channel_allocate(xge_hal_device_h devh, int post_qid,
|
/illumos-gate/usr/src/uts/common/io/xge/drv/ |
H A D | xge.c | 906 i = channel->post_qid; in xge_add_intrs() 935 assigned[i]->post_qid, i); in xge_add_intrs() 942 assigned[i]->post_qid, i); in xge_add_intrs()
|
H A D | xgell.c | 977 ((xge_hal_channel_t *)ring->channelh)->post_qid, in xgell_ring_tx() 990 ring->channelh)->post_qid); in xgell_ring_tx() 997 ring->channelh)->post_qid); in xgell_ring_tx() 1604 attr.post_qid = rx_ring->index; in xgell_rx_ring_open() 1760 attr.post_qid = tx_ring->index; in xgell_tx_ring_open()
|