Re: [PATCH SET][bonding] cleanup

From: Shmulik Hen
Date: Thu Sep 25 2003 - 12:07:38 EST


On Thursday 25 September 2003 07:22 pm, Jay Vosburgh wrote:
> >patch 7 - eliminate the multicast_mode module param. settings are
> > now done only according to mode.
>
> This goes a bit beyond straight cleanup; could you explain
> the rationale for this change? Also, unless I'm missing something,
> the patch does not appear to update bonding.txt to reflect the fact
> that the module parameter is no more.
>
>

That question rings a bell :)
I had this discussion with Deniel Laurent on 8/30 and it sounded like
that wouldn't be a problem after all.

[from that thread]
> Do you know that this breaks upward compatibility ?
[snip]
> But if everyone is OK ... (I'd be since I currently only use
> multicast_mode = 1 ;-).

The rationale is that the propagation code already made this module
param obsolete, so the next step was to remove it entirely since it
had no effect anyway.

According to the propagation RFC we sent on 2/6, multicast list,
allmulti flag and promisc flag are all controlled the same way, and
that is according to the USES_PRIMARY macro. When the bond uses the
current slave as a primary interface, it, and only it, is supposed to
have the bond's properties, while in aggregation modes all slaves
have the same settings. There is no point in settings other slaves,
that are not supposed to be receiving in the first place, to have
loose filtering. Otherwise the stack will be flooded by duplicate
packets. The situation is bad enough now since bonding has no
solution for broadcast packets, but that's for another thread.

--
| Shmulik Hen Advanced Network Services |
| Israel Design Center, Jerusalem |
| LAN Access Division, Platform Networking |
| Intel Communications Group, Intel corp. |

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html