Skip to content

I/OAT

Chris Leech lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9DMA memcpy subsystemdrivers/Kconfig drivers/Makefile drivers/dma/Kconfig +3 more+759 -07 replies
2/9I/OAT+0 -02 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+473 -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+183 -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

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 page reference leak that happened when offloaded copies were set up but never used for a recv.
Fixed the ioatdma self test to handle failures correctly. Serialized DMA ADD and REMOVE events in the networking core with a lock. Added a long comment in dmaengine.c to describe the locking and reference counting being used.
Disabled preempt around a use of get_cpu_var.
Made tcp_dma_try_early_copy static, it is only used in one file. Made some GFP_ATOMIC allocations GFP_KERNEL where safe to sleep. Made changes to sk_eat_skb, removing some ifdefs in the TCP code.

These changes apply to DaveM's net-2.6.17 tree as of commit 68907dad58cd7ef11536e1db6baeb98b20af91b2 ([DCCP]: Use NULL for pointers, comfort sparse.)

They are available to pull from

	git://198.78.49.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