commit | 57d316ba2017d824ed0fd95fc98b020c834023a1 | [log] [tgz] |
---|---|---|
author | Nogah Frankel <nogahf@mellanox.com> | Thu Jul 21 12:03:09 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 24 23:11:58 2016 -0700 |
tree | 2256a8bd7035cec8669b15694235c023cf99df76 | |
parent | bfe9b9d2df669a57a95d641ed46eb018e204c6ce [diff] |
mlxsw: pci: Add resources query implementation. Add resources query implementation. If exists, query the HW for its builtin resources instead of having them as consts in the code. Signed-off-by: Nogah Frankel <nogahf@mellanox.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>