commit | 0dc8249a2e7ce38d9b307d1277b64f8189f53dfc | [log] [tgz] |
---|---|---|
author | Ido Schimmel <idosch@mellanox.com> | Mon Mar 30 22:38:23 2020 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 30 17:54:58 2020 -0700 |
tree | 6f1be1e79225a0b5abe1fceebb127c83e16db061 | |
parent | c064875a63528e8ebcefc0ae450ed0fd904d08c4 [diff] |
netdevsim: Add support for setting of packet trap group parameters Add a dummy callback to set trap group parameters. Return an error when the 'fail_trap_group_set' debugfs file is set in order to exercise error paths and verify that error is propagated to user space when should. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>