Lines Matching defs:fail_over_mac
109 static char *fail_over_mac;
160 module_param(fail_over_mac, charp, 0);
161 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to the same MAC. none (default), active or follow");
953 * Perform special MAC address swapping for fail_over_mac settings
969 switch (bond->params.fail_over_mac) {
1020 bond->dev->name, bond->params.fail_over_mac);
1162 if (bond->params.fail_over_mac)
1518 pr_warning("%s: Warning: The first slave device specified does not support setting the MAC address. Setting fail_over_mac to active.",
1520 bond->params.fail_over_mac = BOND_FOM_ACTIVE;
1521 } else if (bond->params.fail_over_mac != BOND_FOM_ACTIVE) {
1522 pr_err("%s: Error: The slave device specified does not support setting the MAC address, but fail_over_mac is not set to active.\n",
1563 if (!bond->params.fail_over_mac) {
1806 if (!bond->params.fail_over_mac) {
1861 if (!bond->params.fail_over_mac) {
1995 if (bond->params.fail_over_mac != BOND_FOM_ACTIVE) {
2105 if (!bond->params.fail_over_mac) {
3220 bond->params.fail_over_mac)
3221 seq_printf(seq, " (fail_over_mac %s)",
3222 fail_over_mac_tbl[bond->params.fail_over_mac].modename);
4171 * If fail_over_mac is set to active, do nothing and return
4174 if (bond->params.fail_over_mac == BOND_FOM_ACTIVE)
5021 if (fail_over_mac) {
5022 fail_over_mac_value = bond_parse_parm(fail_over_mac,
5025 pr_err("Error: invalid fail_over_mac \"%s\"\n",
5031 pr_warning("Warning: fail_over_mac only affects active-backup mode.\n");
5050 params->fail_over_mac = fail_over_mac_value;