diff options
author | Rabie Loulou <rabiel@mellanox.com> | 2017-07-09 12:39:30 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-08-07 09:47:07 +0200 |
commit | a8ffcc741acb3c7f3dcf4c7d001209aa0995a5f1 (patch) | |
tree | ce5a8dd3f38c0a4d87225457ade39e2eeccb7f97 /drivers/isdn | |
parent | net/mlx5: Fix counter list hardware structure (diff) | |
download | linux-a8ffcc741acb3c7f3dcf4c7d001209aa0995a5f1.tar.xz linux-a8ffcc741acb3c7f3dcf4c7d001209aa0995a5f1.zip |
net/mlx5: Increase the maximum flow counters supported
Read new NIC capability field which represnts 16 MSBs of the max flow
counters number supported (max_flow_counter_31_16).
Backward compatibility with older firmware is preserved, the modified
driver reads max_flow_counter_31_16 as 0 from the older firmware and
uses up to 64K counters.
Changed flow counter id from 16 bits to 32 bits. Backward compatibility
with older firmware is preserved as we kept the 16 LSBs of the counter
id in place and added 16 MSBs from reserved field.
Changed the background bulk reading of flow counters to work in chunks
of at most 32K counters, to make sure we don't attempt to allocate very
large buffers.
Signed-off-by: Rabie Loulou <rabiel@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions