bonding: implement get_tx_queues rtnk_link_op
authorJiri Pirko <jpirko@redhat.com>
Wed, 10 Aug 2011 06:09:44 +0000 (06:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Aug 2011 14:44:38 +0000 (07:44 -0700)
commitd5da4510a742bb85182dcab8a47f63baaebb5ec3
treeaf7172c9cbd42e4b3715f6e47b95f116cca99784
parent5098af0abf3c1ed454159e081e75cf7cfc6ddf60
bonding: implement get_tx_queues rtnk_link_op

If bonding device is created via rtnl, it is created with default number
of rx/tx queues. This patch implements callback in bonding so the
correct value (previously specified by bonding module param) is used.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c