From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 73ABB3CB39 for ; Sat, 30 Oct 2021 14:55:44 -0400 (EDT) Received: by mail-ed1-x52c.google.com with SMTP id g8so50218199edb.2 for ; Sat, 30 Oct 2021 11:55:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0KcrPmcpkfr0H2EgpZxc5rtvcAxvLzbMVVXk8O+H9pI=; b=TTakm/62lWl5LTs3yH36GD5FyGNubXFAEr0LjBIF/uedgE4MBQY/dGSoFKNRLD05Jy kG+wCDv0zuXqI+vSD7Affo3W7+Jb/IA9bYoIN3XofKDOKnQtEpAtuL47o6/QshJA6DhR u+R3wB+srHx2rBCI4x2Ts1/PFvwMr7GQnKgBc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0KcrPmcpkfr0H2EgpZxc5rtvcAxvLzbMVVXk8O+H9pI=; b=Wj3hK87GVYjT6SPpQ9zwkS+3XuCR/vs1N9nxmDWfr/qS3fGIyXCfeNFYWCNMfWGoAd U89kuF57wp+dXh4V5Fz7W7R6DZRvNAUArT3joWvRUVxSa7vdcEF9aJCOmWRrsCOfpLsl zOGTaLX6yEyCbI+Dxoq2U32+LI2PTL0qMXrySidUWpiKBUrG5hGb23wl4VdTmMGXbM2Y kuW4GTscXMIiu4rN8eFo3wuIEzeTKbpufCvtaY2Ri99xoxAiHnA16nHd23etdkKoKhuq z7dLg0L2N5N70lBK7gWnRxMKdNc/vguhlWcseqP8aHuUgmJ7Wt3z7VTAIBbEq4XQiJbR ECKg== X-Gm-Message-State: AOAM530/TL74N1MTXzCvsBSBIRvVSNNOd6cyV8CoD6/L8Z7XkAv7foH8 AEQC046ayUQDyIR9pcP9jxRyDBnpJJsYsHwiMb9qQAFlM9Ri41uRXalB/5puzOC9I2MAuqwIVyf mklXjgQEuljGEJME1tU4oKuNl1FweScDxYYwMQWhB4w== X-Google-Smtp-Source: ABdhPJzrIgoRaiqhiM51rzfRpdpy5C9w9Z8Kf6onUr7DtSkRRuH5b/rsbrWaymy8fDYNpuJF96Q0DRKuvAcG6qd8Riw= X-Received: by 2002:a17:906:c111:: with SMTP id do17mr23076328ejc.48.1635620143131; Sat, 30 Oct 2021 11:55:43 -0700 (PDT) MIME-Version: 1.0 References: <20211030123921.29672-1-ap420073@gmail.com> In-Reply-To: From: Bob McMahon Date: Sat, 30 Oct 2021 11:55:32 -0700 Message-ID: To: Dave Taht Cc: Cake List , ECN-Sane , Make-Wifi-fast Content-Type: multipart/alternative; boundary="0000000000009ec6aa05cf967d3e" Subject: Re: [Make-wifi-fast] Fwd: [PATCH net-next v5 0/5] amt: add initial driver for Automatic Multicast Tunneling (AMT) X-BeenThere: make-wifi-fast@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2021 18:55:44 -0000 --0000000000009ec6aa05cf967d3e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable hmm, that could be useful too. Though starting with things like join latencies was something we tested in our early APs (which have a proprietary multicast over unicast implementation.) Iperf 2 repo very crude igmp querier c code, mostly just to set things like mrouter ports on l2 switches. We needed the join latencies for IPTV over multicast to simulate channel changes. The querier supports test control of when it sends out the all hosts query which we needed to. I found multicast testing (both internet and WiFi) as a lot of fun because things are "upside down" or reversed per RPFs. The AP has it relatively easy compared to an internet router/switch combo. Anyway, I'm fairly steeped in testing L3 IP and L2 multicast. Let me know if any new testing features are required for these efforts. Bob On Sat, Oct 30, 2021 at 10:46 AM Dave Taht wrote: > What I'd used for multicast testing during the heyday of the cerowrt > project was > > http://uftp-multicast.sourceforge.net/ > > It gained RFC3168 style ecn support as a result, but I haven't tested > it in years. > > On Sat, Oct 30, 2021 at 10:17 AM Bob McMahon > wrote: > > > > As an FYI, iperf 2 supports both source specific and standard multicast > joins. I think this one of the few open source traffic tools that support= s > multicast testing. > > > > Bob > > > > On Sat, Oct 30, 2021 at 7:24 AM Dave Taht wrote: > >> > >> This should be "fun". > >> > >> ---------- Forwarded message --------- > >> From: Taehee Yoo > >> Date: Sat, Oct 30, 2021 at 5:42 AM > >> Subject: [PATCH net-next v5 0/5] amt: add initial driver for Automatic > >> Multicast Tunneling (AMT) > >> To: , , , > >> > >> Cc: , > >> > >> > >> This is an implementation of AMT(Automatic Multicast Tunneling), RFC > 7450. > >> https://datatracker.ietf.org/doc/html/rfc7450 > >> > >> This implementation supports IGMPv2, IGMPv3, MLDv1, MLDv2, and IPv4 > >> underlay. > >> > >> Summary of RFC 7450 > >> The purpose of this protocol is to provide multicast tunneling. > >> The main use-case of this protocol is to provide delivery multicast > >> traffic from a multicast-enabled network to sites that lack multicast > >> connectivity to the source network. > >> There are two roles in AMT protocol, Gateway, and Relay. > >> The main purpose of Gateway mode is to forward multicast listening > >> information(IGMP, MLD) to the source. > >> The main purpose of Relay mode is to forward multicast data to > listeners. > >> These multicast traffics(IGMP, MLD, multicast data packets) are > tunneled. > >> > >> Listeners are located behind Gateway endpoint. > >> But gateway itself can be a listener too. > >> Senders are located behind Relay endpoint. > >> > >> ___________ _________ _______ ________ > >> | | | | | | | | > >> | Listeners <-----> Gateway <-----> Relay <-----> Source | > >> |___________| |_________| |_______| |________| > >> IGMP/MLD---------(encap)-----------> > >> <-------------(decap)--------(encap)------Multicast Data > >> > >> Usage of AMT interface > >> 1. Create gateway interface > >> ip link add amtg type amt mode gateway local 10.0.0.1 discovery > 10.0.0.2 \ > >> dev gw1_rt gateway_port 2268 relay_port 2268 > >> > >> 2. Create Relay interface > >> ip link add amtr type amt mode relay local 10.0.0.2 dev relay_rt \ > >> relay_port 2268 max_tunnels 4 > >> > >> v1 -> v2: > >> - Eliminate sparse warnings. > >> - Use bool type instead of __be16 for identifying v4/v6 protocol. > >> > >> v2 -> v3: > >> - Fix compile warning due to unsed variable. > >> - Add missing spinlock comment. > >> - Update help message of amt in Kconfig. > >> > >> v3 -> v4: > >> - Split patch. > >> - Use CHECKSUM_NONE instead of CHECKSUM_UNNECESSARY. > >> - Fix compile error. > >> > >> v4 -> v5: > >> - Remove unnecessary rcu_read_lock(). > >> - Remove unnecessary amt_change_mtu(). > >> - Change netlink error message. > >> - Add validation for IFLA_AMT_LOCAL_IP and IFLA_AMT_DISCOVERY_IP. > >> - Add comments in amt.h. > >> - Add missing dev_put() in error path of amt_newlink(). > >> - Fix typo. > >> - Add BUILD_BUG_ON() in amt_smb_cb(). > >> - Use macro instead of magic values. > >> - Use kzalloc() instead of kmalloc(). > >> - Add selftest script. > >> > >> Taehee Yoo (5): > >> amt: add control plane of amt interface > >> amt: add data plane of amt interface > >> amt: add multicast(IGMP) report message handler > >> amt: add mld report message handler > >> selftests: add amt interface selftest script > >> > >> MAINTAINERS | 8 + > >> drivers/net/Kconfig | 16 + > >> drivers/net/Makefile | 1 + > >> drivers/net/amt.c | 3290 +++++++++++++++++++++++++= + > >> include/net/amt.h | 386 +++ > >> include/uapi/linux/amt.h | 62 + > >> tools/testing/selftests/net/Makefile | 1 + > >> tools/testing/selftests/net/amt.sh | 284 +++ > >> tools/testing/selftests/net/config | 1 + > >> 9 files changed, 4049 insertions(+) > >> create mode 100644 drivers/net/amt.c > >> create mode 100644 include/net/amt.h > >> create mode 100644 include/uapi/linux/amt.h > >> create mode 100644 tools/testing/selftests/net/amt.sh > >> > >> -- > >> 2.17.1 > >> > >> > >> > >> -- > >> Fixing Starlink's Latencies: > https://www.youtube.com/watch?v=3Dc9gLo6Xrwgw > >> > >> Dave T=C3=A4ht CEO, TekLibre, LLC > >> _______________________________________________ > >> Make-wifi-fast mailing list > >> Make-wifi-fast@lists.bufferbloat.net > >> https://lists.bufferbloat.net/listinfo/make-wifi-fast > > > > > > This electronic communication and the information and any files > transmitted with it, or attached to it, are confidential and are intended > solely for the use of the individual or entity to whom it is addressed an= d > may contain information that is confidential, legally privileged, protect= ed > by privacy laws, or otherwise restricted from disclosure to anyone else. = If > you are not the intended recipient or the person responsible for deliveri= ng > the e-mail to the intended recipient, you are hereby notified that any us= e, > copying, distributing, dissemination, forwarding, printing, or copying of > this e-mail is strictly prohibited. If you received this e-mail in error, > please return the e-mail to the sender, delete it from your computer, and > destroy any printed copy of it. > > > > -- > I tried to build a better future, a few times: > https://wayforward.archive.org/?site=3Dhttps%3A%2F%2Fwww.icei.org > > Dave T=C3=A4ht CEO, TekLibre, LLC > --=20 This electronic communication and the information and any files transmitted= =20 with it, or attached to it, are confidential and are intended solely for=20 the use of the individual or entity to whom it is addressed and may contain= =20 information that is confidential, legally privileged, protected by privacy= =20 laws, or otherwise restricted from disclosure to anyone else. If you are=20 not the intended recipient or the person responsible for delivering the=20 e-mail to the intended recipient, you are hereby notified that any use,=20 copying, distributing, dissemination, forwarding, printing, or copying of= =20 this e-mail is strictly prohibited. If you received this e-mail in error,= =20 please return the e-mail to the sender, delete it from your computer, and= =20 destroy any printed copy of it. --0000000000009ec6aa05cf967d3e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
hmm, that could be useful too. Though starting with things= =C2=A0like join latencies was something=C2=A0we tested in our early=C2=A0AP= s (which have a proprietary multicast over unicast implementation.) Iperf 2= repo very crude igmp querier c code, mostly just to set things like mroute= r ports on l2 switches. We needed the join latencies for IPTV over multicas= t to simulate channel=C2=A0changes. The querier supports test control of wh= en it sends out the all hosts query which we needed to.=C2=A0

