Jonathan Morton <chromati...@gmail.com> writes: >> On 30 Mar, 2018, at 11:05 am, Pete Heist <p...@eventide.io> wrote: >> >> So this mapping from member (subscriber) to their MACs or IPs would need to >> be configurable somewhere > > Yes, I assumed something like that would be required to assign the > correct tier of service (or BRAS rate) to each subscriber, and that's > what makes it ISP-focused rather than end-user focused. > > In Linux it appears to be possible to assign a flow mark (ie. a > number) to packets using firewall rules or qdisc filters, and the > subscriber ID and tier ID could probably be encoded into that. It > would then only be necessary to inform the qdisc of this encoding (how > many bits for each portion) and to define the tiers.
Even better, you can do arbitrary programmable matching these days, using tc-bpf(8). Theoretically FQ-CoDel supports this in place of the built-in flow hashing; but I have never managed to get it configured correctly (haven't tried that hard, though). -Toke _______________________________________________ Cake mailing list Cake@lists.bufferbloat.net https://lists.bufferbloat.net/listinfo/cake