Searched refs:cur_caps (Results 1 – 1 of 1) sorted by relevance
412 struct mlx5_caps *cur_caps = NULL; in handle_hca_cap() local425 cur_caps = kzalloc(sizeof(*cur_caps), GFP_KERNEL); in handle_hca_cap()426 if (!cur_caps) in handle_hca_cap()433 err = mlx5_core_get_caps(dev, cur_caps, HCA_CAP_OPMOD_GET_CUR); in handle_hca_cap()438 cur_caps->gen.pkey_table_size = 128; in handle_hca_cap()441 cur_caps->gen.log_max_qp = prof->log_max_qp; in handle_hca_cap()444 cur_caps->gen.flags &= ~MLX5_DEV_CAP_FLAG_CMDIF_CSUM; in handle_hca_cap()447 cur_caps); in handle_hca_cap()451 kfree(cur_caps); in handle_hca_cap()