[PATCH net v2 0/3] net: stmmac: Improve mcast/ucast filter for snps

Vince Bridgers vbridgers2013 at gmail.com
Sun Jun 29 18:35:07 PDT 2014


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, Peppe. 

I look forward to receiving constructive comments and the eventual inclusion
of this patch series. 

All the best, 

Vince


Vince Bridgers (3):
  dts: Add bindings for multicast hash bins and perfect filter entries
  ARM: socfpga: Add socfpga Ethernet filter attributes entries
  net: stmmac: Improve mcast/ucast filter for all Synopsys EMAC
    Configurations

 Documentation/devicetree/bindings/net/stmmac.txt   |    6 +
 arch/arm/boot/dts/socfpga.dtsi                     |    4 +
 drivers/net/ethernet/stmicro/stmmac/common.h       |   48 ++++----
 drivers/net/ethernet/stmicro/stmmac/dwmac1000.h    |    2 +-
 .../net/ethernet/stmicro/stmmac/dwmac1000_core.c   |  121 +++++++++++++-------
 .../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  |   52 +++++++++
 include/linux/stmmac.h                             |    2 +
 10 files changed, 213 insertions(+), 93 deletions(-)

-- 
1.7.9.5




More information about the linux-arm-kernel mailing list