]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mlxsw: resources: Add maximum buffer size
authorIdo Schimmel <idosch@mellanox.com>
Mon, 28 Nov 2016 17:01:23 +0000 (18:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Nov 2016 01:48:51 +0000 (20:48 -0500)
commitf414b48e92d2b91654e31b96c9cf387eed1ed54f
tree436223f8c91690a9ba1d73198139cbec2bcb08cc
parent67ea7ef19bddaf75c842f56181deba89e4ea62a2
mlxsw: resources: Add maximum buffer size

We need to be able to limit the size of shared buffer pools, so query
the maximum size from the device during init.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/resources.h