Searched hist:"427 f0c8c194b22edcafef1b0a42995ddc5c2227d" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/uapi/linux/ |
H A D | if_link.h | diff 427f0c8c194b22edcafef1b0a42995ddc5c2227d Sun Apr 25 04:22:03 CDT 2021 Jethro Beekman <kernel@jbeekman.nl> macvlan: Add nodst option to macvlan type source
The default behavior for source MACVLAN is to duplicate packets to appropriate type source devices, and then do the normal destination MACVLAN flow. This patch adds an option to skip destination MACVLAN processing if any matching source MACVLAN device has the option set.
This allows setting up a "catch all" device for source MACVLAN: create one or more devices with type source nodst, and one device with e.g. type vepa, and incoming traffic will be received on exactly one device.
v2: netdev wants non-standard line length
Signed-off-by: Jethro Beekman <kernel@jbeekman.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/drivers/net/ |
H A D | macvlan.c | diff 427f0c8c194b22edcafef1b0a42995ddc5c2227d Sun Apr 25 04:22:03 CDT 2021 Jethro Beekman <kernel@jbeekman.nl> macvlan: Add nodst option to macvlan type source
The default behavior for source MACVLAN is to duplicate packets to appropriate type source devices, and then do the normal destination MACVLAN flow. This patch adds an option to skip destination MACVLAN processing if any matching source MACVLAN device has the option set.
This allows setting up a "catch all" device for source MACVLAN: create one or more devices with type source nodst, and one device with e.g. type vepa, and incoming traffic will be received on exactly one device.
v2: netdev wants non-standard line length
Signed-off-by: Jethro Beekman <kernel@jbeekman.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
|