Lines Matching refs:lport
112 * @lport: The local port to update speeds for
117 int fcoe_link_speed_update(struct fc_lport *lport)
119 struct net_device *netdev = fcoe_get_netdev(lport);
123 lport->link_supported_speeds &= ~(FC_PORTSPEED_1GBIT |
132 lport->link_supported_speeds |= FC_PORTSPEED_1GBIT;
139 lport->link_supported_speeds |= FC_PORTSPEED_10GBIT;
144 lport->link_supported_speeds |= FC_PORTSPEED_20GBIT;
151 lport->link_supported_speeds |= FC_PORTSPEED_40GBIT;
153 lport->link_speed = eth2fc_speed(ecmd.base.speed);
161 * __fcoe_get_lesb() - Get the Link Error Status Block (LESB) for a given lport
162 * @lport: The local port to update speeds for
164 * @netdev: Pointer to the netdev that is associated with the lport
169 void __fcoe_get_lesb(struct fc_lport *lport,
185 stats = per_cpu_ptr(lport->stats, cpu);
200 * @lport: the local port
203 void fcoe_get_lesb(struct fc_lport *lport,
206 struct net_device *netdev = fcoe_get_netdev(lport);
208 __fcoe_get_lesb(lport, fc_lesb, netdev);
247 * - WWPN supplied is unique for given lport
260 /* Check if the wwpn is not same as that of the lport */
366 * @lport: The local port to dequeue a skb on
368 void fcoe_clean_pending_queue(struct fc_lport *lport)
370 struct fcoe_port *port = lport_priv(lport);
385 * @lport: The local port whose backlog is to be cleared
397 void fcoe_check_wait_queue(struct fc_lport *lport, struct sk_buff *skb)
399 struct fcoe_port *port = lport_priv(lport);
431 lport->qfull = 0;
437 lport->qfull = 1;
452 fcoe_check_wait_queue(port->lport, NULL);