diff options
Diffstat (limited to 'include/net/dsa.h')
| -rw-r--r-- | include/net/dsa.h | 11 | 
1 files changed, 11 insertions, 0 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 96086289aa9b..a15f17a38eca 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -938,6 +938,17 @@ struct dsa_switch_ops {  			       struct ethtool_ts_info *ts);  	/* +	 * ethtool MAC merge layer +	 */ +	int	(*get_mm)(struct dsa_switch *ds, int port, +			  struct ethtool_mm_state *state); +	int	(*set_mm)(struct dsa_switch *ds, int port, +			  struct ethtool_mm_cfg *cfg, +			  struct netlink_ext_ack *extack); +	void	(*get_mm_stats)(struct dsa_switch *ds, int port, +				struct ethtool_mm_stats *stats); + +	/*  	 * DCB ops  	 */  	int	(*port_get_default_prio)(struct dsa_switch *ds, int port);  | 
