Skip to content

Commit 4875f69

Browse files
arch/tile: provide kernel support for the tilegx mPIPE shim
The TILE-Gx chip includes a packet-processing network engine called mPIPE ("Multicore Programmable Intelligent Packet Engine"). This change adds support for using the mPIPE engine from within the kernel. The engine has more functionality than is exposed here, but to keep the kernel code and binary simpler, this is a subset of the full API designed to enable standard Linux networking only. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
1 parent 6369798 commit 4875f69

14 files changed

Lines changed: 4658 additions & 0 deletions

‎arch/tile/gxio/Kconfig‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,9 @@ config TILE_GXIO
99
config TILE_GXIO_DMA
1010
bool
1111
select TILE_GXIO
12+
13+
# Support direct access to the TILE-Gx mPIPE hardware from kernel space.
14+
config TILE_GXIO_MPIPE
15+
bool
16+
select TILE_GXIO
17+
select TILE_GXIO_DMA

‎arch/tile/gxio/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44

55
obj-$(CONFIG_TILE_GXIO) += iorpc_globals.o kiorpc.o
66
obj-$(CONFIG_TILE_GXIO_DMA) += dma_queue.o
7+
obj-$(CONFIG_TILE_GXIO_MPIPE) += mpipe.o iorpc_mpipe.o iorpc_mpipe_info.o

0 commit comments

Comments
 (0)