commit | e0c0afd8aa4e2f0ecfb7f6d9c4c7f87e07d54132 | [log] [tgz] |
---|---|---|
author | Arkadi Sharshevsky <arkadis@mellanox.com> | Tue Mar 28 17:24:15 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue Mar 28 17:11:55 2017 -0700 |
tree | c29c31e69379b31d6535b48413ae40b9ce7bfbee | |
parent | ba73e97a6376c2e0522ff372f2555388deab8ce6 [diff] |
mlxsw: spectrum: Support for counters on router interfaces Add support for counter allocation on router interfaces. The allocation depends on the counter state of relevant table. In case the counting is disabled or no counters left the counter index will be set as invalid. Also a counter pool for router allocation is added. Signed-off-by: Arakdi Sharshevsky <arkadis@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>