diff options
author | gibbs <gibbs@FreeBSD.org> | 2011-09-21 00:15:29 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2011-09-21 00:15:29 +0000 |
commit | ae14155f37bfc8b03ea1c70a493e9fae27e8229c (patch) | |
tree | ab92610fca2e86adda2fcd74bfe741363b727df1 /lib/libc/stdlib/malloc.c | |
parent | b72e5b17b47a3015d04ab879c72d6bd8d1e48b9e (diff) | |
download | FreeBSD-src-ae14155f37bfc8b03ea1c70a493e9fae27e8229c.zip FreeBSD-src-ae14155f37bfc8b03ea1c70a493e9fae27e8229c.tar.gz |
Update netfront so that it queries and honors published
back-end features.
sys/dev/xen/netfront/netfront.c:
o Add xn_query_features() which reads the XenStore and
records the TSO, LRO, and chained ring-request support
of the backend.
o Rename xn_configure_lro() to xn_configure_features() and
use this routine to manage the setup of TSO, LRO, and
checksum offload.
o In create_netdev(), initialize if_capabilities and
if_hwassist to the capabilities found on all backends.
Delegate configuration of if_capenable and the TSO flag
if if_hwassist to xn_configure_features().
Reported by: Hugo Silva (fix inspired by patch provided)
Approved by: re
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions