Add support for ethtool FEC and some ethtool error injection.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Add ethtool ring and coalesce settings support for testing.
Signed-off-by: Antonio Cardace <[email protected]>
Reviewed-by: Michal Kubecek <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
This will help the refactoring in the next commit
when coalesce and ring settings are added.
Signed-off-by: Antonio Cardace <[email protected]>
Reviewed-by: Michal Kubecek <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
The "ethtool" debugfs directory holds per-netdev knobs, so move
it from the device instance directory to the port directory.
This fixes the following warning when creating multiple ports:
debugfs: Directory 'ethtool' with parent 'netdevsim1' already present!
Fixes: ff1f7c17fb ("netdevsim: add pause frame stats")
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: David S. Miller <[email protected]>