Lines Matching defs:lp
51 lacp_sm_tx(struct lacp_port *lp)
56 if (!(lp->lp_state & LACP_STATE_AGGREGATION)
58 || (!(lp->lp_state & LACP_STATE_ACTIVITY)
59 && !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY))
62 lp->lp_flags &= ~LACPPORT_NTT;
65 if (!(lp->lp_flags & LACPPORT_NTT)) {
71 if ((unsigned int)(now - lp->lp_last_lacpdu_sent) <=
75 lp->lp_last_lacpdu_sent = now;
77 error = lacp_xmit_lacpdu(lp);
80 lp->lp_flags &= ~LACPPORT_NTT;
82 LACP_DPRINTF((lp, "lacpdu transmit failure, error %d\n",
88 lacp_sm_assert_ntt(struct lacp_port *lp)
91 lp->lp_flags |= LACPPORT_NTT;