Lines Matching refs:miimon

104 static int miimon;
136 module_param(miimon, int, 0);
137 MODULE_PARM_DESC(miimon, "Link check interval in milliseconds");
144 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
1181 (bond->params.updelay - new_active->delay) * bond->params.miimon);
1733 info->miimon = bond->params.miimon;
2053 if (bond->params.miimon && !bond->params.use_carrier) {
2057 /* miimon is set but a bonded network driver
2068 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");
2074 if (bond->params.miimon) {
2620 bond->params.downdelay * bond->params.miimon);
2630 bond->params.miimon);
2656 bond->params.miimon);
2664 bond->params.miimon);
2817 delay = msecs_to_jiffies(bond->params.miimon);
2852 if (bond->params.miimon)
3904 * let link-monitoring (miimon) set it right when correct
3920 * If the setup does not use miimon or arpmon (mode-specific!),
3924 * events. If these (miimon/arpmon) parameters are configured
4300 if (bond->params.miimon) /* link check interval, in milliseconds. */
6049 if (miimon < 0) {
6050 pr_warn("Warning: miimon module parameter (%d), not in range 0-%d, so it was reset to 0\n",
6051 miimon, INT_MAX);
6052 miimon = 0;
6081 if (!miimon) {
6082 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");
6083 pr_warn("Forcing miimon to 100msec\n");
6084 miimon = BOND_DEFAULT_MIIMON;
6118 if (!miimon) {
6121 * no effect since miimon is zero...
6123 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",
6129 pr_warn("Warning: miimon (%d) and arp_interval (%d) can't be used simultaneously, disabling ARP monitoring\n",
6130 miimon, arp_interval);
6134 if ((updelay % miimon) != 0) {
6135 pr_warn("Warning: updelay (%d) is not a multiple of miimon (%d), updelay rounded to %d ms\n",
6136 updelay, miimon, (updelay / miimon) * miimon);
6139 updelay /= miimon;
6141 if ((downdelay % miimon) != 0) {
6142 pr_warn("Warning: downdelay (%d) is not a multiple of miimon (%d), downdelay rounded to %d ms\n",
6143 downdelay, miimon,
6144 (downdelay / miimon) * miimon);
6147 downdelay /= miimon;
6214 if (miimon) {
6215 pr_info("MII link monitoring set to %d ms\n", miimon);
6228 /* miimon and arp_interval not set, we need one so things
6231 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");
6308 params->miimon = miimon;