Skip to content

Commit b9022b5

Browse files
TaeheeYoodavem330
authored andcommitted
amt: add control plane of amt interface
It adds definitions and control plane code for AMT. this is very similar to udp tunneling interfaces such as gtp, vxlan, etc. In the next patch, data plane code will be added. Signed-off-by: Taehee Yoo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 741948f commit b9022b5

File tree

6 files changed

+815
-0
lines changed

6 files changed

+815
-0
lines changed

MAINTAINERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,6 +1020,14 @@ S: Maintained
10201020
F: Documentation/devicetree/bindings/iio/light/ams,as73211.yaml
10211021
F: drivers/iio/light/as73211.c
10221022

1023+
AMT (Automatic Multicast Tunneling)
1024+
M: Taehee Yoo <[email protected]>
1025+
1026+
S: Maintained
1027+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git
1028+
T: git git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git
1029+
F: drivers/net/amt.c
1030+
10231031
ANALOG DEVICES INC AD7192 DRIVER
10241032
M: Alexandru Tachici <[email protected]>
10251033

drivers/net/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,22 @@ config GTP
291291
To compile this drivers as a module, choose M here: the module
292292
will be called gtp.
293293

294+
config AMT
295+
tristate "Automatic Multicast Tunneling (AMT)"
296+
depends on INET && IP_MULTICAST
297+
select NET_UDP_TUNNEL
298+
help
299+
This allows one to create AMT(Automatic Multicast Tunneling)
300+
virtual interfaces that provide multicast tunneling.
301+
There are two roles, Gateway, and Relay.
302+
Gateway Encapsulates IGMP/MLD traffic from listeners to the Relay.
303+
Gateway Decapsulates multicast traffic from the Relay to Listeners.
304+
Relay Encapsulates multicast traffic from Sources to Gateway.
305+
Relay Decapsulates IGMP/MLD traffic from Gateway.
306+
307+
To compile this drivers as a module, choose M here: the module
308+
will be called amt.
309+
294310
config MACSEC
295311
tristate "IEEE 802.1AE MAC-level encryption (MACsec)"
296312
select CRYPTO

drivers/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ obj-$(CONFIG_WIREGUARD) += wireguard/
1414
obj-$(CONFIG_EQUALIZER) += eql.o
1515
obj-$(CONFIG_IFB) += ifb.o
1616
obj-$(CONFIG_MACSEC) += macsec.o
17+
obj-$(CONFIG_AMT) += amt.o
1718
obj-$(CONFIG_MACVLAN) += macvlan.o
1819
obj-$(CONFIG_MACVTAP) += macvtap.o
1920
obj-$(CONFIG_MII) += mii.o

0 commit comments

Comments
 (0)