Sebastian Huber
29f9822bac
if_atsam: Recover from receive freezes
...
Under unknown conditions the receive path ended up in a frozen state.
In this state, the DMA and driver descriptor head were equal and all
receive descriptors had the used bit set. So, the DMA was unable to
store received frames. However, the receive daemon was never woken up
to refill the receive buffers. It seems that the RXUBR interrupt can be
used to recover from this state.
Update #4651 .
2022-06-01 09:55:25 +02:00
Sebastian Huber
62d320d478
if_atsam: Shorten sysctl names
...
Update #4651 .
2022-06-01 09:55:25 +02:00
Sebastian Huber
c78ec59670
if_atsam: Add tx/rx desc sysctls
...
Update #4651 .
2022-06-01 09:55:25 +02:00
Sebastian Huber
8e5a933345
if_atsam: Add register sysctls
...
Update #4651 .
2022-06-01 09:55:25 +02:00
Sebastian Huber
f05e62515b
if_atsam: Allow stats reset via sysctl
...
Update #4651 .
2022-06-01 09:55:25 +02:00
Sebastian Huber
a661df04db
if_atsam: Fix interface stop
...
Close #4651 .
2022-05-11 16:09:00 +02:00
Sebastian Huber
c1b15c7558
if_atsam: Support transmit bpf
...
Update #4651 .
2022-05-11 16:08:57 +02:00
Sebastian Huber
2a174be01e
if_atsam: Do not use rtems_bsdnet_newproc()
...
Update #4651 .
2022-05-11 16:08:53 +02:00
Sebastian Huber
245ca940bb
if_atsam: Support IFCAP_VLAN_HWTAGGING
...
This is required to enable checksum offload for vlan interfaces.
Update #4651 .
2022-05-11 16:08:50 +02:00
Sebastian Huber
204a4873d7
if_atsam: Optimize receive
...
Do not use the interface mutex in the receive loop. Avoid multiple
reads of DMA descriptor words. Use a compile-time constant for the
receive DMA descriptor count to simplify calculations.
Update #4651 .
2022-05-11 16:08:46 +02:00
Sebastian Huber
1fee8dd095
if_atsam: Optimize transmit
...
Use the transmit interface handler to avoid a transmit task/interrupt.
Use a compile-time constant for the transmit DMA descriptor count to
simplify calculations.
Update #4651 .
2022-05-11 16:08:42 +02:00
Sebastian Huber
58162da5f2
if_atsam: Add multicast support
...
Update #4651 .
2022-05-11 16:08:38 +02:00
Sebastian Huber
1fe1bc6de4
if_atsam: Fix start/stop of interface
...
Update #4651 .
2022-05-11 16:08:35 +02:00
Sebastian Huber
46ec9d75b3
if_atsam: Fix interrupt setup
...
The interrupt is enabled by rtems_interrupt_handler_install().
Update #4651 .
2022-05-11 16:08:31 +02:00
Sebastian Huber
4780eff5c5
if_atsam: Do not disable the Ethernet CRC
...
The Ethernet CRC and padding must be always generated by the MAC.
Update #4651 .
2022-05-11 16:08:28 +02:00
Sebastian Huber
79e742182f
if_atsam: Enable all capabilities
...
Update #4651 .
2022-05-11 16:08:24 +02:00
Sebastian Huber
a4b878cde8
if_atsam: Fix warnings
...
Update #4651 .
2022-05-11 16:08:08 +02:00
Sebastian Huber
eeb3fd5d9b
if_atsam: Remove WDT_Disable()
...
The watchdog timer (WDT) can be configure only once. Do not touch it in
the BSP since the application may want to use it.
2019-06-13 08:57:41 +02:00
Christian Mauderer
b2a210ca3e
if_atsam: Add checksum offload.
2018-03-21 09:14:25 +01:00
Christian Mauderer
c6f4aa65ff
if_atsam: Allow fixed MII settings.
2017-09-22 10:19:25 +02:00
Christian Mauderer
0190cfdd55
if_atsam: Move statistics to sysctl.
2017-09-22 10:17:26 +02:00
Christian Mauderer
80a7fe68a1
if-atsam: Port to rtems-libbsd.
2017-09-22 10:17:24 +02:00
Christian Mauderer
b16eca96c3
rtemsbsd/if-atsam: Copy from RTEMS.
...
Copied from RTEMS commit 146adb1edf from 17.07.2017.
2017-09-22 10:15:52 +02:00