Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_txrx.c81 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_ktls_build_static_params() local
88 cseg->opmod_idx_opcode = cpu_to_be32((pc << 8) | MLX5_OPCODE_UMR | (opmod << 24)); in mlx5e_ktls_build_static_params()
89 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_ktls_build_static_params()
91 cseg->fm_ce_se = fence ? MLX5_FENCE_MODE_INITIATOR_SMALL : 0; in mlx5e_ktls_build_static_params()
92 cseg->tis_tir_num = cpu_to_be32(tis_tir_num << 8); in mlx5e_ktls_build_static_params()
123 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_ktls_build_progress_params() local
130 cseg->opmod_idx_opcode = in mlx5e_ktls_build_progress_params()
132 cseg->qpn_ds = cpu_to_be32((sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_ktls_build_progress_params()
134 cseg->fm_ce_se = fence ? MLX5_FENCE_MODE_INITIATOR_SMALL : 0; in mlx5e_ktls_build_progress_params()
A Dktls_rx.c200 struct mlx5_wqe_ctrl_seg *cseg; in post_rx_param_wqes() local
209 if (IS_ERR(cseg)) in post_rx_param_wqes()
212 if (IS_ERR(cseg)) in post_rx_param_wqes()
223 err = PTR_ERR(cseg); in post_rx_param_wqes()
258 struct mlx5_wqe_ctrl_seg *cseg; in resync_post_get_progress_params() local
293 cseg = &wqe->ctrl; in resync_post_get_progress_params()
294 cseg->opmod_idx_opcode = in resync_post_get_progress_params()
297 cseg->qpn_ds = in resync_post_get_progress_params()
749 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_ktls_rx_handle_resync_list() local
756 if (IS_ERR(cseg)) { in mlx5e_ktls_rx_handle_resync_list()
[all …]
A Dktls_txrx.h58 mlx5e_ktls_handle_tx_wqe(struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_ktls_handle_tx_wqe() argument
61 cseg->tis_tir_num = cpu_to_be32(state->tls_tisn << 8); in mlx5e_ktls_handle_tx_wqe()
A Dktls_tx.c715 struct mlx5_wqe_ctrl_seg *cseg; in tx_post_resync_dump() local
729 cseg = &wqe->ctrl; in tx_post_resync_dump()
732 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_DUMP); in tx_post_resync_dump()
733 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump()
734 cseg->tis_tir_num = cpu_to_be32(tisn << 8); in tx_post_resync_dump()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtxrx.h116 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop() local
118 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop()
120 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop()
121 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop()
133 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop_fence() local
135 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop_fence()
137 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop_fence()
138 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop_fence()
139 cseg->fm_ce_se = MLX5_FENCE_MODE_INITIATOR_SMALL; in mlx5e_post_nop_fence()
A Dxdp.c284 struct mlx5_wqe_ctrl_seg *cseg = &session->wqe->ctrl; in mlx5e_xdp_mpwqe_complete() local
289 cseg->opmod_idx_opcode = in mlx5e_xdp_mpwqe_complete()
291 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete()
298 sq->doorbell_cseg = cseg; in mlx5e_xdp_mpwqe_complete()
395 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_xmit_xdp_frame() local
441 cseg = &wqe->ctrl; in mlx5e_xmit_xdp_frame()
462 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_SEND); in mlx5e_xmit_xdp_frame()
468 memset(&cseg->trailer, 0, sizeof(cseg->trailer)); in mlx5e_xmit_xdp_frame()
487 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_xmit_xdp_frame()
496 cseg->fm_ce_se = 0; in mlx5e_xmit_xdp_frame()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/
A Den_tx.c410 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete()
418 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_sq_xmit_wqe() local
431 cseg = &wqe->ctrl; in mlx5e_sq_xmit_wqe()
561 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_tx_mpwqe_session_complete() local
565 cseg = &session->wqe->ctrl; in mlx5e_tx_mpwqe_session_complete()
585 return cseg; in mlx5e_tx_mpwqe_session_complete()
592 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_sq_xmit_mpwqe() local
618 cseg = mlx5e_tx_mpwqe_session_complete(sq); in mlx5e_sq_xmit_mpwqe()
624 cseg = mlx5e_tx_mpwqe_session_complete(sq); in mlx5e_sq_xmit_mpwqe()
966 struct mlx5_wqe_ctrl_seg *cseg; in mlx5i_sq_xmit() local
[all …]
A Den_main.c226 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_build_umr_wqe() local
235 cseg->qpn_ds = cpu_to_be32((sq->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | in mlx5e_build_umr_wqe()
237 cseg->umr_mkey = rq->mpwqe.umr_mkey_be; in mlx5e_build_umr_wqe()
1840 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_open_xdpsq() local
1849 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq()
1852 dseg = (struct mlx5_wqe_data_seg *)cseg + (ds_cnt - 1); in mlx5e_open_xdpsq()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Daso.c346 struct mlx5_wqe_ctrl_seg *cseg = &aso_wqe->ctrl; in mlx5_aso_build_wqe() local
348 cseg->opmod_idx_opcode = cpu_to_be32((opc_mode << MLX5_WQE_CTRL_WQE_OPC_MOD_SHIFT) | in mlx5_aso_build_wqe()
351 cseg->qpn_ds = cpu_to_be32((aso->sqn << MLX5_WQE_CTRL_QPN_SHIFT) | ds_cnt); in mlx5_aso_build_wqe()
352 cseg->fm_ce_se = MLX5_WQE_CTRL_CQ_UPDATE; in mlx5_aso_build_wqe()
353 cseg->general_id = cpu_to_be32(obj_id); in mlx5_aso_build_wqe()
/linux-6.3-rc2/arch/x86/kernel/
A Dmodule.c316 void *rseg = NULL, *cseg = NULL; in module_finalize() local
325 cseg = (void *)cfi->sh_addr; in module_finalize()
329 apply_fineibt(rseg, rseg + rsize, cseg, cseg + csize); in module_finalize()
A Dapm_32.c2304 apm_info.bios.cseg, apm_info.bios.offset, in apm_init()
2349 (unsigned long)__va((unsigned long)apm_info.bios.cseg << 4)); in apm_init()
/linux-6.3-rc2/arch/x86/boot/
A Dapm.c45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
/linux-6.3-rc2/include/uapi/linux/
A Dapm_bios.h27 __u16 cseg; member

Completed in 39 milliseconds