From patchwork Thu Nov 2 21:20:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Herbert X-Patchwork-Id: 833554 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=quantonium-net.20150623.gappssmtp.com header.i=@quantonium-net.20150623.gappssmtp.com header.b="E9NvB8vs"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3ySdLW3G3Kz9sNd for ; Fri, 3 Nov 2017 08:21:23 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964939AbdKBVVU (ORCPT ); Thu, 2 Nov 2017 17:21:20 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:50564 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964829AbdKBVVT (ORCPT ); Thu, 2 Nov 2017 17:21:19 -0400 Received: by mail-pf0-f195.google.com with SMTP id b6so622139pfh.7 for ; Thu, 02 Nov 2017 14:21:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quantonium-net.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=OqkqXuN3SozFkGWFfH1xctPwoWkVEwBCvnL0c5Hmc9E=; b=E9NvB8vsrYgRH65zuPlSYwXArDNhO86NCSN9QodRPEXCcrdeymEim+F378VpCd56oa yGfcyWx2uK/9TyyPe7JODoui/GeZmwM22LlS0Na1y//fRO7WI+OJvrFaPJSDWSyURpWd n1EucRCKhH9R76DKr9Gq+stD91In8FMKoSRk/OErElHoysCUf3Se94PIP/Cn+7JtWujt wduFsi5G5VjyG4vMn1qbXz3SxRXdoL8gPfvVSgAXCzLg+si5Rwkg4Irok3qRkwJefSYv sqZl60ZcXk8ku8bavpVOenrVr7f/7u0NeMlY1SUGM03F6JBAHcDRALAq/QVor0OhxP/e liiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OqkqXuN3SozFkGWFfH1xctPwoWkVEwBCvnL0c5Hmc9E=; b=EJmhykthHew3YNV9fw9/kA9ey9cIjHDtEA0Ehe5WZoZvAVPLfy7U/5NyEuajz3Yesm BGPKQ9juSrSyZaJdBDk3+U55+qx2dSb9ysVbKuKE/M4GClpdICswRsWITIcbWfpXWZrz 1AFEEieCvmYnefdq3n4p6gWAVRpJC08QiRl8E1ChXN3q2mjvhCR4ZeqsHnkT4wmvbfyk K+K3/D7cAA1e5e2ojimb00Al/eIjlj1bH7h/JbMperC7/kWKiXorW+AHCyPk0bG/JhiM 0+Ll9DwNoICOZ2RdrDYHMgZgh1wpMP5K08vV/Ce2A72IMJdJq/g7iKxqZoZ8sgr0z/h9 1k9A== X-Gm-Message-State: AMCzsaXwlVMKp7K0/OpOYED/1FVJAAffKU/V6NqPodjjVsevj474/Q9K w3GSqX0fMTB2qH/KQN4rgtubPlPh X-Google-Smtp-Source: ABhQp+Tbs4dY74+8PFFteH6/6oCeXsDgyVmAJ9j/taeK6FICq9CTCJTpKOHdzrZ5+eIv1rA7tvimPg== X-Received: by 10.84.246.129 with SMTP id m1mr4608741pll.130.1509657678286; Thu, 02 Nov 2017 14:21:18 -0700 (PDT) Received: from localhost.localdomain (c-73-162-13-107.hsd1.ca.comcast.net. [73.162.13.107]) by smtp.gmail.com with ESMTPSA id m195sm8224734pga.13.2017.11.02.14.21.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Nov 2017 14:21:17 -0700 (PDT) From: Tom Herbert To: davem@davemloft.net Cc: netdev@vger.kernel.org, rohit@quantonium.net, Tom Herbert Subject: [PATCH net-next 0/4] ila: make identifier format optional and other fixes Date: Thu, 2 Nov 2017 14:20:54 -0700 Message-Id: <20171102212058.9157-1-tom@quantonium.net> X-Mailer: git-send-email 2.11.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 patches 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. Tom Herbert (4): ila: cleanup checksum diff ila: add checksum neutral map auto ila: allow configuraiton of identifier type ila: Add ila.txt Documentation/networking/ila.txt | 286 +++++++++++++++++++++++++++++++++++++++ include/uapi/linux/ila.h | 14 ++ net/ipv6/ila/ila.h | 12 +- net/ipv6/ila/ila_common.c | 104 +++++++------- net/ipv6/ila/ila_lwt.c | 62 +++++++-- net/ipv6/ila/ila_xlat.c | 26 ++-- 6 files changed, 426 insertions(+), 78 deletions(-) create mode 100644 Documentation/networking/ila.txt