Searched refs:ds_cnt (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 236 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() 959 u16 ds_cnt = sizeof(struct mlx5i_tx_wqe) / MLX5_SEND_WQE_DS; in mlx5i_sq_calc_wqe_attr() local 962 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags; in mlx5i_sq_calc_wqe_attr() 968 ds_cnt += ds_cnt_inl; in mlx5i_sq_calc_wqe_attr() [all …]
|
D | en_main.c | 223 u8 ds_cnt; in mlx5e_build_umr_wqe() local 225 ds_cnt = DIV_ROUND_UP(mlx5e_mpwrq_umr_wqe_sz(rq->mdev, rq->mpwqe.page_shift, in mlx5e_build_umr_wqe() 230 ds_cnt); in mlx5e_build_umr_wqe() 1794 unsigned int ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT + 1; in mlx5e_open_xdpsq() local 1800 ds_cnt++; in mlx5e_open_xdpsq() 1815 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq() 1818 dseg = (struct mlx5_wqe_data_seg *)cseg + (ds_cnt - 1); in mlx5e_open_xdpsq()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 372 u16 ds_cnt, inline_hdr_sz; in mlx5e_xmit_xdp_frame() local 384 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT + 1; in mlx5e_xmit_xdp_frame() 386 ds_cnt++; in mlx5e_xmit_xdp_frame() 393 ds_cnt += sinfo->nr_frags; in mlx5e_xmit_xdp_frame() 395 num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS); in mlx5e_xmit_xdp_frame() 457 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_xmit_xdp_frame()
|
D | xdp.h | 156 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.h | 81 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt,
|
D | aso.c | 345 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt, in mlx5_aso_build_wqe() argument 354 cseg->qpn_ds = cpu_to_be32((aso->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | ds_cnt); in mlx5_aso_build_wqe()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/tc/ |
D | meter.c | 121 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 726 u16 ds_cnt; in tx_post_resync_dump() local 734 ds_cnt = sizeof(*wqe) / MLX5_SEND_WQE_DS; in tx_post_resync_dump() 740 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump()
|