• 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:miimon

96 static int miimon	= BOND_LINK_MON_INTERV;
121 module_param(miimon, int, 0);
122 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
129 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
1123 (bond->params.updelay - new_active->delay) * bond->params.miimon);
1652 if (bond->params.miimon && !bond->params.use_carrier) {
1657 * miimon is set but a bonded network driver
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",
1675 if (!bond->params.miimon ||
2205 info->miimon = bond->params.miimon;
2269 bond->params.downdelay * bond->params.miimon);
2282 bond->params.miimon,
2308 bond->params.miimon);
2317 bond->params.miimon,
2473 if (bond->params.miimon)
2475 msecs_to_jiffies(bond->params.miimon));
3247 seq_printf(seq, "MII Polling Interval (ms): %d\n", bond->params.miimon);
3249 bond->params.updelay * bond->params.miimon);
3251 bond->params.downdelay * bond->params.miimon);
3755 if (bond->params.miimon) { /* link check interval, in milliseconds. */
3806 if (bond->params.miimon) { /* link check interval, in milliseconds. */
4676 if (bond->params.miimon && delayed_work_pending(&bond->mii_work))
4822 if (miimon < 0) {
4823 pr_warning("Warning: miimon module parameter (%d), not in range 0-%d, so it was reset to %d\n",
4824 miimon, INT_MAX, BOND_LINK_MON_INTERV);
4825 miimon = BOND_LINK_MON_INTERV;
4860 if (!miimon) {
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");
4862 pr_warning("Forcing miimon to 100msec\n");
4863 miimon = 100;
4884 if (!miimon) {
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");
4886 pr_warning("Forcing miimon to 100msec\n");
4887 miimon = 100;
4896 if (!miimon) {
4899 * no effect since miimon is zero...
4901 pr_warning("Warning: miimon module parameter not set and updelay (%d) or downdelay (%d) module parameter is set; updelay and downdelay have no effect unless miimon is set\n",
4907 pr_warning("Warning: miimon (%d) and arp_interval (%d) can't be used simultaneously, disabling ARP monitoring\n",
4908 miimon, arp_interval);
4912 if ((updelay % miimon) != 0) {
4913 pr_warning("Warning: updelay (%d) is not a multiple of miimon (%d), updelay rounded to %d ms\n",
4914 updelay, miimon,
4915 (updelay / miimon) * miimon);
4918 updelay /= miimon;
4920 if ((downdelay % miimon) != 0) {
4921 pr_warning("Warning: downdelay (%d) is not a multiple of miimon (%d), downdelay rounded to %d ms\n",
4922 downdelay, miimon,
4923 (downdelay / miimon) * miimon);
4926 downdelay /= miimon;
4977 if (miimon) {
4978 pr_info("MII link monitoring set to %d ms\n", miimon);
4993 /* miimon and arp_interval not set, we need one so things
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");
5039 params->miimon = miimon;