devlink: Add DMAC filter generic packet trap
Add packet trap that can report packets that were dropped due to destination MAC filtering. Signed-off-by: Aya Levin <ayal@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Tariq Toukan <tariqt@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
63368a7416
commit
e78ab16459
@@ -838,6 +838,7 @@ enum devlink_trap_generic_id {
|
||||
DEVLINK_TRAP_GENERIC_ID_GTP_PARSING,
|
||||
DEVLINK_TRAP_GENERIC_ID_ESP_PARSING,
|
||||
DEVLINK_TRAP_GENERIC_ID_BLACKHOLE_NEXTHOP,
|
||||
DEVLINK_TRAP_GENERIC_ID_DMAC_FILTER,
|
||||
|
||||
/* Add new generic trap IDs above */
|
||||
__DEVLINK_TRAP_GENERIC_ID_MAX,
|
||||
@@ -1063,6 +1064,8 @@ enum devlink_trap_group_generic_id {
|
||||
"esp_parsing"
|
||||
#define DEVLINK_TRAP_GENERIC_NAME_BLACKHOLE_NEXTHOP \
|
||||
"blackhole_nexthop"
|
||||
#define DEVLINK_TRAP_GENERIC_NAME_DMAC_FILTER \
|
||||
"dest_mac_filter"
|
||||
|
||||
#define DEVLINK_TRAP_GROUP_GENERIC_NAME_L2_DROPS \
|
||||
"l2_drops"
|
||||
|
||||
Reference in New Issue
Block a user