diff options
author | Jakub Kicinski <kuba@kernel.org> | 2020-07-10 02:42:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-10 22:54:00 +0200 |
commit | 424be63ad831fbd5fb04eb6576de44f4aa7661e2 (patch) | |
tree | 63b9196a926b35a004ca7caa5577176ca33f277c /drivers/net/netdevsim/dev.c | |
parent | ethtool: add tunnel info interface (diff) | |
download | linux-424be63ad831fbd5fb04eb6576de44f4aa7661e2.tar.xz linux-424be63ad831fbd5fb04eb6576de44f4aa7661e2.zip |
netdevsim: add UDP tunnel port offload support
Add UDP tunnel port handlers to our fake driver so we can test
the core infra.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
-rw-r--r-- | drivers/net/netdevsim/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netdevsim/dev.c b/drivers/net/netdevsim/dev.c index 0dc2c66a5d56..ce719c830a77 100644 --- a/drivers/net/netdevsim/dev.c +++ b/drivers/net/netdevsim/dev.c @@ -225,6 +225,7 @@ static int nsim_dev_debugfs_init(struct nsim_dev *nsim_dev) debugfs_create_bool("fail_trap_policer_counter_get", 0600, nsim_dev->ddir, &nsim_dev->fail_trap_policer_counter_get); + nsim_udp_tunnels_debugfs_create(nsim_dev); return 0; } |