netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3 v5] Open vSwitch zerocopy upcall
@ 2013-11-11 15:47 Thomas Graf
  2013-11-11 15:47 ` [PATCH 1/3 net-next] net: Export skb_zerocopy() to zerocopy from one skb to another Thomas Graf
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Graf @ 2013-11-11 15:47 UTC (permalink / raw)
  To: jesse, davem; +Cc: dev, netdev, eric.dumazet, dborkman, bhutchings

Respin of the zerocopy patches for the openvswitch upcall.

V5: - Removed padding requirement in user space
    - Added OVS_DP_F_UNALIGNED flag let user space signal ability to
      receive unaligned Netlink messages, fall back to linear copy
      otherwise.
V4: - Daniel Borkmann pointed out that the style in skbuff.h has changed
      in net-next, adapted to no longer using extern in headers.
V3: - Removed unneeded alignment of nlmsg_len after padding 
V2: - Added skb_zerocopy_headlen() to calculate headroom of destination
      buffer. This also takes care of the from->head_frag issue.
    - Attribute alignment for frag_list case
    - API documentation
    - performance data for CHECKSUM_PARTIAL tx case

Thomas Graf (3):
  net: Export skb_zerocopy() to zerocopy from one skb to another
  openvswitch: Allow user space to announce ability to accept unaligned
    Netlink messages
  openvswitch: Use skb_zerocopy() for upcall

 include/linux/skbuff.h               |  3 ++
 include/uapi/linux/openvswitch.h     |  4 ++
 net/core/skbuff.c                    | 85 ++++++++++++++++++++++++++++++++++++
 net/netfilter/nfnetlink_queue_core.c | 59 ++-----------------------
 net/openvswitch/datapath.c           | 58 ++++++++++++++++--------
 net/openvswitch/datapath.h           |  2 +
 6 files changed, 139 insertions(+), 72 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2013-11-11 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-11 15:47 [PATCH 0/3 v5] Open vSwitch zerocopy upcall Thomas Graf
2013-11-11 15:47 ` [PATCH 1/3 net-next] net: Export skb_zerocopy() to zerocopy from one skb to another Thomas Graf
2013-11-11 15:47 ` [PATCH 2/3 net-next] openvswitch: Allow user space to announce ability to accept unaligned Netlink messages Thomas Graf
2013-11-11 15:47 ` [PATCH 3/3 net-next] openvswitch: Use skb_zerocopy() for upcall Thomas Graf

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).