selftests/net: add zerocopy support for PF_RDS test case
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Thu, 15 Feb 2018 18:49:38 +0000 (10:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2018 21:04:17 +0000 (16:04 -0500)
commitdfb8434b0a94651dac7adf373900561d8f6499e4
tree484a63f508f2d92be4c2dd7796382748e7f75f57
parentb16ac920403e5623150e428e7f5429e8eb607308
selftests/net: add zerocopy support for PF_RDS test case

Send a cookie with sendmsg() on PF_RDS sockets, and process the
returned batched cookies in do_recv_completion()

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/msg_zerocopy.c