DragonFly commits List (threaded) for 2008-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/dev/netif/re if_re.c if_rereg.h if_revar.h
sephe 2008/10/16 05:29:13 PDT
DragonFly src repository
Modified files:
sys/dev/netif/re if_re.c if_rereg.h if_revar.h
Log:
Add hardware csum offload support for MAC style 2 chips, which include
8102E, 8102EL, 8168C, 8168CP and 8168D.
Obtained-from: RealTek r8101-1.009.00 r8168-8.008.00
Add RE_C_AUTOPAD capability to indicate hardware could correctly pad
short ether frames. Turn it on for newer version of 8168B (0x38000000
and 0xb8000000) and MAC style 2 chips; manually padding short UDP packets
for newer version 8168B will result in incorrect UDP csum, while manually
padding short ICMP packets for MAC style 2 chips will result in both
incorrect IP header csum and incorrect IP length (o_O)
Revision Changes Path
1.83 +103 -51 src/sys/dev/netif/re/if_re.c
1.23 +11 -6 src/sys/dev/netif/re/if_rereg.h
1.25 +1 -0 src/sys/dev/netif/re/if_revar.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.82&r2=1.83&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_rereg.h.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_revar.h.diff?r1=1.24&r2=1.25&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]