2039 Commits

Author SHA1 Message Date
Sebastian Huber
d1bfa784b7 Use rtems_task_exit() 2022-06-01 10:36:17 +02:00
Sebastian Huber
9e87868ec2 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 #4652.
2022-06-01 09:59:10 +02:00
Sebastian Huber
eea3f0eec3 if_atsam: Shorten sysctl names
Update #4652.
2022-06-01 09:59:10 +02:00
Sebastian Huber
1ed12b8af7 if_atsam: Add tx/rx desc sysctls
Update #4652.
2022-06-01 09:59:10 +02:00
Sebastian Huber
eb58e82197 if_atsam: Add register sysctls
Update #4652.
2022-06-01 09:59:10 +02:00
Sebastian Huber
5650e92685 if_atsam: Allow stats reset via sysctl
Update #4652.
2022-06-01 09:59:09 +02:00
Sebastian Huber
fdb00bbb3d libbsd.txt: Move issues and TODO 2022-05-23 16:28:26 +02:00
Sebastian Huber
3eabdce585 libbsd.txt: Move system control hints
Generalize hint.
2022-05-23 16:26:30 +02:00
Sebastian Huber
96c01bff09 libbsd.txt: Move initialization details 2022-05-23 16:26:30 +02:00
Sebastian Huber
3d36dc0239 libbsd.txt: Move IPsec description 2022-05-23 16:26:30 +02:00
Sebastian Huber
47281722c4 libbsd.txt: Move WLAN description 2022-05-23 16:26:30 +02:00
Sebastian Huber
56fe2fd56e libbsd.txt: Move PF description 2022-05-23 16:26:30 +02:00
Sebastian Huber
c80453238b libbsd.txt: Remove NIC status
Details like this should be described in the BSP documentation of the
User Manual.
2022-05-23 16:26:30 +02:00
Sebastian Huber
099b7eb535 libbsd.txt: Move ported kernel features
Remove obsolete file listing.
2022-05-23 16:26:30 +02:00
Sebastian Huber
06ee26024e libbsd.txt: Move Qemu notes 2022-05-23 16:26:30 +02:00
Sebastian Huber
a3172c7f26 libbsd.txt: Move network interface driver hints 2022-05-23 16:26:30 +02:00
Sebastian Huber
e56945817f libbsd.txt: Move features
Add more features and commands.
2022-05-23 16:26:30 +02:00
Sebastian Huber
310f6fb70d libbsd.txt: Move initialization description 2022-05-23 16:26:30 +02:00
Sebastian Huber
92219bc66e libbsd.txt: Move configuration of network tests 2022-05-23 16:26:30 +02:00
Sebastian Huber
8d74437b78 libbsd.txt: Move buildsets description 2022-05-23 16:26:30 +02:00
Sebastian Huber
384600c11f libbsd.txt: Remove installation overview
This is already covered by README.md
2022-05-23 16:26:30 +02:00
Sebastian Huber
dcdf571c45 libbsd.txt: Move BSP related content 2022-05-23 16:26:30 +02:00
Sebastian Huber
5c4cf1f708 libbsd.txt: Move introduction content 2022-05-23 16:26:30 +02:00
Sebastian Huber
5edfd30fe9 CONTRIBUTING.rst: Use LibBSD 2022-05-23 16:26:30 +02:00
Sebastian Huber
30e2b2867c Convert *.md files to reST
The reST format is used by the standard RTEMS documentation.
2022-05-23 16:26:30 +02:00
Sebastian Huber
765a0b73c0 README.md: Move SMP Requirements section 2022-05-23 16:26:30 +02:00
Sebastian Huber
95fde102a8 README.md: Update to RTEMS 6 2022-05-23 16:26:30 +02:00
Sebastian Huber
0ad7038558 README.md: The "5" branch is unmaintained 2022-05-23 16:26:30 +02:00
Sebastian Huber
15bcf12ffa libc: Include <sys/types.h> for RTEMS
This fixes an issue with a recent Newlib which no longer includes <sys/types.h>
in <stdio.h>.
2022-05-18 09:48:35 +02:00
Sebastian Huber
453ff00b5b libc: Avoid conflict with Newlib __sinit() 2022-05-18 09:48:33 +02:00
Sebastian Huber
3883871a13 tcpdump: Do not rely on u_char typedef 2022-05-18 09:48:32 +02:00
Sebastian Huber
ae635eb214 pfctl: Fix global state initialization
Update #4654.
2022-05-13 08:47:41 +02:00
Sebastian Huber
2e25292eb0 dhcpcd01/dhcpcd02: Mark as interactive 2022-05-13 08:47:36 +02:00
Sebastian Huber
5ad77a9a18 tcpdump: Do not use signals and chroot
Close #4650.
2022-05-12 07:48:47 +02:00
Sebastian Huber
32ebbd3767 tcpdump: Ensure loop monitor termination
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
c9b44ba907 tcpdump: No loop monitor if reading from file
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
011f4894e0 tcpdump: Close pcap dumper at program exit
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
6fb7134a91 tcpdump: Use rtems_task_exit()
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
479b4de6f1 tcpdump: Make loop monitor cooperative
This helps a bit if the fgetc() is non-blocking.

Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
c6212520ab Add program destructor support
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
544ba25fb2 tcpdump01: New test
Update #4650.
2022-05-12 07:48:02 +02:00
Sebastian Huber
38e1610af2 if_atsam: Fix interface stop
Close #4652.
2022-05-11 16:05:46 +02:00
Sebastian Huber
8039d70d94 if_atsam: Support transmit bpf
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
5c4ac7a917 if_atsam: Do not use rtems_bsdnet_newproc()
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
202502a397 if_atsam: Support IFCAP_VLAN_HWTAGGING
This is required to enable checksum offload for vlan interfaces.

Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
62fc2b6a03 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 #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
6be24bd16a 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 #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
3150b37022 if_atsam: Add multicast support
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
f4efcbfda5 if_atsam: Fix start/stop of interface
Update #4652.
2022-05-11 16:05:26 +02:00
Sebastian Huber
339ba3dd9f if_atsam: Fix interrupt setup
The interrupt is enabled by rtems_interrupt_handler_install().

Update #4652.
2022-05-11 16:05:26 +02:00