On 9/13/2017 6:18 AM, Jiri Pirko wrote: > Wed, Sep 13, 2017 at 11:59:24AM CEST, amritha.namb...@intel.com wrote: >> Adds optional traffic class parameter to the mirror/redirect action. >> The mirror/redirect action is extended to forward to a traffic >> class on the device if the traffic class index is provided in >> addition to the device's ifindex. > > Do I understand it correctly that you just abuse mirred to pas tcclass > index down to the driver, without actually doing anything with the value > inside mirred-code ? That is a bit confusing for me. >
I think I get your point, I was looking at it more from a hardware angle, and the 'redirect' action looked quite close to how this actually works in the hardware. I agree the tclass value in the mirred-code is not very useful other than offloading it.