netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* (unknown), 
@ 2012-10-25 18:29 Joseph Gasparakis
  2012-10-25 18:29 ` [RFC PATCH 1/2] net: Add support for hardware-offloaded encapsulation Joseph Gasparakis
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Joseph Gasparakis @ 2012-10-25 18:29 UTC (permalink / raw)
  To: davem, shemminger, chrisw; +Cc: Joseph Gasparakis, netdev

Subject: [RFC PATCH 0/2] Add support for hardware-offloaded encapsulation

This is an RFC and not intended to get merged at the moment.
The series contains updates to add in the NIC Rx and Tx checksumming support
for encapsulated packets.

The sk_buff needs to somehow have information of the inner packet, and adding
three fields for the inner mac, network and transport headers was the prefered
approach. 

Not adding these fields would mean that the drivers would need to parse the
sk_buff data in hot-path, having a negative impact in the performance.

Adding in sk_buff a pointer to the skbuff of the inner packet made sense, but
would be a complicated change as assumptions needed to be made with regards to
helper functions such as skb_clone() skb_copy(). Also code for the existing
encapsulation protocols (such as VXLAN and IP GRE) had to be reworked, so the
decision was to have the simple approach of adding these three fields.

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

end of thread, other threads:[~2012-10-26 20:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 18:29 (unknown), Joseph Gasparakis
2012-10-25 18:29 ` [RFC PATCH 1/2] net: Add support for hardware-offloaded encapsulation Joseph Gasparakis
2012-10-25 21:16   ` Stephen Hemminger
2012-10-25 22:20     ` Ben Hutchings
2012-10-26 19:54       ` Gasparakis, Joseph
2012-10-26 20:21         ` Stephen Hemminger
2012-10-25 18:29 ` [RFC PATCH 2/2] tunneling: capture inner headers during encapsulation Joseph Gasparakis
2012-10-25 18:38 ` (unknown) 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).