Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/infiniband/ulp/ipoib/
Dipoib_verbs.c206 if (priv->hca_caps & IB_DEVICE_MANAGED_FLOW_STEERING) in ipoib_transport_dev_init()
Dipoib.h413 u64 hca_caps; member
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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c346 void *out, *hca_caps; in mlx5_core_get_caps_mode() local
365 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, out, capability); in mlx5_core_get_caps_mode()
369 memcpy(dev->caps.hca[cap_type]->max, hca_caps, in mlx5_core_get_caps_mode()
373 memcpy(dev->caps.hca[cap_type]->cur, hca_caps, in mlx5_core_get_caps_mode()
Deswitch.c1446 void *hca_caps; in mlx5_esw_sf_max_hpf_functions() local
1462 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_sf_max_hpf_functions()
1463 *max_sfs = MLX5_GET(cmd_hca_cap, hca_caps, max_num_sf); in mlx5_esw_sf_max_hpf_functions()
1464 *sf_base_id = MLX5_GET(cmd_hca_cap, hca_caps, sf_base_id); in mlx5_esw_sf_max_hpf_functions()
Deswitch_offloads.c3877 void *hca_caps; in mlx5_esw_query_vport_vhca_id() local
3893 hca_caps = MLX5_ADDR_OF(query_hca_cap_out, query_ctx, capability); in mlx5_esw_query_vport_vhca_id()
3894 *vhca_id = MLX5_GET(cmd_hca_cap, hca_caps, vhca_id); in mlx5_esw_query_vport_vhca_id()