]> Git Repo - linux.git/commit - include/net/devlink.h
devlink: add shared buffer configuration
authorJiri Pirko <[email protected]>
Thu, 14 Apr 2016 16:19:13 +0000 (18:19 +0200)
committerDavid S. Miller <[email protected]>
Thu, 14 Apr 2016 20:22:03 +0000 (16:22 -0400)
commitbf7974710a40aaeb69dee7f62d91048bdaf79c76
treeadff44085782f226cbb473dae79bd04024b507b7
parentf38ba953bee01887d520f7abba536721a1d16477
devlink: add shared buffer configuration

Define userspace API and drivers API for configuration of shared
buffers. Four basic objects are defined:
shared buffer - attributes are size, number of pools and TCs
pool - chunk of sharedbuffer definition, it has some size and either
       static or dynamic threshold
port pool threshold - to set per-port threshold for each pool
port tc threshold bind - to bind port and TC to specified pool
                         with threshold.

Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/devlink.h
include/uapi/linux/devlink.h
net/core/devlink.c
This page took 0.056105 seconds and 4 git commands to generate.