[dpdk-dev] [PATCH] ixgbe: Fix compilation issue in vpmd
Ouyang Changchun
changchun.ouyang at intel.com
Tue Oct 21 08:59:16 CEST 2014
Fix the compilation issue in vector PMD when macro RTE_MBUF_REFCNT is disabled.
Signed-off-by: Changchun Ouyang <changchun.ouyang at intel.com>
---
lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
index 2236250..a0d3d78 100644
--- a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
+++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c
@@ -541,7 +541,7 @@ ixgbe_tx_free_bufs(struct igb_tx_queue *txq)
#ifdef RTE_MBUF_REFCNT
m = __rte_pktmbuf_prefree_seg(txep[i].mbuf);
#else
- m = txep[i]->mbuf;
+ m = txep[i].mbuf;
#endif
if (likely(m != NULL)) {
if (likely(m->pool == free[0]->pool))
--
1.8.4.2
More information about the dev
mailing list