An error occurred fetching the project authors.
  1. 30 May, 2018 1 commit
  2. 03 Mar, 2018 1 commit
  3. 17 Jan, 2018 1 commit
  4. 17 Dec, 2017 1 commit
  5. 22 Oct, 2017 3 commits
  6. 19 Jul, 2017 1 commit
  7. 11 Jul, 2017 3 commits
  8. 20 Jun, 2017 2 commits
  9. 09 Jun, 2017 2 commits
  10. 06 Jun, 2017 3 commits
  11. 01 Jun, 2017 2 commits
  12. 25 May, 2017 5 commits
  13. 21 May, 2017 2 commits
  14. 15 May, 2017 1 commit
  15. 13 Apr, 2017 1 commit
    • Niklas Cassel's avatar
      net: stmmac: set total length of the packet to be transmitted in TDES3 · fe6af0e1
      Niklas Cassel authored
      Field FL/TPL in register TDES3 is not correctly set on GMAC4.
      TX appears to be functional on GMAC 4.10a even if this field is not set,
      however, to avoid relying on undefined behavior, set the length in TDES3.
      
      The field has a different meaning depending on if the TSE bit in TDES3
      is set or not (TSO). However, regardless of the TSE bit, the field is
      not optional. The field is already set correctly when the TSE bit is set.
      
      Since there is no limit for the number of descriptors that can be
      used for a single packet, the field should be set to the sum of
      the buffers contained in:
      [<desc with First Descriptor bit set> ... <desc n> ...
      <desc with Last Descriptor bit set>], which should be equal to skb->len.
      Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
      Acked-by: default avatarGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      fe6af0e1
  16. 12 Apr, 2017 1 commit
  17. 07 Apr, 2017 4 commits
  18. 05 Apr, 2017 1 commit
  19. 03 Apr, 2017 1 commit
  20. 30 Mar, 2017 1 commit
  21. 29 Mar, 2017 1 commit
    • Arnd Bergmann's avatar
      stmmac: use netif_set_real_num_{rx,tx}_queues · 589a1a2e
      Arnd Bergmann authored
      A driver must not access the two fields directly but should instead use
      the helper functions to set the values and keep a consistent internal
      state:
      
      ethernet/stmicro/stmmac/stmmac_main.c: In function 'stmmac_dvr_probe':
      ethernet/stmicro/stmmac/stmmac_main.c:4083:8: error: 'struct net_device' has no member named 'real_num_rx_queues'; did you mean 'real_num_tx_queues'?
      
      Fixes: a8f5102a ("net: stmmac: TX and RX queue priority configuration")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      589a1a2e
  22. 24 Mar, 2017 1 commit
    • LABBE Corentin's avatar
      net: stmmac: add set_mac to the stmmac_ops · 270c7759
      LABBE Corentin authored
      Two different set_mac functions exists but stmmac_dwmac4_set_mac() is
      only used for enabling and never for disabling.
      So on dwmac4, the MAC RX/TX is never disabled.
      
      This patch add a generic function pointer set_mac() to stmmac_ops and
      replace all call to stmmac_set_mac/stmmac_dwmac4_set_mac by a call to
      this pointer.
      
      Since dwmac4_ops is const, set_mac cannot be modified after, and so dwmac4_ops
      is duplioacted like dwmac4_dma_ops.
      Signed-off-by: default avatarCorentin Labbe <clabbe.montjoie@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      270c7759
  23. 22 Mar, 2017 1 commit