From: Tom Herbert Subject: [PATCH v2 net-next 0/5] ila: make identifier format optional and other fixes Date: Sun, 5 Nov 2017 15:58:21 -0800 Message-ID: <20171105235826.2052-1-tom@quantonium.net> Cc: netdev@vger.kernel.org, rohit@quantonium.net, Tom Herbert To: davem@davemloft.net Return-path: Received: from mail-pg0-f68.google.com ([74.125.83.68]:52354 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750778AbdKEX6r (ORCPT ); Sun, 5 Nov 2017 18:58:47 -0500 Received: by mail-pg0-f68.google.com with SMTP id a192so6827152pge.9 for ; Sun, 05 Nov 2017 15:58:47 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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 -- 2.11.0