Re: [PATCH net v2 3/3] net: stmmac: Improve mcast/ucast filter for all Synopsys EMAC Configurations
From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-06-30 06:46:24
Also in:
linux-arm-kernel, netdev
From: Arnd Bergmann <arnd@arndb.de>
Date: 2014-06-30 06:46:24
Also in:
linux-arm-kernel, netdev
On Sunday 29 June 2014 20:35:10 Vince Bridgers wrote:
The synopsys EMAC can be configured for different numbers of multicast hash bins and perfect filter entries at device creation time and there's no way to query this configuration information at runtime. As a result, a devicetree parameter is required in order for the driver to program these filters correctly for a particular device instance. This patch extends the current driver by providing a different multicast filter programming function if different than the currently supported 64 multicast hash bins and 32 perfect unicast addresses. This patch is required to correct multicast filtering for the Altera Cyclone V SOC. Signed-off-by: Vince Bridgers <redacted>
No objections to the content of the patch, but it would be better to split it out into two separate patches: one that does the mechanical prototype and formatting changes, and a smaller one that actually introduces the functional change. That would make it much easier to review, and to bisect potential problems when something goes wrong. Arnd