diff options
Diffstat (limited to 'include/net/dsa.h')
| -rw-r--r-- | include/net/dsa.h | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 1e8650fa8acc..541fb514e31d 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -41,6 +41,7 @@ struct phylink_link_state;  #define DSA_TAG_PROTO_TRAILER_VALUE		11  #define DSA_TAG_PROTO_8021Q_VALUE		12  #define DSA_TAG_PROTO_SJA1105_VALUE		13 +#define DSA_TAG_PROTO_KSZ8795_VALUE		14  enum dsa_tag_protocol {  	DSA_TAG_PROTO_NONE		= DSA_TAG_PROTO_NONE_VALUE, @@ -57,6 +58,7 @@ enum dsa_tag_protocol {  	DSA_TAG_PROTO_TRAILER		= DSA_TAG_PROTO_TRAILER_VALUE,  	DSA_TAG_PROTO_8021Q		= DSA_TAG_PROTO_8021Q_VALUE,  	DSA_TAG_PROTO_SJA1105		= DSA_TAG_PROTO_SJA1105_VALUE, +	DSA_TAG_PROTO_KSZ8795		= DSA_TAG_PROTO_KSZ8795_VALUE,  };  struct packet_type; @@ -273,9 +275,6 @@ struct dsa_switch {  	 */  	bool			vlan_filtering; -	unsigned long		*bitmap; -	unsigned long		_bitmap; -  	/* Dynamically allocated ports, keep last */  	size_t num_ports;  	struct dsa_port ports[]; @@ -516,6 +515,8 @@ struct dsa_switch_ops {  				   bool ingress);  	void	(*port_mirror_del)(struct dsa_switch *ds, int port,  				   struct dsa_mall_mirror_tc_entry *mirror); +	int	(*port_setup_tc)(struct dsa_switch *ds, int port, +				 enum tc_setup_type type, void *type_data);  	/*  	 * Cross-chip operations  |