From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 586135A59 for ; Sun, 9 Aug 2015 12:28:48 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 09 Aug 2015 03:28:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,639,1432623600"; d="scan'208";a="779856745" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by fmsmga002.fm.intel.com with ESMTP; 09 Aug 2015 03:28:47 -0700 Received: from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com [10.237.217.46]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id t79ASk32031144; Sun, 9 Aug 2015 11:28:46 +0100 Received: from sivswdev02.ir.intel.com (localhost [127.0.0.1]) by sivswdev02.ir.intel.com with ESMTP id t79ASjIL029214; Sun, 9 Aug 2015 11:28:45 +0100 Received: (from pdelarax@localhost) by sivswdev02.ir.intel.com with id t79ASjgD029210; Sun, 9 Aug 2015 11:28:45 +0100 From: Pablo de Lara To: dev@dpdk.org Date: Sun, 9 Aug 2015 11:28:45 +0100 Message-Id: <1439116125-29180-1-git-send-email-pablo.de.lara.guarch@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1438938514-10304-1-git-send-email-pablo.de.lara.guarch@intel.com> References: <1438938514-10304-1-git-send-email-pablo.de.lara.guarch@intel.com> Subject: [dpdk-dev] [PATCH v2] examples/l3fwd: fix compilation issue when using exact-match 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: Sun, 09 Aug 2015 10:28:48 -0000 From: "Pablo de Lara" L3fwd was trying to use an inexistent function "simple_ipv6_fwd_4pkts", instead it should be "simple_ipv6_fwd_8pkts", and "simple_ipv8_fwd_4pkts" instead of "simple_ipv4_fwd_8pkts". Fixes: 80fcb4d4 ("examples/l3fwd: increase lookup burst size to 8") Signed-off-by: Pablo de Lara Acked-by: Sergio Gonzalez Monroy --- Changes in v2: - Missing to fix additional type examples/l3fwd/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/l3fwd/main.c b/examples/l3fwd/main.c index 9351322..f113778 100644 --- a/examples/l3fwd/main.c +++ b/examples/l3fwd/main.c @@ -1710,11 +1710,11 @@ main_loop(__attribute__((unused)) void *dummy) & pkts_burst[j+6]->ol_flags & pkts_burst[j+7]->ol_flags; if (ol_flag & PKT_RX_IPV4_HDR ) { - simple_ipv8_fwd_4pkts(&pkts_burst[j], + simple_ipv4_fwd_8pkts(&pkts_burst[j], portid, qconf); } else if (ol_flag & PKT_RX_IPV6_HDR) { #endif /* RTE_NEXT_ABI */ - simple_ipv6_fwd_4pkts(&pkts_burst[j], + simple_ipv6_fwd_8pkts(&pkts_burst[j], portid, qconf); } else { l3fwd_simple_forward(pkts_burst[j], -- 2.4.2