Home
last modified time | relevance | path

Searched refs:MLX5_SET (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dfw.c86 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5_query_odp_caps()
87 MLX5_SET(query_hca_cap_in, in, op_mod, HCA_CAP_OPMOD_GET_ODP_CUR); in mlx5_query_odp_caps()
Dmain.c287 MLX5_SET(cmd_hca_cap, to, log_max_qp, from->gen.log_max_qp); in copy_rw_fields()
288 MLX5_SET(cmd_hca_cap, to, log_max_ra_req_qp, from->gen.log_max_ra_req_qp); in copy_rw_fields()
289 MLX5_SET(cmd_hca_cap, to, log_max_ra_res_qp, from->gen.log_max_ra_res_qp); in copy_rw_fields()
290 MLX5_SET(cmd_hca_cap, to, pkey_table_size, from->gen.pkey_table_size); in copy_rw_fields()
291 MLX5_SET(cmd_hca_cap, to, pkey_table_size, to_fw_pkey_sz(from->gen.pkey_table_size)); in copy_rw_fields()
292 MLX5_SET(cmd_hca_cap, to, log_uar_page_sz, PAGE_SHIFT - 12); in copy_rw_fields()
372 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5_core_get_caps()
373 MLX5_SET(query_hca_cap_in, in, op_mod, opmod); in mlx5_core_get_caps()
398 MLX5_SET(set_hca_cap_in, in, opcode, MLX5_CMD_OP_SET_HCA_CAP); in set_caps()
/linux-4.1.27/include/linux/mlx5/
Ddevice.h65 #define MLX5_SET(typ, p, fld, v) do { \ macro