netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: Infrastructure changes for [kz]proxy
@ 2017-07-28 23:22 Tom Herbert
  2017-07-28 23:22 ` [PATCH net-next 1/3] proto_ops: Add locked held versions of sendmsg and sendpage Tom Herbert
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Tom Herbert @ 2017-07-28 23:22 UTC (permalink / raw)
  To: netdev; +Cc: rohit, john.fastabend, Tom Herbert

This patch set contains some general infrastructure enhancements that
will be used by kernel proxy and zero proxy.

The changes are:
  - proto_ops: Add locked versions of sendmsg and sendpage
  - skb_send_sock: Allow sending and skb on a socket within the
    kernel
  - Generalize strparser. Allow it to be used in other contexts than
    just in the read_sock path. This will be used in the transmit
    path of zero proxy.

Some nice future work (which I've been discussing with John Fastabend)
will be to make some of the related functions to allow gifting of skbs
We should be able to do that with skb_send_sock and strp_process. I'd
also like this feature in the read_sock callbeck.

Tested: Ran modified kernel without incident. Tested new functionality
using zero proxy (in development).


Tom Herbert (3):
  proto_ops: Add locked held versions of sendmsg and sendpage
  skbuff: Function to send an skbuf on a socket
  strparser: Generalize strparser

 Documentation/networking/strparser.txt | 207 +++++++++++++++-------
 include/linux/net.h                    |  12 ++
 include/linux/skbuff.h                 |   3 +
 include/net/sock.h                     |   3 +
 include/net/strparser.h                | 119 +++++++------
 include/net/tcp.h                      |   3 +
 net/core/skbuff.c                      | 101 +++++++++++
 net/core/sock.c                        |  22 +++
 net/ipv4/af_inet.c                     |   2 +
 net/ipv4/tcp.c                         |  39 ++--
 net/kcm/kcmproc.c                      |  34 ++--
 net/kcm/kcmsock.c                      |  38 ++--
 net/socket.c                           |  27 +++
 net/strparser/strparser.c              | 313 ++++++++++++++++++++-------------
 14 files changed, 623 insertions(+), 300 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-10-19 20:18 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-28 23:22 [PATCH net-next 0/3] net: Infrastructure changes for [kz]proxy Tom Herbert
2017-07-28 23:22 ` [PATCH net-next 1/3] proto_ops: Add locked held versions of sendmsg and sendpage Tom Herbert
2017-08-03 19:49   ` John Fastabend
2017-08-03 20:21   ` John Fastabend
2017-08-03 21:07     ` Tom Herbert
2017-07-28 23:22 ` [PATCH net-next 2/3] skbuff: Function to send an skbuf on a socket Tom Herbert
2017-08-03 19:51   ` John Fastabend
2017-07-28 23:22 ` [PATCH net-next 3/3] strparser: Generalize strparser Tom Herbert
2017-10-19 17:42   ` Eric Dumazet
     [not found]     ` <CALx6S3765-5oT6UtSQVts4KwWz3F3ub2vhDWO7YemYZPPM0EjA@mail.gmail.com>
2017-10-19 20:18       ` John Fastabend
2017-08-01 22:26 ` [PATCH net-next 0/3] net: Infrastructure changes for [kz]proxy 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).