Lines Matching refs:port_num
461 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_get_portinfo() local
463 if (port_num == 0) in subn_get_portinfo()
464 port_num = port; in subn_get_portinfo()
466 if (port_num > ibdev->phys_port_cnt) { in subn_get_portinfo()
471 if (port_num != port) { in subn_get_portinfo()
472 ibp = to_iport(ibdev, port_num); in subn_get_portinfo()
483 ppd = dd->pport + (port_num - 1); in subn_get_portinfo()
668 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_set_portinfo() local
670 if (port_num == 0) in subn_set_portinfo()
671 port_num = port; in subn_set_portinfo()
673 if (port_num > ibdev->phys_port_cnt) in subn_set_portinfo()
676 if (port_num != port) in subn_set_portinfo()
682 ppd = dd->pport + (port_num - 1); in subn_set_portinfo()
685 event.element.port_num = port; in subn_set_portinfo()
1031 event.element.port_num = port; in set_pkeys()
1874 u32 port_num = be32_to_cpu(smp->attr_mod); in process_subn() local
1886 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
1887 port != port_num) in process_subn()
1888 (void) check_mkey(to_iport(ibdev, port_num), smp, 0); in process_subn()