[dpdk-dev] [PATCH v2] i40e: fix of compile error

2014-12-03 Thread Thomas Monjalon
> > The compile error will occur as below when set > > 'RTE_LIBRTE_I40E_16BYTE_RX_DESC=y'. > > 'fd_id' should be used to replace 'fd', as 'fd' is not defined in that > > structure at > > all. In addition, local variable of 'flexbl' and 'flexbh' must be used only > > if > > 32 bytes RX descriptor

[dpdk-dev] [PATCH v2] i40e: fix of compile error

2014-12-03 Thread Helin Zhang
The compile error will occur as below when set 'RTE_LIBRTE_I40E_16BYTE_RX_DESC=y'. 'fd_id' should be used to replace 'fd', as 'fd' is not defined in that structure at all. In addition, local variable of 'flexbl' and 'flexbh' must be used only if 32 bytes RX descriptor is selected. error logs: li

[dpdk-dev] [PATCH v2] i40e: fix of compile error

2014-12-03 Thread Wu, Jingjing
> -Original Message- > From: Zhang, Helin > Sent: Wednesday, December 03, 2014 9:13 AM > To: dev at dpdk.org > Cc: Cao, Waterman; Cao, Min; Wu, Jingjing; Zhang, Helin > Subject: [PATCH v2] i40e: fix of compile error > > The compile error will occur as below when set > 'RTE_LIBRTE_I40E_16