https://github.com/bb-qq/r8152
Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
https://github.com/bb-qq/r8152
driver kernel-module synology synology-nas synology-package
Last synced: 9 months ago
JSON representation
Synology DSM driver for Realtek RTL8152/RTL8153/RTL8156 based adapters
- Host: GitHub
- URL: https://github.com/bb-qq/r8152
- Owner: bb-qq
- License: gpl-2.0
- Created: 2019-09-01T08:09:01.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-03-31T14:32:31.000Z (10 months ago)
- Last Synced: 2025-04-11T01:41:46.537Z (10 months ago)
- Topics: driver, kernel-module, synology, synology-nas, synology-package
- Language: C
- Homepage:
- Size: 755 KB
- Stars: 2,420
- Watchers: 52
- Forks: 202
- Open Issues: 112
-
Metadata Files:
- Readme: ReadMe.txt
- License: LICENSE
Awesome Lists containing this project
README
- If you want to support S5 WOL, you have to find
EXTRA_CFLAGS += -DRTL8152_S5_WOL
in the Makefile. Then, remove the first character '#", if it exists.
- For Fedora, you may have to run the following command after installing the
driver.
# dracut -f
- For Ubuntu, you may have to run the following command after installing the
driver.
# sudo depmod -a
# sudo update-initramfs -u
- Example of setting speed
2.5G before kernel v4.10
# ethtool -s eth0 autoneg on advertise 0x802f
2.5G for kernel v4.10 and later
# ethtool -s eth0 autoneg on advertise 0x80000000002f
5G for kernel v4.10 and later (Couldn't be supported before kernel v4.10)
# ethtool -s eth0 autoneg on advertise 0x180000000002f
# ethtool -s eth0 autoneg on advertise 0x002f (1G)
# ethtool -s eth0 autoneg on advertise 0x000f (100M full)
# ethtool -s eth0 autoneg on advertise 0x0003 (10M full)
- Disable center tap short
# make CONFIG_CTAP_SHORT=OFF modules
- Ring parameter
Show Ring parameter
# ethtool -g eth0
Changes the number of ring entries for the Rx ring.
# ethtool -G eth0 rx 100
- Tunable parameters
Get the current rx copybreak value in bytes.
# ethtool --get-tunable eth0 rx-copybreak
Set the rx copybreak value in bytes.
# ethtool --set-tunable eth0 rx-copybreak 256
- Flow control
Queries the specified Ethernet device for pause parameter information.
# ethtool -a eth0
Changes the pause parameters of the specified Ethernet device.
# ethtool -A eth0 rx off tx off (Disable flow control)
# ethtool -A eth0 rx on tx off (Enable flow control)