From: Vlad Yasevich <vyasevic@redhat.com>
To: Or Gerlitz <or.gerlitz@gmail.com>
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>,
netdev@vger.kernel.org, Hadar Hen Zion <hadarh@mellanox.com>,
Amir Vadai <amirv@mellanox.com>, Jiri Pirko <jiri@resnulli.us>
Subject: Re: 3.10.0-rc2 mlx4 not receiving packets for some multicast groups
Date: Thu, 30 May 2013 16:57:38 -0400 [thread overview]
Message-ID: <51A7BD42.8060504@redhat.com> (raw)
In-Reply-To: <CAJZOPZ+YSWhz0Hw+BWHeT=cEDqRj-s7uY4M-5CTiXcRgJND_+Q@mail.gmail.com>
On 05/30/2013 04:42 PM, Or Gerlitz wrote:
> On Thu, May 30, 2013 at 11:31 PM, Shawn Bohrer <shawn.bohrer@gmail.com> wrote:
>>> So we need to
>>> debug/bisect why without the patch (what you call high_rate_steer=0)
>>> you don't get data on all groups. Can you bisect that on a single
>>> node, e.g set the rest of the environment with 3.4 that works, and on
>>> a given node see what is the commit that breaks that?
>
>> Done. It appears that the patch that breaks receiving packets on many
>> different multicast groups/sockets is:
>>
>> commit 4cd729b04285b7330edaf5a7080aa795d6d15ff3
>> Author: Vlad Yasevich <vyasevic@redhat.com>
>> Date: Mon Apr 15 09:54:25 2013 +0000
>>
>> net: add dev_uc_sync_multiple() and dev_mc_sync_multiple() api
>>
>> The current implementation of dev_uc_sync/unsync() assumes that there is
>> a strict 1-to-1 relationship between the source and destination of the sync.
>> In other words, once an address has been synced to a destination device, it
>> will not be synced to any other device through the sync API.
>> However, there are some virtual devices that aggreate a number of lower
>> devices and need to sync addresses to all of them. The current
>> API falls short there.
>>
>> This patch introduces a new dev_uc_sync_multiple() api that can be called
>> in the above circumstances and allows sync to work for every invocation.
>>
>> CC: Jiri Pirko <jiri@resnulli.us>
>> Signed-off-by: Vlad Yasevich <vyasevic@redhat.com>
>> Signed-off-by: David S. Miller <davem@davemloft.net>
>>
>> I've confirmed that reverting this patch on top of 3.10-rc3 allows me
>> to receive packets on all of my multicast groups without the Mellanox
>> high_rate_steer option set.
>
> OK, impressive debugging... so what do we do from here? Vlad, Shawn
> observes a regression once this patch is used on a large scale setup
> that uses many multicast groups (you can read the posts done earlier
> on this thread), does this rings any bell w.r.t to the actual problem
> in the patch?
I haven't seen that, but I didn't test with that many multicast groups.
I had 20 groups working.
I'll take a look and see what might be going on.
Thanks
-vlad
>
> Or.
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2013-05-30 20:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 15:49 3.10.0-rc2 mlx4 not receiving packets for some multicast groups Shawn Bohrer
2013-05-24 16:34 ` Shawn Bohrer
2013-05-24 16:58 ` Eric Dumazet
2013-05-25 3:41 ` Or Gerlitz
2013-05-25 15:13 ` Shawn Bohrer
2013-05-25 19:41 ` Or Gerlitz
2013-05-25 21:37 ` Shawn Bohrer
2013-05-28 20:15 ` Shawn Bohrer
2013-05-29 13:55 ` Or Gerlitz
2013-05-30 20:31 ` Shawn Bohrer
2013-05-30 20:42 ` Or Gerlitz
2013-05-30 20:57 ` Vlad Yasevich [this message]
2013-05-31 0:23 ` Jay Vosburgh
2013-05-31 15:17 ` Shawn Bohrer
2013-05-25 3:49 ` Or Gerlitz
2013-05-25 14:02 ` Shawn Bohrer
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=51A7BD42.8060504@redhat.com \
--to=vyasevic@redhat.com \
--cc=amirv@mellanox.com \
--cc=hadarh@mellanox.com \
--cc=jiri@resnulli.us \
--cc=netdev@vger.kernel.org \
--cc=or.gerlitz@gmail.com \
--cc=shawn.bohrer@gmail.com \
/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).