selftests: net: add tcp_mmap program
authorEric Dumazet <edumazet@google.com>
Mon, 16 Apr 2018 17:33:39 +0000 (10:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:26:37 +0000 (18:26 -0400)
commit192dc405f3080f1f7d8e90f638dc08c0e5a803a2
treee8eb152424755e887f745634ae6d163b79835e17
parent93ab6cc69162775201587cc9da00d5016dc890e2
selftests: net: add tcp_mmap program

This is a reference program showing how mmap() can be used
on TCP flows to implement receive zero copy.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/Makefile
tools/testing/selftests/net/tcp_mmap.c [new file with mode: 0644]