/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_txrx.c | 81 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()
|
H A D | ktls_rx.c | 200 struct mlx5_wqe_ctrl_seg *cseg; in post_rx_param_wqes() local 208 cseg = post_static_params(sq, priv_rx); in post_rx_param_wqes() 209 if (IS_ERR(cseg)) in post_rx_param_wqes() 211 cseg = post_progress_params(sq, priv_rx, next_record_tcp_sn); in post_rx_param_wqes() 212 if (IS_ERR(cseg)) in post_rx_param_wqes() 215 mlx5e_notify_hw(&sq->wq, sq->pc, sq->uar_map, 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() [all …]
|
H A D | ktls_txrx.h | 53 mlx5e_ktls_handle_tx_wqe(struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_ktls_handle_tx_wqe() argument 56 cseg->tis_tir_num = cpu_to_be32(state->tls_tisn << 8); in mlx5e_ktls_handle_tx_wqe()
|
H A D | ktls_tx.c | 717 struct mlx5_wqe_ctrl_seg *cseg; in tx_post_resync_dump() local 731 cseg = &wqe->ctrl; in tx_post_resync_dump() 734 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_DUMP); in tx_post_resync_dump() 735 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in tx_post_resync_dump() 736 cseg->tis_tir_num = cpu_to_be32(tisn << 8); in tx_post_resync_dump()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | txrx.h | 127 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop() local 129 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop() 131 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop() 132 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop() 144 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_post_nop_fence() local 146 memset(cseg, 0, sizeof(*cseg)); in mlx5e_post_nop_fence() 148 cseg->opmod_idx_opcode = cpu_to_be32((*pc << 8) | MLX5_OPCODE_NOP); in mlx5e_post_nop_fence() 149 cseg->qpn_ds = cpu_to_be32((sqn << 8) | 0x01); in mlx5e_post_nop_fence() 150 cseg->fm_ce_se = MLX5_FENCE_MODE_INITIATOR_SMALL; in mlx5e_post_nop_fence()
|
H A D | xdp.c | 358 struct mlx5_wqe_ctrl_seg *cseg = &session->wqe->ctrl; in mlx5e_xdp_mpwqe_complete() local 363 cseg->opmod_idx_opcode = in mlx5e_xdp_mpwqe_complete() 365 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_count); in mlx5e_xdp_mpwqe_complete() 372 sq->doorbell_cseg = cseg; in mlx5e_xdp_mpwqe_complete() 488 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_xmit_xdp_frame() local 544 cseg = &wqe->ctrl; in mlx5e_xmit_xdp_frame() 566 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_SEND); in mlx5e_xmit_xdp_frame() 571 memset(&cseg->trailer, 0, sizeof(cseg->trailer)); in mlx5e_xmit_xdp_frame() 590 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_xmit_xdp_frame() 599 cseg->fm_ce_se = 0; in mlx5e_xmit_xdp_frame() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tx.c | 378 struct mlx5e_tx_wqe_info *wi, struct mlx5_wqe_ctrl_seg *cseg, in mlx5e_txwqe_complete() argument 392 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | attr->opcode); in mlx5e_txwqe_complete() 393 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | wqe_attr->ds_cnt); in mlx5e_txwqe_complete() 423 mlx5e_notify_hw(wq, sq->pc, sq->uar_map, cseg); in mlx5e_txwqe_complete() 431 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_sq_xmit_wqe() local 444 cseg = &wqe->ctrl; in mlx5e_sq_xmit_wqe() 499 mlx5e_txwqe_complete(sq, skb, attr, wqe_attr, num_dma, wi, cseg, eseg, xmit_more); in mlx5e_sq_xmit_wqe() 574 struct mlx5_wqe_ctrl_seg *cseg; in mlx5e_tx_mpwqe_session_complete() local 578 cseg = &session->wqe->ctrl; in mlx5e_tx_mpwqe_session_complete() 579 cseg->opmod_idx_opcode = cpu_to_be32((sq->pc << 8) | MLX5_OPCODE_ENHANCED_MPSW); in mlx5e_tx_mpwqe_session_complete() [all …]
|
H A D | en_main.c | 226 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() 1887 struct mlx5_wqe_ctrl_seg *cseg = &wqe->ctrl; in mlx5e_open_xdpsq() local 1895 cseg->qpn_ds = cpu_to_be32((sq->sqn << 8) | ds_cnt); in mlx5e_open_xdpsq()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | aso.c | 346 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()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | module.c | 316 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()
|
H A D | apm_32.c | 2298 apm_info.bios.cseg, apm_info.bios.offset, in apm_init() 2343 (unsigned long)__va((unsigned long)apm_info.bios.cseg << 4)); in apm_init()
|
/openbmc/linux/include/uapi/linux/ |
H A D | apm_bios.h | 27 __u16 cseg; member
|
/openbmc/linux/arch/x86/boot/ |
H A D | apm.c | 45 boot_params.apm_bios_info.cseg = oreg.ax; in query_apm_bios()
|
/openbmc/u-boot/include/linux/ |
H A D | apm_bios.h | 17 __u16 cseg; member
|