From patchwork Fri May 27 15:20:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Jastrzebski X-Patchwork-Id: 13052 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 2B0E55AA3; Fri, 27 May 2016 17:21:06 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id CB6205A9D for ; Fri, 27 May 2016 17:21:03 +0200 (CEST) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP; 27 May 2016 08:21:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,374,1459839600"; d="scan'208";a="975811280" Received: from unknown (HELO Sent) ([10.217.248.103]) by fmsmga001.fm.intel.com with SMTP; 27 May 2016 08:21:00 -0700 Received: by Sent (sSMTP sendmail emulation); Fri, 27 May 2016 17:20:59 +0200 From: Michal Jastrzebski To: dev@dpdk.org Date: Fri, 27 May 2016 17:20:52 +0200 Message-Id: <1464362453-5732-1-git-send-email-michalx.k.jastrzebski@intel.com> X-Mailer: git-send-email 2.7.0 Subject: [dpdk-dev] [PATCH] app/test: fix bond device name too long 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Bond device name was too long (grather than 32 signs) that cause mempool allocation to fail. Fixes: 92073ef961ee ("bond: unit tests") Signed-off-by: Michal Jastrzebski Acked-by: Bernard Iremonger --- app/test/test_link_bonding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test/test_link_bonding.c b/app/test/test_link_bonding.c index 7cbc289..eeb1395 100644 --- a/app/test/test_link_bonding.c +++ b/app/test/test_link_bonding.c @@ -83,7 +83,7 @@ #define MAX_PKT_BURST (512) #define DEF_PKT_BURST (16) -#define BONDED_DEV_NAME ("unit_test_bonded_device") +#define BONDED_DEV_NAME ("unit_test_bond_dev") #define INVALID_SOCKET_ID (-1) #define INVALID_PORT_ID (-1)