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:
parent
1e5d1f69d9
commit
0d7f76dc11
2 changed files with 39 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue