devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v4 0/5] net: stmmac: Improve mcast/ucast filter for snps
@ 2014-07-31 20:49 Vince Bridgers
  2014-07-31 20:49 ` [PATCH net v4 1/5] net: stmmac: Change MAC interface to support multiple filter configurations Vince Bridgers
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vince Bridgers @ 2014-07-31 20:49 UTC (permalink / raw)
  To: netdev, devicetree, peppe.cavallaro, pawel.moll, mark.rutland,
	ijc+devicetree, galak, linux, linux-arm-kernel, robh+dt, davem
  Cc: dinguyen, vbridgers2013, vbridger

This patch series adds Synopsys specific bindings for the Synopsys EMAC
filter characteristics since those are implementation dependent. The
multicast and unicast filtering code was improved to handle different
configuration variations based on device tree settings. 

I verified the operation of the multicast and unicast filters through 
Synopsys support as requested during the V1 review, and tested the GMAC
configuration on an Altera Cyclone 5 SOC (which supports 256 multicast
bins and 128 Unicast addresses). The 10/100 variant of this driver
modification was not tested, although it was compile tested. I shared
the email thread results of the investigation through Synopsys with the
stmmac maintainer.

---
V4: Remove patch from series that addressed a sparse issue from a 
    down rev'd version of sparse that does not show up in the 
    latest version of sparse.
V3: Break up the patch into interface and functional change patches
    per review comments
V2: Confirm with Synopsys methods to determine number of Multicast bins
    and Unicast address filter entries per first round review comments.


Vince Bridgers (5):
  net: stmmac: Change MAC interface to support multiple filter
    configurations
  net: stmmac: Correct set_filter for multicast and unicast cases
  dts: Add bindings for multicast hash bins and perfect filter entries
  ARM: socfpga: Add socfpga Ethernet filter attributes entries
  net: stmmac: Support devicetree configs for mcast and ucast filter
    entries

 Documentation/devicetree/bindings/net/stmmac.txt   |    6 +
 arch/arm/boot/dts/socfpga.dtsi                     |    4 +
 drivers/net/ethernet/stmicro/stmmac/common.h       |   47 ++++---
 drivers/net/ethernet/stmicro/stmmac/dwmac1000.h    |    3 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_core.c   |  131 ++++++++++++++------
 .../net/ethernet/stmicro/stmmac/dwmac100_core.c    |   27 ++--
 .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c   |    6 +-
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c  |   38 +++---
 .../net/ethernet/stmicro/stmmac/stmmac_platform.c  |   67 ++++++++++
 include/linux/stmmac.h                             |    2 +
 10 files changed, 238 insertions(+), 93 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-07-31 21:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31 20:49 [PATCH net v4 0/5] net: stmmac: Improve mcast/ucast filter for snps Vince Bridgers
2014-07-31 20:49 ` [PATCH net v4 1/5] net: stmmac: Change MAC interface to support multiple filter configurations Vince Bridgers
2014-07-31 20:49 ` [PATCH net v4 2/5] net: stmmac: Correct set_filter for multicast and unicast cases Vince Bridgers
2014-07-31 20:49 ` [PATCH net v4 3/5] dts: Add bindings for multicast hash bins and perfect filter entries Vince Bridgers
2014-07-31 20:49 ` [PATCH net v4 4/5] ARM: socfpga: Add socfpga Ethernet filter attributes entries Vince Bridgers
2014-07-31 20:49 ` [PATCH net v4 5/5] net: stmmac: Support devicetree configs for mcast and ucast filter entries Vince Bridgers
2014-07-31 21:13 ` [PATCH net v4 0/5] net: stmmac: Improve mcast/ucast filter for snps David Miller

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).