Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c284 ring->buf_size = ring->size * ring->stride + TXBB_SIZE; in mlx4_en_create_rx_ring()
344 if (ring->stride <= TXBB_SIZE) { in mlx4_en_activate_rx_rings()
350 ring->buf += TXBB_SIZE; in mlx4_en_activate_rx_rings()
382 if (priv->rx_ring[ring_ind]->stride <= TXBB_SIZE) in mlx4_en_activate_rx_rings()
383 priv->rx_ring[ring_ind]->buf -= TXBB_SIZE; in mlx4_en_activate_rx_rings()
443 mlx4_free_hwq_res(mdev->dev, &ring->wqres, size * stride + TXBB_SIZE); in mlx4_en_destroy_rx_ring()
462 if (ring->stride <= TXBB_SIZE) in mlx4_en_deactivate_rx_ring()
463 ring->buf -= TXBB_SIZE; in mlx4_en_deactivate_rx_ring()
Dmlx4_en.h79 #define TXBB_SIZE BIT(LOG_TXBB_SIZE) macro
80 #define HEADROOM (2048 / TXBB_SIZE + 1)
94 #define MAX_DESC_TXBBS (MAX_DESC_SIZE / TXBB_SIZE)
116 #define MLX4_EN_MIN_TX_SIZE (4096 / TXBB_SIZE)
Den_resources.c59 context->sq_size_stride = ilog2(TXBB_SIZE) - 4; in mlx4_en_fill_qp_context()
Den_tx.c575 if ((i & (TXBB_SIZE - 1)) == 0) in mlx4_en_bounce_to_desc()
583 if ((i & (TXBB_SIZE - 1)) == 0) in mlx4_en_bounce_to_desc()
910 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit()
Den_netdev.c2168 TXBB_SIZE, node, i)) in mlx4_en_alloc_resources()