Searched refs:hca_caps (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | eswitch.c | 786 void *hca_caps; in mlx5_esw_vport_caps_get() local 801 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get() 802 vport->info.roce_enabled = MLX5_GET(cmd_hca_cap, hca_caps, roce); in mlx5_esw_vport_caps_get() 810 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_vport_caps_get() 811 vport->info.mig_enabled = MLX5_GET(cmd_hca_cap_2, hca_caps, migratable); in mlx5_esw_vport_caps_get() 1487 void *hca_caps; in mlx5_esw_sf_max_hpf_functions() local 1503 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_sf_max_hpf_functions() 1504 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions() 1505 *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 | 3792 void *hca_caps; in mlx5_esw_query_vport_vhca_id() local 3808 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_query_vport_vhca_id() 3809 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_query_vport_vhca_id() 3991 void *hca_caps; in mlx5_devlink_port_fn_migratable_set() local 4033 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_migratable_set() 4034 MLX5_SET(cmd_hca_cap_2, hca_caps, migratable, 1); in mlx5_devlink_port_fn_migratable_set() 4036 err = mlx5_vport_set_other_func_cap(esw->dev, hca_caps, vport->vport, in mlx5_devlink_port_fn_migratable_set() 4086 void *hca_caps; in mlx5_devlink_port_fn_roce_set() local 4124 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_roce_set() 4125 MLX5_SET(cmd_hca_cap, hca_caps, roce, enable); in mlx5_devlink_port_fn_roce_set() [all …]
|
A D | main.c | 363 void *out, *hca_caps; in mlx5_core_get_caps_mode() local 382 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode() 386 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode() 390 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
|
/linux-6.3-rc2/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 | 413 u64 hca_caps; member
|
A D | ipoib_main.c | 1854 priv->hca_caps = priv->ca->attrs.device_cap_flags; in ipoib_set_dev_features() 1857 if (priv->hca_caps & IB_DEVICE_UD_IP_CSUM) { in ipoib_set_dev_features()
|
Completed in 24 milliseconds