* [Cake] Removing kmod-sched-cake package from openwrt
@ 2018-07-19 15:53 Kevin Darbyshire-Bryant
2018-07-19 16:06 ` Jonathan Morton
2018-07-19 16:08 ` Toke Høiland-Jørgensen
0 siblings, 2 replies; 4+ messages in thread
From: Kevin Darbyshire-Bryant @ 2018-07-19 15:53 UTC (permalink / raw)
To: Cake List
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
Hiya Chaps,
Bet that subject woke you up!
This is one for the back burner but I’d like to do it at some point, mainly ‘cos my name is in the maintainer field :-)
Ideally I’d like to introduce cake as a kernel patch backport to openwrt instead of as an additional module. I’ve started out but my biggest stumbling block is over the conditional conntrack stuff we added to netfilter. The mechanism (of course) has completely changed between v4.18 and anything earlier and I’m quite frankly lost!
Any assistance or clue on doing this pre v4.18 would be appreciated. I’m ok slogging through the ifdef kernel version stuff and changing/re-introducing for the backport… but the conditional conntrack has me beaten.
Cheers,
Kevin D-B
012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cake] Removing kmod-sched-cake package from openwrt
2018-07-19 15:53 [Cake] Removing kmod-sched-cake package from openwrt Kevin Darbyshire-Bryant
@ 2018-07-19 16:06 ` Jonathan Morton
2018-07-19 16:08 ` Toke Høiland-Jørgensen
1 sibling, 0 replies; 4+ messages in thread
From: Jonathan Morton @ 2018-07-19 16:06 UTC (permalink / raw)
To: Kevin Darbyshire-Bryant; +Cc: Cake List
> On 19 Jul, 2018, at 6:53 pm, Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> wrote:
>
> …the conditional conntrack has me beaten.
Given the focus of OpenWRT, it might be sane to just unconditionally depend on conntrack in the backported version.
- Jonathan Morton
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cake] Removing kmod-sched-cake package from openwrt
2018-07-19 15:53 [Cake] Removing kmod-sched-cake package from openwrt Kevin Darbyshire-Bryant
2018-07-19 16:06 ` Jonathan Morton
@ 2018-07-19 16:08 ` Toke Høiland-Jørgensen
2018-07-20 9:45 ` Kevin Darbyshire-Bryant
1 sibling, 1 reply; 4+ messages in thread
From: Toke Høiland-Jørgensen @ 2018-07-19 16:08 UTC (permalink / raw)
To: Kevin Darbyshire-Bryant, Cake List
Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> writes:
> Hiya Chaps,
>
> Bet that subject woke you up!
>
> This is one for the back burner but I’d like to do it at some point,
> mainly ‘cos my name is in the maintainer field :-)
>
> Ideally I’d like to introduce cake as a kernel patch backport to
> openwrt instead of as an additional module. I’ve started out but my
> biggest stumbling block is over the conditional conntrack stuff we
> added to netfilter. The mechanism (of course) has completely changed
> between v4.18 and anything earlier and I’m quite frankly lost!
>
> Any assistance or clue on doing this pre v4.18 would be appreciated.
> I’m ok slogging through the ifdef kernel version stuff and
> changing/re-introducing for the backport… but the conditional
> conntrack has me beaten.
Yeah, considered doing a backport patch to the kernel in openwrt. But I
concluded it was not worth the trouble, since we already have a working
module from the main repo.
If you do want to go the kernel patch route, it's a matter of figuring
out which patches you'll need to add to the backport series. Basically,
figure out which parts of the patch doesn't work, run git blame on the
file it is being applied to, and find the previous patch that changes
the context. Add that to you stack of backported patches, and rinse and
repeat until your series applies.
Your call whether that is less work that keeping your name on the
maintainer list until Openwrt naturally progresses past kernel 4.19 :)
-Toke
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Cake] Removing kmod-sched-cake package from openwrt
2018-07-19 16:08 ` Toke Høiland-Jørgensen
@ 2018-07-20 9:45 ` Kevin Darbyshire-Bryant
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Darbyshire-Bryant @ 2018-07-20 9:45 UTC (permalink / raw)
To: Toke Høiland-Jørgensen; +Cc: Cake List
[-- Attachment #1: Type: text/plain, Size: 1833 bytes --]
> On 19 Jul 2018, at 17:08, Toke Høiland-Jørgensen <toke@toke.dk> wrote:
>
> Yeah, considered doing a backport patch to the kernel in openwrt. But I
> concluded it was not worth the trouble, since we already have a working
> module from the main repo.
I’m coming to a similar conclusion. The motivation came from the recent experience of trying to bump cake on openwrt 17.01.5 where I forgot about and fell into the trap that kernel/kmod packages stay at the tagged released version…even if the kmod package is bumped, but the userspace utilities assume backwards compatibility even if bumped and get rebuilt on a frequent basis. Of course our recent upstreaming cake efforts led to a number of ABI ‘tweaks’, which now should I hope basically stop…. or change in backward compatible way.
>
> If you do want to go the kernel patch route, it's a matter of figuring
> out which patches you'll need to add to the backport series. Basically,
> figure out which parts of the patch doesn't work, run git blame on the
> file it is being applied to, and find the previous patch that changes
> the context. Add that to you stack of backported patches, and rinse and
> repeat until your series applies.
It looks to me that there are quite a few large changes in this area so have run away for the moment :-)
Curiously the openwrt kernel is built without builtin conntrack support, it being added as a module.. I think.
>
> Your call whether that is less work that keeping your name on the
> maintainer list until Openwrt naturally progresses past kernel 4.19 :)
It’s not really an issue per se, but ‘one less package’ has an attraction. As you say, the problem is self limiting given time.
>
> -Toke
Cheers,
Kevin D-B
012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-07-20 9:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 15:53 [Cake] Removing kmod-sched-cake package from openwrt Kevin Darbyshire-Bryant
2018-07-19 16:06 ` Jonathan Morton
2018-07-19 16:08 ` Toke Høiland-Jørgensen
2018-07-20 9:45 ` Kevin Darbyshire-Bryant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox