diff options
author | Tom Herbert <therbert@google.com> | 2011-11-28 11:33:09 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-29 12:46:19 -0500 |
commit | 114cf5802165ee93e3ab461c9c505cd94a08b800 (patch) | |
tree | 88208dddd7c1e90f5e1a840ad0ad7afcea991050 /net/Kconfig | |
parent | 927fbec13e40648d3c87cbb1daaac5b1fb9c8775 (diff) |
bql: Byte queue limits
Networking stack support for byte queue limits, uses dynamic queue
limits library. Byte queue limits are maintained per transmit queue,
and a dql structure has been added to netdev_queue structure for this
purpose.
Configuration of bql is in the tx-<n> sysfs directory for the queue
under the byte_queue_limits directory. Configuration includes:
limit_min, bql minimum limit
limit_max, bql maximum limit
hold_time, bql slack hold time
Also under the directory are:
limit, current byte limit
inflight, current number of bytes on the queue
Signed-off-by: Tom Herbert <therbert@google.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/Kconfig b/net/Kconfig index 63d2c5dc36ff..2d998735c4d8 100644 --- a/net/Kconfig +++ b/net/Kconfig | |||
@@ -239,6 +239,12 @@ config NETPRIO_CGROUP | |||
239 | Cgroup subsystem for use in assigning processes to network priorities on | 239 | Cgroup subsystem for use in assigning processes to network priorities on |
240 | a per-interface basis | 240 | a per-interface basis |
241 | 241 | ||
242 | config BQL | ||
243 | boolean | ||
244 | depends on SYSFS | ||
245 | select DQL | ||
246 | default y | ||
247 | |||
242 | config HAVE_BPF_JIT | 248 | config HAVE_BPF_JIT |
243 | bool | 249 | bool |
244 | 250 | ||