|
|
@@ -1467,6 +1467,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev)
|
|
|
rtl8380_get_version(priv);
|
|
|
priv->ds->num_lag_ids = 8;
|
|
|
priv->l2_bucket_size = 4;
|
|
|
+ priv->n_mst = 64;
|
|
|
priv->n_pie_blocks = 12;
|
|
|
priv->port_ignore = 0x1f;
|
|
|
priv->n_counters = 128;
|
|
|
@@ -1483,6 +1484,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev)
|
|
|
rtl8390_get_version(priv);
|
|
|
priv->ds->num_lag_ids = 16;
|
|
|
priv->l2_bucket_size = 4;
|
|
|
+ priv->n_mst = 256;
|
|
|
priv->n_pie_blocks = 18;
|
|
|
priv->port_ignore = 0x3f;
|
|
|
priv->n_counters = 1024;
|
|
|
@@ -1503,6 +1505,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev)
|
|
|
priv->ds->num_lag_ids = 16;
|
|
|
sw_w32(0, RTL930X_ST_CTRL);
|
|
|
priv->l2_bucket_size = 8;
|
|
|
+ priv->n_mst = 64;
|
|
|
priv->n_pie_blocks = 16;
|
|
|
priv->port_ignore = 0x3f;
|
|
|
priv->n_counters = 2048;
|
|
|
@@ -1523,6 +1526,7 @@ static int __init rtl83xx_sw_probe(struct platform_device *pdev)
|
|
|
priv->ds->num_lag_ids = 16;
|
|
|
sw_w32(0, RTL931x_ST_CTRL);
|
|
|
priv->l2_bucket_size = 8;
|
|
|
+ priv->n_mst = 128;
|
|
|
priv->n_pie_blocks = 16;
|
|
|
priv->port_ignore = 0x3f;
|
|
|
priv->n_counters = 2048;
|