Home
last modified time | relevance | path

Searched refs:TXBB_SIZE (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_rx.c405 ring->buf_size = (ring->size * sizeof(struct mlx4_en_rx_desc)) + TXBB_SIZE; in mlx4_en_create_rx_ring()
481 if (sizeof(struct mlx4_en_rx_desc) <= TXBB_SIZE) { in mlx4_en_activate_rx_rings()
487 ring->buf += TXBB_SIZE; in mlx4_en_activate_rx_rings()
536 if (sizeof(struct mlx4_en_rx_desc) <= TXBB_SIZE) in mlx4_en_activate_rx_rings()
537 ring->buf -= TXBB_SIZE; in mlx4_en_activate_rx_rings()
554 mlx4_free_hwq_res(mdev->dev, &ring->wqres, size * sizeof(struct mlx4_en_rx_desc) + TXBB_SIZE); in mlx4_en_destroy_rx_ring()
581 if (sizeof(struct mlx4_en_rx_desc) <= TXBB_SIZE) in mlx4_en_deactivate_rx_ring()
582 ring->buf -= TXBB_SIZE; in mlx4_en_deactivate_rx_ring()
H A Den.h84 #define TXBB_SIZE 64 macro
94 #define HEADROOM (2048 / TXBB_SIZE + 1)
141 #define MLX4_EN_MIN_RX_SIZE (4096 / TXBB_SIZE)
142 #define MLX4_EN_MIN_TX_SIZE (4096 / TXBB_SIZE)
272 (MLX4_EN_TX_MAX_DESC_SIZE / TXBB_SIZE) /* units */
H A Dmlx4_en_resources.c57 context->sq_size_stride = ilog2(TXBB_SIZE) - 4; in mlx4_en_fill_qp_context()
H A Dmlx4_en_tx.c276 (ring->buf + (index * TXBB_SIZE)); in mlx4_en_stamp_wqe()
283 for (i = 0; i < tx_info->nr_txbb * TXBB_SIZE; i += STAMP_STRIDE) { in mlx4_en_stamp_wqe()
634 DS_FACT = TXBB_SIZE / DS_SIZE_ALIGNMENT, in mlx4_en_xmit()
686 (ring->buf + index * TXBB_SIZE); in mlx4_en_xmit()
H A Dmlx4_en_netdev.c1718 prof->tx_ring_size, TXBB_SIZE, node, i)) in mlx4_en_alloc_resources()