Hi, I am new to the tc subsystem and trying to understand tc rule priorities for hardware offloading. I can see that the tc flower classifier rules are added with a default priority value of 49152 (low priority) and then the priority is increased for subsequent rules. When offloading tc flower rules to HW that supports minimal flow entries (for example: 128), it will be difficult to maintain the priorities in the same way tc subsystem expects because there is no one-to-one mapping between SW and HW.
Is it possible for the NIC driver to modify the default behaviour of the tc subsystem by using the priority value range specified by the NIC driver to fit the number of HW entries supported such that one-to-one mapping can be maintained between tc subsystem priorities and HW entries? Thanks, Naveen