netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] pskb_extract() helper function.
@ 2016-04-20 10:17 Sowmini Varadhan
  2016-04-20 10:17 ` [PATCH net-next 1/2] skbuff: Add " Sowmini Varadhan
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Sowmini Varadhan @ 2016-04-20 10:17 UTC (permalink / raw)
  To: netdev, rds-devel, santosh.shilimkar, davem
  Cc: sowmini.varadhan, eric.dumazet, marcelo.leitner

This patchset follows up on the discussion in
 https://www.mail-archive.com/netdev@vger.kernel.org/msg105090.html

For RDS-TCP, we have to deal with the full gamut of
nonlinear sk_buffs, including all the frag_list variants.
Also, the parent skb has to remain unchanged, while the clone
is queued for Rx on the PF_RDS socket. 

Patch 1 of this patchset adds a pskb_extract() function that 
does all this without the redundant memcpy's in pskb_expand_head() 
and __pskb_pull_tail().

Sowmini Varadhan (2):
  Add pskb_extract() helper function
  Call pskb_extract() helper function

 include/linux/skbuff.h |    2 +
 net/core/skbuff.c      |  248 ++++++++++++++++++++++++++++++++++++++++++++++++
 net/rds/tcp_recv.c     |   14 +--
 3 files changed, 253 insertions(+), 11 deletions(-)

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

end of thread, other threads:[~2016-04-22 23:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-20 10:17 [PATCH net-next 0/2] pskb_extract() helper function Sowmini Varadhan
2016-04-20 10:17 ` [PATCH net-next 1/2] skbuff: Add " Sowmini Varadhan
2016-04-22 23:27   ` marcelo.leitner
2016-04-20 10:17 ` [PATCH net-next 2/2] RDS: TCP: Call " Sowmini Varadhan
2016-04-22 23:23 ` [PATCH net-next 0/2] " marcelo.leitner
2016-04-22 23:41   ` Sowmini Varadhan

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