OSDN Git Service

devlink: Add overlay source MAC is multicast trap
authorAmit Cohen <amitc@mellanox.com>
Sun, 19 Jan 2020 13:00:58 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jan 2020 15:23:52 +0000 (16:23 +0100)
commitc3cae4916e57d2f0364d5e7769218547fb1b7c60
treeb770c04c34e7871bbea6242a966284770207fa28
parent27942c700017ba84c8fcfcc921bbaf8a91caaefd
devlink: Add overlay source MAC is multicast trap

Add packet trap that can report NVE packets that the device decided to
drop because their overlay source MAC is multicast.

Signed-off-by: Amit Cohen <amitc@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>
Documentation/networking/devlink/devlink-trap.rst
include/net/devlink.h
net/core/devlink.c