[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-05 Thread Chao Zhu
On 2014/12/5 4:05, Neil Horman wrote: > On Thu, Dec 04, 2014 at 04:59:59PM +0100, Thomas Monjalon wrote: >> 2014-12-04 10:32, Neil Horman: >>> On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: 2014-12-04 08:29, Neil Horman: > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-05 Thread Thomas Monjalon
2014-12-05 09:42, Neil Horman: > On Fri, Dec 05, 2014 at 02:10:27PM +0100, Thomas Monjalon wrote: > > 2014-12-04 15:05, Neil Horman: > > > On Thu, Dec 04, 2014 at 04:59:59PM +0100, Thomas Monjalon wrote: > > > > I'm convinced we need to work on the build system but it's another > > > > discussion

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-05 Thread Thomas Monjalon
2014-12-04 15:05, Neil Horman: > On Thu, Dec 04, 2014 at 04:59:59PM +0100, Thomas Monjalon wrote: > > 2014-12-04 10:32, Neil Horman: > > > On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: > > > > 2014-12-04 08:29, Neil Horman: > > > > > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thom

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-05 Thread Neil Horman
On Fri, Dec 05, 2014 at 02:10:27PM +0100, Thomas Monjalon wrote: > 2014-12-04 15:05, Neil Horman: > > On Thu, Dec 04, 2014 at 04:59:59PM +0100, Thomas Monjalon wrote: > > > 2014-12-04 10:32, Neil Horman: > > > > On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: > > > > > 2014-12-04 0

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Chao Zhu
Because of different cache line size, the alignment of struct rte_kni_mbuf in rte_kni_common.h doesn't work on IBM Power. This patch changed from 64 to RTE_CACHE_LINE_SIZE micro to do the alignment. Signed-off-by: Chao Zhu --- .../linuxapp/eal/include/exec-env/rte_kni_common.h |7 +-- 1

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Thomas Monjalon
2014-12-04 10:32, Neil Horman: > On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: > > 2014-12-04 08:29, Neil Horman: > > > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas Monjalon wrote: > > > > > Because of different cache line size, the alignment of struct > > > > > rte_kni_mbuf

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Neil Horman
On Thu, Dec 04, 2014 at 04:59:59PM +0100, Thomas Monjalon wrote: > 2014-12-04 10:32, Neil Horman: > > On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: > > > 2014-12-04 08:29, Neil Horman: > > > > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas Monjalon wrote: > > > > > > Because of

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Thomas Monjalon
2014-12-04 08:29, Neil Horman: > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas Monjalon wrote: > > > Because of different cache line size, the alignment of struct > > > rte_kni_mbuf in rte_kni_common.h doesn't work on IBM Power. This patch > > > changed from 64 to RTE_CACHE_LINE_SIZE micro to do

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Thomas Monjalon
> Because of different cache line size, the alignment of struct > rte_kni_mbuf in rte_kni_common.h doesn't work on IBM Power. This patch > changed from 64 to RTE_CACHE_LINE_SIZE micro to do the alignment. > > Signed-off-by: Chao Zhu Acked-by: Thomas Monjalon Applied I wonder if we could try t

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Neil Horman
On Thu, Dec 04, 2014 at 02:47:03PM +0100, Thomas Monjalon wrote: > 2014-12-04 08:29, Neil Horman: > > On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas Monjalon wrote: > > > > Because of different cache line size, the alignment of struct > > > > rte_kni_mbuf in rte_kni_common.h doesn't work on IBM P

[dpdk-dev] [PATCH] Fix KNI compiling issue on IBM Power

2014-12-04 Thread Neil Horman
On Thu, Dec 04, 2014 at 12:59:31PM +0100, Thomas Monjalon wrote: > > Because of different cache line size, the alignment of struct > > rte_kni_mbuf in rte_kni_common.h doesn't work on IBM Power. This patch > > changed from 64 to RTE_CACHE_LINE_SIZE micro to do the alignment. > > > > Signed-off-by: