Searched refs:TXBB_SIZE (Results 1 – 5 of 5) sorted by relevance
80 #define TXBB_SIZE BIT(LOG_TXBB_SIZE) macro81 #define HEADROOM (2048 / TXBB_SIZE + 1)103 ALIGN(256 + CTRL_SIZE + DS_SIZE + MAX_SKB_FRAGS * DS_SIZE, TXBB_SIZE)105 #define MLX4_MAX_DESC_TXBBS (MLX4_TX_BOUNCE_BUFFER_SIZE / TXBB_SIZE)127 #define MLX4_EN_MIN_TX_SIZE (4096 / TXBB_SIZE)
287 ring->buf_size = ring->size * ring->stride + TXBB_SIZE; in mlx4_en_create_rx_ring()347 if (ring->stride <= TXBB_SIZE) { in mlx4_en_activate_rx_rings()353 ring->buf += TXBB_SIZE; in mlx4_en_activate_rx_rings()385 if (priv->rx_ring[ring_ind]->stride <= TXBB_SIZE) in mlx4_en_activate_rx_rings()386 priv->rx_ring[ring_ind]->buf -= TXBB_SIZE; in mlx4_en_activate_rx_rings()446 mlx4_free_hwq_res(mdev->dev, &ring->wqres, size * stride + TXBB_SIZE); in mlx4_en_destroy_rx_ring()465 if (ring->stride <= TXBB_SIZE) in mlx4_en_deactivate_rx_ring()466 ring->buf -= TXBB_SIZE; in mlx4_en_deactivate_rx_ring()
59 context->sq_size_stride = ilog2(TXBB_SIZE) - 4; in mlx4_en_fill_qp_context()
579 if ((i & (TXBB_SIZE - 1)) == 0) in mlx4_en_bounce_to_desc()587 if ((i & (TXBB_SIZE - 1)) == 0) in mlx4_en_bounce_to_desc()914 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit()
2172 TXBB_SIZE, node, i)) in mlx4_en_alloc_resources()