1. 20 12月, 2017 1 次提交
  2. 15 10月, 2017 2 次提交
  3. 26 5月, 2017 1 次提交
    • L
      net-next: stmmac: rework the speed selection · ca84dfb9
      LABBE Corentin 提交于
      The current stmmac_adjust_link() part which handle speed have
      some if (has_platform) code and my dwmac-sun8i will add more of them.
      
      So we need to handle better speed selection.
      Moreover the struct link member speed and port are hard to guess their
      purpose. And their unique usage are to be combined for writing speed.
      
      So this patch replace speed/port by simpler
      speed10/speed100/speed1000/speed_mask variables.
      
      In dwmac4_core_init and dwmac1000_core_init, port/speed value was used
      directly without using the struct link. This patch convert also their
      usage to speedxxx.
      Signed-off-by: NCorentin Labbe <clabbe.montjoie@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ca84dfb9
  4. 14 4月, 2017 1 次提交
    • N
      net: stmmac: set total length of the packet to be transmitted in TDES3 · fe6af0e1
      Niklas Cassel 提交于
      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: NNiklas Cassel <niklas.cassel@axis.com>
      Acked-by: NGiuseppe Cavallaro <peppe.cavallaro@st.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      fe6af0e1
  5. 25 3月, 2017 1 次提交
  6. 22 3月, 2017 2 次提交
  7. 16 3月, 2017 7 次提交
  8. 13 3月, 2017 9 次提交
  9. 25 2月, 2017 1 次提交
  10. 09 2月, 2017 3 次提交
  11. 10 1月, 2017 1 次提交
  12. 30 12月, 2016 1 次提交
  13. 09 12月, 2016 1 次提交
  14. 04 12月, 2016 1 次提交
  15. 30 11月, 2016 1 次提交
  16. 16 11月, 2016 2 次提交
  17. 13 9月, 2016 1 次提交
  18. 28 6月, 2016 3 次提交
  19. 03 4月, 2016 1 次提交