| /linux/drivers/infiniband/core/ |
| H A D | smi.c | 156 int phys_port_cnt, in __smi_handle_dr_smp_recv() argument 181 return (initial_path[*hop_ptr+1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 215 return (return_path[*hop_ptr-1] <= phys_port_cnt ? in __smi_handle_dr_smp_recv() 241 u32 port_num, int phys_port_cnt) in smi_handle_dr_smp_recv() argument 243 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in smi_handle_dr_smp_recv() 257 u32 port_num, int phys_port_cnt) in opa_smi_handle_dr_smp_recv() argument 259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv()
|
| H A D | opa_smi.h | 43 u32 port_num, int phys_port_cnt);
|
| H A D | smi.h | 55 u32 port_num, int phys_port_cnt);
|
| H A D | cma_configfs.c | 212 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
|
| H A D | multicast.c | 826 dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), in mcast_add_one()
|
| H A D | device.c | 828 if (WARN_ON(!device->phys_port_cnt)) in alloc_port_data() 832 if (WARN_ON(device->phys_port_cnt == U32_MAX)) in alloc_port_data()
|
| H A D | cma.c | 5348 cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, in cma_add_one() 5356 cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, in cma_add_one()
|
| /linux/drivers/infiniband/sw/rdmavt/ |
| H A D | ah.c | 34 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
|
| /linux/drivers/infiniband/ulp/opa_vnic/ |
| H A D | opa_vnic_vema.c | 1000 size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); in opa_vnic_vema_add_one() 1005 cport->num_ports = device->phys_port_cnt; in opa_vnic_vema_add_one()
|
| /linux/drivers/infiniband/hw/mlx5/ |
| H A D | ib_rep.c | 173 ibdev->ib_dev.phys_port_cnt = num_ports; in mlx5_ib_vport_rep_load()
|
| H A D | main.c | 4945 mplane->ib_dev.phys_port_cnt = mplane->num_ports; in mlx5_ib_add_sub_dev() 5064 dev->ib_dev.phys_port_cnt = num_ports; in mlx5r_probe()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_main.c | 199 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
|
| /linux/drivers/infiniband/hw/vmw_pvrdma/ |
| H A D | pvrdma_dev_api.h | 258 u8 phys_port_cnt; member
|
| H A D | pvrdma_qp.c | 234 init_attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_create_qp() 553 attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_modify_qp()
|
| /linux/net/smc/ |
| H A D | smc_ib.c | 921 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_ndev_change() 965 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()
|
| /linux/drivers/infiniband/hw/cxgb4/ |
| H A D | provider.c | 539 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
|
| /linux/drivers/infiniband/hw/usnic/ |
| H A D | usnic_ib_main.c | 416 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
|
| /linux/include/uapi/rdma/ |
| H A D | ib_user_verbs.h | 227 __u8 phys_port_cnt; member
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_fw.h | 975 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ member
|
| /linux/drivers/infiniband/hw/qedr/ |
| H A D | main.c | 256 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | mad.c | 583 ni->num_ports = ibdev->phys_port_cnt; in __subn_get_opa_nodeinfo() 620 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo() 4508 port_num && port_num <= ibdev->phys_port_cnt && in process_subn_opa() 4605 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
|
| H A D | verbs.c | 1783 ibdev->phys_port_cnt = dd->num_pports; in hfi1_register_ib_device()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_main.c | 809 ib_dev->phys_port_cnt = hr_dev->caps.num_ports; in hns_roce_register_device()
|
| /linux/include/rdma/ |
| H A D | ib_verbs.h | 2836 u32 phys_port_cnt; member 3180 return rdma_cap_ib_switch(device) ? 0 : device->phys_port_cnt; in rdma_end_port()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | main.c | 1405 ibdev->phys_port_cnt = 1; in bnxt_re_register_ib()
|