On Tue, 2017-06-27 at 12:37 -0500, Robert McCabe wrote: > Yeah, sorry didn't even think about that. > I guess my first question would be is there another way via the > iproute2 project where a user could > configure the stab->data pkt size translation table used in the > __qdisc_calculate_pkt_len method > in the kernel source (net/sched/sched_api.c)? > > Also, let's say I went ahead and made the added TC_LINK_LAYER_CUSTOM > to the include/uapi/linux/pkt_sched.h > file in the kernel source ... would I also need to make the same > change in include/uapi/linux/pkt_sched.h in > the iproute2 source? > > Do you recommend an alternative (more elegant) approach to what I'm > trying to accomplish?
Note that since you probably want to be able to dump the table (tc -s -d qdisc show ), you might need a kernel change anyway. Then the iproute2 change would be a companion.