From a87db84bd4d7b61822518bc20878a47e45763582 Mon Sep 17 00:00:00 2001 From: Choonho Son Date: Thu, 6 Nov 2014 00:15:47 +0900 Subject: [PATCH] i40e: fix build with debug enabled The commit 15dbb63ef9e9 ("VXLAN packet identification") didn't compile, if CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER is enabled. Signed-off-by: Choonho Son Acked-by: Pablo de Lara --- lib/librte_pmd_i40e/i40e_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_pmd_i40e/i40e_ethdev.c b/lib/librte_pmd_i40e/i40e_ethdev.c index fc78b20c1a..45707959bc 100644 --- a/lib/librte_pmd_i40e/i40e_ethdev.c +++ b/lib/librte_pmd_i40e/i40e_ethdev.c @@ -4722,8 +4722,8 @@ i40e_add_vxlan_port(struct i40e_pf *pf, uint16_t port) return -1; } - PMD_DRV_LOG(INFO, "Added %s port %d with AQ command with index %d", - port, filter_index); + PMD_DRV_LOG(INFO, "Added port %d with AQ command with index %d", + port, filter_idx); /* New port: add it and mark its index in the bitmap */ pf->vxlan_ports[idx] = port; -- 2.20.1