Searched refs:DS_SIZE (Results 1 – 4 of 4) sorted by relevance
648 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size()649 ALIGN(*lso_header_size + 4, DS_SIZE); in get_real_size()654 real_size += DS_SIZE; in get_real_size()670 (shinfo->nr_frags + 1) * DS_SIZE; in get_real_size()947 int lso_align = ALIGN(lso_header_size + 4, DS_SIZE); in mlx4_en_xmit()1111 #define MLX4_EN_XDP_TX_REAL_SZ (((CTRL_SIZE + MLX4_EN_XDP_TX_NRTXBB * DS_SIZE) \
125 possible_frags = (ring->stride - sizeof(struct mlx4_en_rx_desc)) / DS_SIZE; in mlx4_en_init_rx_desc()333 DS_SIZE * priv->num_frags); in mlx4_en_activate_rx_rings()
222 #define DS_SIZE sizeof(struct mlx4_wqe_data_seg) macro
2231 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_copy_priv()3293 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_init_netdev()