aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorAmit Cohen <amitc@mellanox.com>2020-01-19 15:00:58 +0200
committerDavid S. Miller <davem@davemloft.net>2020-01-19 16:23:52 +0100
commitc3cae4916e57d2f0364d5e7769218547fb1b7c60 (patch)
treeb770c04c34e7871bbea6242a966284770207fa28 /Documentation/networking
parentselftests: devlink_trap_tunnel_ipip: Add test case for decap_error (diff)
downloadlinux-dev-c3cae4916e57d2f0364d5e7769218547fb1b7c60.tar.xz
linux-dev-c3cae4916e57d2f0364d5e7769218547fb1b7c60.zip
devlink: Add overlay source MAC is multicast trap
Add packet trap that can report NVE packets that the device decided to drop because their overlay source MAC is multicast. Signed-off-by: Amit Cohen <amitc@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/devlink/devlink-trap.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/networking/devlink/devlink-trap.rst b/Documentation/networking/devlink/devlink-trap.rst
index 014f0a34c0e4..47a429bb8658 100644
--- a/Documentation/networking/devlink/devlink-trap.rst
+++ b/Documentation/networking/devlink/devlink-trap.rst
@@ -234,6 +234,10 @@ be added to the following table:
- Traps NVE and IPinIP packets that the device decided to drop because of
failure during decapsulation (e.g., packet being too short, reserved
bits set in VXLAN header)
+ * - ``overlay_smac_is_mc``
+ - ``drop``
+ - Traps NVE packets that the device decided to drop because their overlay
+ source MAC is multicast
Driver-specific Packet Traps
============================