Lines Matching refs:port_num
462 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_get_portinfo() local
464 if (port_num == 0) in subn_get_portinfo()
465 port_num = port; in subn_get_portinfo()
467 if (port_num > ibdev->phys_port_cnt) { in subn_get_portinfo()
472 if (port_num != port) { in subn_get_portinfo()
473 ibp = to_iport(ibdev, port_num); in subn_get_portinfo()
484 ppd = dd->pport + (port_num - 1); in subn_get_portinfo()
669 u32 port_num = be32_to_cpu(smp->attr_mod); in subn_set_portinfo() local
671 if (port_num == 0) in subn_set_portinfo()
672 port_num = port; in subn_set_portinfo()
674 if (port_num > ibdev->phys_port_cnt) in subn_set_portinfo()
677 if (port_num != port) in subn_set_portinfo()
683 ppd = dd->pport + (port_num - 1); in subn_set_portinfo()
686 event.element.port_num = port; in subn_set_portinfo()
1032 event.element.port_num = port; in set_pkeys()
1875 u32 port_num = be32_to_cpu(smp->attr_mod); in process_subn() local
1887 port_num && port_num <= ibdev->phys_port_cnt && in process_subn()
1888 port != port_num) in process_subn()
1889 (void) check_mkey(to_iport(ibdev, port_num), smp, 0); in process_subn()