DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] ixgbe: Fix compilation issue in vpmd
@ 2014-10-21  6:59 Ouyang Changchun
  2014-10-21  8:04 ` Thomas Monjalon
  0 siblings, 1 reply; 6+ messages in thread
From: Ouyang Changchun @ 2014-10-21  6:59 UTC (permalink / raw)
  To: dev

Fix the compilation issue in vector PMD when macro RTE_MBUF_REFCNT is disabled.

Signed-off-by: Changchun Ouyang <changchun.ouyang@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-10-21 21:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-21  6:59 [dpdk-dev] [PATCH] ixgbe: Fix compilation issue in vpmd Ouyang Changchun
2014-10-21  8:04 ` Thomas Monjalon
2014-10-21  8:19   ` De Lara Guarch, Pablo
2014-10-21  8:28     ` Ouyang, Changchun
2014-10-21  8:36       ` Thomas Monjalon
2014-10-21 13:45         ` Doherty, Declan

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git