netdevsim: support ethtool ring and coalesce settings
Add ethtool ring and coalesce settings support for testing. Signed-off-by: Antonio Cardace <acardace@redhat.com> Reviewed-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
77f9591b21
commit
a7fc6db099
@@ -15,6 +15,7 @@
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/device.h>
|
||||
#include <linux/ethtool.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/list.h>
|
||||
#include <linux/netdevice.h>
|
||||
@@ -60,6 +61,8 @@ struct nsim_ethtool_pauseparam {
|
||||
|
||||
struct nsim_ethtool {
|
||||
struct nsim_ethtool_pauseparam pauseparam;
|
||||
struct ethtool_coalesce coalesce;
|
||||
struct ethtool_ringparam ring;
|
||||
};
|
||||
|
||||
struct netdevsim {
|
||||
|
||||
Reference in New Issue
Block a user