Re: [Cake] act_conndscp

2019-04-01 Thread Ryan Mounce
On Tue, 2 Apr 2019 at 00:37, Kevin Darbyshire-Bryant wrote: > > > > > On 23 Mar 2019, at 18:35, Kevin Darbyshire-Bryant > > wrote: > > > > > > > >> On 22 Mar 2019, at 21:24, Kevin Darbyshire-Bryant > >> wrote: > >> > >> It looks like act_conndscp has been shot down by the kernel people, at >

Re: [Cake] act_conndscp

2019-04-01 Thread Kevin Darbyshire-Bryant
> On 23 Mar 2019, at 18:35, Kevin Darbyshire-Bryant > wrote: > > > >> On 22 Mar 2019, at 21:24, Kevin Darbyshire-Bryant >> wrote: >> >> It looks like act_conndscp has been shot down by the kernel people, at least >> in its current form. Setting a conntrack mark from tc is regarded as

Re: [Cake] act_conndscp

2019-03-23 Thread Kevin Darbyshire-Bryant
> On 22 Mar 2019, at 21:24, Kevin Darbyshire-Bryant > wrote: > > It looks like act_conndscp has been shot down by the kernel people, at least > in its current form. Setting a conntrack mark from tc is regarded as “not > sure if it is a good idea”. The other way (conntrack to skb) is fine.

Re: [Cake] act_conndscp

2019-03-22 Thread Kevin Darbyshire-Bryant
It looks like act_conndscp has been shot down by the kernel people, at least in its current form. Setting a conntrack mark from tc is regarded as “not sure if it is a good idea”. The other way (conntrack to skb) is fine. That’s sort of good news in that ingress is the hard bit as it’s

Re: [Cake] act_conndscp

2019-03-20 Thread Kevin Darbyshire-Bryant
> On 20 Mar 2019, at 09:54, Sebastian Moeller wrote: > > Hi Kevin, > > thanks for the information! > >> On Mar 20, 2019, at 10:01, Kevin Darbyshire-Bryant >> wrote: >> >> >> >>> On 20 Mar 2019, at 08:38, Sebastian Moeller wrote: >>> >>> Hi Kevin, >>> >>> Impressive! I had a look at

Re: [Cake] act_conndscp

2019-03-20 Thread Sebastian Moeller
Hi Kevin, thanks for the information! > On Mar 20, 2019, at 10:01, Kevin Darbyshire-Bryant > wrote: > > > >> On 20 Mar 2019, at 08:38, Sebastian Moeller wrote: >> >> Hi Kevin, >> >> Impressive! I had a look at your_layer_cake.qos, and with half the brain at >> my disposal currently, I

Re: [Cake] act_conndscp

2019-03-20 Thread Kevin Darbyshire-Bryant
And another - sorry! - some stats/info overlimits counts the number of packets that have had their DSCP overwritten/restored/set requeues counts the number of times the ’statemask’ bit has been SET. root@Router:~# tc -s filter show dev eth0 filter parent cacf: protocol all pref 10 u32 chain 0

Re: [Cake] act_conndscp

2019-03-20 Thread Kevin Darbyshire-Bryant
Addendum: If not obvious. There are two separate instances of ‘conndscp’, one on the egress path (in ‘both’ mode) and one on the ingress path (in ’set’ mode) Cheers, Kevin D-B gpg: 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A ___ Cake mailing

Re: [Cake] act_conndscp

2019-03-20 Thread Kevin Darbyshire-Bryant
> On 20 Mar 2019, at 08:38, Sebastian Moeller wrote: > > Hi Kevin, > > Impressive! I had a look at your_layer_cake.qos, and with half the brain at > my disposal currently, I am confused. I had thought the idea is to set dscp > marks on internal hosts or the LAN interface ofva router and

Re: [Cake] act_conndscp

2019-03-20 Thread Sebastian Moeller
Hi Kevin, Impressive! I had a look at your_layer_cake.qos, and with half the brain at my disposal currently, I am confused. I had thought the idea is to set dscp marks on internal hosts or the LAN interface ofva router and copy those to incoming packets of the same flow, but you seem to set

Re: [Cake] act_conndscp

2019-03-20 Thread Kevin Darbyshire-Bryant
> On 20 Mar 2019, at 03:31, Ryan Mounce wrote: > > On Wed, 20 Mar 2019 at 07:57, Kevin Darbyshire-Bryant > wrote: >> >> >> >>> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: >>> >>> Hi Kevin, >>> >>> I've finally applied your patches, compiled, and flashed on my router. >>> Could you

Re: [Cake] act_conndscp

2019-03-19 Thread Ryan Mounce
On Wed, 20 Mar 2019 at 07:57, Kevin Darbyshire-Bryant wrote: > > > > > On 19 Mar 2019, at 21:24, Ryan Mounce wrote: > > > > Hi Kevin, > > > > I've finally applied your patches, compiled, and flashed on my router. > > Could you share your tc filter action for conndscp to get me started? > > Ahh!

Re: [Cake] act_conndscp

2019-03-19 Thread Toke Høiland-Jørgensen
Kevin Darbyshire-Bryant writes: >> On 19 Mar 2019, at 21:41, Toke Høiland-Jørgensen wrote: >> >> Kevin Darbyshire-Bryant writes: >> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: Hi Kevin, I've finally applied your patches, compiled, and flashed on my router.

Re: [Cake] act_conndscp

2019-03-19 Thread Kevin Darbyshire-Bryant
> On 19 Mar 2019, at 21:41, Toke Høiland-Jørgensen wrote: > > Kevin Darbyshire-Bryant writes: > >>> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: >>> >>> Hi Kevin, >>> >>> I've finally applied your patches, compiled, and flashed on my router. >>> Could you share your tc filter action for

Re: [Cake] act_conndscp

2019-03-19 Thread Toke Høiland-Jørgensen
Kevin Darbyshire-Bryant writes: >> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: >> >> Hi Kevin, >> >> I've finally applied your patches, compiled, and flashed on my router. >> Could you share your tc filter action for conndscp to get me started? > > Ahh! Ooops yes knew I forgot something -

Re: [Cake] act_conndscp

2019-03-19 Thread Kevin Darbyshire-Bryant
> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: > > Hi Kevin, > > I've finally applied your patches, compiled, and flashed on my router. > Could you share your tc filter action for conndscp to get me started? Ahh! Ooops yes knew I forgot something - here’s my hacked up

Re: [Cake] act_conndscp

2019-03-19 Thread Ryan Mounce
Hi Kevin, I've finally applied your patches, compiled, and flashed on my router. Could you share your tc filter action for conndscp to get me started? -Ryan On Wed, 20 Mar 2019 at 06:39, Kevin Darbyshire-Bryant wrote: > > I’m not looking forward to the response/s from upstream but we shall see

[Cake] act_conndscp

2019-03-19 Thread Kevin Darbyshire-Bryant
I’m not looking forward to the response/s from upstream but we shall see :-) Here are the patches for a new tc action conndscp - both the kernel module and tc’s control of it. Cheers, Kevin D-B gpg: 012C ACB2 28C6 C53E 9775 9123 B3A2 389B 9DE2 334A