(This is some notes I'm jotting down while I'm working on this, I intend to come back and clean this up later)
To match PPPoE discovery ethertype:
$TC filter add dev $DEV \ pref 10 parent $Q_ROOT: \ protocol all \ basic match "cmp(u16 at 12 layer 2 eq $ETH_P_PPPOED)" \ flowid $Q_ROOT:$C_PPPoE
tc qdisc add dev $DEV \ root handle 1: \ sfq tc filter add dev $DEV \ pref 1 parent 1:1 handle 100 \ protocol all \ flow hash keys dst divisor 1024
This will be fair across all destination IP addresses. We have a set of patches to allow this across src/dst mac addresses.
Some barely documented, but useful help commands:
No page links to TrafficControl.
lib/main.php:944: Notice: PageInfo: Cannot find action page