net/bonding: fix range of mode parameter
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Sat, 9 Jul 2016 01:06:14 +0000 (02:06 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 12:51:09 +0000 (14:51 +0200)
commit419f2add3bb00c29142d2df750ea44df04c6e49c
tree2f04b97fc9de75840c674a7f03ff3f47fbb48557
parent44e32a671d7086a55da7571def65cca248020ec3
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>
drivers/net/bonding/rte_eth_bond_pmd.c