netdevsim: add ACL trap reporting cookie as a metadata
authorJiri Pirko <jiri@mellanox.com>
Tue, 25 Feb 2020 10:45:26 +0000 (11:45 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Feb 2020 19:05:55 +0000 (11:05 -0800)
commitd3cbb907ae57fe5da314b51d949b617b538bdeae
tree7aa16891799aeb91509266d1e0bac998decfbdb9
parent6de9fceeaa654a5470627817f7800aa849dd4489
netdevsim: add ACL trap reporting cookie as a metadata

Add new trap ACL which reports flow action cookie in a metadata. Allow
used to setup the cookie using debugfs file.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/dev.c
drivers/net/netdevsim/netdevsim.h