TileGX: Modified mempool to allow for variable metadata.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
app/test-pmd/mempool_anon.c | 2 +-
app/test/Makefile | 6 +-
app/test/test_mempool_tile.c | 217
lib/Makefile
TileGx uses generic spinlock operations.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_spinlock.h| 47 ++
1 file changed, 47 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_spinlock.h
This patch adds architecture specific memory barrier operations for
TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_atomic.h | 62 ++
1 file changed, 62 insertions(+)
create mode 100644 lib/librte_eal/common
Add defconfig and rte.vars.mk files for Tile architecture.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
config/defconfig_tile-tilegx-linuxapp-gcc | 78 +++
mk/arch/tile/rte.vars.mk | 59 +++
mk/machine/tilegx
This patch adds architecture specific byte swap and endianness
operations for TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_byteorder.h | 70 ++
1 file changed, 70 insertions(+)
create mode 100644 lib
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_prefetch.h| 62 ++
1 file changed, 62 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_prefetch.h
diff --git a/lib/librte_eal/common/include
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_memcpy.h | 97 ++
1 file changed, 97 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_memcpy.h
diff --git a/lib/librte_eal/common/include
This patch adds CPU TSC read operations for TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_cycles.h | 64 ++
1 file changed, 64 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile
This patch splits vector operations from DPDK and push them
to architecture specific arch directories, so that other processor
architecture can implement its own vector functions to support DPDK.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
lib/librte_eal/common/Makefile
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_common_vect.h | 49 ++
1 file changed, 49 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_common_vect.h
diff --git a/lib/librte_eal/common
driver for the mPIPE device. And to improve the performance
of memory allocation, mPIPE's buffer stack is used as the mempool provider.
Zhigang Lu (15):
mk: introduce Tilera Tile architecture
eal/tile: add atomic operations for TileGx
eal/tile: add byte order operations for TileGx
eal
The TileGx mPIPE hardware provides Ethernet connectivity,
packet classification, and packet load balancing services.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_mpipe.h | 67 ++
lib/librte_eal/linuxapp/eal/Makefile
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
lib/Makefile |1 +
lib/librte_pmd_mpipe/Makefile| 24 +
lib/librte_pmd_mpipe/pmd_mpipe.c | 1343 ++
mk/rte.app.mk|4 +
4 files changed, 1372
Tile processor doesn't have CPU flag hardware registers, so this patch
turns off cpu flag checks for tile.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
app/test/test_cpuflags.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/test/test_cpuflags.c
On architectures that do not rely on RTE_COMPILE_TIME_CPUFLAGS, the
compile_time_flags[] array can end up being zero sized. This results in a
compiler complaint in the subsequent loop. Pulling out the array size
computation silences this complaint.
Signed-off-by: Zhigang Lu
Signed-off-by
This patch adds empty functions for CPU flags operations to support DPDK,
since tile processor doesn't have CPU flag hardware registers.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_cpuflags.h| 69 ++
1 file ch
This series adds support for the EZchip TILE-Gx family of SoCs. The
architecture port in itself is fairly straight forward due to its
reliance on generics for the most part.
In addition to adding TILE-Gx architecture specific code, this series
includes a few cross-platform fixes for DPDK (cpuflag
The original code mistakenly defaulted to X86 when RTE_ARCH_PPC_64 was
left undefined. This did not accomodate other non-PPC/non-X86
architectures. This patch fixes this issue.
Change-Id: I5e8cf33c2eb917f7f6583dc95ed0f336066a285e
Signed-off-by: Zhigang Lu
---
app/test/test_cpuflags.c | 6
The "hash: remove duplicated code" change unfortunately broke the
build for non-X86 platforms. This patch fixes this breakage.
Change-Id: Ie109d67e681b75b45320fab1bf9de4eb9c9701bf
Signed-off-by: Zhigang Lu
---
lib/librte_hash/rte_jhash.h | 3 ++-
1 file changed, 2 insertions(+),
This is necessary because the required CPU flags may not be defined on
other architectures.
Change-Id: I14d3f9f625b2e7567123f1c97095f8d06abd674b
Signed-off-by: Zhigang Lu
---
lib/librte_hash/rte_hash_crc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_hash/rte_hash_crc.h b
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_cpuflags.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_cpuflags.c
b/lib/librte_eal/common/eal_common_cpuflags.c
index 6fd360c..8ba7b30 100644
--- a/lib/librte_
The library name is now being pinned to "dpdk" instead of intel_dpdk,
powerpc_dpdk, etc. As a result, we no longer need this config item.
This patch removes it.
Change-Id: I36f7cf6c18c3563c6f5ccdf01bb70579c7ccaa16
Signed-off-by: Zhigang Lu
---
config/common_bsdapp
then called by all three
variants of rte_memzone_reserve().
Change-Id: Id26c25b4dd3d07861eaf35e72aaa2de555916fa3
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 77 +-
1 file changed, 33 insertions(+), 44 deletions(-)
diff --git a/lib
on PPC), thereby allowing for a broader range of hugepages on
architectures that support it.
Change-Id: Ic3713f61da49629a570fe4de34a8aaf5e2e0a19b
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 58 ++
1 file changed, 27 insertions(+), 31
: I9cd789d92b0bc9c8f44a633de59bb04d45d927a7
Signed-off-by: Zhigang Lu
---
lib/librte_mempool/rte_mempool.c | 16 +---
lib/librte_mempool/rte_mempool.h | 6 ++
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c
index 02699a1..8e185c5
This patch adds a few new page sizes that are supported on the TILE-Gx
and TILE-Mx platforms.
Change-Id: I7da783703149c4f96b84d0017fa4f1191fc029c6
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 8 +
lib/librte_eal/common/include/rte_memory.h | 16
This commit adds support for the TILE-Gx platform, as well as the TILE
CPU architecture. This architecture port is fairly simple due to its
reliance on generics for most arch stuff.
Change-Id: I809fcf740e25ba5976a6b7736c1673515338cf80
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx
This commit adds a poll mode driver for the mPIPE hardware present on
TILE-Gx SoCs.
Change-Id: I1b9a9ef2c9f1c96810ec58b4d2ae77b870a6ec94
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx-linuxapp-gcc |1 +
drivers/net/Makefile |1 +
drivers/net/mpipe
Change-Id: I6491108ff86c1249bf4ffa4d4624c01b4594805e
Signed-off-by: Zhigang Lu
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5476a73..6ffa01b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -114,6 +114,10 @@ M: Bruce Richardson
M
This patch adds architecture specific memory barrier operations for
TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_atomic.h | 62 ++
1 file changed, 62 insertions(+)
create mode 100644 lib/librte_eal/common
This patch adds architecture specific byte swap and endianness
operations for TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_byteorder.h | 70 ++
1 file changed, 70 insertions(+)
create mode 100644 lib
TileGx uses generic spinlock operations.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_spinlock.h| 47 ++
1 file changed, 47 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_spinlock.h
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_prefetch.h| 62 ++
1 file changed, 62 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_prefetch.h
diff --git a/lib/librte_eal/common/include
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_memcpy.h | 97 ++
1 file changed, 97 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_memcpy.h
diff --git a/lib/librte_eal/common/include
This patch adds CPU TSC read operations for TileGx.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_cycles.h | 64 ++
1 file changed, 64 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile
This patch splits vector operations from DPDK and push them
to architecture specific arch directories, so that other processor
architecture can implement its own vector functions to support DPDK.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
lib/librte_eal/common/Makefile
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_common_vect.h | 49 ++
1 file changed, 49 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/tile/rte_common_vect.h
diff --git a/lib/librte_eal/common
This patch adds empty functions for CPU flags operations to support DPDK,
since tile processor doesn't have CPU flag hardware registers.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
.../common/include/arch/tile/rte_cpuflags.h| 78 ++
1 file ch
Test all defined CPU flags for supported architectures so that we
do not have to include conditional compilation for each architecture
in app test case.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
app/test/test_cpuflags.c | 78
On architectures that do not rely on RTE_COMPILE_TIME_CPUFLAGS, the
compile_time_flags[] array can end up being zero sized. This results in a
compiler complaint in the subsequent loop. Pulling out the array size
computation silences this complaint.
Signed-off-by: Zhigang Lu
Signed-off-by
Add defconfig and rte.vars.mk files for Tile architecture.
Signed-off-by: Zhigang Lu
Signed-off-by: Cyril Chemparathy
---
config/defconfig_tile-tilegx-linuxapp-gcc | 78 +++
mk/arch/tile/rte.vars.mk | 59 +++
mk/machine/tilegx
Commit 36080ff96b0e causes compiling error on tile, as tile
does not support KNI, so we disable the CONFIG_RTE_KNI_KMOD.
Fixes: 36080ff96b0e ("config: add KNI kmod option")
Reported-by: Guo Xin
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx-linuxapp-gcc | 1 +
1 file
Without it, compiling error occurs when CONFIG_RTE_BUILD_SHARED_LIB
is enabled.
Reported-by: Guo Xin
Signed-off-by: Zhigang Lu
---
drivers/net/mpipe/rte_pmd_mpipe_version.map | 3 +++
1 file changed, 3 insertions(+)
create mode 100644 drivers/net/mpipe/rte_pmd_mpipe_version.map
diff --git a
ity for TILE-Gx platform
Zhigang Lu (1):
eal: allow empty compile time flags RTE_COMPILE_TIME_CPUFLAGS
MAINTAINERS|4 +
app/test/test_cpuflags.c |6 +-
config/common_bsdapp |1 -
config/
From: Cyril Chemparathy
The original code mistakenly defaulted to X86 when RTE_ARCH_PPC_64 was
left undefined. This did not accomodate other non-PPC/non-X86
architectures. This patch fixes this issue.
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
app/test/test_cpuflags.c | 6
From: Cyril Chemparathy
This is necessary because the required CPU flags may not be defined on
other architectures.
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_hash/rte_hash_crc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_hash/rte_hash_crc.h b
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_eal/common/eal_common_cpuflags.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_cpuflags.c
b/lib/librte_eal/common/eal_common_cpuflags.c
index 6fd360c..8ba7b30 100644
From: Cyril Chemparathy
The library name is now being pinned to "dpdk" instead of intel_dpdk,
powerpc_dpdk, etc. As a result, we no longer need this config item.
This patch removes it.
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
config/common_bsdapp
rte_memzone_reserve_thread_safe(), which is then called by all three
variants of rte_memzone_reserve().
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 77 +-
1 file changed, 33 insertions(+), 44 deletions(-)
diff --git a/lib/librte_eal/common
on x86, and 16MB
vs 16GB on PPC), thereby allowing for a broader range of hugepages on
architectures that support it.
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 58 ++
1 file changed, 27 insertions(+), 31 deletions(-)
diff --git a/lib
: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_mempool/rte_mempool.c | 16 +---
lib/librte_mempool/rte_mempool.h | 6 ++
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool/rte_mempool.c
index 02699a1..8e185c5
From: Cyril Chemparathy
This patch adds a few new page sizes that are supported on the TILE-Gx
and TILE-Mx platforms.
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 8 +
lib/librte_eal/common/include/rte_memory.h | 16 +
lib/librte_eal/common/include
From: Cyril Chemparathy
This commit adds support for the TILE-Gx platform, as well as the TILE
CPU architecture. This architecture port is fairly simple due to its
reliance on generics for most arch stuff.
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx-linuxapp-gcc | 69
From: Cyril Chemparathy
This commit adds a poll mode driver for the mPIPE hardware present on
TILE-Gx SoCs.
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx-linuxapp-gcc |1 +
drivers/net/Makefile |1 +
drivers/net/mpipe/Makefile| 46
From: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5476a73..6ffa01b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -114,6 +114,10 @@ M: Bruce Richardson
M: Konstantin Ananyev
F: lib
oll mode driver.
maintainers: claim responsibility for TILE-Gx platform
Zhigang Lu (1):
eal: allow empty compile time flags RTE_COMPILE_TIME_CPUFLAGS
MAINTAINERS|4 +
app/test/test_cpuflags.c |6 +-
confi
From: Cyril Chemparathy
The original code mistakenly defaulted to X86 when RTE_ARCH_PPC_64 was
left undefined. This did not accomodate other non-PPC/non-X86
architectures. This patch fixes this issue.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
From: Cyril Chemparathy
This is necessary because the required CPU flags may not be defined on
other architectures.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_hash/rte_hash_crc.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_eal/common/eal_common_cpuflags.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/librte_eal/common/eal_common_cpuflags.c
b/lib/librte_eal/common/eal_common_cpufla
From: Cyril Chemparathy
The library name is now being pinned to "dpdk" instead of intel_dpdk,
powerpc_dpdk, etc. As a result, we no longer need this config item.
This patch removes it.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
-
rte_memzone_reserve_thread_safe(), which is then called by all three
variants of rte_memzone_reserve().
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 77 +-
1 file changed, 33 insertions(+), 44 deletions(-)
diff --git a/lib
on x86, and 16MB
vs 16GB on PPC), thereby allowing for a broader range of hugepages on
architectures that support it.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 58 ++
1 file changed, 27 insertions
: Cyril Chemparathy
Signed-off-by: Zhigang Lu
Acked-by: Bruce Richardson
---
lib/librte_mempool/rte_mempool.c | 16 +---
lib/librte_mempool/rte_mempool.h | 6 ++
2 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/lib/librte_mempool/rte_mempool.c b/lib/librte_mempool
From: Cyril Chemparathy
This patch adds a few new page sizes that are supported on the TILE-Gx
and TILE-Mx platforms.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/eal_common_memzone.c | 8 +
lib/librte_eal/common/include/rte_memory.h | 16
From: Cyril Chemparathy
This commit adds support for the TILE-Gx platform, as well as the TILE
CPU architecture. This architecture port is fairly simple due to its
reliance on generics for most arch stuff.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
config/defconfig_tile
From: Cyril Chemparathy
This commit adds a poll mode driver for the mPIPE hardware present on
TILE-Gx SoCs.
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
config/defconfig_tile-tilegx-linuxapp-gcc |1 +
drivers/net/Makefile |1 +
drivers/net/mpipe
From: Cyril Chemparathy
Signed-off-by: Cyril Chemparathy
Signed-off-by: Zhigang Lu
---
MAINTAINERS | 4
1 file changed, 4 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5476a73..6ffa01b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -114,6 +114,10 @@ M: Bruce Richardson
M
commit 7c5d0cc91579 added const in prefetch functions for
X86 and PPC. This patch does the same for Tile arch.
Fixes: 7c5d0cc91579 ("eal: add const in prefetch functions")
Signed-off-by: Zhigang Lu
---
lib/librte_eal/common/include/arch/tile/rte_prefetch.h | 6 +++---
1 file
assignment
discards qualifiers from pointer target type
Signed-off-by: Zhigang Lu
---
drivers/net/bnx2x/bnx2x.h| 2 ++
drivers/net/bnx2x/bnx2x_ethdev.h | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bnx2x/bnx2x.h b/drivers/net/bnx2x/bnx2x.h
index b1e36e
69 matches
Mail list logo