netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [net-next 0/6] Reduce code duplication of zerocopy of tun and macvtap
@ 2013-08-06  9:45 Jason Wang
  2013-08-06  9:45 ` [net-next 1/6] net: move iov_pages() to net/core/iovec.c Jason Wang
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Jason Wang @ 2013-08-06  9:45 UTC (permalink / raw)
  To: davem, mst, netdev, linux-kernel; +Cc: Jason Wang

Hi all:

This series tries to reduce the code duplication of zerocopy of tun and macvtap
by:

- Move common helpers iov_pages() and zerocopy_sg_from_iovec() to net/core
- Use exist helpers instead of open coding the new one

With this seires, we can do further optimizations on top.

Please review.

Jason Wang (6):
  net: move iov_pages() to net/core/iovec.c
  net: move zerocopy_sg_from_iovec() to net/core/datagram.c
  net: use skb_fill_page_desc() in zerocopy_sg_from_iovec()
  net: remove the useless comment in zerocopy_sg_from_iovec()
  net: use release_pages() in zerocopy_sg_from_iovec()
  net: use skb_copy_datagram_from_iovec() in zerocopy_sg_from_iovec()

 drivers/net/macvtap.c  |  103 ------------------------------------------------
 drivers/net/tun.c      |  103 ------------------------------------------------
 include/linux/skbuff.h |    4 ++
 include/linux/socket.h |    2 +
 net/core/datagram.c    |   72 +++++++++++++++++++++++++++++++++
 net/core/iovec.c       |   24 +++++++++++
 6 files changed, 102 insertions(+), 206 deletions(-)

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

end of thread, other threads:[~2013-08-07 23:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06  9:45 [net-next 0/6] Reduce code duplication of zerocopy of tun and macvtap Jason Wang
2013-08-06  9:45 ` [net-next 1/6] net: move iov_pages() to net/core/iovec.c Jason Wang
2013-08-06  9:45 ` [net-next 2/6] net: move zerocopy_sg_from_iovec() to net/core/datagram.c Jason Wang
2013-08-06  9:45 ` [net-next 3/6] net: use skb_fill_page_desc() in zerocopy_sg_from_iovec() Jason Wang
2013-08-06  9:45 ` [net-next 4/6] net: remove the useless comment " Jason Wang
2013-08-06  9:45 ` [net-next 5/6] net: use release_pages() " Jason Wang
2013-08-06  9:45 ` [net-next 6/6] net: use skb_copy_datagram_from_iovec() " Jason Wang
2013-08-07 23:52 ` [net-next 0/6] Reduce code duplication of zerocopy of tun and macvtap 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).