netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vince Bridgers <vbridgers2013@gmail.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: vbridgers2013@gmail.com
Subject: [PATCH net v2 2/2] Altera TSE: Disable Multicast filtering to workaround problem
Date: Wed, 14 May 2014 14:38:37 -0500	[thread overview]
Message-ID: <1400096317-4969-3-git-send-email-vbridgers2013@gmail.com> (raw)
In-Reply-To: <1400096317-4969-1-git-send-email-vbridgers2013@gmail.com>

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>
---
V2: - Create seperate patch from V1 for multicast filtering
      workaround
---
 drivers/net/ethernet/altera/altera_tse_main.c |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/net/ethernet/altera/altera_tse_main.c b/drivers/net/ethernet/altera/altera_tse_main.c
index ecc3b4e..7330681 100644
--- a/drivers/net/ethernet/altera/altera_tse_main.c
+++ b/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,
 				      "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,
-- 
1.7.9.5

  parent reply	other threads:[~2014-05-14 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-14 19:38 [PATCH net v2 0/2] Altera TSE: Fix Sparse errors and misc issues Vince Bridgers
2014-05-14 19:38 ` [PATCH net v2 1/2] Altera TSE: Fix sparse errors and warnings Vince Bridgers
2014-05-14 19:38 ` Vince Bridgers [this message]
2014-05-15 20:47 ` [PATCH net v2 0/2] Altera TSE: Fix Sparse errors and misc issues David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1400096317-4969-3-git-send-email-vbridgers2013@gmail.com \
    --to=vbridgers2013@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).