|
@@ -201,6 +201,11 @@ static inline u32 ethtool_rxfh_indir_default(u32 index, u32 n_rx_rings)
|
|
* @get_module_eeprom: Get the eeprom information from the plug-in module
|
|
* @get_module_eeprom: Get the eeprom information from the plug-in module
|
|
* @get_eee: Get Energy-Efficient (EEE) supported and status.
|
|
* @get_eee: Get Energy-Efficient (EEE) supported and status.
|
|
* @set_eee: Set EEE status (enable/disable) as well as LPI timers.
|
|
* @set_eee: Set EEE status (enable/disable) as well as LPI timers.
|
|
|
|
+ * @get_per_queue_coalesce: Get interrupt coalescing parameters per queue.
|
|
|
|
+ * It must check that the given queue number is valid. If neither a RX nor
|
|
|
|
+ * a TX queue has this number, return -EINVAL. If only a RX queue or a TX
|
|
|
|
+ * queue has this number, set the inapplicable fields to ~0 and return 0.
|
|
|
|
+ * Returns a negative error code or zero.
|
|
*
|
|
*
|
|
* All operations are optional (i.e. the function pointer may be set
|
|
* All operations are optional (i.e. the function pointer may be set
|
|
* to %NULL) and callers must take this into account. Callers must
|
|
* to %NULL) and callers must take this into account. Callers must
|
|
@@ -279,7 +284,8 @@ struct ethtool_ops {
|
|
const struct ethtool_tunable *, void *);
|
|
const struct ethtool_tunable *, void *);
|
|
int (*set_tunable)(struct net_device *,
|
|
int (*set_tunable)(struct net_device *,
|
|
const struct ethtool_tunable *, const void *);
|
|
const struct ethtool_tunable *, const void *);
|
|
-
|
|
|
|
|
|
+ int (*get_per_queue_coalesce)(struct net_device *, u32,
|
|
|
|
+ struct ethtool_coalesce *);
|
|
|
|
|
|
};
|
|
};
|
|
#endif /* _LINUX_ETHTOOL_H */
|
|
#endif /* _LINUX_ETHTOOL_H */
|