diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2013-12-20 05:24:47 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-26 22:54:22 +0400 |
commit | 2e04ad424b03661ec8239acd52146497eb33be1c (patch) | |
tree | ddc00646275400d740323a8753a02b7177e0d544 /fs/eventfd.c | |
parent | 4e2d52bfb2e954902b844a300fdba53d5ebb0905 (diff) | |
download | linux-2e04ad424b03661ec8239acd52146497eb33be1c.tar.xz |
sch_tbf: add TBF_BURST/TBF_PBURST attribute
When we set burst to 1514 with low rate in userspace,
the kernel get a value of burst that less than 1514,
which doesn't work.
Because it may make some loss when transform burst
to buffer in userspace. This makes burst lose some
bytes, when the kernel transform the buffer back to
burst.
This patch adds two new attributes to support sending
burst/mtu to kernel directly to avoid the loss.
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/eventfd.c')
0 files changed, 0 insertions, 0 deletions