aboutsummaryrefslogtreecommitdiff
path: root/net/core/page_pool.c
diff options
context:
space:
mode:
authorVadim Pasternak <vadimp@mellanox.com>2019-10-06 09:34:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-06 18:31:39 +0200
commitc5cb92d59b30229e22c286651640f55621586e84 (patch)
tree69c35c15b77bb683677b892034b0da3edb5f9d55 /net/core/page_pool.c
parentea30a92a4674eab955aee7bb8a017791f0e7d002 (diff)
mlxsw: thermal: Provide optimization for QSFP modules number detection
Use new field "num_of_modules" of MGPIR register for "thermal" interface in order to get the number of modules supported by system directly from the system configuration, instead of getting it from port to module mapping info. Signed-off-by: Vadim Pasternak <vadimp@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions