[riot-commits] [RIOT-OS/RIOT] 950c71: cpu/sam0: improve ethernet driver resilience

benpicco noreply at github.com
Tue Jul 27 14:02:44 CEST 2021


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 950c71cc10924b45becf3a9f4c9fb6c3b63fda03
      https://github.com/RIOT-OS/RIOT/commit/950c71cc10924b45becf3a9f4c9fb6c3b63fda03
  Author: dylad <dylan.laduranty at mesotic.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M cpu/sam0_common/periph/eth.c
    M cpu/sam0_common/sam0_eth/eth-netdev.c

  Log Message:
  -----------
  cpu/sam0: improve ethernet driver resilience

In case of network heavy traffic on the Ethernet, interrupts
fire faster than the netdev thread can process them and we
run out of buffers. With this commit, we now check if we
don't have buffers available, so we can flush everything and
restart reception properly even if we did drop a few in the
operation


  Commit: 666a45729cef124b62fc985ee5558832f3c850dd
      https://github.com/RIOT-OS/RIOT/commit/666a45729cef124b62fc985ee5558832f3c850dd
  Author: benpicco <benjamin.valentin at ml-pa.com>
  Date:   2021-07-27 (Tue, 27 Jul 2021)

  Changed paths:
    M cpu/sam0_common/periph/eth.c
    M cpu/sam0_common/sam0_eth/eth-netdev.c

  Log Message:
  -----------
  Merge pull request #16683 from dylad/pr/cpu/sam0/eth-fix

cpu/sam0: improve ethernet driver resilience


Compare: https://github.com/RIOT-OS/RIOT/compare/e3b52ff08d06...666a45729cef


More information about the commits mailing list