Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 May 2021 12:15:28 -0400
From:      Randall Stewart <rrs@netflix.com>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        Michael Tuexen <michael.tuexen@macmic.franken.de>, Li-Wen Hsu <lwhsu@freebsd.org>, Randall Ray Stewart <rrs@freebsd.org>, src-committers <src-committers@freebsd.org>, "<dev-commits-src-all@freebsd.org>" <dev-commits-src-all@freebsd.org>, dev-commits-src-main@freebsd.org
Subject:   Re: git: 5d8fd932e418 - main - This brings into sync FreeBSD with the netflix versions of rack and bbr. This fixes several breakages (panics) since the tcp_lro code was committed that have been reported. Quite a few new features are now in rack (prefecting of DGP -- Dynamic Goodput Pacing among the largest). There is also support for ack-war prevention. Documents comming soon on rack..
Message-ID:  <A574AA73-D529-4813-AB63-DA8097464CCD@netflix.com>
In-Reply-To: <CANCZdfqh5fUwVu%2BLT7=Q-ip4_VuTQW%2BZiZbtXFQpMyan4ZW8Rw@mail.gmail.com>
References:  <202105061526.146FQS0E008755@gitrepo.freebsd.org> <CAKBkRUy-5MCGEOYRHGk%2BtC3FKjgXmhKg5ppvn1x9eFtbcK1=VQ@mail.gmail.com> <D6646C1F-0DD2-44E6-AF77-BD04D027C556@macmic.franken.de> <CANCZdfqh5fUwVu%2BLT7=Q-ip4_VuTQW%2BZiZbtXFQpMyan4ZW8Rw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Yep

We either need to change it and add ifdefs… or
make it a requirement like TCP_HTPS

Let me go look at what makes sense

R

> On May 7, 2021, at 12:11 PM, Warner Losh <imp@bsdimp.com> wrote:
> 
> 
> 
> On Fri, May 7, 2021 at 5:10 AM Michael Tuexen <michael.tuexen@macmic.franken.de> wrote:
> > On 7. May 2021, at 11:39, Li-Wen Hsu <lwhsu@freebsd.org> wrote:
> > 
> > On Thu, May 6, 2021 at 11:26 PM Randall Stewart <rrs@freebsd.org> wrote:
> >> 
> >> The branch main has been updated by rrs:
> >> 
> >> URL: https://cgit.FreeBSD.org/src/commit/?id=5d8fd932e418f03e98b3469c4088a36f0ef34ffe
> >> 
> >> commit 5d8fd932e418f03e98b3469c4088a36f0ef34ffe
> >> Author:     Randall Stewart <rrs@FreeBSD.org>
> >> AuthorDate: 2021-05-06 15:22:26 +0000
> >> Commit:     Randall Stewart <rrs@FreeBSD.org>
> >> CommitDate: 2021-05-06 15:22:26 +0000
> >> 
> >>    This brings into sync FreeBSD with the netflix versions of rack and bbr.
> >>    This fixes several breakages (panics) since the tcp_lro code was
> >>    committed that have been reported. Quite a few new features are
> >>    now in rack (prefecting of DGP -- Dynamic Goodput Pacing among the
> >>    largest). There is also support for ack-war prevention. Documents
> >>    comming soon on rack..
> >> 
> >>    Sponsored by:           Netflix
> >>    Reviewed by:            rscheff, mtuexen
> >>    Differential Revision:  https://reviews.freebsd.org/D30036
> > 
> > This seems braking LINT kernel build of powerpc:
> > 
> > https://ci.freebsd.org/job/FreeBSD-main-powerpc-LINT/6082/console
> > 
> > Searching "error:" leads to:
> > 
> > 00:08:15.153 /workspace/src/sys/modules/tcp/rack/../../../netinet/tcp_stacks/rack.c:2143:16:
> > error: implicit declaration of function 'tcp_hw_highest_rate' is
> > invalid in C99 [-Werror,-Wimplicit-function-declaration]
> > 00:08:15.153                         high_rate =
> > tcp_hw_highest_rate(rack->r_ctl.crte);
> > 00:08:15.153                                     ^
> > 
> > and
> > 
> > 00:08:15.163 /workspace/src/sys/modules/tcp/rack/../../../netinet/tcp_stacks/rack.c:2165:16:
> > error: implicit declaration of function 'tcp_hw_highest_rate_ifp' is
> > invalid in C99 [-Werror,-Wimplicit-function-declaration]
> > 00:08:15.163                         high_rate =
> > tcp_hw_highest_rate_ifp(rack->rc_inp->inp_route.ro_nh->nh_ifp,
> > rack->rc_inp);
> > 00:08:15.163                                     ^
> > 
> > I suspect this is because RATELIMIT is not defined in default powerpc
> > build? Is it safe to enable it?
> If you are building TCP stacks, you need RATELIMIT. You can enable it. It is enabled on
> other platforms, too.
> 
> Yea. If we can't enable it on powerpc, I have some ideas on how to keep these modules
> from building when RATELIMIT isn't enabled.
> 
> Warner 

------
Randall Stewart
rrs@netflix.com




[-- Attachment #2 --]
0	*H
010
	`He0	*H
6020
s&0
	*H
0G10URandall Stewart10	*H
	rrs@netflix.com10	UUS0
210124122014Z
260124122014Z0G10URandall Stewart10	*H
	rrs@netflix.com10	UUS0"0
	*H
0
ݧEc}=ӷy}|V(Qb5r/5Zľ4(N淪@W;{U;b2A`b6x:AH,%vgAg6rH!\>Dp	V@{)&r)>#bmK:qkӷަf
%ÐN-nS>;T_“a&t~f<sd?pɋPT63LEC 00	*H/
0U0
	*H
r_mcb3Oj0{V[%4S-?
g_M8=ڸ@	ұLS@I9o¦Ep/htҺ,ng*1wH}`QC,y3Cf!
dh}9<c8;8˰3d
V3bAVhҙvcɻtQoYܗ.{	"o*jjH100U0G10URandall Stewart10	*H
	rrs@netflix.com10	UUS
s&0
	`Hei0	*H
	1	*H
0	*H
	1
210507161528Z0/	*H
	1" 1@J7_8Pa|;	<y0
	*H
?0RՁFAl3wے(Y27
c֎AkYHb5kdh`:Itw=8T?
=P9ѧҋğx!*m4-E6ǒeOl=30Ǎ<1IҒ'_Ma]m,>mQN5YT	+"OAs>&TXYI弻I^"ZH~r%V`=O7Aj[=!
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A574AA73-D529-4813-AB63-DA8097464CCD>