diff options
author | zbb <zbb@FreeBSD.org> | 2016-03-29 13:31:09 +0000 |
---|---|---|
committer | zbb <zbb@FreeBSD.org> | 2016-03-29 13:31:09 +0000 |
commit | 0c56c4836fb66323fbdf2fb55029e6b977409891 (patch) | |
tree | 7165f2fd8e8321ec4276663b566e74193808b3c9 /sys/rpc | |
parent | 8bde1a25e4ff7a05de011056c359be739ecf0406 (diff) | |
download | FreeBSD-src-0c56c4836fb66323fbdf2fb55029e6b977409891.zip FreeBSD-src-0c56c4836fb66323fbdf2fb55029e6b977409891.tar.gz |
Improve HW checksums support in VNIC
- Do not mark CSUM_IP_CHECKED and CSUM_IP_VALID on IPv6 packets.
IPv6 does not have checksums by definition.
- Set SCTP packets csum_flags CSUM_SCTP_VALID instead of
CSUM_DATA_VALID and skip csum_data
- Set csum_data simply as 0xffff without byteswap
Pointed out by: yongari
Reviewed by: yongari, wma
Obtained from: Semihalf
Sponsored by: Cavium
Differential Revision: https://reviews.freebsd.org/D5537
Diffstat (limited to 'sys/rpc')
0 files changed, 0 insertions, 0 deletions