Searched refs:fail_over_mac (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/bonding/
H A Dbond_main.c109 static char *fail_over_mac; variable
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 !
[all...]
H A Dbonding.h129 int fail_over_mac; member in struct:bond_params
H A Dbond_sysfs.c441 * Show and store fail_over_mac. User only allowed to change the
451 fail_over_mac_tbl[bond->params.fail_over_mac].modename,
452 bond->params.fail_over_mac);
463 pr_err("%s: Can't alter fail_over_mac with slaves in bond.\n",
470 pr_err("%s: Ignoring invalid fail_over_mac value %s.\n",
475 bond->params.fail_over_mac = new_value;
476 pr_info("%s: Setting fail_over_mac to %s (%d).\n",
483 static DEVICE_ATTR(fail_over_mac, S_IRUGO | S_IWUSR,

Completed in 46 milliseconds