[dpdk-dev] [PATCH] i40e: fix build of VXLAN packet identification debug

Choonho Son choonho.son at gmail.com
Wed Nov 5 16:15:47 CET 2014


The commit 15dbb63ef9e9f108e7dcd837b88234f27a1ec258 didn't compile,
if CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER is enabled.

Signed-off-by: Choonho Son <choonho.son at gmail.com>
---
 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 fc78b20..4570795 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;
-- 
1.9.1



More information about the dev mailing list