Lines Matching defs:port
59 static void set_bad_pkey_cntr(struct rxe_port *port)
61 spin_lock_bh(&port->port_lock);
62 port->attr.bad_pkey_cntr = min((u32)0xffff,
63 port->attr.bad_pkey_cntr + 1);
64 spin_unlock_bh(&port->port_lock);
67 static void set_qkey_viol_cntr(struct rxe_port *port)
69 spin_lock_bh(&port->port_lock);
70 port->attr.qkey_viol_cntr = min((u32)0xffff,
71 port->attr.qkey_viol_cntr + 1);
72 spin_unlock_bh(&port->port_lock);
78 struct rxe_port *port = &rxe->port;
84 set_bad_pkey_cntr(port);
92 set_qkey_viol_cntr(port);
138 struct rxe_port *port = &rxe->port;
151 index = (qpn == 1) ? port->qp_gsi_index : qpn;