Skip to content

Commit

Permalink
devlink: Fix dmac_filter trap name, align to its documentation
Browse files Browse the repository at this point in the history
%s/dest_mac_filter/dmac_filter/g

Fixes: e78ab16 ("devlink: Add DMAC filter generic packet trap")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reported-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Aya Levin authored and David S. Miller committed Feb 11, 2021
1 parent 7c28da8 commit e13e453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/devlink.h
Original file line number Diff line number Diff line change
@@ -1090,7 +1090,7 @@ enum devlink_trap_group_generic_id {
#define DEVLINK_TRAP_GENERIC_NAME_BLACKHOLE_NEXTHOP \
"blackhole_nexthop"
#define DEVLINK_TRAP_GENERIC_NAME_DMAC_FILTER \
"dest_mac_filter"
"dmac_filter"

#define DEVLINK_TRAP_GROUP_GENERIC_NAME_L2_DROPS \
"l2_drops"

0 comments on commit e13e453

Please sign in to comment.