Searched refs:use_carrier (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.10/drivers/net/bonding/ |
| D | bond_netlink.c | 228 int use_carrier = nla_get_u8(data[IFLA_BOND_USE_CARRIER]); in bond_changelink() local 230 bond_opt_initval(&newval, use_carrier); in bond_changelink() 552 if (nla_put_u8(skb, IFLA_BOND_USE_CARRIER, bond->params.use_carrier)) in bond_fill_info()
|
| D | bond_main.c | 99 static int use_carrier = 1; variable 135 module_param(use_carrier, int, 0); 136 MODULE_PARM_DESC(use_carrier, "Use netif_carrier_ok (vs MII ioctls) in miimon; " 583 if (bond->params.use_carrier) in bond_check_dev_link() 1580 if (!bond->params.use_carrier && in bond_enslave() 1792 if (bond->params.miimon && !bond->params.use_carrier) { in bond_enslave() 4899 if ((use_carrier != 0) && (use_carrier != 1)) { in bond_check_params() 4901 use_carrier); in bond_check_params() 4902 use_carrier = 1; in bond_check_params() 5148 params->use_carrier = use_carrier; in bond_check_params()
|
| D | bond_sysfs.c | 451 return sprintf(buf, "%d\n", bond->params.use_carrier); in bonding_show_carrier() 453 static DEVICE_ATTR(use_carrier, 0644,
|
| D | bond_options.c | 955 bond->params.use_carrier = newval->value; in bond_option_use_carrier_set()
|
| /Linux-v5.10/include/net/ |
| D | bonding.h | 125 int use_carrier; member
|
| /Linux-v5.10/Documentation/networking/ |
| D | bonding.rst | 532 The use_carrier option, below, affects how the link state is 830 use_carrier 845 setting use_carrier to 0 will cause bonding to revert to the 1967 If the use_carrier module parameter is 1 (the default value), 1970 use_carrier parameter information, above, if the MII monitor fails to 1975 If use_carrier is 0, then the MII monitor will first query the 2069 By default, bonding enables the use_carrier option, which 2074 With use_carrier enabled, bonding will always see these links as up, 2082 use_carrier=0 to see if that improves the failure detection time. If 2085 use_carrier=0 method of querying the registers directly works). If [all …]
|