Searched refs:hca_caps (Results 1 – 7 of 7) sorted by relevance
| /drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | eswitch.c | 806 void *hca_caps; in mlx5_esw_vport_caps_get() local 821 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get() 822 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce); in mlx5_esw_vport_caps_get() 833 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get() 834 vport->info.mig_enabled = MLX5_GET(cmd_hca_cap_2, hca_caps, migratable); in mlx5_esw_vport_caps_get() 1674 void *hca_caps; in mlx5_esw_sf_max_hpf_functions() local 1690 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_sf_max_hpf_functions() 1691 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions() 1692 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
|
| A D | eswitch_offloads.c | 4280 void *hca_caps; in mlx5_devlink_port_fn_migratable_set() local 4313 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_migratable_set() 4314 MLX5_SET(cmd_hca_cap_2, hca_caps, migratable, enable); in mlx5_devlink_port_fn_migratable_set() 4357 void *hca_caps; in mlx5_devlink_port_fn_roce_set() local 4385 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_roce_set() 4386 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set() 4598 void *hca_caps; in mlx5_devlink_port_fn_max_io_eqs_get() local 4628 max_eqs = MLX5_GET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b); in mlx5_devlink_port_fn_max_io_eqs_get() 4648 void *hca_caps; in mlx5_devlink_port_fn_max_io_eqs_set() local 4683 MLX5_SET(cmd_hca_cap_2, hca_caps, max_num_eqs_24b, max_eqs); in mlx5_devlink_port_fn_max_io_eqs_set() [all …]
|
| A D | vport.c | 1212 void *hca_caps; in mlx5_vport_get_vhca_id() local 1225 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_vport_get_vhca_id() 1226 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_vport_get_vhca_id()
|
| A D | main.c | 367 void *out, *hca_caps; in mlx5_core_get_caps_mode() local 390 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode() 394 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode() 398 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
|
| /drivers/infiniband/ulp/ipoib/ |
| A D | ipoib_verbs.c | 206 if (priv->hca_caps & IB_DEVICE_MANAGED_FLOW_STEERING) in ipoib_transport_dev_init()
|
| A D | ipoib.h | 410 u64 hca_caps; member
|
| A D | ipoib_main.c | 1923 priv->hca_caps = priv->ca->attrs.device_cap_flags; in ipoib_set_dev_features() 1926 if (priv->hca_caps & IB_DEVICE_UD_IP_CSUM) { in ipoib_set_dev_features()
|
Completed in 32 milliseconds