From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id C8638ADA5 for ; Sat, 9 Jul 2016 03:07:18 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 08 Jul 2016 18:07:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,333,1464678000"; d="scan'208";a="1018356562" Received: from sie-lab-214-036.ir.intel.com (HELO silpixa00394365.ir.intel.com) ([10.237.214.36]) by fmsmga002.fm.intel.com with ESMTP; 08 Jul 2016 18:07:17 -0700 From: Pablo de Lara To: dev@dpdk.org Cc: nhorman@tuxdriver.com, thomas.monjalon@6wind.com, Pablo de Lara Date: Sat, 9 Jul 2016 02:06:14 +0100 Message-Id: <1468026374-28042-6-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468026374-28042-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1468026374-28042-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH 5/5] net/bonding: fix range of mode argument X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2016 01:07:19 -0000 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 --- 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 f617eea..b20a272 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.7.4