Skip to content

Commit

Permalink
Documentation: Clarify trap's description
Browse files Browse the repository at this point in the history
Alex noted that the below description might not be obvious to all users.
Clarify it by adding an example.

Fixes: f3047ca ("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>
  • Loading branch information
Ido Schimmel authored and David S. Miller committed Sep 27, 2019
1 parent 979b9b2 commit 44bde51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/networking/devlink-trap.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 44bde51

Please sign in to comment.