Home
last modified time | relevance | path

Searched refs:active_slave (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/bonding/
H A Dbond_options.sh47 active_slave=""
51 active_slave=$(cmd_jq "ip -n ${s_ns} -d -j link show bond0" ".[].linkinfo.info_data.active_slave")
52 test "$active_slave" = "$target_active_slave"
53 check_err $? "Current active slave is $active_slave but not $target_active_slave"
65 # set active_slave to primary eth1 specifically
66 ip -n ${s_ns} link set bond0 type bond active_slave eth1
88 ip -n ${s_ns} link set $active_slave down
93 ip -n ${s_ns} link set $active_slave down
111 local pre_active_slave=$active_slave
[all...]
/kernel/linux/linux-5.10/drivers/net/bonding/
H A Dbond_netlink.c181 char *active_slave = ""; in bond_changelink() local
188 active_slave = slave_dev->name; in bond_changelink()
190 bond_opt_initstr(&newval, active_slave); in bond_changelink()
H A Dbond_sysfs.c457 /* Show currently active_slave. */
474 static DEVICE_ATTR(active_slave, 0644,
/kernel/linux/linux-6.6/drivers/net/bonding/
H A Dbond_netlink.c207 char *active_slave = ""; in bond_changelink() local
214 active_slave = slave_dev->name; in bond_changelink()
216 bond_opt_initstr(&newval, active_slave); in bond_changelink()
H A Dbond_sysfs.c484 /* Show currently active_slave. */
501 static DEVICE_ATTR(active_slave, 0644,
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Dcpsw_priv.h296 u32 active_slave;/* time stamping, ethtool and SIOCGMIIPHY slave */ member
H A Dcpsw.c83 return cpsw->data.dual_emac ? priv->emac_port : cpsw->data.active_slave; in cpsw_slave_index_priv()
1267 if (of_property_read_u32(node, "active_slave", &prop)) { in cpsw_probe_dt()
1268 dev_err(&pdev->dev, "Missing active_slave property in the DT.\n"); in cpsw_probe_dt()
1271 data->active_slave = prop; in cpsw_probe_dt()
H A Dcpsw_new.c1249 data->active_slave = 0; in cpsw_probe_dt()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Dcpsw_priv.h298 u32 active_slave;/* time stamping, ethtool and SIOCGMIIPHY slave */ member
H A Dcpsw.c83 return cpsw->data.dual_emac ? priv->emac_port : cpsw->data.active_slave; in cpsw_slave_index_priv()
1251 if (of_property_read_u32(node, "active_slave", &prop)) { in cpsw_probe_dt()
1252 dev_err(&pdev->dev, "Missing active_slave property in the DT.\n"); in cpsw_probe_dt()
1255 data->active_slave = prop; in cpsw_probe_dt()
H A Dcpsw_new.c1238 data->active_slave = 0; in cpsw_probe_dt()

Completed in 16 milliseconds