Searched refs:ds_cnt (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tx.c | 240 u16 ds_cnt; member 308 u16 ds_cnt = MLX5E_TX_WQE_EMPTY_DS_COUNT; in mlx5e_sq_calc_wqe_attr() local 318 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags + ds_cnt_ids; in mlx5e_sq_calc_wqe_attr() 329 ds_cnt += ds_cnt_inl; in mlx5e_sq_calc_wqe_attr() 333 .ds_cnt = ds_cnt, in mlx5e_sq_calc_wqe_attr() 336 .num_wqebbs = DIV_ROUND_UP(ds_cnt, MLX5_SEND_WQEBB_NUM_DS), in mlx5e_sq_calc_wqe_attr() 393 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | wqe_attr->ds_cnt); in mlx5e_txwqe_complete() 957 u16 ds_cnt = sizeof(struct mlx5i_tx_wqe) / MLX5_SEND_WQE_DS; in mlx5i_sq_calc_wqe_attr() local 960 ds_cnt += !!attr->headlen + skb_shinfo(skb)->nr_frags; in mlx5i_sq_calc_wqe_attr() 966 ds_cnt += ds_cnt_inl; in mlx5i_sq_calc_wqe_attr() [all …]
|
D | en_main.c | 229 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.h | 211 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()
|
D | xdp.c | 495 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()
|
/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | aso.h | 83 void mlx5_aso_build_wqe(struct mlx5_aso *aso, u8 ds_cnt,
|
D | aso.c | 342 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()
|
/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 | ipsec_offload.c | 598 u8 ds_cnt; in mlx5e_ipsec_aso_query() local 607 ds_cnt = DIV_ROUND_UP(sizeof(*wqe), MLX5_SEND_WQE_DS); in mlx5e_ipsec_aso_query() 608 mlx5_aso_build_wqe(aso->aso, ds_cnt, wqe, sa_entry->ipsec_obj_id, in mlx5e_ipsec_aso_query()
|
D | ktls_tx.c | 721 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()
|