devlink: Fix dmac_filter trap name, align to its documentation
authorAya Levin <ayal@nvidia.com>
Tue, 9 Feb 2021 10:59:55 +0000 (12:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:04:49 +0000 (13:04 -0800)
%s/dest_mac_filter/dmac_filter/g

Fixes: e78ab164591f ("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>
include/net/devlink.h

index 47b4b063401be66e7bf83a41e34eb64cff80bed3..853420db5d32eed35da6f44eb5faab88b8954efd 100644 (file)
@@ -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"