diff options
author | Amit Cohen <amitc@mellanox.com> | 2020-01-19 15:00:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-19 16:23:52 +0100 |
commit | 95f0ead8f04bec18e474594ef585f3734bd85b4c (patch) | |
tree | c05e3f18456473a7a7234ceeb16448eadbebfb0a /Documentation | |
parent | 740e87bc3db8fe299e17877b7055e9ae3c33e4e6 (diff) | |
download | linux-stable-95f0ead8f04bec18e474594ef585f3734bd85b4c.tar.gz linux-stable-95f0ead8f04bec18e474594ef585f3734bd85b4c.tar.bz2 linux-stable-95f0ead8f04bec18e474594ef585f3734bd85b4c.zip |
devlink: Add non-routable packet trap
Add packet trap that can report packets that reached the router, but are
non-routable. For example, IGMP queries can be flooded by the device in
layer 2 and reach the router. Such packets should not be routed and
instead dropped.
Signed-off-by: Amit Cohen <amitc@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/networking/devlink/devlink-trap.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/devlink-trap.rst b/Documentation/networking/devlink/devlink-trap.rst index 68245ea387ad..a62e1d6eb3e4 100644 --- a/Documentation/networking/devlink/devlink-trap.rst +++ b/Documentation/networking/devlink/devlink-trap.rst @@ -223,6 +223,12 @@ be added to the following table: * - ``ipv6_lpm_miss`` - ``exception`` - Traps unicast IPv6 packets that did not match any route + * - ``non_routable_packet`` + - ``drop`` + - Traps packets that the device decided to drop because they are not + supposed to be routed. For example, IGMP queries can be flooded by the + device in layer 2 and reach the router. Such packets should not be + routed and instead dropped Driver-specific Packet Traps ============================ |