Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265227
b: refs/heads/master
c: d5da451
h: refs/heads/master
i:
  265225: 28846a4
  265223: e640b26
v: v3
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Aug 11, 2011
1 parent 7240de1 commit 520476f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5098af0abf3c1ed454159e081e75cf7cfc6ddf60
refs/heads/master: d5da4510a742bb85182dcab8a47f63baaebb5ec3
9 changes: 9 additions & 0 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4828,11 +4828,20 @@ static int bond_validate(struct nlattr *tb[], struct nlattr *data[])
return 0;
}

static int bond_get_tx_queues(struct net *net, struct nlattr *tb[],
unsigned int *num_queues,
unsigned int *real_num_queues)
{
*num_queues = tx_queues;
return 0;
}

static struct rtnl_link_ops bond_link_ops __read_mostly = {
.kind = "bond",
.priv_size = sizeof(struct bonding),
.setup = bond_setup,
.validate = bond_validate,
.get_tx_queues = bond_get_tx_queues,
};

/* Create a new bond based on the specified name and bonding parameters.
Expand Down

0 comments on commit 520476f

Please sign in to comment.