diff options
Diffstat (limited to 'man/man8/devlink-trap.8')
-rw-r--r-- | man/man8/devlink-trap.8 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/man/man8/devlink-trap.8 b/man/man8/devlink-trap.8 index f01f8317..1e693427 100644 --- a/man/man8/devlink-trap.8 +++ b/man/man8/devlink-trap.8 @@ -26,7 +26,7 @@ devlink-trap \- devlink trap configuration .ti -8 .BI "devlink trap set " DEV " trap " TRAP -.RB "[ " action " { " trap " | " drop " } ]" +.RB "[ " action " { " trap " | " drop " | " mirror " } ]" .ti -8 .B "devlink trap group show" @@ -36,7 +36,7 @@ devlink-trap \- devlink trap configuration .ti -8 .BI "devlink trap group set " DEV " group " GROUP -.RB "[ " action " { " trap " | " drop " } ]" +.RB "[ " action " { " trap " | " drop " | " mirror " } ]" .br .RB "[ " policer .IB "POLICER " ] @@ -76,7 +76,7 @@ Only applicable if a devlink device is also specified. - specifies the packet trap. .TP -.BR action " { " trap " | " drop " } " +.BR action " { " trap " | " drop " | " mirror " } " packet trap action. .I trap @@ -85,6 +85,9 @@ packet trap action. .I drop - the packet is dropped by the underlying device and a copy is not sent to the CPU. +.I mirror +- the packet is forwarded by the underlying device and a copy is sent to the CPU. + .SS devlink trap group show - display available packet trap groups and their attributes .PP @@ -108,7 +111,7 @@ Only applicable if a devlink device is also specified. - specifies the packet trap group. .TP -.BR action " { " trap " | " drop " } " +.BR action " { " trap " | " drop " | " mirror " } " packet trap action. The action is set for all the packet traps member in the trap group. The actions of non-drop traps cannot be changed and are thus skipped. |