rtase: Fix Rx descriptor CRC error bit definition
Subsystems (3)
Justin Lai
maintainerPATCH 1/1 rtase: Fix Rx descriptor CRC error bit definition
The CRC error bit is located at bit 17 in the Rx descriptor, but the driver was incorrectly using bit 16. Fix it.
Fixes a36e9f5cfe9e ("rtase: Add support for a pci table in this module")
Signed-off-by Justin Lai <[email protected]>
--- drivers/net/ethernet/realtek/rtase/rtase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/rtase/rtase.h +1 -1
@@ -241,7 +241,7 @@ union rtase_rx_desc {#define RTASE_RX_RES BIT(20)#define RTASE_RX_RUNT BIT(19)#define RTASE_RX_RWT BIT(18) -#define RTASE_RX_CRC BIT(16) +#define RTASE_RX_CRC BIT(17)#define RTASE_RX_V6F BIT(31)#define RTASE_RX_V4F BIT(30)#define RTASE_RX_UDPT BIT(29)
Signature · 1 line
2.34.1
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 13 Aug 2025 15:16:31 +0800 you wrote:
The CRC error bit is located at bit 17 in the Rx descriptor, but the driver was incorrectly using bit 16. Fix it.
Fixes a36e9f5cfe9e ("rtase: Add support for a pci table in this module")Signed-off-by Justin Lai <[email protected]>--- drivers/net/ethernet/realtek/rtase/rtase.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net] rtase: Fix Rx descriptor CRC error bit definition
https://git.kernel.org/netdev/net/c/065c31f2c691
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html