[Cake] [RFC PATCH 1/5] Update to the actual net-next
Stephen Hemminger
stephen at networkplumber.org
Fri Nov 17 16:26:54 EST 2017
On Fri, 17 Nov 2017 13:19:24 -0800
Dave Taht <dave.taht at gmail.com> wrote:
> ---
> include/uapi/linux/pkt_sched.h | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h
> index 6a2c5ea..af3cc2f 100644
> --- a/include/uapi/linux/pkt_sched.h
> +++ b/include/uapi/linux/pkt_sched.h
> @@ -537,6 +537,9 @@ enum {
> TCA_NETEM_ECN,
> TCA_NETEM_RATE64,
> TCA_NETEM_PAD,
> + TCA_NETEM_LATENCY64,
> + TCA_NETEM_JITTER64,
> + TCA_NETEM_SLOT,
> __TCA_NETEM_MAX,
> };
>
> @@ -574,6 +577,13 @@ struct tc_netem_rate {
> __s32 cell_overhead;
> };
>
> +struct tc_netem_slot {
> + __s64 min_delay; /* nsec */
> + __s64 max_delay;
> + __s32 max_packets;
> + __s32 max_bytes;
> +};
> +
> enum {
> NETEM_LOSS_UNSPEC,
> NETEM_LOSS_GI, /* General Intuitive - 4 state model */
That is already in upstream
More information about the Cake
mailing list