diff options
author | Jakub Kicinski <kuba@kernel.org> | 2021-03-30 06:59:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-04-01 00:15:23 +0300 |
commit | 0d7f76dc11e6df6b883f625c8343aa8fa1f6874b (patch) | |
tree | 51b36f52d70c7442cb1a637f0a767b3f9ab1b5b9 /drivers/net/netdevsim/netdevsim.h | |
parent | 1e5d1f69d9fb8ea0679f9e85915e8e7fdacfbe7a (diff) | |
download | linux-0d7f76dc11e6df6b883f625c8343aa8fa1f6874b.tar.xz |
netdevsim: add FEC settings support
Add support for ethtool FEC and some ethtool error injection.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
-rw-r--r-- | drivers/net/netdevsim/netdevsim.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h index d735c21def4b..7ff24e03577b 100644 --- a/drivers/net/netdevsim/netdevsim.h +++ b/drivers/net/netdevsim/netdevsim.h @@ -60,9 +60,12 @@ struct nsim_ethtool_pauseparam { }; struct nsim_ethtool { + u32 get_err; + u32 set_err; struct nsim_ethtool_pauseparam pauseparam; struct ethtool_coalesce coalesce; struct ethtool_ringparam ring; + struct ethtool_fecparam fec; }; struct netdevsim { |