Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dmacsec.c181 max_gids = MLX5_CAP_ROCE(dev->mdev, roce_address_table_size); in mlx5r_macsec_init_gids_and_devlist()
340 max_gids = MLX5_CAP_ROCE(dev->mdev, roce_address_table_size); in mlx5r_del_gid_macsec_operations()
Dcong.c464 !MLX5_CAP_ROCE(mdev, roce_cc_general)) in mlx5_ib_init_cong_debugfs()
Dmain.c563 props->gid_tbl_len = MLX5_CAP_ROCE(dev->mdev, in mlx5_query_port_roce()
682 return cpu_to_be16(MLX5_CAP_ROCE(dev->mdev, r_roce_min_src_udp_port)); in mlx5_get_roce_udp_sport_min()
1910 rt_supported(MLX5_CAP_ROCE(dev->mdev, qp_ts_format))) in set_ucontext_resp()
3114 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()
3115 u8 roce_version_cap = MLX5_CAP_ROCE(dev->mdev, roce_version); in get_core_cap_flags()
Dqp.c1308 u8 ts_cap = MLX5_CAP_ROCE(dev->mdev, qp_ts_format); in get_qp_ts_format()
/linux-6.12.1/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()
/linux-6.12.1/include/linux/mlx5/
Ddevice.h1232 MLX5_CAP_ROCE, enumerator
1310 #define MLX5_CAP_ROCE(mdev, cap) \ macro
1311 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->cur, cap)
1314 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->max, cap)
Dqp.h581 MLX5_CAP_ROCE(dev, qp_ts_format) : in mlx5_get_qp_default_ts()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_cmd.c132 MLX5_CAP_ROCE(mdev, fl_rc_qp_when_roce_disabled); in mlx5dr_cmd_query_device()
134 MLX5_CAP_ROCE(mdev, fl_rc_qp_when_roce_enabled); in mlx5dr_cmd_query_device()
224 caps->roce_min_src_udp = MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port); in mlx5dr_cmd_query_device()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c698 err = mlx5_core_get_caps(dev, MLX5_CAP_ROCE); in handle_hca_cap_roce()
702 if (MLX5_CAP_ROCE(dev, sw_r_roce_src_udp_port) || in handle_hca_cap_roce()
707 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ROCE]->cur, in handle_hca_cap_roce()
1775 MLX5_CAP_ROCE,
Dfw.c189 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_ROCE, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.c717 MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port)); in mlx5_fpga_conn_rtr_qp()