diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2015-06-15 14:58:58 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-16 00:23:01 (GMT) |
commit | 47d8417f5914012c794684f651213ffae1b91619 (patch) | |
tree | 7be5039f8dcfde0e3efe72e3b967316c7d5f9a58 /drivers/pinctrl/pinctrl-tz1090-pdc.c | |
parent | b72ca7e96acf7320c53c5d64d4518be1cf6d4ef3 (diff) | |
download | linux-47d8417f5914012c794684f651213ffae1b91619.tar.xz |
net/mlx4_core: Add sink counter
Reserve the last valid counter index for "sink" counter, when a
new counter cannot be allocated, the driver will use this counter.
In order to avoid allocating this counter on any other flow, fix the
indices bitmap allocation range, and reserve the sink counter index.
Add macro for the sink counter index and replace all appearences of the
index with the macro.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Hadar Hen Zion <hadarh@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pinctrl/pinctrl-tz1090-pdc.c')
0 files changed, 0 insertions, 0 deletions