aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/ethtool.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/ethtool.h b/include/linux/ethtool.h
index afd9596ce636..19a8de5326fb 100644
--- a/include/linux/ethtool.h
+++ b/include/linux/ethtool.h
@@ -400,4 +400,19 @@ struct ethtool_ops {
400 void (*get_ethtool_phy_stats)(struct net_device *, 400 void (*get_ethtool_phy_stats)(struct net_device *,
401 struct ethtool_stats *, u64 *); 401 struct ethtool_stats *, u64 *);
402}; 402};
403
404struct ethtool_rx_flow_rule {
405 struct flow_rule *rule;
406 unsigned long priv[0];
407};
408
409struct ethtool_rx_flow_spec_input {
410 const struct ethtool_rx_flow_spec *fs;
411 u32 rss_ctx;
412};
413
414struct ethtool_rx_flow_rule *
415ethtool_rx_flow_rule_create(const struct ethtool_rx_flow_spec_input *input);
416void ethtool_rx_flow_rule_destroy(struct ethtool_rx_flow_rule *rule);
417
403#endif /* _LINUX_ETHTOOL_H */ 418#endif /* _LINUX_ETHTOOL_H */