[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1498586155.736.138.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Tue, 27 Jun 2017 10:55:55 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Robert McCabe <robert.mccabe@...kwellcollins.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] tc: custom qdisc pkt size translation table
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.
Powered by blists - more mailing lists