Home
last modified time | relevance | path

Searched refs:hca_caps (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c200 if (priv->hca_caps & IB_DEVICE_UD_TSO) in ipoib_transport_dev_init()
203 if (priv->hca_caps & IB_DEVICE_BLOCK_MULTICAST_LOOPBACK) in ipoib_transport_dev_init()
206 if (priv->hca_caps & IB_DEVICE_MANAGED_FLOW_STEERING) in ipoib_transport_dev_init()
209 if (priv->hca_caps & IB_DEVICE_RDMA_NETDEV_OPA) in ipoib_transport_dev_init()
H A Dipoib.h413 u64 hca_caps; member
H A Dipoib_main.c1841 priv->hca_caps = priv->ca->attrs.device_cap_flags; in ipoib_set_dev_features()
1843 if (priv->hca_caps & IB_DEVICE_UD_IP_CSUM) { in ipoib_set_dev_features()
1846 if (priv->hca_caps & IB_DEVICE_UD_TSO) in ipoib_set_dev_features()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.c806 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()
1665 void *hca_caps; in mlx5_esw_sf_max_hpf_functions() local
1681 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_sf_max_hpf_functions()
1682 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1683 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
H A Deswitch_offloads.c4115 void *hca_caps; in mlx5_esw_query_vport_vhca_id() local
4128 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_query_vport_vhca_id()
4129 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_query_vport_vhca_id()
4252 void *hca_caps; in mlx5_devlink_port_fn_migratable_set() local
4285 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_migratable_set()
4286 MLX5_SET(cmd_hca_cap_2, hca_caps, migratable, enable); in mlx5_devlink_port_fn_migratable_set()
4288 err = mlx5_vport_set_other_func_cap(esw->dev, hca_caps, vport->vport, in mlx5_devlink_port_fn_migratable_set()
4329 void *hca_caps; in mlx5_devlink_port_fn_roce_set() local
4357 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_devlink_port_fn_roce_set()
4358 MLX5_SET(cmd_hca_cap, hca_caps, roc in mlx5_devlink_port_fn_roce_set()
[all...]
H A Dmain.c375 void *out, *hca_caps; in mlx5_core_get_caps_mode() local
394 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode()
398 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
402 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
1616 /* In case of light probe, we don't need a full query of hca_caps, but only the bellow caps.
1617 * A full query of hca_caps will be done when the device will reload.
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c366 void *out, *hca_caps; in mlx5_core_get_caps_mode() local
385 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode()
389 memcpy(dev->caps.hca_max[cap_type], hca_caps, in mlx5_core_get_caps_mode()
393 memcpy(dev->caps.hca_cur[cap_type], hca_caps, in mlx5_core_get_caps_mode()
/kernel/linux/linux-6.6/drivers/infiniband/ulp/ipoib/
H A Dipoib_verbs.c206 if (priv->hca_caps & IB_DEVICE_MANAGED_FLOW_STEERING) in ipoib_transport_dev_init()
H A Dipoib.h413 u64 hca_caps; member
H A Dipoib_main.c1854 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 25 milliseconds