Searched refs:DS_SIZE (Results 1 – 4 of 4) sorted by relevance
662 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size()663 ALIGN(*lso_header_size - *hopbyhop + 4, DS_SIZE); in get_real_size()668 real_size += DS_SIZE; in get_real_size()684 (shinfo->nr_frags + 1) * DS_SIZE; in get_real_size()962 int lso_align = ALIGN(lso_header_size - hopbyhop + 4, DS_SIZE); in mlx4_en_xmit()1143 #define MLX4_EN_XDP_TX_REAL_SZ (((CTRL_SIZE + MLX4_EN_XDP_TX_NRTXBB * DS_SIZE) \
94 #define DS_SIZE sizeof(struct mlx4_wqe_data_seg) macro103 ALIGN(256 + CTRL_SIZE + DS_SIZE + MAX_SKB_FRAGS * DS_SIZE, TXBB_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()
2232 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_copy_priv()3232 DS_SIZE * MLX4_EN_MAX_RX_FRAGS); in mlx4_en_init_netdev()