Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tx.c325 u16 ds_cnt; member
391 u16 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT; in mlx5e_sq_calc_wqe_attr() local
399 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags + ds_cnt_ids; in mlx5e_sq_calc_wqe_attr()
407 ds_cnt += ds_cnt_inl; in mlx5e_sq_calc_wqe_attr()
411 .ds_cnt = ds_cnt, in mlx5e_sq_calc_wqe_attr()
414 .num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS), in mlx5e_sq_calc_wqe_attr()
961 u16 ds_cnt = sizeof(struct mlx5i_tx_wqe) / MLX5_SEND_WQE_DS; in mlx5i_sq_calc_wqe_attr() local
964 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags; in mlx5i_sq_calc_wqe_attr()
970 ds_cnt += ds_cnt_inl; in mlx5i_sq_calc_wqe_attr()
974 .ds_cnt = ds_cnt, in mlx5i_sq_calc_wqe_attr()
[all …]
A Den_main.c209 u8 ds_cnt = DIV_ROUND_UP(MLX5E_UMR_WQE_INLINE_SZ, MLX5_SEND_WQE_DS); in mlx5e_build_umr_wqe() local
212 ds_cnt); in mlx5e_build_umr_wqe()
1668 unsigned int ds_cnt = MLX5E_XDP_TX_DS_COUNT; in mlx5e_open_xdpsq() local
1674 ds_cnt++; in mlx5e_open_xdpsq()
1689 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq()
1692 dseg = (struct mlx5_wqe_data_seg *)cseg + (ds_cnt - 1); in mlx5e_open_xdpsq()
/linux/arch/mips/include/asm/octeon/
A Dcvmx-pow-defs.h768 uint64_t ds_cnt:12; member
772 uint64_t ds_cnt:12;
782 uint64_t ds_cnt:7; member
788 uint64_t ds_cnt:7;
799 uint64_t ds_cnt:9; member
805 uint64_t ds_cnt:9;
816 uint64_t ds_cnt:10; member
822 uint64_t ds_cnt:10;
833 uint64_t ds_cnt:11; member
839 uint64_t ds_cnt:11;
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dxdp.h156 u16 ds_cnt = DIV_ROUND_UP(ds_len, MLX5_SEND_WQE_DS); in mlx5e_xdp_mpwqe_add_dseg() local
161 session->ds_count += ds_cnt; in mlx5e_xdp_mpwqe_add_dseg()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_tx.c314 u16 ds_cnt; in tx_post_resync_dump() local
322 ds_cnt = sizeof(*wqe) / MLX5_SEND_WQE_DS; in tx_post_resync_dump()
328 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump()

Completed in 27 milliseconds