On 17-01-16 04:51 AM, Jiri Pirko wrote:
Mon, Jan 16, 2017 at 08:54:18AM CET, pa...@mellanox.com wrote:
I think we should do it in a generic way, for every classifier, right away. Same as Jamal is doing for actions. I think that first we should get Jamal's patch merged and then do the same for classifiers.
Should be "trivial" like my patch. Add a new TLV type in TCA_XXX enum in rtnetlink.h in tc_ctl_tfilter look for it and memcpy it in tcf_fill_node set it on the new TCA_XXX if the cls struct has it present. Look at my patch (1 of 2) which I just reposted. cheers, jamal