Lines Matching defs:mode
210 .name = "mode",
211 .desc = "bond device mode",
219 .desc = "Packets to send per slave in RR mode",
573 /* Check opt's dependencies against bond mode and currently set options */
579 if (test_bit(params->mode, &opt->unsuppmodes))
596 modeval = bond_opt_get_val(BOND_OPT_MODE, params->mode);
597 if (test_bit(params->mode, &opt->unsuppmodes))
598 netdev_err(bond->dev, "option %s: mode dependency failed, not supported in mode %s(%llu)\n",
748 static void bond_set_xfrm_features(struct net_device *bond_dev, u64 mode)
753 if (mode == BOND_MODE_ACTIVEBACKUP)
766 netdev_dbg(bond->dev, "%s mode is incompatible with arp monitoring, start mii monitoring\n",
788 bond->params.mode = newval->value;
989 /* arp_validate can be set only in active-backup mode */