Lines Matching full:dtr
323 static inline void vxge_re_pre_post(void *dtr, struct vxge_ring *ring, in vxge_re_pre_post() argument
329 vxge_hw_ring_rxd_1b_set(dtr, rx_priv->data_dma, rx_priv->data_size); in vxge_re_pre_post()
330 vxge_hw_ring_rxd_pre_post(ring->handle, dtr); in vxge_re_pre_post()
354 vxge_rx_1b_compl(struct __vxge_hw_ring *ringh, void *dtr, in vxge_rx_1b_compl() argument
375 prefetch((char *)dtr + L1_CACHE_BYTES); in vxge_rx_1b_compl()
376 rx_priv = vxge_hw_ring_rxd_private_get(dtr); in vxge_rx_1b_compl()
386 vxge_hw_ring_rxd_1b_get(ringh, dtr, &dma_sizes); in vxge_rx_1b_compl()
395 vxge_hw_ring_rxd_1b_info_get(ringh, dtr, &ext_info); in vxge_rx_1b_compl()
402 if (vxge_hw_ring_handle_tcode(ringh, dtr, t_code) != in vxge_rx_1b_compl()
415 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
417 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
424 if (vxge_rx_alloc(dtr, ring, data_size) != NULL) { in vxge_rx_1b_compl()
425 if (!vxge_rx_map(dtr, ring)) { in vxge_rx_1b_compl()
432 vxge_hw_ring_rxd_pre_post(ringh, dtr); in vxge_rx_1b_compl()
433 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
439 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
441 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
447 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
449 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
472 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
474 vxge_post(&dtr_cnt, &first_dtr, dtr, in vxge_rx_1b_compl()
480 vxge_re_pre_post(dtr, ring, rx_priv); in vxge_rx_1b_compl()
482 vxge_post(&dtr_cnt, &first_dtr, dtr, ringh); in vxge_rx_1b_compl()
525 } while (vxge_hw_ring_rxd_next_completed(ringh, &dtr, in vxge_rx_1b_compl()
547 vxge_xmit_compl(struct __vxge_hw_fifo *fifo_hw, void *dtr, in vxge_xmit_compl() argument
563 vxge_hw_fifo_txdl_private_get(dtr); in vxge_xmit_compl()
570 "%s: %s:%d fifo_hw = %p dtr = %p " in vxge_xmit_compl()
572 __LINE__, fifo_hw, dtr, t_code); in vxge_xmit_compl()
582 "%s: tx: dtr %p completed due to " in vxge_xmit_compl()
584 dtr, t_code); in vxge_xmit_compl()
585 vxge_hw_fifo_handle_tcode(fifo_hw, dtr, t_code); in vxge_xmit_compl()
599 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit_compl()
619 &dtr, &t_code) == VXGE_HW_OK); in vxge_xmit_compl()
808 void *dtr = NULL; in vxge_xmit() local
881 status = vxge_hw_fifo_txdl_reserve(fifo_hw, &dtr, &dtr_priv); in vxge_xmit()
890 "%s: %s:%d fifo_hw = %p dtr = %p dtr_priv = %p", in vxge_xmit()
892 fifo_hw, dtr, dtr_priv); in vxge_xmit()
896 vxge_hw_fifo_txdl_vlan_set(dtr, vlan_tag); in vxge_xmit()
905 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit()
910 txdl_priv = vxge_hw_fifo_txdl_private_get(dtr); in vxge_xmit()
921 vxge_hw_fifo_txdl_buffer_set(fifo_hw, dtr, j++, dma_pointer, in vxge_xmit()
942 vxge_hw_fifo_txdl_buffer_set(fifo_hw, dtr, j++, dma_pointer, in vxge_xmit()
954 vxge_hw_fifo_txdl_mss_set(dtr, mss); in vxge_xmit()
964 vxge_hw_fifo_txdl_cksum_set_bits(dtr, in vxge_xmit()
969 vxge_hw_fifo_txdl_post(fifo_hw, dtr); in vxge_xmit()
990 vxge_hw_fifo_txdl_free(fifo_hw, dtr); in vxge_xmit()