Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dtransobj.c309 void *rqc, *wq; in mlx5_hairpin_create_rq() local
311 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5_hairpin_create_rq()
312 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5_hairpin_create_rq()
314 MLX5_SET(rqc, rqc, hairpin, 1); in mlx5_hairpin_create_rq()
315 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5_hairpin_create_rq()
316 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq()
387 void *rqc; in mlx5_hairpin_modify_rq() local
389 rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in mlx5_hairpin_modify_rq()
392 MLX5_SET(rqc, rqc, hairpin_peer_sq, peer_sq); in mlx5_hairpin_modify_rq()
393 MLX5_SET(rqc, rqc, hairpin_peer_vhca, peer_vhca); in mlx5_hairpin_modify_rq()
[all …]
Den_main.c382 void *rqc = rqp->rqc; in mlx5e_alloc_rq() local
383 void *rqc_wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_alloc_rq()
680 void *rqc; in mlx5e_create_rq() local
691 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5e_create_rq()
692 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_create_rq()
694 memcpy(rqc, param->rqc, sizeof(param->rqc)); in mlx5e_create_rq()
696 MLX5_SET(rqc, rqc, cqn, rq->cq.mcq.cqn); in mlx5e_create_rq()
697 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5e_create_rq()
717 void *rqc; in mlx5e_modify_rq_state() local
726 rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in mlx5e_modify_rq_state()
[all …]
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.h15 u32 rqc[MLX5_ST_SZ_DW(rqc)]; member
Dreporter_rx.c11 void *rqc; in mlx5e_query_rq_state() local
22 rqc = MLX5_ADDR_OF(query_rq_out, out, rq_context); in mlx5e_query_rq_state()
23 *state = MLX5_GET(rqc, rqc, state); in mlx5e_query_rq_state()
/Linux-v5.4/drivers/infiniband/hw/mlx5/
Dqp.c1324 void *rqc; in create_raw_packet_qp_rq() local
1340 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in create_raw_packet_qp_rq()
1342 MLX5_SET(rqc, rqc, vsd, 1); in create_raw_packet_qp_rq()
1343 MLX5_SET(rqc, rqc, mem_rq_type, MLX5_RQC_MEM_RQ_TYPE_MEMORY_RQ_INLINE); in create_raw_packet_qp_rq()
1344 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in create_raw_packet_qp_rq()
1345 MLX5_SET(rqc, rqc, flush_in_error_en, 1); in create_raw_packet_qp_rq()
1346 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq()
1347 MLX5_SET(rqc, rqc, cqn, MLX5_GET(qpc, qpc, cqn_rcv)); in create_raw_packet_qp_rq()
1350 MLX5_SET(rqc, rqc, scatter_fcs, 1); in create_raw_packet_qp_rq()
1352 wq = MLX5_ADDR_OF(rqc, rqc, wq); in create_raw_packet_qp_rq()
[all …]
Ddevx.c683 void *rqc, *wq; in devx_set_umem_valid() local
685 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in devx_set_umem_valid()
686 wq = MLX5_ADDR_OF(rqc, rqc, wq); in devx_set_umem_valid()
/Linux-v5.4/drivers/dma/
Dpl330.c1423 static inline u32 _prepare_ccr(const struct pl330_reqcfg *rqc) in _prepare_ccr() argument
1427 if (rqc->src_inc) in _prepare_ccr()
1430 if (rqc->dst_inc) in _prepare_ccr()
1434 if (rqc->privileged) in _prepare_ccr()
1436 if (rqc->nonsecure) in _prepare_ccr()
1438 if (rqc->insnaccess) in _prepare_ccr()
1441 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_SRCBRSTLEN_SHFT); in _prepare_ccr()
1442 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_DSTBRSTLEN_SHFT); in _prepare_ccr()
1444 ccr |= (rqc->brst_size << CC_SRCBRSTSIZE_SHFT); in _prepare_ccr()
1445 ccr |= (rqc->brst_size << CC_DSTBRSTSIZE_SHFT); in _prepare_ccr()
[all …]
/Linux-v5.4/drivers/net/vmxnet3/
Dvmxnet3_drv.c2404 struct Vmxnet3_RxQueueConf *rqc; in vmxnet3_setup_driver_shared() local
2465 rqc = &adapter->rqd_start[i].conf; in vmxnet3_setup_driver_shared()
2466 rqc->rxRingBasePA[0] = cpu_to_le64(rq->rx_ring[0].basePA); in vmxnet3_setup_driver_shared()
2467 rqc->rxRingBasePA[1] = cpu_to_le64(rq->rx_ring[1].basePA); in vmxnet3_setup_driver_shared()
2468 rqc->compRingBasePA = cpu_to_le64(rq->comp_ring.basePA); in vmxnet3_setup_driver_shared()
2469 rqc->ddPA = cpu_to_le64(rq->buf_info_pa); in vmxnet3_setup_driver_shared()
2470 rqc->rxRingSize[0] = cpu_to_le32(rq->rx_ring[0].size); in vmxnet3_setup_driver_shared()
2471 rqc->rxRingSize[1] = cpu_to_le32(rq->rx_ring[1].size); in vmxnet3_setup_driver_shared()
2472 rqc->compRingSize = cpu_to_le32(rq->comp_ring.size); in vmxnet3_setup_driver_shared()
2473 rqc->ddLen = cpu_to_le32( in vmxnet3_setup_driver_shared()
[all …]