NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/40605 CVS commit: src/sys/dev/ic

The following reply was made to PR kern/40605; it has been noted by GNATS.

From: Izumi Tsutsui <>
Subject: PR/40605 CVS commit: src/sys/dev/ic
Date: Sun, 31 May 2009 05:10:47 +0000

 Module Name:   src
 Committed By:  tsutsui
 Date:          Sun May 31 05:10:47 UTC 2009
 Modified Files:
        src/sys/dev/ic: rtl8169.c
 Log Message:
 Two fixes for RX hwcsum on DESCV2 chips:
  * On checking TCPv4/UDPv4 RX checksum on DESCV2 chips, also check
    RE_RDESC_VLANCTL_IPV4 bit because those DESCV2 chips may also recognize
    IPv6 packets and set RE_PROTOID_TCPIP or RE_PROTOID_UDPIP bits for
    TCPv6/UDPv6 packets.  This may fix PR kern/40605.
  * According to Realtek's Linux driver, DESCV2 chips don't set RE_PROTOID_IP
    for non-TCP/UDP IP packets (set only RE_RDESC_VLANCTL_IPV[46]) so
    remove PROTOID check for IPv4 RX cheksum on DESCV2 chips.
 To generate a diff of this commit:
 cvs rdiff -u -r1.120 -r1.121 src/sys/dev/ic/rtl8169.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index