]> git.proxmox.com Git - mirror_iproute2.git/commit - tc/q_tbf.c
tbf: support sending burst/mtu to kernel directly
authorYang Yingliang <yangyingliang@huawei.com>
Thu, 16 Jan 2014 03:09:13 +0000 (11:09 +0800)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 20 Jan 2014 20:32:14 +0000 (12:32 -0800)
commita01de0a336d96b74810f0e544a40983012aaee81
tree57dd6964a775d87cbca119ea014bc813565724e7
parent58c69b226fb3adff1644914654d4fad99c2ee463
tbf: support sending burst/mtu to kernel directly

To avoid loss when transforming burst to buffer in userspace, send
burst/mtu to kernel directly.

Kernel commit 2e04ad424b("sch_tbf: add TBF_BURST/TBF_PBURST attribute")
make it can handle burst/mtu.

Cc: Eric Dumazet <edumazet@google.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
tc/q_tbf.c