]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: implement shared buffer occupancy control
authorJiri Pirko <jiri@mellanox.com>
Fri, 15 Apr 2016 07:51:52 +0000 (09:51 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 19 Apr 2016 15:01:05 +0000 (08:01 -0700)
commita60ebcb6f34f4c43cba092f52b1150d7fb1deec5
treed0e114c0c0e46b03973b34c9b221b7f1f0f2e101
parentb56700bf8add4ebb2fe451c85f50602b58a886a2
devlink: implement shared buffer occupancy control

Use kernel shared buffer occupancy control commands to make snapshot and
clear occupancy watermarks. Also, allow to show occupancy values in a
nice way.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
devlink/devlink.c
include/linux/devlink.h