Altera TSE: Disable Multicast filtering to workaround problem
authorVince Bridgers <vbridgers2013@gmail.com>
Wed, 14 May 2014 19:38:37 +0000 (14:38 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 May 2014 20:46:46 +0000 (16:46 -0400)
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>
drivers/net/ethernet/altera/altera_tse_main.c

index ecc3b4e..7330681 100644 (file)
@@ -1376,6 +1376,11 @@ static int altera_tse_probe(struct platform_device *pdev)
                of_property_read_bool(pdev->dev.of_node,
                                      "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 */
        priv->added_unicast =
                of_property_read_bool(pdev->dev.of_node,