/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | transobj.c | 278 void *rqc, *wq; in mlx5_hairpin_create_rq() local 280 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5_hairpin_create_rq() 281 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5_hairpin_create_rq() 283 MLX5_SET(rqc, rqc, hairpin, 1); in mlx5_hairpin_create_rq() 284 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5_hairpin_create_rq() 285 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq() 356 void *rqc; in mlx5_hairpin_modify_rq() local 358 rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in mlx5_hairpin_modify_rq() 361 MLX5_SET(rqc, rqc, hairpin_peer_sq, peer_sq); in mlx5_hairpin_modify_rq() 362 MLX5_SET(rqc, rqc, hairpin_peer_vhca, peer_vhca); in mlx5_hairpin_modify_rq() [all …]
|
H A D | en_main.c | 821 void *rqc = rqp->rqc; in mlx5e_alloc_rq() local 822 void *rqc_wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_alloc_rq() 1044 void *rqc; in mlx5e_create_rq() local 1058 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5e_create_rq() 1059 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_create_rq() 1061 memcpy(rqc, param->rqc, sizeof(param->rqc)); in mlx5e_create_rq() 1063 MLX5_SET(rqc, rqc, cqn, rq->cq.mcq.cqn); in mlx5e_create_rq() 1064 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5e_create_rq() 1065 MLX5_SET(rqc, rqc, ts_format, ts_format); in mlx5e_create_rq() 1066 MLX5_SET(rqc, rqc, counter_set_id, q_counter); in mlx5e_create_rq() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | params.c | 894 void *rqc = param->rqc; in mlx5e_build_rq_param() local 895 void *wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_build_rq_param() 930 MLX5_SET(rqc, rqc, reservation_timeout, in mlx5e_build_rq_param() 932 MLX5_SET(rqc, rqc, shampo_match_criteria_type, in mlx5e_build_rq_param() 934 MLX5_SET(rqc, rqc, shampo_no_match_alignment_granularity, in mlx5e_build_rq_param() 953 MLX5_SET(rqc, rqc, vsd, params->vlan_strip_disable); in mlx5e_build_rq_param() 954 MLX5_SET(rqc, rqc, scatter_fcs, params->scatter_fcs_en); in mlx5e_build_rq_param() 965 void *rqc = param->rqc; in mlx5e_build_drop_rq_param() local 966 void *wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_build_drop_rq_param() 1061 void *wqc = MLX5_ADDR_OF(rqc, rq_param->rqc, wq); in mlx5e_shampo_hd_per_wq() [all …]
|
H A D | params.h | 24 u32 rqc[MLX5_ST_SZ_DW(rqc)]; member
|
H A D | reporter_rx.c | 28 void *rqc; in mlx5e_query_rq_state() local 39 rqc = MLX5_ADDR_OF(query_rq_out, out, rq_context); in mlx5e_query_rq_state() 40 *state = MLX5_GET(rqc, rqc, state); in mlx5e_query_rq_state()
|
/linux/drivers/dma/ |
H A D | pl330.c | 1437 static inline u32 _prepare_ccr(const struct pl330_reqcfg *rqc) in _prepare_ccr() argument 1441 if (rqc->src_inc) in _prepare_ccr() 1444 if (rqc->dst_inc) in _prepare_ccr() 1448 if (rqc->privileged) in _prepare_ccr() 1450 if (rqc->nonsecure) in _prepare_ccr() 1452 if (rqc->insnaccess) in _prepare_ccr() 1455 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_SRCBRSTLEN_SHFT); in _prepare_ccr() 1456 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_DSTBRSTLEN_SHFT); in _prepare_ccr() 1458 ccr |= (rqc->brst_size << CC_SRCBRSTSIZE_SHFT); in _prepare_ccr() 1459 ccr |= (rqc->brst_size << CC_DSTBRSTSIZE_SHFT); in _prepare_ccr() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 991 int rqc = adapter->rx_queue_count; in atl1c_setup_ring_resources() local 1007 rfd_ring->count * rqc); in atl1c_setup_ring_resources() 1019 for (i = 0; i < rqc; i++) { in atl1c_setup_ring_resources() 1035 sizeof(struct atl1c_rx_free_desc) * rfd_ring->count * rqc + in atl1c_setup_ring_resources() 1036 sizeof(struct atl1c_recv_ret_status) * rfd_ring->count * rqc + in atl1c_setup_ring_resources() 1056 for (i = 0; i < rqc; i++) { in atl1c_setup_ring_resources()
|