Home
last modified time | relevance | path

Searched refs:cseg (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtxrx.h54 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop() local
56 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop()
58 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop()
59 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop()
71 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop_fence() local
73 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop_fence()
75 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop_fence()
76 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop_fence()
77 cseg->fm_ce_se = MLX5_FENCE_MODE_INITIATOR_SMALL; in mlx5e_post_nop_fence()
119 static inline bool mlx5e_transport_inline_tx_wqe(struct mlx5_wqe_ctrl_seg *cseg) in mlx5e_transport_inline_tx_wqe() argument
[all …]
Dxdp.c209 struct mlx5_wqe_ctrl_seg *cseg = &session->wqe->ctrl; in mlx5e_xdp_mpwqe_complete() local
214 cseg->opmod_idx_opcode = in mlx5e_xdp_mpwqe_complete()
216 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete()
223 sq->doorbell_cseg = cseg; in mlx5e_xdp_mpwqe_complete()
308 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_xmit_xdp_frame() local
329 cseg->fm_ce_se = 0; in mlx5e_xmit_xdp_frame()
344 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_SEND); in mlx5e_xmit_xdp_frame()
348 sq->doorbell_cseg = cseg; in mlx5e_xmit_xdp_frame()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c56 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in build_static_params() local
62 cseg->opmod_idx_opcode = cpu_to_be32((pc << 8) | MLX5_OPCODE_UMR | in build_static_params()
64 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in build_static_params()
66 cseg->fm_ce_se = fence ? MLX5_FENCE_MODE_INITIATOR_SMALL : 0; in build_static_params()
67 cseg->tisn = cpu_to_be32(priv_tx->tisn << 8); in build_static_params()
90 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in build_progress_params() local
95 cseg->opmod_idx_opcode = in build_progress_params()
98 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in build_progress_params()
100 cseg->fm_ce_se = fence ? MLX5_FENCE_MODE_INITIATOR_SMALL : 0; in build_progress_params()
260 struct mlx5_wqe_ctrl_seg *cseg; in tx_post_resync_dump() local
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c240 struct mlx5e_tx_wqe_info *wi, struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_txwqe_complete() argument
251 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | opcode); in mlx5e_txwqe_complete()
252 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_txwqe_complete()
266 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
273 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_sq_xmit() local
339 cseg = &wqe->ctrl; in mlx5e_sq_xmit()
374 num_dma, wi, cseg, xmit_more); in mlx5e_sq_xmit()
593 struct mlx5_wqe_ctrl_seg *cseg; in mlx5i_sq_xmit() local
648 cseg = &wqe->ctrl; in mlx5i_sq_xmit()
670 num_dma, wi, cseg, xmit_more); in mlx5i_sq_xmit()
Den_main.c236 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_build_umr_wqe() local
240 cseg->qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_build_umr_wqe()
242 cseg->fm_ce_se = MLX5_WQE_CTRL_CQ_UPDATE; in mlx5e_build_umr_wqe()
243 cseg->imm = rq->mkey_be; in mlx5e_build_umr_wqe()
1477 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_open_xdpsq() local
1481 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq()
1484 dseg = (struct mlx5_wqe_data_seg *)cseg + (ds_cnt - 1); in mlx5e_open_xdpsq()
/Linux-v5.4/arch/x86/boot/
Dapm.c45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
/Linux-v5.4/include/uapi/linux/
Dapm_bios.h27 __u16 cseg; member
/Linux-v5.4/arch/x86/kernel/
Dapm_32.c2297 apm_info.bios.cseg, apm_info.bios.offset, in apm_init()
2342 (unsigned long)__va((unsigned long)apm_info.bios.cseg << 4)); in apm_init()