Lines Matching full:slave
16 struct slave *slave; in bond_info_seq_start() local
24 bond_for_each_slave_rcu(bond, slave, iter) in bond_info_seq_start()
26 return slave; in bond_info_seq_start()
35 struct slave *slave; in bond_info_seq_next() local
42 bond_for_each_slave_rcu(bond, slave, iter) { in bond_info_seq_next()
44 return slave; in bond_info_seq_next()
45 if (slave == v) in bond_info_seq_next()
62 struct slave *curr, *primary; in bond_info_show_master()
88 seq_printf(seq, "Primary Slave: %s", in bond_info_show_master()
97 seq_printf(seq, "\nCurrently Active Slave: %s\n", in bond_info_show_master()
191 const struct slave *slave) in bond_info_show_slave() argument
195 seq_printf(seq, "\nSlave Interface: %s\n", slave->dev->name); in bond_info_show_slave()
196 seq_printf(seq, "MII Status: %s\n", bond_slave_link_status(slave->link)); in bond_info_show_slave()
197 if (slave->speed == SPEED_UNKNOWN) in bond_info_show_slave()
200 seq_printf(seq, "Speed: %d Mbps\n", slave->speed); in bond_info_show_slave()
202 if (slave->duplex == DUPLEX_UNKNOWN) in bond_info_show_slave()
205 seq_printf(seq, "Duplex: %s\n", slave->duplex ? "full" : "half"); in bond_info_show_slave()
208 slave->link_failure_count); in bond_info_show_slave()
211 slave->dev->addr_len, slave->perm_hwaddr); in bond_info_show_slave()
212 seq_printf(seq, "Slave queue ID: %d\n", READ_ONCE(slave->queue_id)); in bond_info_show_slave()
215 const struct port *port = &SLAVE_AD_INFO(slave)->port; in bond_info_show_slave()