netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] ila: Support for checksum neutral translations
@ 2016-04-15 20:34 Tom Herbert
  2016-04-15 20:34 ` [PATCH net-next 1/3] ila: Add struct definitions and helpers Tom Herbert
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tom Herbert @ 2016-04-15 20:34 UTC (permalink / raw)
  To: davem, netdev; +Cc: kernel-team

This patch set updates ILA to support draft-herbert-nvo3-ila-02. The
primary addition is support checksum neutral ILA translation.
This allows address to be performed and still keep any transport
layer checksums that include the addresses in their pseudo header to
still be correct without the translator needing to parse L4.

Other items are:
   - Structures for ILA addresses, identifiers, locators
   - Disallow translation on non-ILA addresses (check by
     type in identifier).
   - Change xlat (nf_input) to translates solely based
     on matching locators not identifiers (since identifiers
     are not obfuscated by checksum neutral).
   - Side effect if above is that multiple ILA domains are
     supported. Each local locator can map to a different
     SIR address (ILA domain), and each domain defines its
     own identifier space.

Tested: Ran TCP_RR with 200 cnxs. ILA performance is slightly better
than previously since we are not longer parsing L4 for checksum
handling. I amd seeing about 1% performance overhead. Also ran
TCP_STREAM and tested non-ILA address (type=0) are not translated.

Tom Herbert (3):
  ila: Add struct definitions and helpers
  ila: xlat changes
  ila: add checksum neutral ILA translations

 include/uapi/linux/ila.h  |   7 ++
 net/ipv6/ila/ila.h        |  79 ++++++++++++++++++++++-
 net/ipv6/ila/ila_common.c |  81 +++++++++++++++++++++--
 net/ipv6/ila/ila_lwt.c    |  49 ++++++++++----
 net/ipv6/ila/ila_xlat.c   | 160 +++++++++++++++++++---------------------------
 5 files changed, 259 insertions(+), 117 deletions(-)

-- 
2.8.0.rc2

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH net-next 0/3] ila: Support for checksum neutral translations
@ 2016-04-23 18:46 Tom Herbert
  2016-04-23 18:46 ` [PATCH net-next 1/3] ila: Add struct definitions and helpers Tom Herbert
  0 siblings, 1 reply; 6+ messages in thread
From: Tom Herbert @ 2016-04-23 18:46 UTC (permalink / raw)
  To: davem, netdev; +Cc: kernel-team

This patch set updates ILA to support draft-herbert-nvo3-ila-02. The
primary addition is support checksum neutral ILA translation.
This allows address to be performed and still keep any transport
layer checksums that include the addresses in their pseudo header to
still be correct without the translator needing to parse L4.

Other items are:
   - Structures for ILA addresses, identifiers, locators
   - Disallow translation on non-ILA addresses (check by
     type in identifier).
   - Change xlat (nf_input) to translates solely based
     on matching locators not identifiers (since identifiers
     are not obfuscated by checksum neutral).
   - Side effect if above is that multiple ILA domains are
     supported. Each local locator can map to a different
     SIR address (ILA domain), and each domain defines its
     own identifier space.

Tested: Ran TCP_RR with 200 cnxs. ILA performance is slightly better
than previously since we are not longer parsing L4 for checksum
handling. I amd seeing about 1% performance overhead. Also ran
TCP_STREAM and tested non-ILA address (type=0) are not translated.

v2: Fix complilation errors

Tom Herbert (3):
  ila: Add struct definitions and helpers
  ila: xlat changes
  ila: add checksum neutral ILA translations

 include/uapi/linux/ila.h  |   7 ++
 net/ipv6/ila/ila.h        |  79 ++++++++++++++++++++++-
 net/ipv6/ila/ila_common.c |  81 +++++++++++++++++++++--
 net/ipv6/ila/ila_lwt.c    |  49 ++++++++++----
 net/ipv6/ila/ila_xlat.c   | 160 +++++++++++++++++++---------------------------
 5 files changed, 259 insertions(+), 117 deletions(-)

-- 
2.8.0.rc2

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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 20:34 [PATCH net-next 0/3] ila: Support for checksum neutral translations Tom Herbert
2016-04-15 20:34 ` [PATCH net-next 1/3] ila: Add struct definitions and helpers Tom Herbert
2016-04-20  0:00   ` David Miller
2016-04-15 20:34 ` [PATCH net-next 2/3] ila: xlat changes Tom Herbert
2016-04-15 20:34 ` [PATCH net-next 3/3] ila: add checksum neutral ILA translations Tom Herbert
  -- strict thread matches above, loose matches on Subject: below --
2016-04-23 18:46 [PATCH net-next 0/3] ila: Support for checksum neutral translations Tom Herbert
2016-04-23 18:46 ` [PATCH net-next 1/3] ila: Add struct definitions and helpers Tom Herbert

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