On Thu, Apr 27, 2017 at 4:12 AM, Jiri Pirko <j...@resnulli.us> wrote: > From: Jiri Pirko <j...@mellanox.com> > > Currently, the filter chains are direcly put into the private structures > of qdiscs. In order to be able to have multiple chains per qdisc and to > allow filter chains sharing among qdiscs, there is a need for common > object that would hold the chains. This introduces such object and calls > it "tcf_block". >
What is filter chains sharing here? Sounds like a new feature you are trying to hide? How could it be possibly shared among qdisc's when they are still stored in a per-qdisc pointer? Look at tc actions, they can be shared because they are physically stored in a per-netns hashtable, filters can just refer them with indexes.