Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mlx5: Add support for bulk counters in the DR API over root #611

Merged
merged 2 commits into from
Nov 17, 2019

Conversation

yishaih
Copy link
Member

@yishaih yishaih commented Nov 7, 2019

Flow counters can be allocated/freed one by one, or as a consecutive range of counters - bulk.

When the counters are allocated as a bulk, each of the counters can be assigned to a separate steering action. Members of this counter range are addressed by a base counter ID and an offset.

Add the above support to work over root/kernel flows when the DR flow counters API is used.

@jgunthorpe
Copy link
Member

This needs to be rebased

yishaih and others added 2 commits November 17, 2019 10:08
To commit 208d70f562e5 ("IB/mlx5: Support flow counters offset for bulk
counters")

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Flow counters can be allocated/freed one by one, or as a consecutive
range of counters - bulk.
When the counters are allocated as a bulk, each of the counters can be
assigned to a separate steering action. Members of this counter range
are addressed by a base counter ID and an offset.

Add the above support to work over root/kernel flows when the DR flow
counters API was used.

Signed-off-by: Yevgeny Kliteynik <kliteyn@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
@yishaih
Copy link
Member Author

yishaih commented Nov 17, 2019

series was rebased.

@yishaih yishaih merged commit 20c588f into linux-rdma:master Nov 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants