> I suppose that you could somehow use TC to influence how the traffic > from host to CPU works, but without a "CPU" port representor the > question is how do we get that done? If we used "eth0" we need to > callback into the switch driver for programming..
We need to compare how the different switches work with respect to QoS. Marvell switches do a lot of the classification on the ingress port where it determines what queue the frame should be placed in on the egress port. The egress port then schedules its queues. This does not map to TC too well. > Regarding the last patch in this series, what I would ideally to replace > it with is something along the lines of: > > tc bind dev sw0p0 queue 0 dev eth0 queue 16 Why do you need this? sw0p0 has 8 queues? So i assume you use TC on sw0p0 to place frames into these queues? The queue then gets passed transparently down through the conduit interface and then used by the tagger. I don't see why you need eth0 here? We try our best to avoid eth0 wherever possible, it causes confusion. So i would prefer not to have to use eth0 with TC commands. Andrew