Searched refs:DS_SIZE (Results 1 – 4 of 4) sorted by relevance
658 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size()659 ALIGN(*lso_header_size - *hopbyhop + 4, DS_SIZE); in get_real_size()664 real_size += DS_SIZE; in get_real_size()680 (shinfo->nr_frags + 1) * DS_SIZE; in get_real_size()958 int lso_align = ALIGN(lso_header_size - hopbyhop + 4, DS_SIZE); in mlx4_en_xmit()1139 #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
2232 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_copy_priv()3290 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_init_netdev()