From: Choonho Son Date: Wed, 5 Nov 2014 15:15:47 +0000 (+0900) Subject: i40e: fix build with debug enabled X-Git-Tag: spdx-start~10201 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=a87db84bd4d7b61822518bc20878a47e45763582;p=dpdk.git 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 --- 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;