]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed
authorAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 15 May 2015 06:49:43 +0000 (06:49 +0000)
committerAndrew Rybchenko <arybchik@FreeBSD.org>
Fri, 15 May 2015 06:49:43 +0000 (06:49 +0000)
commit22bc53cb4871ef8b65e2bacc85024c163e144ba5
treefdc5d6f013728e18c39f747270afd3bc6148b585
parent3b3390c1159457f206cda40e66b847c746b71f61
sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed

It is simply not required since the kernel checks corresponding
IFCAP_TSOx capability and CSUM_TSO in hw-assisted offloads.
Note that CSUM_TSO is two bits (CSUM_IP_TSO|CSUM_IP6_TSO) and both bits
are set in IPv4 and IPv6 mbufs.

Reviewed by:    gnn
Sponsored by:   Solarflare Communications, Inc.
MFC after:      2 days
Differential Revision: https://reviews.freebsd.org/D2546
sys/dev/sfxge/sfxge.c