Searched refs:mdev_port_num (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/infiniband/hw/mlx5/ |
D | mad.c | 208 u8 mdev_port_num; in process_pma_cmd() local 212 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in process_pma_cmd() 220 mdev_port_num = 1; in process_pma_cmd() 244 mdev_port_num, out_cnt, sz); in process_pma_cmd() 258 err = mlx5_core_query_ib_ppcnt(mdev, mdev_port_num, in process_pma_cmd()
|
D | main.c | 493 u8 mdev_port_num; in mlx5_query_port_roce() local 497 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in mlx5_query_port_roce() 504 mdev_port_num = 1; in mlx5_query_port_roce() 517 mdev_port_num); in mlx5_query_port_roce() 1457 u8 mdev_port_num; in mlx5_query_hca_nic_pkey() local 1460 mdev = mlx5_ib_get_native_port_mdev(dev, port, &mdev_port_num); in mlx5_query_hca_nic_pkey() 1467 mdev_port_num = 1; in mlx5_query_hca_nic_pkey() 1470 err = mlx5_query_hca_vport_pkey(mdev, 0, mdev_port_num, 0, in mlx5_query_hca_nic_pkey() 1527 u8 mdev_port_num; in set_port_caps_atomic() local 1530 mdev = mlx5_ib_get_native_port_mdev(dev, port_num, &mdev_port_num); in set_port_caps_atomic() [all …]
|