Home
last modified time | relevance | path

Searched refs:use_carrier (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/net/bonding/
Dbond_netlink.c202 int use_carrier = nla_get_u8(data[IFLA_BOND_USE_CARRIER]); in bond_changelink() local
204 bond_opt_initval(&newval, use_carrier); in bond_changelink()
471 if (nla_put_u8(skb, IFLA_BOND_USE_CARRIER, bond->params.use_carrier)) in bond_fill_info()
Dbond_main.c97 static int use_carrier = 1; variable
133 module_param(use_carrier, int, 0);
134 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; "
450 if (bond->params.use_carrier) in bond_check_dev_link()
1300 if (!bond->params.use_carrier && in bond_enslave()
1531 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave()
4271 if ((use_carrier != 0) && (use_carrier != 1)) { in bond_check_params()
4273 use_carrier); in bond_check_params()
4274 use_carrier = 1; in bond_check_params()
4494 params->use_carrier = use_carrier; in bond_check_params()
Dbond_sysfs.c466 return sprintf(buf, "%d\n", bond->params.use_carrier); in bonding_show_carrier()
468 static DEVICE_ATTR(use_carrier, S_IRUGO | S_IWUSR,
Dbond_options.c862 bond->params.use_carrier = newval->value; in bond_option_use_carrier_set()
/linux-4.1.27/include/net/
Dbonding.h122 int use_carrier; member
/linux-4.1.27/Documentation/networking/
Dbonding.txt487 The use_carrier option, below, affects how the link state is
775 use_carrier
790 setting use_carrier to 0 will cause bonding to revert to the
1838 If the use_carrier module parameter is 1 (the default value),
1841 use_carrier parameter information, above, if the MII monitor fails to
1846 If use_carrier is 0, then the MII monitor will first query the
1940 By default, bonding enables the use_carrier option, which
1945 With use_carrier enabled, bonding will always see these links as up,
1953 use_carrier=0 to see if that improves the failure detection time. If
1956 use_carrier=0 method of querying the registers directly works). If
[all …]