ソースを参照

Altera TSE: Disable Multicast filtering to workaround problem

This patch disables multicast hash filtering if present in the hardware
and uses promiscuous mode instead until the problem with multicast
filtering has been debugged, integrated and tested.

Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Vince Bridgers 11 年 前
コミット
d91e5c0255
1 ファイル変更5 行追加0 行削除
  1. 5 0
      drivers/net/ethernet/altera/altera_tse_main.c

+ 5 - 0
drivers/net/ethernet/altera/altera_tse_main.c

@@ -1376,6 +1376,11 @@ static int altera_tse_probe(struct platform_device *pdev)
 		of_property_read_bool(pdev->dev.of_node,
 		of_property_read_bool(pdev->dev.of_node,
 				      "altr,has-hash-multicast-filter");
 				      "altr,has-hash-multicast-filter");
 
 
+	/* Set hash filter to not set for now until the
+	 * multicast filter receive issue is debugged
+	 */
+	priv->hash_filter = 0;
+
 	/* get supplemental address settings for this instance */
 	/* get supplemental address settings for this instance */
 	priv->added_unicast =
 	priv->added_unicast =
 		of_property_read_bool(pdev->dev.of_node,
 		of_property_read_bool(pdev->dev.of_node,