Lines Matching defs:slave

247 		.desc = "Packets to send per slave in RR mode",
399 .desc = "Reselect primary slave once it comes up",
413 .desc = "Currently active slave",
423 .desc = "Set queue id of a slave",
444 .desc = "The number of seconds between instances where the bonding driver sends learning packets to each slave's peer switch",
909 slave_err(bond->dev, slave_dev, "Device is not bonding slave\n");
914 slave_err(bond->dev, slave_dev, "Device is not our slave\n");
922 netdev_dbg(bond->dev, "Clearing current active slave\n");
926 struct slave *old_active = rtnl_dereference(bond->curr_active_slave);
927 struct slave *new_active = bond_slave_get_rtnl(slave_dev);
933 slave_dbg(bond->dev, new_active->dev, "is already the current active slave\n");
937 slave_dbg(bond->dev, new_active->dev, "Setting as active slave\n");
940 slave_err(bond->dev, new_active->dev, "Could not set as active slave; either %s is down or the link is down\n",
1103 struct slave *slave;
1106 bond_for_each_slave(bond, slave, iter)
1107 slave->target_last_arp_rx[slot] = last_rx;
1151 struct slave *slave;
1173 bond_for_each_slave(bond, slave, iter) {
1174 targets_rx = slave->target_last_arp_rx;
1227 struct slave *slave;
1230 bond_for_each_slave(bond, slave, iter)
1231 slave->target_last_arp_rx[slot] = last_rx;
1318 struct slave *slave;
1320 slave = bond_slave_get_rtnl(newval->slave_dev);
1321 if (!slave) {
1322 netdev_dbg(newval->slave_dev, "%s called on NULL slave\n", __func__);
1325 slave->prio = newval->value;
1328 slave_warn(bond->dev, slave->dev,
1329 "prio updated, but will not affect failover re-selection as primary slave have been set\n");
1341 struct slave *slave;
1350 netdev_dbg(bond->dev, "Setting primary slave to None\n");
1357 bond_for_each_slave(bond, slave, iter) {
1358 if (strncmp(slave->dev->name, primary, IFNAMSIZ) == 0) {
1359 slave_dbg(bond->dev, slave->dev, "Setting as primary slave\n");
1360 rcu_assign_pointer(bond->primary_slave, slave);
1361 strcpy(bond->params.primary, slave->dev->name);
1369 netdev_dbg(bond->dev, "Setting primary slave to None\n");
1440 struct slave *slave;
1445 bond_for_each_slave(bond, slave, iter) {
1446 if (!bond_is_active_slave(slave)) {
1448 slave->inactive = 0;
1450 slave->inactive = 1;
1479 netdev_dbg(bond->dev, "Setting packets per slave to %llu\n",
1530 struct slave *slave, *update_slave;
1559 /* Search for thes slave and check for duplicate qids */
1561 bond_for_each_slave(bond, slave, iter) {
1562 if (sdev == slave->dev)
1564 * slave for dups, since we're overwriting it
1566 update_slave = slave;
1567 else if (qid && qid == slave->queue_id) {
1575 /* Actually set the qids for the slave */