mbox series

[v3,net-next,0/3] netem: add nsec scheduling and slot feature

Message ID 1510182748-10991-1-git-send-email-dave.taht@gmail.com
Headers show
Series netem: add nsec scheduling and slot feature | expand

Message

Dave Taht Nov. 8, 2017, 11:12 p.m. UTC
This patch series converts netem away from the old "ticks" interface and
userspace API, and adds support for a new "slot" feature intended to
emulate bursty macs such as WiFi and LTE better.

Changes since v2:
Use u64 for packet_len_sched_time()
Use simpler max(time_to_send,q->slot.slot_next)

Changes since v1:
Always pass new nanosecond APIs to userspace

Dave Taht (3):
  netem: convert to qdisc_watchdog_schedule_ns
  netem: add uapi to express delay and jitter in nanoseconds
  netem: support delivering packets in delayed time slots

 include/uapi/linux/pkt_sched.h |  10 +++
 net/sched/sch_netem.c          | 140 ++++++++++++++++++++++++++++++++---------
 2 files changed, 121 insertions(+), 29 deletions(-)

Comments

David Miller Nov. 13, 2017, 1:16 a.m. UTC | #1
From: Dave Taht <dave.taht@gmail.com>
Date: Wed,  8 Nov 2017 15:12:25 -0800

> This patch series converts netem away from the old "ticks" interface and
> userspace API, and adds support for a new "slot" feature intended to
> emulate bursty macs such as WiFi and LTE better.
> 
> Changes since v2:
> Use u64 for packet_len_sched_time()
> Use simpler max(time_to_send,q->slot.slot_next)
> 
> Changes since v1:
> Always pass new nanosecond APIs to userspace

Series applied, thanks!