Lines Matching refs:ifname
62 static struct net_device *bond_get_by_name(struct bond_net *bn, const char *ifname)
67 if (strncmp(bond->dev->name, ifname, IFNAMSIZ) == 0)
85 char *ifname;
89 ifname = command + 1;
91 !dev_valid_name(ifname))
95 pr_info("%s is being created...\n", ifname);
96 rv = bond_create(bn->net, ifname);
99 pr_info("%s already exists\n", ifname);
101 pr_info("%s creation failed\n", ifname);
108 bond_dev = bond_get_by_name(bn, ifname);
110 pr_info("%s is being deleted...\n", ifname);
113 pr_err("unable to delete non-existent %s\n", ifname);
126 pr_err("no command found in bonding_masters - use +ifname or -ifname\n");