mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
committed by
David S. Miller
parent
1e5d1f69d9
commit
0d7f76dc11
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user