Lines Matching refs:set_ctx
1207 void *set_ctx;
1210 set_ctx = kzalloc(set_sz, GFP_KERNEL);
1211 if (!set_ctx)
1214 MLX5_SET(set_hca_cap_in, set_ctx, opcode, MLX5_CMD_OP_SET_HCA_CAP);
1215 MLX5_SET(set_hca_cap_in, set_ctx, op_mod, opmod << 1);
1216 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability);
1218 MLX5_SET(set_hca_cap_in, set_ctx, function_id,
1220 MLX5_SET(set_hca_cap_in, set_ctx, other_function, true);
1221 MLX5_SET(set_hca_cap_in, set_ctx, ec_vf_function, ec_vf_func);
1222 ret = mlx5_cmd_exec_in(dev, set_hca_cap, set_ctx);
1224 kfree(set_ctx);