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

Message ID 1415200547-3004-1-git-send-email-choonho.son@gmail.com (mailing list archive)
State Accepted, archived
Headers

Commit Message

Choonho Son Nov. 5, 2014, 3:15 p.m. UTC
  The commit 15dbb63ef9e9f108e7dcd837b88234f27a1ec258 didn't compile,
if CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER is enabled.

Signed-off-by: Choonho Son <choonho.son@gmail.com>
---
 lib/librte_pmd_i40e/i40e_ethdev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

De Lara Guarch, Pablo Nov. 5, 2014, 4:19 p.m. UTC | #1
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Choonho Son
> Sent: Wednesday, November 05, 2014 3:16 PM
> To: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] i40e: fix build of VXLAN packet identification
> debug
> 
> The commit 15dbb63ef9e9f108e7dcd837b88234f27a1ec258 didn't compile,
> if CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER is enabled.
> 
> Signed-off-by: Choonho Son <choonho.son@gmail.com>
> ---

Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
  
Thomas Monjalon Nov. 5, 2014, 9:43 p.m. UTC | #2
> > The commit 15dbb63ef9e9f108e7dcd837b88234f27a1ec258 didn't compile,
> > if CONFIG_RTE_LIBRTE_I40E_DEBUG_DRIVER is enabled.
> > 
> > Signed-off-by: Choonho Son <choonho.son@gmail.com>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Applied

Thanks
  

Patch

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;