Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c420 void *set_ctx; in handle_hca_cap_atomic() local
441 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap_atomic()
442 if (!set_ctx) in handle_hca_cap_atomic()
445 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_atomic()
451 err = set_caps(dev, set_ctx, set_sz, MLX5_SET_HCA_CAP_OP_MOD_ATOMIC); in handle_hca_cap_atomic()
453 kfree(set_ctx); in handle_hca_cap_atomic()
460 void *set_ctx; in handle_hca_cap_odp() local
474 set_ctx = kzalloc(set_sz, GFP_KERNEL); in handle_hca_cap_odp()
475 if (!set_ctx) in handle_hca_cap_odp()
478 set_hca_cap = MLX5_ADDR_OF(set_hca_cap_in, set_ctx, capability); in handle_hca_cap_odp()
[all …]