| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | aso.c | 161 void *sqc_wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in mlx5_aso_alloc_sq() 181 void *in, *sqc, *wq; in create_aso_sq() local 191 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in create_aso_sq() 192 wq = MLX5_ADDR_OF(sqc, sqc, wq); in create_aso_sq() 194 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in create_aso_sq() 195 MLX5_SET(sqc, sqc, cqn, sq->cq.mcq.cqn); in create_aso_sq() 197 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in create_aso_sq() 198 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_aso_sq() 203 MLX5_SET(sqc, sqc, ts_format, ts_format); in create_aso_sq() 223 void *in, *sqc; in mlx5_aso_set_sq_rdy() local [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | wc.c | 160 void *in, *sqc, *wq; in create_wc_sq() local 170 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in create_wc_sq() 171 wq = MLX5_ADDR_OF(sqc, sqc, wq); in create_wc_sq() 173 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in create_wc_sq() 174 MLX5_SET(sqc, sqc, cqn, sq->cq.mcq.cqn); in create_wc_sq() 176 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in create_wc_sq() 177 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_wc_sq() 182 MLX5_SET(sqc, sqc, ts_format, ts_format); in create_wc_sq() 201 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in create_wc_sq() 202 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RDY); in create_wc_sq() [all …]
|
| H A D | transobj.c | 153 void *sqc; in mlx5_core_query_sq_state() local 166 sqc = MLX5_ADDR_OF(query_sq_out, out, sq_context); in mlx5_core_query_sq_state() 167 *state = MLX5_GET(sqc, sqc, state); in mlx5_core_query_sq_state() 297 void *sqc, *wq; in mlx5_hairpin_create_sq() local 299 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5_hairpin_create_sq() 300 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5_hairpin_create_sq() 302 MLX5_SET(sqc, sqc, hairpin, 1); in mlx5_hairpin_create_sq() 303 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in mlx5_hairpin_create_sq() 376 void *sqc; in mlx5_hairpin_modify_sq() local 378 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5_hairpin_modify_sq() [all …]
|
| H A D | en_main.c | 1545 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_xdpsq() 1632 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_icosq() 1709 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_txqsq() 1767 void *sqc; in mlx5e_create_sq() local 1781 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5e_create_sq() 1782 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5e_create_sq() 1784 memcpy(sqc, param->sqc, sizeof(param->sqc)); in mlx5e_create_sq() 1785 MLX5_SET(sqc, sqc, tis_lst_sz, csp->tis_lst_sz); in mlx5e_create_sq() 1786 MLX5_SET(sqc, sqc, tis_num_0, csp->tisn); in mlx5e_create_sq() 1787 MLX5_SET(sqc, sqc, cqn, csp->cqn); in mlx5e_create_sq() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/ |
| H A D | send.c | 687 void *sqc_wq = MLX5_ADDR_OF(sqc, sqc_data, wq); in hws_send_ring_alloc_sq() 742 void *in, *sqc, *wq; in hws_send_ring_create_sq() local 752 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in hws_send_ring_create_sq() 753 wq = MLX5_ADDR_OF(sqc, sqc, wq); in hws_send_ring_create_sq() 755 memcpy(sqc, sqc_data, MLX5_ST_SZ_BYTES(sqc)); in hws_send_ring_create_sq() 756 MLX5_SET(sqc, sqc, cqn, cq->mcq.cqn); in hws_send_ring_create_sq() 758 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in hws_send_ring_create_sq() 759 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in hws_send_ring_create_sq() 760 MLX5_SET(sqc, sqc, non_wire, 1); in hws_send_ring_create_sq() 764 MLX5_SET(sqc, sqc, ts_format, ts_format); in hws_send_ring_create_sq() [all …]
|
| H A D | cmd.c | 877 void *sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5hws_cmd_sq_modify_rdy() local 883 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RDY); in mlx5hws_cmd_sq_modify_rdy()
|