]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4f1ce16d566a63b9a3dcd72c54c8770c25e873c
tree7aa16891799aeb91509266d1e0bac998decfbdb9
parent1da716dfaa3e1582df19b291d8cc5e48ee32a5a9
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