[Cake] de-natting & host fairness

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Wed Sep 28 02:07:27 EDT 2016


Two buglets found:

in sch_cake - the atm/ptm flag options are not passed back to tc 
userspace correctly - ptm isn't sent back.

in tc/q_cake - the additional pre-set ptm+overhead options don't set 
'overhead_set' so the overhead doesn't get used.

On 28/09/16 04:06, Jonathan Morton wrote:
>
>> On 28 Sep, 2016, at 05:56, Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk> wrote:
>>
>> Does this need to be another variable/parameter or could it be the next bit along in the flow type?
>
> I’ve already pushed it to the ‘cobalt’ branch, so you can see how I’ve done it and start testing.  I’ve verified that it compiles, no more than that so far.
>
> For configuration, there is a separate flag parameter passed.  Internally, I’ve used another bit of the existing flow_mode field (but not the next one along).  The latter is also how the configuration is read back out again to tc.
>
> Overall, the patch ended up much smaller than the original.  Switch statements in C are actually quite verbose.
>
>  - Jonathan Morton
>


More information about the Cake mailing list