1. 30 3月, 2021 6 次提交
  2. 26 3月, 2021 5 次提交
  3. 25 3月, 2021 2 次提交
  4. 23 3月, 2021 6 次提交
  5. 21 3月, 2021 1 次提交
  6. 20 3月, 2021 1 次提交
    • C
      net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes · 014dfa26
      Corentin Labbe 提交于
      MTU cannot be changed on dwmac-sun8i. (ip link set eth0 mtu xxx returning EINVAL)
      This is due to tx_fifo_size being 0, since this value is used to compute valid
      MTU range.
      Like dwmac-sunxi (with commit 806fd188 ("net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes"))
      dwmac-sun8i need to have tx and rx fifo sizes set.
      I have used values from datasheets.
      After this patch, setting a non-default MTU (like 1000) value works and network is still useable.
      
      Tested-on: sun8i-h3-orangepi-pc
      Tested-on: sun8i-r40-bananapi-m2-ultra
      Tested-on: sun50i-a64-bananapi-m64
      Tested-on: sun50i-h5-nanopi-neo-plus2
      Tested-on: sun50i-h6-pine-h64
      Fixes: 9f93ac8d ("net-next: stmmac: Add dwmac-sun8i")
      Reported-by: NBelisko Marek <marek.belisko@gmail.com>
      Signed-off-by: NCorentin Labbe <clabbe@baylibre.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      014dfa26
  7. 19 3月, 2021 13 次提交
  8. 18 3月, 2021 1 次提交
  9. 17 3月, 2021 4 次提交
  10. 13 3月, 2021 1 次提交