devlink: implement shared buffer occupancy monitoring interface
authorJiri Pirko <jiri@mellanox.com>
Thu, 14 Apr 2016 16:19:14 +0000 (18:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Apr 2016 20:22:03 +0000 (16:22 -0400)
commitdf38dafd255954ee7012785c62e615f595d5cb3c
tree493e781aa7b44ba00a23ea6162b04c93918d0732
parentbf7974710a40aaeb69dee7f62d91048bdaf79c76
devlink: implement shared buffer occupancy monitoring interface

User needs to monitor shared buffer occupancy. For that, he issues a
snapshot command in order to instruct hardware to catch current and
maximal occupancy values, and clear command in order to clear the
historical maximal values.

Also port-pool and tc-pool-bind command response messages are extended to
carry occupancy values.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c
This page took 0.030683 seconds and 5 git commands to generate.