8d672a3e | 16-Jun-2025 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Link queues to NAPI instances
Link queues to NAPI instances with netif_queue_set_napi. This information can be queried with the netdev-genl API.
Signed-off-by: Justin Lai <justinlai0215@real
rtase: Link queues to NAPI instances
Link queues to NAPI instances with netif_queue_set_napi. This information can be queried with the netdev-genl API.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Reviewed-by: Joe Damato <joe@dama.to> Link: https://patch.msgid.link/20250616032226.7318-3-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
a01cfcfd | 20-Nov-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Corrects error handling of the rtase_check_mac_version_valid()
Previously, when the hardware version ID was determined to be invalid, only an error message was printed without any further han
rtase: Corrects error handling of the rtase_check_mac_version_valid()
Previously, when the hardware version ID was determined to be invalid, only an error message was printed without any further handling. Therefore, this patch makes the necessary corrections to address this.
Fixes: a36e9f5cfe9e ("rtase: Add support for a pci table in this module") Signed-off-by: Justin Lai <justinlai0215@realtek.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
c1fc14c4 | 20-Nov-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Correct the speed for RTL907XD-V1
Previously, the reported speed was uniformly set to SPEED_5000, but the RTL907XD-V1 actually operates at a speed of SPEED_10000. Therefore, this patch makes
rtase: Correct the speed for RTL907XD-V1
Previously, the reported speed was uniformly set to SPEED_5000, but the RTL907XD-V1 actually operates at a speed of SPEED_10000. Therefore, this patch makes the necessary correction.
Fixes: dd7f17c40fd1 ("rtase: Implement ethtool function") Signed-off-by: Justin Lai <justinlai0215@realtek.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
show more ...
|
39007e1c | 14-Nov-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Modify the content format of the enum rtase_registers
Remove unnecessary spaces.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: http
rtase: Modify the content format of the enum rtase_registers
Remove unnecessary spaces.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20241114112549.376101-3-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
14cb81d1 | 04-Sep-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Add a Makefile in the rtase folder
Add a Makefile in the rtase folder to build rtase driver.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/202409040321
rtase: Add a Makefile in the rtase folder
Add a Makefile in the rtase folder to build rtase driver.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20240904032114.247117-12-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
dd7f17c4 | 04-Sep-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Implement ethtool function
Implement the ethtool function to support users to obtain network card information, including obtaining various device settings, Report whether physical link is up,
rtase: Implement ethtool function
Implement the ethtool function to support users to obtain network card information, including obtaining various device settings, Report whether physical link is up, Report pause parameters, Set pause parameters, Return extended statistics about the device.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20240904032114.247117-11-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
a25a0b07 | 04-Sep-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Implement pci_driver suspend and resume function
Implement the pci_driver suspend function to enable the device to sleep, and implement the resume function to enable the device to resume oper
rtase: Implement pci_driver suspend and resume function
Implement the pci_driver suspend function to enable the device to sleep, and implement the resume function to enable the device to resume operation.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20240904032114.247117-10-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
07960048 | 04-Sep-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Implement net_device_ops
1. Implement .ndo_set_rx_mode so that the device can change address list filtering. 2. Implement .ndo_set_mac_address so that mac address can be changed. 3. Implement
rtase: Implement net_device_ops
1. Implement .ndo_set_rx_mode so that the device can change address list filtering. 2. Implement .ndo_set_mac_address so that mac address can be changed. 3. Implement .ndo_change_mtu so that mtu can be changed. 4. Implement .ndo_tx_timeout to perform related processing when the transmitter does not make any progress. 5. Implement .ndo_get_stats64 to provide statistics that are called when the user wants to get network device usage. 6. Implement .ndo_vlan_rx_add_vid to register VLAN ID when the device supports VLAN filtering. 7. Implement .ndo_vlan_rx_kill_vid to unregister VLAN ID when the device supports VLAN filtering. 8. Implement the .ndo_setup_tc to enable setting any "tc" scheduler, classifier or action on dev. 9. Implement .ndo_fix_features enables adjusting requested feature flags based on device-specific constraints. 10. Implement .ndo_set_features enables updating device configuration to new features.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20240904032114.247117-9-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|
cf7226c8 | 04-Sep-2024 |
Justin Lai <justinlai0215@realtek.com> |
rtase: Implement a function to receive packets
Implement rx_handler to read the information of the rx descriptor, thereby checking the packet accordingly and storing the packet in the socket buffer
rtase: Implement a function to receive packets
Implement rx_handler to read the information of the rx descriptor, thereby checking the packet accordingly and storing the packet in the socket buffer to complete the reception of the packet.
Signed-off-by: Justin Lai <justinlai0215@realtek.com> Link: https://patch.msgid.link/20240904032114.247117-8-justinlai0215@realtek.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
|