/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | smi.c | 156 int phys_port_cnt, in __smi_handle_dr_smp_recv() 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() 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() 259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv() 155 __smi_handle_dr_smp_recv(bool is_switch, int port_num, int phys_port_cnt, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_recv() argument 240 smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, int port_num, int phys_port_cnt) smi_handle_dr_smp_recv() argument 256 opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, int port_num, int phys_port_cnt) opa_smi_handle_dr_smp_recv() argument
|
H A D | smi.h | 55 int port_num, int phys_port_cnt);
|
H A D | opa_smi.h | 43 int port_num, int phys_port_cnt);
|
H A D | cma_configfs.c | 214 ports_num = ibdev->phys_port_cnt; in make_cma_ports()
|
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | smi.c | 156 int phys_port_cnt, in __smi_handle_dr_smp_recv() 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() 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() 259 return __smi_handle_dr_smp_recv(is_switch, port_num, phys_port_cnt, in opa_smi_handle_dr_smp_recv() 155 __smi_handle_dr_smp_recv(bool is_switch, u32 port_num, int phys_port_cnt, u8 *hop_ptr, u8 hop_cnt, const u8 *initial_path, u8 *return_path, u8 direction, bool dr_dlid_is_permissive, bool dr_slid_is_permissive) __smi_handle_dr_smp_recv() argument 240 smi_handle_dr_smp_recv(struct ib_smp *smp, bool is_switch, u32 port_num, int phys_port_cnt) smi_handle_dr_smp_recv() argument 256 opa_smi_handle_dr_smp_recv(struct opa_smp *smp, bool is_switch, u32 port_num, int phys_port_cnt) opa_smi_handle_dr_smp_recv() argument
|
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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mana/ |
H A D | device.c | 66 dev->ib_dev.phys_port_cnt = mc->num_ports; in mana_ib_probe() 69 mdev->dev_id.as_uint32, dev->ib_dev.phys_port_cnt); in mana_ib_probe()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | ah.c | 76 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/rdmavt/ |
H A D | ah.c | 34 port_num > ibdev->phys_port_cnt) in rvt_check_ah()
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 149 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler() 156 sdev->device->phys_port_cnt); in srpt_event_handler() 167 if (port_num < sdev->device->phys_port_cnt) { in srpt_event_handler() 174 sdev->device->phys_port_cnt); in srpt_event_handler() 3004 for (i = 0; i < dev->phys_port_cnt; i++) { in __srpt_lookup_port() 3147 sdev = kzalloc(struct_size(sdev, port, device->phys_port_cnt), in srpt_add_one() 3204 for (i = 1; i <= sdev->device->phys_port_cnt; i++) { in srpt_add_one() 3258 srpt_unregister_mad_agent(sdev, sdev->device->phys_port_cnt); in srpt_remove_one() 3263 for (i = 0; i < sdev->device->phys_port_cnt; i++) in srpt_remove_one() 3280 for (i = 0; i < sdev->device->phys_port_cnt; in srpt_remove_one() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 153 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; in srpt_remove_one() [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_vema.c | 999 size += device->phys_port_cnt * sizeof(struct opa_vnic_vema_port); in opa_vnic_vema_add_one() 1004 cport->num_ports = device->phys_port_cnt; in opa_vnic_vema_add_one()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 199 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 231 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()
|
H A D | pvrdma_dev_api.h | 258 u8 phys_port_cnt; member
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_main.c | 212 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 D | pvrdma_dev_api.h | 258 u8 phys_port_cnt; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_main.c | 235 dev->ibdev.phys_port_cnt = 1; in ocrdma_register_device()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 367 base_dev->phys_port_cnt = 1; in siw_device_create()
|
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 317 base_dev->phys_port_cnt = 1; in siw_device_create()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 296 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_mad.c | 296 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()
|