i40e: use the right debug macro
authorDavid Marchand <david.marchand@6wind.com>
Wed, 17 Sep 2014 13:46:40 +0000 (15:46 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 18 Sep 2014 18:52:41 +0000 (20:52 +0200)
commit27112ac88bd08e1034478aabda4e2bb789551be3
tree8058adb28f2510e0323f6520fa6f1a9baab78cf6
parent0233da3c34abe36255b770b6d0d8ffe99e1d9f12
i40e: use the right debug macro

- Don't use DEBUGFUNC macro in pmd.
- Don't use printf for logs.
- We should avoid calling RTE_LOG directly as pmd provides a wrapper for logs.
- Replace some PMD_INIT_LOG(DEBUG, "some_func") with PMD_INIT_FUNC_TRACE().

Signed-off-by: David Marchand <david.marchand@6wind.com>
Reviewed-by: Jay Rolette <rolette@infiniteio.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_pmd_i40e/i40e_ethdev.c
lib/librte_pmd_i40e/i40e_ethdev_vf.c
lib/librte_pmd_i40e/i40e_pf.c
lib/librte_pmd_i40e/i40e_rxtx.c