• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bonding/

Lines Matching defs:link

124 MODULE_PARM_DESC(updelay, "Delay before considering link up, in milliseconds");
126 MODULE_PARM_DESC(downdelay, "Delay before considering link down, "
251 [BOND_MODE_8023AD] = "IEEE 802.3ad Dynamic link aggregation",
640 if (slave->link == BOND_LINK_UP) {
658 * Get link speed and duplex from the slave's base driver
705 * if <dev> supports MII link status reporting, check its link status.
710 * Return either BMSR_LSTATUS, meaning that the link is up (or we
711 * can't tell and just pretend it is), or 0, meaning that the link is
714 * If reporting is non-zero, instead of faking link up, return -1 if
734 /* Try to get link status using Ethtool first. */
737 u32 link;
739 link = slave_dev->ethtool_ops->get_link(slave_dev);
741 return link ? BMSR_LSTATUS : 0;
773 * cannot report link status). If not reporting, pretend
1031 if (!prim || !curr || curr->link != BOND_LINK_UP)
1069 bond->primary_slave->link == BOND_LINK_UP &&
1078 if (new_active->link == BOND_LINK_UP) {
1080 } else if (new_active->link == BOND_LINK_BACK &&
1082 /* link up, but waiting for stabilization */
1102 * If @new's link state is %BOND_LINK_BACK we'll set it to %BOND_LINK_UP,
1119 if (new_active->link == BOND_LINK_BACK) {
1127 new_active->link = BOND_LINK_UP;
1193 * - The old curr_active_slave has been released or lost its link.
1194 * - The primary_slave has got its link back.
1195 * - A slave has got its link back and there's no old curr_active_slave.
1420 pr_warning("%s: Warning: no link monitoring support for %s\n",
1665 pr_warning("%s: Warning: MII and ETHTOOL support not available for interface %s, and arp_interval/arp_ip_target module parameters not specified, thus bonding will not detect link failures! see bonding.txt for details.\n",
1668 /* unable get link status using mii/ethtool */
1669 pr_warning("%s: Warning: can't get link status from interface %s; the network driver associated with this interface does not support MII or ETHTOOL link status reporting, thus miimon has no effect on this interface.\n",
1679 new_slave->link = BOND_LINK_BACK;
1683 new_slave->link = BOND_LINK_UP;
1688 new_slave->link = BOND_LINK_DOWN;
1692 (new_slave->link != BOND_LINK_DOWN)) {
1790 pr_info("%s: enslaving %s as a%s interface with a%s link.\n",
1793 new_slave->link != BOND_LINK_DOWN ? "n up" : " down");
2150 * - The link state of <slave_dev> is not BOND_LINK_UP.
2187 (new_active->link == BOND_LINK_UP) &&
2226 info->link = slave->link;
2254 switch (slave->link) {
2259 slave->link = BOND_LINK_FAIL;
2262 pr_info("%s: link status down for %sinterface %s, disabling it in %d ms.\n",
2277 slave->link = BOND_LINK_UP;
2279 pr_info("%s: link status up again after %d ms for interface %s.\n",
2300 slave->link = BOND_LINK_BACK;
2304 pr_info("%s: link status up for interface %s, enabling it in %d ms.\n",
2313 slave->link = BOND_LINK_DOWN;
2314 pr_info("%s: link status down again after %d ms for interface %s.\n",
2352 slave->link = BOND_LINK_UP;
2366 pr_info("%s: link status definitely up for interface %s.\n",
2369 /* notify ad that the link status has changed */
2387 slave->link = BOND_LINK_DOWN;
2393 pr_info("%s: link status definitely down for interface %s, disabling it\n",
2410 pr_err("%s: invalid new link %d on slave %s\n",
2434 * implement whatever link state changes are indicated.
2757 * this function is called regularly to monitor each slave's link
2797 if (slave->link != BOND_LINK_UP) {
2805 slave->link = BOND_LINK_UP;
2814 pr_info("%s: link status definitely up for interface %s, ",
2825 /* slave->link == BOND_LINK_UP */
2828 * when the source ip is 0, so don't take the link down
2838 slave->link = BOND_LINK_DOWN;
2857 * do - all replies will be rx'ed on same link causing slaves
2880 * Called to inspect slaves for active-backup mode ARP monitor link state
2883 * to link states must be committed.
2896 if (slave->link != BOND_LINK_UP) {
2965 * Called to commit link state changes noted by inspection step of
2988 slave->link = BOND_LINK_UP;
2991 pr_info("%s: link status definitely up for interface %s.\n",
3006 slave->link = BOND_LINK_DOWN;
3009 pr_info("%s: link status definitely down for interface %s, disabling it\n",
3077 slave->link = BOND_LINK_BACK;
3085 /* if the link state is up at this point, we
3087 * simultaneous link failures and
3092 if (slave->link == BOND_LINK_UP) {
3093 slave->link = BOND_LINK_DOWN;
3309 (slave->link == BOND_LINK_UP) ? "up" : "down");
3755 if (bond->params.miimon) { /* link check interval, in milliseconds. */
3806 if (bond->params.miimon) { /* link check interval, in milliseconds. */
4286 (slave->link == BOND_LINK_UP) &&
4363 (slave->link == BOND_LINK_UP) &&
4404 (slave->link == BOND_LINK_UP) &&
4480 (slave->link == BOND_LINK_UP)) {
4861 pr_warning("Warning: miimon must be specified, otherwise bonding will not detect link failure, speed and duplex which are essential for 802.3ad operation\n");
4885 pr_warning("Warning: miimon must be specified, otherwise bonding will not detect link failure and link speed which are essential for TLB/ALB load balancing\n");
4892 pr_notice("In ALB mode you might experience client disconnections upon reconnection of a link if the bonding module updelay parameter (%d msec) is incompatible with the forwarding delay time of the switch\n",
4978 pr_info("MII link monitoring set to %d ms\n", miimon);
4996 pr_warning("Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.\n");