瀏覽代碼

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,