Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp4431511imb; Wed, 6 Mar 2019 13:16:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxjhrFNx19aAAJwHbwCFySDahtsSC5GtP82GY1/ZFABC12h+2AB4yILKssi3YXPpLF9PW7j X-Received: by 2002:a17:902:9a4a:: with SMTP id x10mr8728048plv.93.1551906962557; Wed, 06 Mar 2019 13:16:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551906962; cv=none; d=google.com; s=arc-20160816; b=QfFovQgYVgAimPMTx30/xc7/uE9QWQwzfAgC8eS1rhsphAN6UEK2kCDF5op5310JRN 5wMIw68FfxiLR+VGGSs23j2rjz0P3JpUZKsgN3We0Oxq7fpc07yWbtyy2JkXPF1cyYYv lN+8OjNirCYk0k7gyr8j7LavKJB+mwNsEIkQzX5piql13bzcOvI11RevNxUZqaStx197 40jyXxD70obayisjSVVmjI0vy2gLDW8cBcpXJ7+XN/7Y3oc++32Xa26Mc4aqpo+YhxXu sPcN/YSyrxH3OzzK0wwshQnSaa2MlPXVCSj9xbrpJeW9QU7DZ/EWSeKjsj4FMi+Kpd9A Gzcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1ZWVqloBC6kpSzMz9cJyx69aDoxsPoqK8ZFf+iPJY70=; b=nJoV/jTRRaT0a3/UcDy4d2fp9CdK1wogaYdY/t3yM0SeO1mrzW0ZgWSSWl2LjK8Cir Ev/8Ox9gmAqRpUsH4POM47m+cvpYxhVq8k0OOAjmrxsXXfCzDpHh4vxQ6tc9A/+GZzKF 0+6SdZI0WcMV4ZWq1jb+kb1RRBbBFUrMXIAnoHcOFC5VDIJA0kWV2LO/jyjhiJP7uEQI ZhvDK6fpM/imYTBFp/Ner0qzKyLU5kncSUDIVNlNb6XgYgQJtuw3q4kLT5WkpdW8/OG+ QxnRNgfDr7pEqARewG6krL1atlKMgOOdrTT9rJBRDK3QI69NFZ4iJeARcyrzq9kqIPSN 0TKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=DJrHfVtt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c24si2218760pgj.502.2019.03.06.13.15.46; Wed, 06 Mar 2019 13:16:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=DJrHfVtt; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729930AbfCFUUV (ORCPT + 99 others); Wed, 6 Mar 2019 15:20:21 -0500 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]:58867 "EHLO gate2.alliedtelesis.co.nz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727728AbfCFUUU (ORCPT ); Wed, 6 Mar 2019 15:20:20 -0500 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 56ED98364E; Thu, 7 Mar 2019 09:20:17 +1300 (NZDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1551903617; bh=1ZWVqloBC6kpSzMz9cJyx69aDoxsPoqK8ZFf+iPJY70=; h=From:To:Cc:Subject:Date; b=DJrHfVttjiLAygsJOXw4/sCBCTI13YaZDes9jl6pd8lAw3+ouCmHoY39y0MU8zoMa A+x7KobkIs65KJ7X9pcBSYv8whwKXJZ7cJmFccjMZPwXFGfYdrDzka7MKgm8sLspAO kQIZ1giHCA2kllKkSG1bdZi1ao948jzkYbiVpD7JZqKEeHzseOxQ7wqVO9PGyQBK8K 23M3F81mXGXb+RTvifkBM34EaRqGC6evuFzOy1rou5+Kf3dccezoRg6PIvXBUjk5qC Sez/9EIkVZFsEvAxS8NjGu9B2R1PMK54gxSRfoaPHBvIgkUMk+mDrVyMWIFFS5h8nY l9viO2hcBfhHQ== Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7,5,8,10121) id ; Thu, 07 Mar 2019 09:20:17 +1300 Received: from brodieg-dl.ws.atlnz.lc (brodieg-dl.ws.atlnz.lc [10.33.22.16]) by smtp (Postfix) with ESMTP id 6407813EEC9; Thu, 7 Mar 2019 09:20:17 +1300 (NZDT) Received: by brodieg-dl.ws.atlnz.lc (Postfix, from userid 1718) id 26A645004A6; Thu, 7 Mar 2019 09:20:17 +1300 (NZDT) From: Brodie Greenfield To: davem@davemloft.net, stephen@networkplumber.org, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, chris.packham@alliedtelesis.co.nz, luuk.paulussen@alliedtelesis.co.nz, Brodie Greenfield Subject: [PATCH 0/2] Make ipmr queue length configurable Date: Thu, 7 Mar 2019 09:19:54 +1300 Message-Id: <20190306201956.30248-1-brodie.greenfield@alliedtelesis.co.nz> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable x-atlnz-ls: pat Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We want to have some more space in our queue for processing incoming multicast packets, so we can process more of them without dropping them prematurely. It is useful to be able to increase this limit on higher-spec platforms that can handle more items. For the particular use case here at Allied Telesis, we have linux running on our switches and routers, with support for the number of multicast groups being increased. Basically, this queue length affects the time taken to fully learn all of the multicast streams.=20 Changes in v2: - Tidy up a few unnecessary bits of code. - Put the sysctl inside ip multicast ifdef. - Included the IPv6 version. Brodie Greenfield (2): ipmr: Make cache queue length configurable ip6mr: Make cache queue length configurable Documentation/networking/ip-sysctl.txt | 16 ++++++++++++++++ include/net/netns/ipv4.h | 1 + include/net/netns/ipv6.h | 1 + net/ipv4/af_inet.c | 1 + net/ipv4/ipmr.c | 4 +++- net/ipv4/sysctl_net_ipv4.c | 7 +++++++ net/ipv6/af_inet6.c | 1 + net/ipv6/ip6mr.c | 4 +++- net/ipv6/sysctl_net_ipv6.c | 7 +++++++ 9 files changed, 40 insertions(+), 2 deletions(-) --=20 2.21.0