Home
last modified time | relevance | path

Searched refs:phys_port_cnt (Results 1 – 25 of 39) sorted by relevance

12

/drivers/infiniband/core/
Dsmi.c156 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 int 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 int 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()
Dopa_smi.h43 int port_num, int phys_port_cnt);
Dsmi.h55 int port_num, int phys_port_cnt);
Dcma_configfs.c211 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
Dcma.c782 for (port = 1; port <= cma_dev->device->phys_port_cnt; ++port) { in cma_iw_acquire_dev()
827 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_resolve_ib_dev()
2985 for (p = 1; p <= cur_dev->device->phys_port_cnt; ++p) { in cma_bind_loopback()
4564 cma_dev->default_gid_type = kcalloc(device->phys_port_cnt, in cma_add_one()
4570 cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, in cma_add_one()
Dmulticast.c825 dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), in mcast_add_one()
/drivers/infiniband/sw/rdmavt/
Dah.c76 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
Dqp.c1082 init_attr->port_num > ibpd->device->phys_port_cnt) in rvt_create_qp()
1495 attr->port_num > ibqp->device->phys_port_cnt) in rvt_modify_qp()
2705 i->specials = rdi->ibdev.phys_port_cnt * 2; in rvt_qp_iter_init()
2756 pidx = n % rdi->ibdev.phys_port_cnt; in rvt_qp_iter_next()
2799 .specials = rdi->ibdev.phys_port_cnt * 2, in rvt_qp_iter()
/drivers/infiniband/ulp/srpt/
Dib_srpt.c152 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler()
159 sdev->device->phys_port_cnt); in srpt_event_handler()
170 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler()
177 sdev->device->phys_port_cnt); in srpt_event_handler()
635 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_unregister_mad_agent()
2999 for (i = 0; i < dev->phys_port_cnt; i++) { in __srpt_lookup_wwn()
3117 sdev = kzalloc(struct_size(sdev, port, device->phys_port_cnt), in srpt_add_one()
3171 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_add_one()
3237 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
3254 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c231 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device()
406 if (port < 1 || port > dev->dsr->caps.phys_port_cnt) { in pvrdma_dev_event()
Dpvrdma_dev_api.h257 u8 phys_port_cnt; member
Dpvrdma_qp.c230 init_attr->port_num > pd->device->phys_port_cnt || in pvrdma_create_qp()
500 attr->port_num > ibqp->device->phys_port_cnt) { in pvrdma_modify_qp()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_vema.c1002 size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); in opa_vnic_vema_add_one()
1007 cport->num_ports = device->phys_port_cnt; in opa_vnic_vema_add_one()
/drivers/infiniband/hw/ocrdma/
Docrdma_main.c236 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
/drivers/infiniband/sw/siw/
Dsiw_main.c377 base_dev->phys_port_cnt = 1; in siw_device_create()
/drivers/infiniband/hw/efa/
Defa_main.c270 dev->ibdev.phys_port_cnt = 1; in efa_ib_device_add()
/drivers/infiniband/hw/qib/
Dqib_mad.c296 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo()
469 if (port_num > ibdev->phys_port_cnt) { in subn_get_portinfo()
676 if (port_num > ibdev->phys_port_cnt) in subn_set_portinfo()
1890 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
/drivers/infiniband/hw/usnic/
Dusnic_ib_main.c399 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
/drivers/infiniband/hw/cxgb4/
Dprovider.c573 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c492 ib_dev->phys_port_cnt = hr_dev->caps.num_ports; in hns_roce_register_device()
/drivers/scsi/qla4xxx/
Dql4_fw.h976 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ member
/drivers/infiniband/hw/mlx4/
Dsysfs.c830 for (i = 1; i <= dev->ib_dev.phys_port_cnt; ++i) { in mlx4_ib_device_register_sysfs()
/drivers/infiniband/hw/qedr/
Dmain.c279 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()
/drivers/infiniband/hw/hfi1/
Dmad.c625 ni->num_ports = ibdev->phys_port_cnt; in __subn_get_opa_nodeinfo()
662 nip->num_ports = ibdev->phys_port_cnt; in subn_get_nodeinfo()
4551 port_num && port_num <= ibdev->phys_port_cnt && in process_subn_opa()
4648 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
/drivers/infiniband/sw/rxe/
Drxe_verbs.c1167 dev->phys_port_cnt = 1; in rxe_register_device()

12