]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Documentation: Clarify trap's description
authorIdo Schimmel <idosch@mellanox.com>
Thu, 26 Sep 2019 11:43:39 +0000 (14:43 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Sep 2019 18:33:19 +0000 (20:33 +0200)
Alex noted that the below description might not be obvious to all users.
Clarify it by adding an example.

Fixes: 23d7b605d3d6 ("Documentation: Add devlink-trap documentation")
Reported-by: Alex Kushnarov <alexanderk@mellanox.com>
Reviewed-by: Alex Kushnarov <alexanderk@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>
Documentation/networking/devlink-trap.rst

index c20c7c4836640fa3f0cfe943b4d4d89367cb8ea7..8e90a85f3bd53ab0d4eefffac614469c41928c66 100644 (file)
@@ -143,7 +143,8 @@ be added to the following table:
    * - ``port_list_is_empty``
      - ``drop``
      - Traps packets that the device decided to drop in case they need to be
-       flooded and the flood list is empty
+       flooded (e.g., unknown unicast, unregistered multicast) and there are
+       no ports the packets should be flooded to
    * - ``port_loopback_filter``
      - ``drop``
      - Traps packets that the device decided to drop in case after layer 2