mbox series

[v2,net-next,0/5] ila: make identifier format optional and other fixes

Message ID 20171105235826.2052-1-tom@quantonium.net
Headers show
Series ila: make identifier format optional and other fixes | expand

Message

Tom Herbert Nov. 5, 2017, 11:58 p.m. UTC
The identifier type and checksum neutral mapping bits are optional
in identifier formats. This patch set fixes the implementation to
make them optional and configurable.

Specific items:

  - Clean up checksum diff code in ILA
  - Add checksum neutral mapping auto so that checksum neutral
    mapping can be configured without requiring use of the C-bit
  - Add identifier type configuration and allow identifier
    type to be configured so that the identifier type field does
    not need to be present
  - Added ILA documention: ila.txt

I have fixes for ILA in iproute2 that will be poseted separately.

Tested: Ran netperf TCP_RR on various combinations of checksum
mode and the two supported identifier types.

v2:
  - Add proper sign off
  - In ILA LWT, only check prefix length includes identifier type
    if identifier type is enabled (ILA_ATYPE_USE_FORMAT).
  - Add a hook type so that it can be specified whether ILA
    translation is done on input or output route funciton in
    LWT.

Tom Herbert (5):
  ila: cleanup checksum diff
  ila: add checksum neutral map auto
  ila: allow configuration of identifier type
  ila: Add a hook type for LWT routes
  ila: Add ila.txt

 Documentation/networking/ila.txt | 286 +++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/ila.h         |  21 +++
 net/ipv6/ila/ila.h               |  12 +-
 net/ipv6/ila/ila_common.c        | 104 +++++++-------
 net/ipv6/ila/ila_lwt.c           | 111 ++++++++++++---
 net/ipv6/ila/ila_xlat.c          |  26 ++--
 6 files changed, 474 insertions(+), 86 deletions(-)
 create mode 100644 Documentation/networking/ila.txt

Comments

David Miller Nov. 8, 2017, 2:21 a.m. UTC | #1
From: Tom Herbert <tom@quantonium.net>
Date: Sun,  5 Nov 2017 15:58:21 -0800

> The identifier type and checksum neutral mapping bits are optional
> in identifier formats. This patch set fixes the implementation to
> make them optional and configurable.
> 
> Specific items:
> 
>   - Clean up checksum diff code in ILA
>   - Add checksum neutral mapping auto so that checksum neutral
>     mapping can be configured without requiring use of the C-bit
>   - Add identifier type configuration and allow identifier
>     type to be configured so that the identifier type field does
>     not need to be present
>   - Added ILA documention: ila.txt
> 
> I have fixes for ILA in iproute2 that will be poseted separately.
> 
> Tested: Ran netperf TCP_RR on various combinations of checksum
> mode and the two supported identifier types.
> 
> v2:
>   - Add proper sign off
>   - In ILA LWT, only check prefix length includes identifier type
>     if identifier type is enabled (ILA_ATYPE_USE_FORMAT).
>   - Add a hook type so that it can be specified whether ILA
>     translation is done on input or output route funciton in
>     LWT.

Series applied to net-next, thanks Tom.