I foun= d=C2=A0 multicast testing (both internet=C2=A0and WiFi) as a lot of fun bec= ause things are "upside down" or reversed per RPFs. The AP has it= relatively easy compared to an internet router/switch combo.

Anyway= , I'm fairly steeped in testing L3 IP and L2 multicast. Let me know if = any new testing features are required for these efforts.

Bob

= =C2=A0



On Sat, Oct 30, 2021 at 10:46 AM Dave Taht <dave.taht@gmail.com> wrote:
What I'd used for multi= cast testing during the heyday of the cerowrt project was

http://uftp-multicast.sourceforge.net/

It gained RFC3168 style ecn support as a result, but I haven't tested it in years.

On Sat, Oct 30, 2021 at 10:17 AM Bob McMahon <bob.mcmahon@broadcom.com> wrote:=
>
> As an FYI, iperf 2 supports both source specific and standard multicas= t joins. I think this one of the few open source traffic tools that support= s multicast testing.
>
> Bob
>
> On Sat, Oct 30, 2021 at 7:24 AM Dave Taht <dave.taht@gmail.com> wrote:
>>
>> This should be "fun".
>>
>> ---------- Forwarded message ---------
>> From: Taehee Yoo <ap420073@gmail.com>
>> Date: Sat, Oct 30, 2021 at 5:42 AM
>> Subject: [PATCH net-next v5 0/5] amt: add initial driver for Autom= atic
>> Multicast Tunneling (AMT)
>> To: <d= avem@davemloft.net>, <kuba@kernel.org>, <dsahern@kernel.org>,
>> <ne= tdev@vger.kernel.org>
>> Cc: <dki= rjanov@suse.de>, <ap420073@gmail.com>
>>
>>
>> This is an implementation of AMT(Automatic Multicast Tunneling), R= FC 7450.
>> https://datatracker.ietf.org/doc/html/rfc7450<= /a>
>>
>> This implementation supports IGMPv2, IGMPv3, MLDv1, MLDv2, and IPv= 4
>> underlay.
>>
>>=C2=A0 Summary of RFC 7450
>> The purpose of this protocol is to provide multicast tunneling. >> The main use-case of this protocol is to provide delivery multicas= t
>> traffic from a multicast-enabled network to sites that lack multic= ast
>> connectivity to the source network.
>> There are two roles in AMT protocol, Gateway, and Relay.
>> The main purpose of Gateway mode is to forward multicast listening=
>> information(IGMP, MLD) to the source.
>> The main purpose of Relay mode is to forward multicast data to lis= teners.
>> These multicast traffics(IGMP, MLD, multicast data packets) are tu= nneled.
>>
>> Listeners are located behind Gateway endpoint.
>> But gateway itself can be a listener too.
>> Senders are located behind Relay endpoint.
>>
>>=C2=A0 =C2=A0 =C2=A0___________=C2=A0 =C2=A0 =C2=A0 =C2=A0_________= =C2=A0 =C2=A0 =C2=A0 =C2=A0_______=C2=A0 =C2=A0 =C2=A0 =C2=A0________
>>=C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2= =A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0|=C2=A0 = =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 |
>>=C2=A0 =C2=A0 | Listeners <-----> Gateway <-----> Relay= <-----> Source |
>>=C2=A0 =C2=A0 |___________|=C2=A0 =C2=A0 =C2=A0|_________|=C2=A0 = =C2=A0 =C2=A0|_______|=C2=A0 =C2=A0 =C2=A0|________|
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0IGMP/MLD---------(encap)-----------><= br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <-------------(decap)--------= (encap)------Multicast Data
>>
>>=C2=A0 Usage of AMT interface
>> 1. Create gateway interface
>> ip link add amtg type amt mode gateway local 10.0.0.1 discovery 10= .0.0.2 \
>> dev gw1_rt gateway_port 2268 relay_port 2268
>>
>> 2. Create Relay interface
>> ip link add amtr type amt mode relay local 10.0.0.2 dev relay_rt \=
>> relay_port 2268 max_tunnels 4
>>
>> v1 -> v2:
>>=C2=A0 - Eliminate sparse warnings.
>>=C2=A0 =C2=A0 - Use bool type instead of __be16 for identifying v4/= v6 protocol.
>>
>> v2 -> v3:
>>=C2=A0 - Fix compile warning due to unsed variable.
>>=C2=A0 - Add missing spinlock comment.
>>=C2=A0 - Update help message of amt in Kconfig.
>>
>> v3 -> v4:
>>=C2=A0 - Split patch.
>>=C2=A0 - Use CHECKSUM_NONE instead of CHECKSUM_UNNECESSARY.
>>=C2=A0 - Fix compile error.
>>
>> v4 -> v5:
>>=C2=A0 - Remove unnecessary rcu_read_lock().
>>=C2=A0 - Remove unnecessary amt_change_mtu().
>>=C2=A0 - Change netlink error message.
>>=C2=A0 - Add validation for IFLA_AMT_LOCAL_IP and IFLA_AMT_DISCOVER= Y_IP.
>>=C2=A0 - Add comments in amt.h.
>>=C2=A0 - Add missing dev_put() in error path of amt_newlink().
>>=C2=A0 - Fix typo.
>>=C2=A0 - Add BUILD_BUG_ON() in amt_smb_cb().
>>=C2=A0 - Use macro instead of magic values.
>>=C2=A0 - Use kzalloc() instead of kmalloc().
>>=C2=A0 - Add selftest script.
>>
>> Taehee Yoo (5):
>>=C2=A0 =C2=A0amt: add control plane of amt interface
>>=C2=A0 =C2=A0amt: add data plane of amt interface
>>=C2=A0 =C2=A0amt: add multicast(IGMP) report message handler
>>=C2=A0 =C2=A0amt: add mld report message handler
>>=C2=A0 =C2=A0selftests: add amt interface selftest script
>>
>>=C2=A0 MAINTAINERS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 8 +
>>=C2=A0 drivers/net/Kconfig=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A016 +
>>=C2=A0 drivers/net/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 1 +
>>=C2=A0 drivers/net/amt.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 3290 ++++++++++++++++++++++++++
>>=C2=A0 include/net/amt.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 386 +++
>>=C2=A0 include/uapi/linux/amt.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0|=C2=A0 =C2=A062 +
>>=C2=A0 tools/testing/selftests/net/Makefile |=C2=A0 =C2=A0 1 +
>>=C2=A0 tools/testing/selftests/net/amt.sh=C2=A0 =C2=A0|=C2=A0 284 += ++
>>=C2=A0 tools/testing/selftests/net/config=C2=A0 =C2=A0|=C2=A0 =C2= =A0 1 +
>>=C2=A0 9 files changed, 4049 insertions(+)
>>=C2=A0 create mode 100644 drivers/net/amt.c
>>=C2=A0 create mode 100644 include/net/amt.h
>>=C2=A0 create mode 100644 include/uapi/linux/amt.h
>>=C2=A0 create mode 100644 tools/testing/selftests/net/amt.sh
>>
>> --
>> 2.17.1
>>
>>
>>
>> --
>> Fixing Starlink's Latencies:
https://www.y= outube.com/watch?v=3Dc9gLo6Xrwgw
>>
>> Dave T=C3=A4ht CEO, TekLibre, LLC
>> _______________________________________________
>> Make-wifi-fast mailing list
>> Make-wifi-fast@lists.bufferbloat.net
>> https://lists.bufferbloat.net/listinfo= /make-wifi-fast
>
>
> This electronic communication and the information and any files transm= itted with it, or attached to it, are confidential and are intended solely = for the use of the individual or entity to whom it is addressed and may con= tain information that is confidential, legally privileged, protected by pri= vacy laws, or otherwise restricted from disclosure to anyone else. If you a= re not the intended recipient or the person responsible for delivering the = e-mail to the intended recipient, you are hereby notified that any use, cop= ying, distributing, dissemination, forwarding, printing, or copying of this= e-mail is strictly prohibited. If you received this e-mail in error, pleas= e return the e-mail to the sender, delete it from your computer, and destro= y any printed copy of it.



--
I tried to build a better future, a few times:
https://wayforward.archive.org/?sit= e=3Dhttps%3A%2F%2Fwww.icei.org

Dave T=C3=A4ht CEO, TekLibre, LLC

This ele= ctronic communication and the information and any files transmitted with it= , or attached to it, are confidential and are intended solely for the use o= f the individual or entity to whom it is addressed and may contain informat= ion that is confidential, legally privileged, protected by privacy laws, or= otherwise restricted from disclosure to anyone else. If you are not the in= tended recipient or the person responsible for delivering the e-mail to the= intended recipient, you are hereby notified that any use, copying, distrib= uting, dissemination, forwarding, printing, or copying of this e-mail is st= rictly prohibited. If you received this e-mail in error, please return the = e-mail to the sender, delete it from your computer, and destroy any printed= copy of it. --0000000000009ec6aa05cf967d3e--