Home
last modified time | relevance | path

Searched refs:MLX5_CAP_ROCE (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dgid.c41 unsigned int tblsz = MLX5_CAP_ROCE(dev, roce_address_table_size); in mlx5_init_reserved_gids()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddevice.h1140 MLX5_CAP_ROCE, enumerator
1210 #define MLX5_CAP_ROCE(mdev, cap) \ macro
1211 MLX5_GET(roce_cap, mdev->caps.hca_cur[MLX5_CAP_ROCE], cap)
1214 MLX5_GET(roce_cap, mdev->caps.hca_max[MLX5_CAP_ROCE], cap)
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c582 err = mlx5_core_get_caps(dev, MLX5_CAP_ROCE); in handle_hca_cap_roce()
586 if (MLX5_CAP_ROCE(dev, sw_r_roce_src_udp_port) || in handle_hca_cap_roce()
591 memcpy(set_hca_cap, dev->caps.hca_cur[MLX5_CAP_ROCE], in handle_hca_cap_roce()
Dfw.c176 err = mlx5_core_get_caps(dev, MLX5_CAP_ROCE); in mlx5_query_hca_caps()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c130 caps->roce_min_src_udp = MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port); in mlx5dr_cmd_query_device()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dmain.c499 props->gid_tbl_len = MLX5_CAP_ROCE(dev->mdev, in mlx5_query_port_roce()
605 return cpu_to_be16(MLX5_CAP_ROCE(dev->mdev, r_roce_min_src_udp_port)); in mlx5_get_roce_udp_sport_min()
3174 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()
3175 u8 roce_version_cap = MLX5_CAP_ROCE(dev->mdev, roce_version); in get_core_cap_flags()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c716 MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port)); in mlx5_fpga_conn_rtr_qp()