[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-28 Thread Cao, Min
] ixgbe: fix icc issue with mbuf initializer When using Intel C++ compiler(icc) 14.0.1.106 or the older icc 13.x version, the mbuf initializer variable was not getting configured correctly, as the mb_def variable was not set correctly. This is due to an issue with icc (DPD200249565 which already been

[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-03 Thread Thomas Monjalon
2014-11-03 12:47, Bruce Richardson: > On Mon, Nov 03, 2014 at 01:31:10PM +0100, David Marchand wrote: > > On Mon, Nov 3, 2014 at 12:11 PM, Bruce Richardson < > > > +#ifdef RTE_MBUF_REFCNT > > > + mb_def.refcnt = 1; > > > +#endif > > > > I would expect we use rte_mbuf_refcnt_set / rte_mbuf_re

[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-03 Thread David Marchand
Hello Bruce, On Mon, Nov 3, 2014 at 12:11 PM, Bruce Richardson < bruce.richardson at intel.com> wrote: > diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c > b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c > index e813e43..b57c588 100644 > --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c > +++ b/lib/librte_pm

[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-03 Thread Bruce Richardson
On Mon, Nov 03, 2014 at 01:59:16PM +0100, Thomas Monjalon wrote: > 2014-11-03 12:47, Bruce Richardson: > > On Mon, Nov 03, 2014 at 01:31:10PM +0100, David Marchand wrote: > > > On Mon, Nov 3, 2014 at 12:11 PM, Bruce Richardson < > > > > +#ifdef RTE_MBUF_REFCNT > > > > + mb_def.refcnt = 1; > >

[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-03 Thread Bruce Richardson
On Mon, Nov 03, 2014 at 01:31:10PM +0100, David Marchand wrote: > Hello Bruce, > > On Mon, Nov 3, 2014 at 12:11 PM, Bruce Richardson < > bruce.richardson at intel.com> wrote: > > > diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c > > b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c > > index e813e43..b5

[dpdk-dev] [PATCH] ixgbe: fix icc issue with mbuf initializer

2014-11-03 Thread Bruce Richardson
When using Intel C++ compiler(icc) 14.0.1.106 or the older icc 13.x version, the mbuf initializer variable was not getting configured correctly, as the mb_def variable was not set correctly. This is due to an issue with icc (DPD200249565 which already been fixed in icc 14.0.2 and newer compiler rel