]> git.proxmox.com Git - mirror_iproute2.git/commit
devlink: report cell size
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 4 Feb 2019 15:28:59 +0000 (07:28 -0800)
committerDavid Ahern <dsahern@gmail.com>
Wed, 6 Feb 2019 16:46:22 +0000 (08:46 -0800)
commit9d886c66092818f51fc1ddc4030f050b390d2ce9
tree9bfbdc41d3a9943e621f0b5bcd13ce206a2400de
parent6b2d60bdfc77103baa29f4c3be8e64dd5ea57a93
devlink: report cell size

Print the value of DEVLINK_ATTR_SB_POOL_CELL_SIZE, if reported.

Example:
pci/0000:82:00.0:
  sb 1 pool 0 type egress size 40945664 thtype static cell_size 2048
  sb 2 pool 0 type egress size 258867200 thtype static cell_size 10240
...

v3: - don't double space.
v2: - fix spelling.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
devlink/devlink.c
man/man8/devlink-sb.8