net/bonding: fix range of mode parameter
The range of the supported bonding modes is 0-6, instead of 0-4. Fixes: cb6696d22023 ("drivers: update registration macro usage") Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
This commit is contained in:
parent
44e32a671d
commit
419f2add3b
@ -2519,7 +2519,7 @@ PMD_REGISTER_DRIVER(bond_drv, eth_bond);
|
||||
DRIVER_REGISTER_PARAM_STRING(eth_bond,
|
||||
"slave=<ifc> "
|
||||
"primary=<ifc> "
|
||||
"mode=[0-4] "
|
||||
"mode=[0-6] "
|
||||
"xmit_policy=[l2 | l23 | l34] "
|
||||
"socket_id=<int> "
|
||||
"mac=<mac addr> "
|
||||
|
Loading…
x
Reference in New Issue
Block a user