Home
last modified time | relevance | path

Searched refs:tx_index (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/ntb/
H A Dntb_transport.c136 ntb_q_idx_t tx_index; member
867 offset = qp->tx_mw + qp->tx_max_frame * qp->tx_index; in ntb_async_tx()
884 qp->tx_pkts, qp->tx_index, qp->remote_rx_info->entry); in ntb_process_tx()
885 if (qp->tx_index == qp->remote_rx_info->entry) { in ntb_process_tx()
905 CTR2(KTR_NTB, "TX: copying entry %p to index %u", entry, qp->tx_index); in ntb_process_tx()
908 qp->tx_index++; in ntb_process_tx()
909 qp->tx_index %= qp->tx_max_entry; in ntb_process_tx()
1370 qp->tx_index = 0; in ntb_transport_setup_qp_mw()
1454 qp->tx_index = qp->rx_index = 0; in ntb_qp_link_down_reset()
1672 unsigned int head = qp->tx_index; in ntb_transport_tx_free_entry()
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c1268 int tx_index = 0; in mlx4_en_start_port() local
1376 ++tx_index; in mlx4_en_start_port()
1434 while (tx_index--) { in mlx4_en_start_port()
1435 mlx4_en_deactivate_tx_ring(priv, priv->tx_ring[tx_index]); in mlx4_en_start_port()
1436 mlx4_en_deactivate_cq(priv, priv->tx_cq[tx_index]); in mlx4_en_start_port()