Searched refs:TXBB_SIZE (Results 1 – 5 of 5) sorted by relevance
405 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()
84 #define TXBB_SIZE 64 macro94 #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 */
57 context->sq_size_stride = ilog2(TXBB_SIZE) - 4; in mlx4_en_fill_qp_context()
276 (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()
1718 prof->tx_ring_size, TXBB_SIZE, node, i)) in mlx4_en_alloc_resources()