Home
last modified time | relevance | path

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

12

/linux/drivers/infiniband/core/
H A 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 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 Dopa_smi.h43 u32 port_num, int phys_port_cnt);
H A Dsmi.h55 u32 port_num, int phys_port_cnt);
H A Dcma_configfs.c212 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
H A Dmulticast.c826 dev = kmalloc(struct_size(dev, port, device->phys_port_cnt), in mcast_add_one()
/linux/drivers/infiniband/hw/mana/
H A Ddevice.c73 dev->ib_dev.phys_port_cnt = mc->num_ports; in mana_ib_probe()
76 mdev->dev_id.as_uint32, dev->ib_dev.phys_port_cnt); in mana_ib_probe()
/linux/drivers/infiniband/sw/rdmavt/
H A Dah.c34 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
H A Dqp.c1072 init_attr->port_num > ibqp->device->phys_port_cnt) in rvt_create_qp()
1478 attr->port_num > ibqp->device->phys_port_cnt) in rvt_modify_qp()
2661 i->specials = rdi->ibdev.phys_port_cnt * 2; in rvt_qp_iter_init()
2712 pidx = n % rdi->ibdev.phys_port_cnt; in rvt_qp_iter_next()
2755 .specials = rdi->ibdev.phys_port_cnt * 2, in rvt_qp_iter()
/linux/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c153 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler()
160 sdev->device->phys_port_cnt); in srpt_event_handler()
171 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler()
178 sdev->device->phys_port_cnt); in srpt_event_handler()
3012 for (i = 0; i < dev->phys_port_cnt; i++) { in __srpt_lookup_port()
3156 sdev = kzalloc(struct_size(sdev, port, device->phys_port_cnt), in srpt_add_one()
3213 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_add_one()
3267 srpt_unregister_mad_agent(sdev, sdev->device->phys_port_cnt); in srpt_remove_one()
3272 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
3289 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one()
/linux/drivers/infiniband/hw/mlx5/
H A Dib_rep.c107 ibdev->ib_dev.phys_port_cnt = num_ports; in mlx5_ib_vport_rep_load()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_main.c212 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device()
379 if (port < 1 || port > dev->dsr->caps.phys_port_cnt) { in pvrdma_dev_event()
H A Dpvrdma_dev_api.h258 u8 phys_port_cnt; member
H A Dpvrdma_qp.c234 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/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema.c1000 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/ocrdma/
H A Docrdma_main.c199 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c315 base_dev->phys_port_cnt = 1; in siw_device_create()
/linux/net/smc/
H A Dsmc_ib.c921 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_ndev_change()
967 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()
/linux/drivers/infiniband/hw/qib/
H A 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()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c399 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c538 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
/linux/drivers/infiniband/hw/erdma/
H A Derdma_main.c548 ibdev->phys_port_cnt = 1; in erdma_ib_device_add()
/linux/drivers/infiniband/hw/efa/
H A Defa_main.c445 dev->ibdev.phys_port_cnt = 1; in efa_ib_device_add()
/linux/include/uapi/rdma/
H A Dib_user_verbs.h227 __u8 phys_port_cnt; member
/linux/drivers/scsi/qla4xxx/
H A Dql4_fw.h975 uint16_t phys_port_cnt; /* 12-13 number of physical network ports */ member
/linux/drivers/infiniband/hw/qedr/
H A Dmain.c256 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()

12