Lines Matching defs:slave

219 		.desc = "Packets to send per slave in RR mode",
336 .desc = "Reselect primary slave once it comes up",
350 .desc = "Currently active slave",
360 .desc = "Set queue id of a slave",
381 .desc = "The number of seconds between instances where the bonding driver sends learning packets to each slave's peer switch",
811 slave_err(bond->dev, slave_dev, "Device is not bonding slave\n");
816 slave_err(bond->dev, slave_dev, "Device is not our slave\n");
824 netdev_dbg(bond->dev, "Clearing current active slave\n");
828 struct slave *old_active = rtnl_dereference(bond->curr_active_slave);
829 struct slave *new_active = bond_slave_get_rtnl(slave_dev);
835 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n");
839 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n");
842 slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the link is down\n",
1005 struct slave *slave;
1008 bond_for_each_slave(bond, slave, iter)
1009 slave->target_last_arp_rx[slot] = last_rx;
1053 struct slave *slave;
1075 bond_for_each_slave(bond, slave, iter) {
1076 targets_rx = slave->target_last_arp_rx;
1147 struct slave *slave;
1156 netdev_dbg(bond->dev, "Setting primary slave to None\n");
1163 bond_for_each_slave(bond, slave, iter) {
1164 if (strncmp(slave->dev->name, primary, IFNAMSIZ) == 0) {
1165 slave_dbg(bond->dev, slave->dev, "Setting as primary slave\n");
1166 rcu_assign_pointer(bond->primary_slave, slave);
1167 strcpy(bond->params.primary, slave->dev->name);
1175 netdev_dbg(bond->dev, "Setting primary slave to None\n");
1247 struct slave *slave;
1252 bond_for_each_slave(bond, slave, iter) {
1253 if (!bond_is_active_slave(slave)) {
1255 slave->inactive = 0;
1257 slave->inactive = 1;
1286 netdev_dbg(bond->dev, "Setting packets per slave to %llu\n",
1327 struct slave *slave, *update_slave;
1356 /* Search for thes slave and check for duplicate qids */
1358 bond_for_each_slave(bond, slave, iter) {
1359 if (sdev == slave->dev)
1361 * slave for dups, since we're overwriting it
1363 update_slave = slave;
1364 else if (qid && qid == slave->queue_id) {
1372 /* Actually set the qids for the slave */