Home
last modified time | relevance | path

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

/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_flex(*dev, port, device->phys_port_cnt); in mcast_add_one()
H A Ddevice.c802 if (WARN_ON(!device->phys_port_cnt)) in alloc_port_data()
806 if (WARN_ON(device->phys_port_cnt == U32_MAX)) in alloc_port_data()
H A Dmad.c2129 port_priv->device->phys_port_cnt) == in handle_ib_smi()
2216 port_priv->device->phys_port_cnt) == in handle_opa_smi()
H A Dcma.c5383 device->phys_port_cnt); in cma_add_one()
5389 cma_dev->default_roce_tos = kcalloc(device->phys_port_cnt, in cma_add_one()
H A Dcm.c4351 cm_dev = kzalloc_flex(*cm_dev, port, ib_device->phys_port_cnt); in cm_add_one()
/linux/drivers/infiniband/sw/rdmavt/
H A Dah.c34 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_main.c253 dev->ib_dev.phys_port_cnt = dev->dsr->caps.phys_port_cnt; in pvrdma_register_device()
405 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
/linux/drivers/infiniband/sw/siw/
H A Dsiw_main.c313 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()
965 port_cnt = smcibdev->ibdev->phys_port_cnt; in smc_ib_add_dev()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_ib_main.c416 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
/linux/drivers/infiniband/hw/cxgb4/
H A Dprovider.c539 dev->ibdev.phys_port_cnt = dev->rdev.lldi.nports; in c4iw_register_device()
/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
H A Dql4_nx.c4067 ha->phy_port_cnt = sys_info->phys_port_cnt; in qla4_8xxx_get_sys_info()
/linux/drivers/infiniband/hw/qedr/
H A Dmain.c256 dev->ibdev.phys_port_cnt = 1; in qedr_register_device()
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_provider.c1155 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c5519 iwdev->ibdev.phys_port_cnt = 1; in irdma_init_rdma_device()