From 419f2add3bb00c29142d2df750ea44df04c6e49c Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Sat, 9 Jul 2016 02:06:14 +0100 Subject: [PATCH] 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 Acked-by: Neil Horman --- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bonding/rte_eth_bond_pmd.c b/drivers/net/bonding/rte_eth_bond_pmd.c index f617eea08f..b20a272910 100644 --- a/drivers/net/bonding/rte_eth_bond_pmd.c +++ b/drivers/net/bonding/rte_eth_bond_pmd.c @@ -2519,7 +2519,7 @@ PMD_REGISTER_DRIVER(bond_drv, eth_bond); DRIVER_REGISTER_PARAM_STRING(eth_bond, "slave= " "primary= " - "mode=[0-4] " + "mode=[0-6] " "xmit_policy=[l2 | l23 | l34] " "socket_id= " "mac= " -- 2.20.1