netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND V3 net-next 0/3] RDS: optimized notification for zerocopy completion
@ 2018-02-27 17:08 Sowmini Varadhan
  2018-02-26 16:56 ` [PATCH " Willem de Bruijn
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Sowmini Varadhan @ 2018-02-27 17:08 UTC (permalink / raw)
  To: netdev, willemdebruijn.kernel
  Cc: davem, rds-devel, sowmini.varadhan, santosh.shilimkar

Resending with acked-by additions: previous attempt does not show
up in Patchwork.

RDS applications use predominantly request-response, transacation
based IPC, so that ingress and egress traffic are well-balanced,
and it is possible/desirable to reduce system-call overhead by
piggybacking the notifications for zerocopy completion response
with data.

Moreover, it has been pointed out that socket functions block
if sk_err is non-zero, thus if the RDS code does not plan/need
to use sk_error_queue path for completion notification, it
is preferable to remove the sk_errror_queue related paths in
RDS.

Both of these goals are implemented in this series.

v2: removed sk_error_queue support
v3: incorporated additional code review comments (details in each patch)

Sowmini Varadhan (3):
  selftests/net: revert the zerocopy Rx path for PF_RDS
  rds: deliver zerocopy completion notification with data
  selftests/net: reap zerocopy completions passed up as ancillary data.

 include/uapi/linux/errqueue.h              |    2 -
 include/uapi/linux/rds.h                   |    7 ++
 net/rds/af_rds.c                           |    7 +-
 net/rds/message.c                          |   38 ++++-----
 net/rds/rds.h                              |    2 +
 net/rds/recv.c                             |   31 +++++++-
 tools/testing/selftests/net/msg_zerocopy.c |  120 ++++++++++++----------------
 7 files changed, 111 insertions(+), 96 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH RESEND V3 net-next 0/3] RDS: optimized notification for zerocopy completion
@ 2018-02-27 17:52 Sowmini Varadhan
  2018-02-27 19:19 ` David Miller
  0 siblings, 1 reply; 11+ messages in thread
From: Sowmini Varadhan @ 2018-02-27 17:52 UTC (permalink / raw)
  To: netdev; +Cc: davem, sowmini.varadhan

Resending with acked-by additions: previous attempt does not show
up in Patchwork. This time with a new mail Message-Id.

RDS applications use predominantly request-response, transacation
based IPC, so that ingress and egress traffic are well-balanced,
and it is possible/desirable to reduce system-call overhead by
piggybacking the notifications for zerocopy completion response
with data.

Moreover, it has been pointed out that socket functions block
if sk_err is non-zero, thus if the RDS code does not plan/need
to use sk_error_queue path for completion notification, it
is preferable to remove the sk_errror_queue related paths in
RDS.

Both of these goals are implemented in this series.

v2: removed sk_error_queue support
v3: incorporated additional code review comments (details in each patch)

Sowmini Varadhan (3):
  selftests/net: revert the zerocopy Rx path for PF_RDS
  rds: deliver zerocopy completion notification with data
  selftests/net: reap zerocopy completions passed up as ancillary data.

 include/uapi/linux/errqueue.h              |    2 -
 include/uapi/linux/rds.h                   |    7 ++
 net/rds/af_rds.c                           |    7 +-
 net/rds/message.c                          |   38 ++++-----
 net/rds/rds.h                              |    2 +
 net/rds/recv.c                             |   31 +++++++-
 tools/testing/selftests/net/msg_zerocopy.c |  120 ++++++++++++----------------
 7 files changed, 111 insertions(+), 96 deletions(-)

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-02-27 19:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-27 17:08 [PATCH RESEND V3 net-next 0/3] RDS: optimized notification for zerocopy completion Sowmini Varadhan
2018-02-26 16:56 ` [PATCH " Willem de Bruijn
2018-02-27 17:08 ` [PATCH RESEND V3 net-next 1/3] selftests/net: revert the zerocopy Rx path for PF_RDS Sowmini Varadhan
2018-02-27 17:08 ` [PATCH RESEND V3 net-next 2/3] rds: deliver zerocopy completion notification with data Sowmini Varadhan
2018-02-26 17:07   ` [PATCH " Santosh Shilimkar
2018-02-26 17:11     ` Sowmini Varadhan
2018-02-26 17:13       ` David Miller
2018-02-26 17:15       ` Santosh Shilimkar
2018-02-27 17:08 ` [PATCH RESEND V3 net-next 3/3] selftests/net: reap zerocopy completions passed up as ancillary data Sowmini Varadhan
  -- strict thread matches above, loose matches on Subject: below --
2018-02-27 17:52 [PATCH RESEND V3 net-next 0/3] RDS: optimized notification for zerocopy completion Sowmini Varadhan
2018-02-27 19:19 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).