Searched refs:MLX5_GET_PR (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/ |
D | vport.c | 704 *pkey = MLX5_GET_PR(pkey, pkarr, pkey); in mlx5_query_hca_vport_pkey() 751 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context() 752 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context() 753 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context() 754 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context() 755 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context() 756 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 758 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context() 759 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 763 rep->cap_mask1 = MLX5_GET_PR(hca_vport_context, ctx, cap_mask1); in mlx5_query_hca_vport_context() [all …]
|
/Linux-v4.19/include/linux/mlx5/ |
D | device.h | 99 #define MLX5_GET_PR(typ, p, fld) ({ \ macro
|