Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c236 u16 ds_cnt; member
304 u16 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT; in mlx5e_sq_calc_wqe_attr() local
314 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags + ds_cnt_ids; in mlx5e_sq_calc_wqe_attr()
325 ds_cnt += ds_cnt_inl; in mlx5e_sq_calc_wqe_attr()
329 .ds_cnt = ds_cnt, in mlx5e_sq_calc_wqe_attr()
332 .num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS), in mlx5e_sq_calc_wqe_attr()
389 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | wqe_attr->ds_cnt); in mlx5e_txwqe_complete()
952 u16 ds_cnt = sizeof(struct mlx5i_tx_wqe) / MLX5_SEND_WQE_DS; in mlx5i_sq_calc_wqe_attr() local
955 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags; in mlx5i_sq_calc_wqe_attr()
961 ds_cnt += ds_cnt_inl; in mlx5i_sq_calc_wqe_attr()
[all …]
Den_main.c229 u8 ds_cnt; in mlx5e_build_umr_wqe() local
231 ds_cnt = DIV_ROUND_UP(mlx5e_mpwrq_umr_wqe_sz(rq->mdev, rq->mpwqe.page_shift, in mlx5e_build_umr_wqe()
236 ds_cnt); in mlx5e_build_umr_wqe()
1875 unsigned int ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT + 1; in mlx5e_open_xdpsq() local
1881 ds_cnt++; in mlx5e_open_xdpsq()
1895 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq()
/linux-6.6.21/arch/mips/include/asm/octeon/
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.h211 u16 ds_cnt = DIV_ROUND_UP(ds_len, MLX5_SEND_WQE_DS); in mlx5e_xdp_mpwqe_add_dseg() local
216 session->ds_count += ds_cnt; in mlx5e_xdp_mpwqe_add_dseg()
Dxdp.c495 u16 ds_cnt, inline_hdr_sz; in mlx5e_xmit_xdp_frame() local
519 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT + linear + !!inline_hdr_sz; in mlx5e_xmit_xdp_frame()
526 ds_cnt += xdptxdf->sinfo->nr_frags; in mlx5e_xmit_xdp_frame()
528 num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xmit_xdp_frame()
590 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_xmit_xdp_frame()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Daso.h83 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt,
Daso.c342 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt, in mlx5_aso_build_wqe() argument
351 cseg->qpn_ds = cpu_to_be32((aso->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | ds_cnt); in mlx5_aso_build_wqe()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dmeter.c121 u8 ds_cnt; in mlx5e_tc_meter_modify() local
160 ds_cnt = DIV_ROUND_UP(sizeof(struct mlx5_aso_wqe_data), MLX5_SEND_WQE_DS); in mlx5e_tc_meter_modify()
161 mlx5_aso_build_wqe(aso, ds_cnt, aso_wqe, meter->obj_id, in mlx5e_tc_meter_modify()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_offload.c597 u8 ds_cnt; in mlx5e_ipsec_aso_query() local
606 ds_cnt = DIV_ROUND_UP(sizeof(*wqe), MLX5_SEND_WQE_DS); in mlx5e_ipsec_aso_query()
607 mlx5_aso_build_wqe(aso->aso, ds_cnt, wqe, sa_entry->ipsec_obj_id, in mlx5e_ipsec_aso_query()
Dktls_tx.c721 u16 ds_cnt; in tx_post_resync_dump() local
729 ds_cnt = sizeof(*wqe) / MLX5_SEND_WQE_DS; in tx_post_resync_dump()
735 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump()