net: dsa: sja1105: enable the TTEthernet engine on SJA1110
As opposed to SJA1105 where there are parts with TTEthernet and parts without, in SJA1110 all parts support it, but it must be enabled in the static config. So enable it unconditionally. We use it for the tc-taprio and tc-gate offload. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f244e256e1
commit
29305260d2
|
@ -673,6 +673,8 @@ static int sja1105_init_general_params(struct sja1105_private *priv)
|
|||
*/
|
||||
.tpid = ETH_P_SJA1105,
|
||||
.tpid2 = ETH_P_SJA1105,
|
||||
/* Enable the TTEthernet engine on SJA1110 */
|
||||
.tte_en = true,
|
||||
};
|
||||
struct dsa_switch *ds = priv->ds;
|
||||
struct sja1105_table *table;
|
||||
|
|
Loading…
Reference in New Issue