diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-01-22 14:53:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-22 15:38:44 -0800 |
commit | 24089ba1026a684d64bc0eeb6af634e26c9501c4 (patch) | |
tree | 6e9f4c0539262c56e6f0fb2b0e17a5e01a9e1090 /drivers/net/bonding/bond_options.h | |
parent | d1fbd3ed9366904b58b1c0c30b22d51dc793de99 (diff) |
bonding: convert queue_id to use the new option API
This patch adds the necessary changes so queue_id would use
the new bonding option API. Also move it to its own set function in
bond_options.c and fix some style errors.
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_options.h')
-rw-r--r-- | drivers/net/bonding/bond_options.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_options.h b/drivers/net/bonding/bond_options.h index 1f486a7d1e1..396d504214e 100644 --- a/drivers/net/bonding/bond_options.h +++ b/drivers/net/bonding/bond_options.h @@ -57,6 +57,7 @@ enum { BOND_OPT_PRIMARY_RESELECT, BOND_OPT_USE_CARRIER, BOND_OPT_ACTIVE_SLAVE, + BOND_OPT_QUEUE_ID, BOND_OPT_LAST }; @@ -153,4 +154,6 @@ int bond_option_use_carrier_set(struct bonding *bond, struct bond_opt_value *newval); int bond_option_active_slave_set(struct bonding *bond, struct bond_opt_value *newval); +int bond_option_queue_id_set(struct bonding *bond, + struct bond_opt_value *newval); #endif /* _BOND_OPTIONS_H */ |