1. 18 May, 2018 2 commits
    • Jose Abreu's avatar
      net: stmmac: Do not keep rearming the coalesce timer in stmmac_xmit · 4ae0169f
      Jose Abreu authored
      This is cutting down performance. Once the timer is armed it should run
      after the time expires for the first packet sent and not the last one.
      
      After this change, running iperf, the performance gain is +/- 24%.
      Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Joao Pinto <jpinto@synopsys.com>
      Cc: Vitor Soares <soares@synopsys.com>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      4ae0169f
    • Jose Abreu's avatar
      net: stmmac: Enable OSP for GMAC4 · 67e1c406
      Jose Abreu authored
      This enables OSP (Operate on Second Packet) for GMAC4. The feature
      allows DMA to fetch second descriptor while its still processing the
      first one.
      
      Running iperf, the performance gain is +/- 38%.
      Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Joao Pinto <jpinto@synopsys.com>
      Cc: Vitor Soares <soares@synopsys.com>
      Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
      Cc: Alexandre Torgue <alexandre.torgue@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      67e1c406
  2. 17 May, 2018 38 commits