net/softnic: add TM hierarchy related ops