svn commit: r293719 - head/sys/dev/hyperv/netvsc

Sepherosa Ziehau sephe at freebsd.org
Wed Jan 13 12:31:57 UTC 2016


OH, sure, sorry about that, I will do it now.

On Wed, Jan 13, 2016 at 6:49 PM, Bjoern A. Zeeb <bz at freebsd.org> wrote:
> On Tue, 12 Jan 2016, Sepherosa Ziehau wrote:
>
>> Author: sephe
>> Date: Tue Jan 12 01:30:51 2016
>> New Revision: 293719
>> URL: https://svnweb.freebsd.org/changeset/base/293719
>>
>> Log:
>>  hyperv/hn: Implement LRO
>>
>>  - Implement the LRO using tcp_lro APIs, and LRO is enabled by default.
>
>
> Which are only available if INET or INET6 are compiled into the kernel.
> Unfortunately this breaks kernel builds that do not include IPv4 or IPv6
> support.
>
> Can you please put appropriate #if defined(INET6) || defined(INET)  in
> place?
>
>
>
>>  Differential Revision: https://reviews.freebsd.org/D4824
>>
>> Modified:
>>  head/sys/dev/hyperv/netvsc/hv_net_vsc.c
>>  head/sys/dev/hyperv/netvsc/hv_net_vsc.h
>>  head/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c
>
>
> hv_netvsc_drv_freebsd.o: In function `netvsc_recv':
> /scratch/tmp/bz/head.svn/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:(.text+0x483):
> undefined reference to `tcp_lro_rx'
> hv_netvsc_drv_freebsd.o: In function `netvsc_recv_rollup':
> /scratch/tmp/bz/head.svn/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:(.text+0x5ce):
> undefined reference to `tcp_lro_flush'
> hv_netvsc_drv_freebsd.o: In function `netvsc_attach':
> /scratch/tmp/bz/head.svn/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:(.text+0x901):
> undefined reference to `tcp_lro_init'
> hv_netvsc_drv_freebsd.o: In function `netvsc_detach':
> /scratch/tmp/bz/head.svn/sys/dev/hyperv/netvsc/hv_netvsc_drv_freebsd.c:(.text+0xca8):
> undefined reference to `tcp_lro_free'
> --- kernel ---
> *** [kernel] Error code 1
> bmake: stopped in /storage/head/obj/scratch/tmp/bz/head.svn/sys/LINT-NOIP
>
>
>>  head/sys/dev/hyperv/netvsc/hv_rndis.h
>>  head/sys/dev/hyperv/netvsc/hv_rndis_filter.c
>>  head/sys/dev/hyperv/netvsc/hv_rndis_filter.h



-- 
Tomorrow Will Never Die


More information about the svn-src-head mailing list