Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A 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()
H A Dcong.c464 !MLX5_CAP_ROCE(mdev, roce_cc_general)) in mlx5_ib_init_cong_debugfs()
H A Dmain.c523 props->gid_tbl_len = MLX5_CAP_ROCE(dev->mdev, in mlx5_query_port_roce()
642 return cpu_to_be16(MLX5_CAP_ROCE(dev->mdev, r_roce_min_src_udp_port)); in mlx5_get_roce_udp_sport_min()
1834 rt_supported(MLX5_CAP_ROCE(dev->mdev, qp_ts_format))) in set_ucontext_resp()
2900 u8 l3_type_cap = MLX5_CAP_ROCE(dev->mdev, l3_type); in get_core_cap_flags()
2901 u8 roce_version_cap = MLX5_CAP_ROCE(dev->mdev, roce_version); in get_core_cap_flags()
H A Dqp.c1310 u8 ts_cap = MLX5_CAP_ROCE(dev->mdev, qp_ts_format); in get_qp_ts_format()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dgid.c41 unsigned int tblsz = MLX5_CAP_ROCE(dev, roce_address_table_size); in mlx5_init_reserved_gids()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h1209 MLX5_CAP_ROCE, enumerator
1286 #define MLX5_CAP_ROCE(mdev, cap) \ macro
1287 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->cur, cap)
1290 MLX5_GET(roce_cap, mdev->caps.hca[MLX5_CAP_ROCE]->max, cap)
H A Dqp.h580 MLX5_CAP_ROCE(dev, qp_ts_format) : in mlx5_get_qp_default_ts()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dmain.c689 err = mlx5_core_get_caps(dev, MLX5_CAP_ROCE); in handle_hca_cap_roce()
693 if (MLX5_CAP_ROCE(dev, sw_r_roce_src_udp_port) || in handle_hca_cap_roce()
698 memcpy(set_hca_cap, dev->caps.hca[MLX5_CAP_ROCE]->cur, in handle_hca_cap_roce()
1742 MLX5_CAP_ROCE,
H A Dfw.c189 err = mlx5_core_get_caps_mode(dev, MLX5_CAP_ROCE, HCA_CAP_OPMOD_GET_CUR); in mlx5_query_hca_caps()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dconn.c717 MLX5_CAP_ROCE(mdev, r_roce_min_src_udp_port)); in mlx5_fpga_conn_rtr_qp()