Lines Matching refs:miimon
96 static int miimon;
128 module_param(miimon, int, 0);
129 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
136 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
1113 (bond->params.updelay - new_active->delay) * bond->params.miimon);
1659 info->miimon = bond->params.miimon;
1926 if (bond->params.miimon && !bond->params.use_carrier) {
1930 /* miimon is set but a bonded network driver
1941 slave_warn(bond_dev, slave_dev, "can't get link status from slave; 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");
1947 if (bond->params.miimon) {
2443 bond->params.downdelay * bond->params.miimon);
2453 bond->params.miimon);
2479 bond->params.miimon);
2487 bond->params.miimon);
2635 delay = msecs_to_jiffies(bond->params.miimon);
2670 if (bond->params.miimon)
3489 * let link-monitoring (miimon) set it right when correct
3505 * If the setup does not use miimon or arpmon (mode-specific!),
3509 * events. If these (miimon/arpmon) parameters are configured
3785 if (bond->params.miimon) /* link check interval, in milliseconds. */
5066 if (miimon < 0) {
5067 pr_warn("Warning: miimon module parameter (%d), not in range 0-%d, so it was reset to 0\n",
5068 miimon, INT_MAX);
5069 miimon = 0;
5098 if (!miimon) {
5099 pr_warn("Warning: miimon must be specified, otherwise bonding will not detect link failure, speed and duplex which are essential for 802.3ad operation\n");
5100 pr_warn("Forcing miimon to 100msec\n");
5101 miimon = BOND_DEFAULT_MIIMON;
5135 if (!miimon) {
5138 * no effect since miimon is zero...
5140 pr_warn("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",
5146 pr_warn("Warning: miimon (%d) and arp_interval (%d) can't be used simultaneously, disabling ARP monitoring\n",
5147 miimon, arp_interval);
5151 if ((updelay % miimon) != 0) {
5152 pr_warn("Warning: updelay (%d) is not a multiple of miimon (%d), updelay rounded to %d ms\n",
5153 updelay, miimon, (updelay / miimon) * miimon);
5156 updelay /= miimon;
5158 if ((downdelay % miimon) != 0) {
5159 pr_warn("Warning: downdelay (%d) is not a multiple of miimon (%d), downdelay rounded to %d ms\n",
5160 downdelay, miimon,
5161 (downdelay / miimon) * miimon);
5164 downdelay /= miimon;
5231 if (miimon) {
5232 pr_info("MII link monitoring set to %d ms\n", miimon);
5245 /* miimon and arp_interval not set, we need one so things
5248 pr_debug("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");
5325 params->miimon = miimon;