Skip to content

I/OAT network recv copy offload

Chris Leech lkml netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9DMA memcpy subsystemdrivers/Kconfig drivers/Makefile drivers/dma/Kconfig +3 more+762 -00 replies
2/9I/OAT network recv copy offload+0 -00 replies
3/9Setup the networking subsystem as a DMA clientdrivers/dma/Kconfig include/linux/netdevice.h include/net/netdma.h +1 more+158 -00 replies
4/9Utility functions for offloading sk_buff to iovec copiesdrivers/dma/Makefile drivers/dma/iovlock.c include/linux/dmaengine.h +3 more+459 -10 replies
5/9Structure changes for TCP recv offload to I/OATinclude/linux/skbuff.h include/linux/tcp.h include/net/sock.h +2 more+27 -00 replies
6/9Rename cleanup_rbuf to tcp_cleanup_rbuf and make non-staticinclude/net/tcp.h net/ipv4/tcp.c+7 -50 replies
7/9make sk_eat_skb I/OAT awareinclude/net/sock.h net/dccp/proto.c net/ipv4/tcp.c +1 more+19 -80 replies
8/9Add a sysctl for tuning the I/OAT offloaded I/O thresholdinclude/linux/sysctl.h include/net/tcp.h net/core/user_dma.c +1 more+16 -00 replies
9/9TCP recv offload to I/OATnet/ipv4/tcp.c net/ipv4/tcp_input.c net/ipv4/tcp_ipv4.c +1 more+185 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/9] I/OAT network recv copy offload

A few changes after going over all the memory allocations, but mostly just keeping the patches up to date.

This patch series is the a full release of the Intel(R) I/O Acceleration Technology (I/OAT) for Linux. It includes an in kernel API for offloading memory copies to hardware, a driver for the I/OAT DMA memcpy engine, and changes to the TCP stack to offload copies of received networking data to application space.

Changes from last posting:
Fixed a struct ioat_dma_chan memory leak on driver unload. Changed a lock that was never held in atomic contexts to a mutex as part of avoiding unneeded GFP_ATOMIC allocations.

These changes apply to Linus' tree as of commit

	6810b548b25114607e0814612d84125abccc0a4f
	[PATCH] x86_64: Move ondemand timer into own work queue

They are available to pull from

	git://63.64.152.142/~cleech/linux-2.6 ioat-2.6.17

There are 9 patches in the series:
1) The memcpy offload APIs and class code
2) The Intel I/OAT DMA driver (ioatdma)
3) Core networking code to setup networking as a DMA memcpy client
4) Utility functions for sk_buff to iovec offloaded copy
5) Structure changes needed for TCP receive offload
6) Rename cleanup_rbuf to tcp_cleanup_rbuf
7) Make sk_eat_skb aware of early copied packets
8) Add a sysctl to tune the minimum offloaded I/O size for TCP
9) The main TCP receive offload changes

--
Chris Leech <[email protected]>
I/O Acceleration Technology Software Development
LAN Access Division / Digital Enterprise Group