summaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/netdevsim.h
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2021-09-13 15:53:31 -0700
committerDavid S. Miller <davem@davemloft.net>2021-09-15 15:46:02 +0100
commit2e367522ce6bc302f2613a0334c9930dafccf2e7 (patch)
tree4a3acb1bdfaa5eee187dad60a52e9245a66778ae /drivers/net/netdevsim/netdevsim.h
parent1e080f17750d1083e8a32f7b350584ae1cd7ff20 (diff)
downloadlinux-stable-2e367522ce6bc302f2613a0334c9930dafccf2e7.tar.gz
linux-stable-2e367522ce6bc302f2613a0334c9930dafccf2e7.tar.bz2
linux-stable-2e367522ce6bc302f2613a0334c9930dafccf2e7.zip
netdevsim: add ability to change channel count
For testing visibility of mq/mqprio default children. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h
index 793c86dc5a9c..d42eec05490f 100644
--- a/drivers/net/netdevsim/netdevsim.h
+++ b/drivers/net/netdevsim/netdevsim.h
@@ -62,6 +62,7 @@ struct nsim_ethtool_pauseparam {
struct nsim_ethtool {
u32 get_err;
u32 set_err;
+ u32 channels;
struct nsim_ethtool_pauseparam pauseparam;
struct ethtool_coalesce coalesce;
struct ethtool_ringparam ring;