From patchwork Wed Mar 9 19:23:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775520 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BD97C433EF for ; Wed, 9 Mar 2022 19:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237919AbiCITZK (ORCPT ); Wed, 9 Mar 2022 14:25:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47154 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237952AbiCITY6 (ORCPT ); Wed, 9 Mar 2022 14:24:58 -0500 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1E2B30F4D for ; Wed, 9 Mar 2022 11:23:34 -0800 (PST) Received: by mail-lj1-x22c.google.com with SMTP id q10so4641848ljc.7 for ; Wed, 09 Mar 2022 11:23:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=vKI9hOdRsycB1cOoFMiddNOLZ6leR1+qJXbgkTLjIxg=; b=b0zyAMSwqjswXu2qnYP44TBhVg4dB1wl0SnCuKfWudYlyHHmsUfK75AxIy/EIbmH+y tVhFAGLeUI50R03HZwKbHyXSqsJY/RZA9nro7P1YSpSWglRUlwZtF8CL1tPhEORT78zO S4V2GYGIEoezzGwiqZUu5GkBkgiRAycsDP51sLq8E0A2+E6NvtmugCTl4mN6s66RyTvM /xeF5s/zaEh/3QVlaKGiwD0a73b3WX8JYi4W7/CWTHTqbmVHrM0bHl5x+60yCB8mKjSu u7E+fEICcwVjkNxc1S6SeEW0xWLfkdw6bIUQEs5mWuuo7cFtzvpkF9vIXqWR7n4EyJxd oLOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=vKI9hOdRsycB1cOoFMiddNOLZ6leR1+qJXbgkTLjIxg=; b=5qeLpU7iuCUnigk2CTqMjKExkMGMwnr7RZ9fOqIQfoZpznvYykklBC3WAt/2Do8SHp hYaG4Aj6jTrCUCkFWeuzukWiTlgK1apkbJpfur2uV/6qNNJRDZHjVR1s3x2pPvxCJ7Te ys9ybfllJq0KlQjr2zXlZk0Vbq/MAQw+0J/YGFRf8le6TWspXLaRbIxdT8I2eJC7YSWe QjPbC1SOoD1u3CD5qY6eAgJevmLTsEsdhkRvSgU83uhMDilCk5KMuE8OSCuIvXu3K8WV tdD1BEmz6sNyrdxP/oOtDFrN7YSX+WlugCBNVth9Uk5/XRRVCTma1wMK6zoWuThlbmRo OQ2g== X-Gm-Message-State: AOAM530BIluO9OtZqAfUHkjyUDKvhW79mHOiZB+L8+VwsPm4jqd+DDN3 h0NCHtptRfNdK4j4g0EunceyPmlUz9PaGQ== X-Google-Smtp-Source: ABdhPJzY/MB6CxYwLXSOQQYBXM10BOcT493/Ar4NIq2HnNnpBpWYkRF+XA+7KYMuZanNHbcHcP1y+Q== X-Received: by 2002:a2e:2202:0:b0:248:684:4476 with SMTP id i2-20020a2e2202000000b0024806844476mr691421lji.64.1646853812433; Wed, 09 Mar 2022 11:23:32 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:31 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 1/7] bridge: support for controlling flooding of broadcast per port Date: Wed, 9 Mar 2022 20:23:10 +0100 Message-Id: <20220309192316.2918792-2-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Add per-port support for controlling flooding of broadcast traffic. Similar to unicast and multcast flooding that already exist. Signed-off-by: Joachim Wiberg --- bridge/link.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/bridge/link.c b/bridge/link.c index bc7837a9..407dc8ea 100644 --- a/bridge/link.c +++ b/bridge/link.c @@ -153,6 +153,9 @@ static void print_protinfo(FILE *fp, struct rtattr *attr) if (prtb[IFLA_BRPORT_MCAST_FLOOD]) print_on_off(PRINT_ANY, "mcast_flood", "mcast_flood %s ", rta_getattr_u8(prtb[IFLA_BRPORT_MCAST_FLOOD])); + if (prtb[IFLA_BRPORT_BCAST_FLOOD]) + print_on_off(PRINT_ANY, "bcast_flood", "bcast_flood %s ", + rta_getattr_u8(prtb[IFLA_BRPORT_BCAST_FLOOD])); if (prtb[IFLA_BRPORT_MCAST_TO_UCAST]) print_on_off(PRINT_ANY, "mcast_to_unicast", "mcast_to_unicast %s ", rta_getattr_u8(prtb[IFLA_BRPORT_MCAST_TO_UCAST])); @@ -265,6 +268,7 @@ static void usage(void) " [ learning_sync {on | off} ]\n" " [ flood {on | off} ]\n" " [ mcast_flood {on | off} ]\n" + " [ bcast_flood {on | off} ]\n" " [ mcast_to_unicast {on | off} ]\n" " [ neigh_suppress {on | off} ]\n" " [ vlan_tunnel {on | off} ]\n" @@ -296,6 +300,7 @@ static int brlink_modify(int argc, char **argv) __s8 flood = -1; __s8 vlan_tunnel = -1; __s8 mcast_flood = -1; + __s8 bcast_flood = -1; __s8 mcast_to_unicast = -1; __s8 isolated = -1; __s8 hairpin = -1; @@ -354,6 +359,11 @@ static int brlink_modify(int argc, char **argv) mcast_flood = parse_on_off("mcast_flood", *argv, &ret); if (ret) return ret; + } else if (strcmp(*argv, "bcast_flood") == 0) { + NEXT_ARG(); + bcast_flood = parse_on_off("bcast_flood", *argv, &ret); + if (ret) + return ret; } else if (strcmp(*argv, "mcast_to_unicast") == 0) { NEXT_ARG(); mcast_to_unicast = parse_on_off("mcast_to_unicast", *argv, &ret); @@ -456,6 +466,9 @@ static int brlink_modify(int argc, char **argv) if (mcast_flood >= 0) addattr8(&req.n, sizeof(req), IFLA_BRPORT_MCAST_FLOOD, mcast_flood); + if (bcast_flood >= 0) + addattr8(&req.n, sizeof(req), IFLA_BRPORT_BCAST_FLOOD, + bcast_flood); if (mcast_to_unicast >= 0) addattr8(&req.n, sizeof(req), IFLA_BRPORT_MCAST_TO_UCAST, mcast_to_unicast); From patchwork Wed Mar 9 19:23:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775524 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C118BC433FE for ; Wed, 9 Mar 2022 19:24:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237810AbiCITZU (ORCPT ); Wed, 9 Mar 2022 14:25:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237860AbiCITY6 (ORCPT ); Wed, 9 Mar 2022 14:24:58 -0500 Received: from mail-lj1-x229.google.com (mail-lj1-x229.google.com [IPv6:2a00:1450:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A9F846653 for ; Wed, 9 Mar 2022 11:23:36 -0800 (PST) Received: by mail-lj1-x229.google.com with SMTP id q5so4633230ljb.11 for ; Wed, 09 Mar 2022 11:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=9JNCb1ZpVOQ+OkEvOrNdVp/HgSslvTIVnuphfIJytNo=; b=epRhEZXRgH8Nx0nPfK28gEw6qqRydjWON2UrpjZWtT1SoTGRkr4YYXA1lpKXCsdA8Z k1R9IqoXU66BAXCKzPs/YVfAJABPlnw0PZf+cL/sxfScLiNHmXmfjGQ1Pbeixc5Uoc1U tFtDqiAvzqQYe26CO/VR16XU1o14Imm98Oc9esYLPWcjvUFY2FMjJ+v9OSsNVweZbHN/ dmEGyTm4rgWfBmdcW7PlKyXYqPajNOh3c17ZuaIsxa8Mj1fm5SoQIm/guTjzo3u8ZeBN tAfIHAPeNCYH6isCap+4cf+Lzxq+rXBeinCUPCVrpQVeHakr3Xq8BpYAspjASMXQbEbP AAvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=9JNCb1ZpVOQ+OkEvOrNdVp/HgSslvTIVnuphfIJytNo=; b=JSlzCTEmmU4jpUnGatpJL4g4VhS84cIkiD2OlP/QZK4XxXlKCfe1CMpwxmtiwJdl0i eDtFsRxW9Rpc/5uifWaLMBdvDV0vyGKepXtjmbWzu4VKXdhLZ4GBJwhd6Wp7LVtDWf0X RQMdYctv2qqOxyXiaXZUnKmwto5439HdqFXHBuvr4Oy2tVA7GbiSmcb0ppT9l80NQ+ZP mGK93ekQTh6YNfA65WtPrn/MLbjhz2Z77iAbVH3HWiiKKrD15KkuiZsOa+FnRE6iMS6P HHruPXGki/BzYSF26u7OLpxvbKys2h5n+9UE1nou3bVYNEypmr25TE6A9L7bEY8lJ8dW VbtA== X-Gm-Message-State: AOAM533kPQ3R0JNA0r+LfEFGcjEhAy+qnCK9R0o2HTC0ludj1x21R1qV 1EFZ8LMFn1xjqC0OQ/DfHnB+qOk3KFuXXQ== X-Google-Smtp-Source: ABdhPJzwxlAIMram/GV5sdTNQFXM0dPzCkDI6Ing4eS6/XzHB4fwoDWjKAuk6DCVplYI/CCt9MxHBw== X-Received: by 2002:a05:651c:12c5:b0:23e:1f55:35b4 with SMTP id 5-20020a05651c12c500b0023e1f5535b4mr671259lje.58.1646853814293; Wed, 09 Mar 2022 11:23:34 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:33 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 2/7] man: bridge: document new bcast_flood flag for bridge ports Date: Wed, 9 Mar 2022 20:23:11 +0100 Message-Id: <20220309192316.2918792-3-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com The bridge link options are not alphabetically sorted, so placing bcast_flood right before mcast_flood for now. Signed-off-by: Joachim Wiberg --- man/man8/bridge.8 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/man8/bridge.8 b/man/man8/bridge.8 index 81ce9e6f..a5ac3ee2 100644 --- a/man/man8/bridge.8 +++ b/man/man8/bridge.8 @@ -45,6 +45,7 @@ bridge \- show / manipulate bridge addresses and devices .BR learning_sync " { " on " | " off " } ] [ " .BR flood " { " on " | " off " } ] [ " .BR hwmode " { " vepa " | " veb " } ] [ " +.BR bcast_flood " { " on " | " off " } ] [ " .BR mcast_flood " { " on " | " off " } ] [ " .BR mcast_to_unicast " { " on " | " off " } ] [ " .BR neigh_suppress " { " on " | " off " } ] [ " @@ -461,6 +462,11 @@ switch. .B veb - bridging happens in hardware. +.TP +.BR "bcast_flood on " or " bcast_flood off " +Controls flooding of broadcast traffic on the given port. +By default this flag is on. + .TP .BR "mcast_flood on " or " mcast_flood off " Controls whether multicast traffic for which there is no MDB entry will be From patchwork Wed Mar 9 19:23:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775523 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 79092C433EF for ; Wed, 9 Mar 2022 19:24:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237952AbiCITZS (ORCPT ); Wed, 9 Mar 2022 14:25:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237957AbiCITY6 (ORCPT ); Wed, 9 Mar 2022 14:24:58 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35F844D244 for ; Wed, 9 Mar 2022 11:23:38 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id bn33so4656075ljb.6 for ; Wed, 09 Mar 2022 11:23:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=ZqShpqFAcUbpT75QG5gyMmysdEWZbn6yRP47b19+9+k=; b=FChGwr9Gj+9l1unS77JQ5t0uP/XuMX1RFqUOQKc/u50L03aQxqPOujhDnHqBlQht5E b2V1KMY4F6f+i0mQ8PqEXcShL5CzSYAl3IMvzJ46elDCtVw6OcTBORKe1E/pnKndJDxG TLdJUVq3WWEIns18aUAe8N7ExxbKoUz0ExdcK2JE3XiblfstxJ6uDdp5896WQ8wqXFyS ZLOK28/mMSF4GmFnv7xCJM1NAFSuLszMH3ZEtdU6WMdeYtI0sgq8V7Y6e5YGHoS7I/BF D5kapWfrZtXMc2T6QBMp29DReFv4J4zQIYQQ0a+7w6fgHO4USRIJJJN9nqGVM3kkWINy BqjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=ZqShpqFAcUbpT75QG5gyMmysdEWZbn6yRP47b19+9+k=; b=XD8OaaXfd6fsW2e/dB5NnYZC+5DeBDO4qJpqc3TjAyawSvtwiv7hLoYrpiHf2Dk0DV 4MO/wg3hAOifWJzyUQBRAS9DJW2iNeDa7Uu5MfQ65910pdB9W8Gi/XV+8mLcjfxJ0WeA CbPKlDOKx8fMeIITED5yRgnu9OZDFLk2kOw2tN3ALb6zPCXsx8obFMQ0ZhIfXSyPAotk Se6RYli3i69VB96CUFvX3BZ2S2Qvw6406weKk2ngHWKAff3ooSQRlwgIJQNAfXZqCtUA 6v5Gl7JuP+ADHzksiiGYxd+gMBUsepNkFbIyHfbiQYLzlhn2KK+41QSjJ8u7dtQwUvIp GY1w== X-Gm-Message-State: AOAM5325E4p4d6FG3nBfecAyEMVKvA9i88G0t3cqooE3Mzur5iW3e9RS YE8JV+QU7CzoFVU0NnVDj4pgDsaFrHCdlA== X-Google-Smtp-Source: ABdhPJyJAhJ2k7yAeSbJMiHrvTsxJOGE1PgS3ehi7bp06RY21/kEwRvijv2LHBPTXrXVrAyybMf8Gg== X-Received: by 2002:a2e:b5b0:0:b0:248:47d:6abe with SMTP id f16-20020a2eb5b0000000b00248047d6abemr638162ljn.75.1646853815735; Wed, 09 Mar 2022 11:23:35 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:35 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 3/7] man: bridge: add missing closing " in bridge show mdb Date: Wed, 9 Mar 2022 20:23:12 +0100 Message-Id: <20220309192316.2918792-4-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Signed-off-by: Joachim Wiberg --- man/man8/bridge.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/bridge.8 b/man/man8/bridge.8 index a5ac3ee2..88f461aa 100644 --- a/man/man8/bridge.8 +++ b/man/man8/bridge.8 @@ -124,7 +124,7 @@ bridge \- show / manipulate bridge addresses and devices .IR VID " ] " .ti -8 -.BR "bridge mdb show " [ " +.BR "bridge mdb show" " [ " .B dev .IR DEV " ]" From patchwork Wed Mar 9 19:23:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775521 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87560C433F5 for ; Wed, 9 Mar 2022 19:24:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237896AbiCITZO (ORCPT ); Wed, 9 Mar 2022 14:25:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237953AbiCITY6 (ORCPT ); Wed, 9 Mar 2022 14:24:58 -0500 Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70B7F2BDA for ; Wed, 9 Mar 2022 11:23:39 -0800 (PST) Received: by mail-lj1-x235.google.com with SMTP id u3so4734175ljd.0 for ; Wed, 09 Mar 2022 11:23:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=8cdr6JcxYfveAV3I/8PrMKcEHbA24yDDjma9KaoJIpA=; b=IGRVbN600V8u/igN2wxGtGj3alV2cNbYMfQSIcrcb/BbeH5XXdwVYOo9MhKjWFfa0u q4dabOQvk691HUxxPfgrtxo1G1WO5YwwjPA0DtBt1sRFl5Yelruo+9kjK5d/CBzUhX4q dERIwvnltLw/4vtWAYYqoxvigYV1V0cDQ8KfDapy0adrhFqev8h0N7CkgOaAPbzww5QH Pnn8/d2XfzGqsMRkK4XVHWvgHg3aEnTxMa/xmTRvsEg+4J6wc6RQ74szy3u3tcYfFWyP 4g7VTFq5SCOzAcSOts6CjJ3Mh2G2Te3aL9fOzneptMURalHNxRtTAFMAcbm/MFm1KczS VuDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=8cdr6JcxYfveAV3I/8PrMKcEHbA24yDDjma9KaoJIpA=; b=l/sng9eYhj18Gv3AzwScDARhBIBalYjdtBDZ5O7hDYVRnAJWfrDgBQqn/pN2YYhhnv NRs82iz2EmdLCDiwJtk2TiPeGNNHSoycCPnhui1RpPrt2WzamQdyfxY7MSjHQJqkfuBU 6YwuytACCBAcBUyqkZw/sBvIiLdTMk61laa7IWbHpdHWnFO78HDvRZH5yQ33E+ZEPIge 1NDw6eOZqpu2CfSjKLlUUcmm4a9JSRJaOIS5JNVUP42gZk7V44VpsqVgbD5t4LItUxov E3QytrBZE52If6i1XEWK8l0HvBymIe/D/wOVbxlh6ZBEN83DSdxcw9mZisn9I/ZZcTtU 2FTg== X-Gm-Message-State: AOAM531Sgruh40JwnvqCjai0tIusbtkBcHkIXruJaslTDakhARDLZkbl mST4ytE/Ko2U4czSeM6nfgQ35DLt78rEqQ== X-Google-Smtp-Source: ABdhPJw4ohOvUiz9YlAoYCJ0FIDX5H7kjzs5ipMvvFy6sPJSq6Yaexh8gwNz5LGM2yJWWR9qd4HjDg== X-Received: by 2002:a2e:2ac4:0:b0:247:eae2:66f3 with SMTP id q187-20020a2e2ac4000000b00247eae266f3mr686516ljq.414.1646853817390; Wed, 09 Mar 2022 11:23:37 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:36 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 4/7] ip: iplink_bridge_slave: support for broadcast flooding Date: Wed, 9 Mar 2022 20:23:13 +0100 Message-Id: <20220309192316.2918792-5-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Add per-port support for controlling flooding of broadcast traffic. Similar to unicast and multcast flooding that already exist. Signed-off-by: Joachim Wiberg --- ip/iplink_bridge_slave.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ip/iplink_bridge_slave.c b/ip/iplink_bridge_slave.c index 71787586..0cf3422d 100644 --- a/ip/iplink_bridge_slave.c +++ b/ip/iplink_bridge_slave.c @@ -37,6 +37,7 @@ static void print_explain(FILE *f) " [ mcast_router MULTICAST_ROUTER ]\n" " [ mcast_fast_leave {on | off} ]\n" " [ mcast_flood {on | off} ]\n" + " [ bcast_flood {on | off} ]\n" " [ mcast_to_unicast {on | off} ]\n" " [ group_fwd_mask MASK ]\n" " [ neigh_suppress {on | off} ]\n" @@ -250,6 +251,10 @@ static void bridge_slave_print_opt(struct link_util *lu, FILE *f, print_on_off(PRINT_ANY, "mcast_flood", "mcast_flood %s ", rta_getattr_u8(tb[IFLA_BRPORT_MCAST_FLOOD])); + if (tb[IFLA_BRPORT_BCAST_FLOOD]) + print_on_off(PRINT_ANY, "bcast_flood", "bcast_flood %s ", + rta_getattr_u8(tb[IFLA_BRPORT_BCAST_FLOOD])); + if (tb[IFLA_BRPORT_MCAST_TO_UCAST]) print_on_off(PRINT_ANY, "mcast_to_unicast", "mcast_to_unicast %s ", rta_getattr_u8(tb[IFLA_BRPORT_MCAST_TO_UCAST])); @@ -350,6 +355,10 @@ static int bridge_slave_parse_opt(struct link_util *lu, int argc, char **argv, NEXT_ARG(); bridge_slave_parse_on_off("mcast_flood", *argv, n, IFLA_BRPORT_MCAST_FLOOD); + } else if (matches(*argv, "bcast_flood") == 0) { + NEXT_ARG(); + bridge_slave_parse_on_off("bcast_flood", *argv, n, + IFLA_BRPORT_BCAST_FLOOD); } else if (matches(*argv, "mcast_to_unicast") == 0) { NEXT_ARG(); bridge_slave_parse_on_off("mcast_to_unicast", *argv, n, From patchwork Wed Mar 9 19:23:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775522 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12B42C433F5 for ; Wed, 9 Mar 2022 19:24:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237940AbiCITZP (ORCPT ); Wed, 9 Mar 2022 14:25:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237958AbiCITY6 (ORCPT ); Wed, 9 Mar 2022 14:24:58 -0500 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF79433EB4 for ; Wed, 9 Mar 2022 11:23:41 -0800 (PST) Received: by mail-lj1-x234.google.com with SMTP id v28so4638212ljv.9 for ; Wed, 09 Mar 2022 11:23:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=fDEeDlU+kxNN/2eYYetsS0bietC32D2ZAQjV/K3ZsdY=; b=WZEgMAYxExO9uwrKAbdeJYU9Z5qn9j7PgiNlPhYYenCtTPB5yNJFMun4gIaIdtRhOr s+ZeRywHJ0bHqH0V8c212aq9qfUXEjJo/qQmIr4BrSZNbJXm8ZxfmCRJlMJmAngFYNv4 P84V+hbzgV6y5+rFJmlJsj5SH+UiJd3nsvoLESsLEr3pLktgaiZolDIIQ8ErxjcZ7/E8 p6GHBl5RooERctSljbPcuUX3pCKwoTswfP1j7H3Yu8TeoYjMjIvSi62zJqWjJQL1d7Ca N0xJEfzDF4wlo3c6M3ORYiySEAuAAVuhlq8aPTNVK0q36Ru2LUUze+UMzj5589iVuEfA cZUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=fDEeDlU+kxNN/2eYYetsS0bietC32D2ZAQjV/K3ZsdY=; b=bYSDJFQxdIFglD/ggHb8aoZ6yif8l1NOwZ44IRK0bru2ngD1tzNn3HiqKHWFr5RfA3 vGLM0RrIsx5Hyx1tZl66yekXH2vwcB6m3KZtMhRRPcRoATykkvHAoozyrSc8jGIp5uSs OwAk9ySHKPg2rZ0dAFcodz0t0Hs4JQjmOhLkB+TcoaQD5P6/bFvzrSVXy5KVn53MC7a3 SUJAzaajTbM9f6ROkIQZBiaJN1ImASOaHoyrMz420WQww00fuZxSA+ee/QshdkBZtBRo /oaKK6YWIfv80hDahmK4thNItKrvWiro4gVVG6TdvMl0CqoqSphph/DFE39l5jMoYsbW tI0A== X-Gm-Message-State: AOAM531qpLOuxrJR0VH3kgaz0JTwYmeWjrer+9WGVjOmflGkEMjAHmCY Wj1oBL2HBrpmyWKpiuHbhqwkqGBORiTk+A== X-Google-Smtp-Source: ABdhPJys4fzRYyfh+qHKk752dCCT1NQ6Ks/9eP7HCuybD3XFIkuneA0fazxmEn6h4/jQKIwGh1TQvw== X-Received: by 2002:a05:651c:50b:b0:246:8fe5:d18c with SMTP id o11-20020a05651c050b00b002468fe5d18cmr689044ljp.14.1646853819102; Wed, 09 Mar 2022 11:23:39 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:38 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 5/7] man: ip-link: document new bcast_flood flag on bridge ports Date: Wed, 9 Mar 2022 20:23:14 +0100 Message-Id: <20220309192316.2918792-6-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com The options are not alphabetically sorted, so placing bcast_flood right before mcast_flood for now. Signed-off-by: Joachim Wiberg --- man/man8/ip-link.8.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 19a0c9ca..c0e7f122 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -2364,6 +2364,8 @@ the following additional arguments are supported: ] [ .BR mcast_fast_leave " { " on " | " off "}" ] [ +.BR bcast_flood " { " on " | " off " }" +] [ .BR mcast_flood " { " on " | " off " }" ] [ .BR mcast_to_unicast " { " on " | " off " }" @@ -2450,6 +2452,10 @@ queries. .B fastleave option above. +.BR bcast_flood " { " on " | " off " }" +- controls flooding of broadcast traffic on the given port. By default +this flag is on. + .BR mcast_flood " { " on " | " off " }" - controls whether a given port will flood multicast traffic for which there is no MDB entry. From patchwork Wed Mar 9 19:23:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775525 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 44C0EC433EF for ; Wed, 9 Mar 2022 19:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237957AbiCITZV (ORCPT ); Wed, 9 Mar 2022 14:25:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235826AbiCITY7 (ORCPT ); Wed, 9 Mar 2022 14:24:59 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE811517CD for ; Wed, 9 Mar 2022 11:23:42 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id r7so5568700lfc.4 for ; Wed, 09 Mar 2022 11:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=FzOJ/Ks2HLgaddOH2GWG2z39nsX3lCqCV8359sYnn1o=; b=kwcBMrs3QJJ8cXwDXyX9HixGlQDOVYAfSi+FdhE7Cp/I5nBaNti6AyeIogf62w6THy Q3rzvz+NZT/iYq5E21GEvrSZUFicFslHcDWHpVm4Y5ur56mVo4Cow4hcDteLI9m5Fvcs DilI4gjdEOukdJKgADMfvOvK5jCA3+MA3Zp5idKNUgSJoTtb3wWOIGVhDquCBYvyzdYg 3WmTh35H5bV8s3T/JTOFUH3LUvKrBAGi0g/gLFqgvkIkCdv1pkC7JLHnEQcHVAE1KfI0 H1p96bJROGbK/wwdB4tPuwhQFd158TT1V2eS+8/xZqiO3Hj+UNns6yH29hFgI8Ev/EBc qyBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=FzOJ/Ks2HLgaddOH2GWG2z39nsX3lCqCV8359sYnn1o=; b=mTpcsH1/Vh+cSYTgFaKs/o8iEM5R7bFftKxV5lywnBQgSpYG86z7lWCdqxx8qHf4zl K/TF1ThIikrYTIQwlTvQV+ohmdF0a4VBSZYvYhkXByZWtk+foShpIfKBtsdLS2rxl6wk XPo1W5/7zhFunBaJ8CQ5slnWihNmz4r8o52WffzNiTZTvJumH4/2EFexblY7/Crn/cTl R0gHlw2HiQG+x56z+If+ENLSaSKijyl/tRTtwPeddxhj9fem+eWb7ufthj1bEdMONqVh 9mVdndXirgQjVIzpi+uxfPZlIPFU/ILnPvHGAwMRsJYxlPoQNG13RPUa0O3g/O/d1Qy8 +E2w== X-Gm-Message-State: AOAM531gZBVqqIHYM73jfjw6OJxZkw9rMvXjHUHkWh8GIe70OQEePRvw 5JqxylWY4xaZ4cr4n2ghnkmMCTUb+Ub+lQ== X-Google-Smtp-Source: ABdhPJxhFsDYvTdI9zU+YmXGVcIcb7XJE95zZ4/kMhPlZEWmpZE5faInRPL/CwtZMfIaq3JZuCFIrw== X-Received: by 2002:a05:6512:4009:b0:445:89f0:2b44 with SMTP id br9-20020a056512400900b0044589f02b44mr691424lfb.284.1646853820736; Wed, 09 Mar 2022 11:23:40 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:39 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 6/7] man: ip-link: mention bridge port's default mcast_flood state Date: Wed, 9 Mar 2022 20:23:15 +0100 Message-Id: <20220309192316.2918792-7-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Signed-off-by: Joachim Wiberg --- man/man8/ip-link.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index c0e7f122..1237ff4c 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -2458,7 +2458,7 @@ this flag is on. .BR mcast_flood " { " on " | " off " }" - controls whether a given port will flood multicast traffic for which - there is no MDB entry. + there is no MDB entry. By default this flag is on. .BR mcast_to_unicast " { " on " | " off " }" - controls whether a given port will replicate packets using unicast From patchwork Wed Mar 9 19:23:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Wiberg X-Patchwork-Id: 12775526 X-Patchwork-Delegate: dsahern@gmail.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6A26C433EF for ; Wed, 9 Mar 2022 19:24:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237872AbiCITZ2 (ORCPT ); Wed, 9 Mar 2022 14:25:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237865AbiCITY7 (ORCPT ); Wed, 9 Mar 2022 14:24:59 -0500 Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 401BB11A18 for ; Wed, 9 Mar 2022 11:23:44 -0800 (PST) Received: by mail-lf1-x131.google.com with SMTP id w12so5535558lfr.9 for ; Wed, 09 Mar 2022 11:23:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:organization:content-transfer-encoding; bh=UthmHaaVxco4V0h/OoLn4yD1U0+Z55/3wlWJmfcNf3A=; b=pTJhqBUwRcCZyOxDkckNERhTRNpoD5L6qCyqCBR88TAYh64yvIj1zUTwDYBr2xKa4G 17B3OuJV9miLxSnVSKFFmKoxTsHSrTXZspZSsPTf1a/O6NDhybr3s4ZsNbnrSYXwQFw1 x73tcRNKMafPoUuLv0EvlcP/wcJ/C5F0NJJcF06O6e7gL65C/tfsvumS9tW7gHvZdECs v+nCdvDgRy4RVBPDyndEHPO88NW8Ax3GGEMUiVivXTge+qql+tK7ZQm+xyRJ15m5o4ke vZHz6x75ddze3162j++V/fo+kwDlWSsDSBzzaIhflFrS8r+T1VLbfJeIM8hMvcUuSnZL UfZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:organization:content-transfer-encoding; bh=UthmHaaVxco4V0h/OoLn4yD1U0+Z55/3wlWJmfcNf3A=; b=OYikzbHLRVfYV6p8b9JvgepNvLaNGMP6uQosQBaMqSu+Z/nt+oICF24ZOYVyD1iUK1 kon5650VrP0PuewgCKkwCpIkf7WtBh8JqhIEh9a0PGNyKz2N7W21JdUr/SD5jbxCI/SB U+CsIEoXIChNYak75m7FzKhIrKTwLaybhHFWRuAw3HHVw/HQfgzn72rXWvrGaX0+wRfy 7YHeIxici4/7/PYOn1cZ/QTdzQK33ik6DM/QFHY8bo4ejLvx+dipUJ81fulLA/7gZ+tl uTyc0eLLDnYxPjq1kLS0MaQK+BmIUdrPehQaYLI+34vc/xh3Wrb0xWeUMeytGsXs97ne 1yHg== X-Gm-Message-State: AOAM530zydq/8LsJmdA6lttOPtWNL7r1TTIsoFHXow+e7DmABU3FY1Hg OZoHP+RNmG5w+Rgmcn+LVxzT/mLohEwn8Q== X-Google-Smtp-Source: ABdhPJwadzvbEyiRPAiSyCuwILkX8LOVhCLZLOw0f9rsB/t+5ljbHsk06Bi+t+34cIC7Z2NpH9/MOw== X-Received: by 2002:a05:6512:3f05:b0:443:bf88:aeba with SMTP id y5-20020a0565123f0500b00443bf88aebamr676400lfa.561.1646853821962; Wed, 09 Mar 2022 11:23:41 -0800 (PST) Received: from wbg.labs.westermo.se (h-98-128-229-222.NA.cust.bahnhof.se. [98.128.229.222]) by smtp.gmail.com with ESMTPSA id f11-20020a19dc4b000000b0044389008f64sm540691lfj.164.2022.03.09.11.23.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:23:41 -0800 (PST) From: Joachim Wiberg To: netdev@vger.kernel.org Cc: David Ahern , Stephen Hemminger , Nikolay Aleksandrov , Joachim Wiberg Subject: [PATCH iproute2-next v3 7/7] man: ip-link: whitespace fixes to odd line breaks mid sentence Date: Wed, 9 Mar 2022 20:23:16 +0100 Message-Id: <20220309192316.2918792-8-troglobit@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220309192316.2918792-1-troglobit@gmail.com> References: <20220309192316.2918792-1-troglobit@gmail.com> MIME-Version: 1.0 Organization: Westermo Network Technologies AB Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: dsahern@gmail.com Some options, spread across the man page, were accidentally (?) space indented (possible bullet list auto-indent in editors), causing odd line breaks in presentation mode (emacs, nroff, etc.). This patch aligns the multi-line descriptions to column zero, in line with other such option descriptions. Signed-off-by: Joachim Wiberg --- man/man8/ip-link.8.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/man/man8/ip-link.8.in b/man/man8/ip-link.8.in index 1237ff4c..c142d80a 100644 --- a/man/man8/ip-link.8.in +++ b/man/man8/ip-link.8.in @@ -481,11 +481,11 @@ where is the physical device to which VLAN device is bound. .BR gvrp " { " on " | " off " } " - specifies whether this VLAN should be registered using GARP VLAN - Registration Protocol. +Registration Protocol. .BR mvrp " { " on " | " off " } " - specifies whether this VLAN should be registered using Multiple VLAN - Registration Protocol. +Registration Protocol. .BR loose_binding " { " on " | " off " } " - specifies whether the VLAN device state is bound to the physical device state. @@ -2189,9 +2189,9 @@ parameter must be specified. .sp .BI query_rss " on|off" - toggle the ability of querying the RSS configuration of a specific - VF. VF RSS information like RSS hash key may be considered sensitive - on some devices where this information is shared between VF and PF - and thus its querying may be prohibited by default. +VF. VF RSS information like RSS hash key may be considered sensitive +on some devices where this information is shared between VF and PF +and thus its querying may be prohibited by default. .sp .BI state " auto|enable|disable" - set the virtual link state as seen by the specified VF. Setting to @@ -2458,11 +2458,11 @@ this flag is on. .BR mcast_flood " { " on " | " off " }" - controls whether a given port will flood multicast traffic for which - there is no MDB entry. By default this flag is on. +there is no MDB entry. By default this flag is on. .BR mcast_to_unicast " { " on " | " off " }" - controls whether a given port will replicate packets using unicast - instead of multicast. By default this flag is off. +instead of multicast. By default this flag is off. .BI group_fwd_mask " MASK " - set the group forward mask. This is the bitmask that is applied to