[Ofvwg] OFVWG meeting notes - 12.8.2015

Liran Liss liranl at mellanox.com
Sun Jan 3 07:00:25 PST 2016


Sagi Grimberg presented recent work on a CQ polling framework that is currently being developed in the kernel.
The framework implements common tasks that are typically done by all ULPs, such as:

-          CQ arming

-          Polling context

-          Fairness

-          Resolving the application context associated with a work request, in both successful and erroneous completions

-          Correctly handle potentially missed events

To use the framework, an application creates a CQ through a new API, which associates it with a polling context type (e.g., a softirq, thread, or work queue).
Work requests are posted with a polling context pointed by the wr_id, which contains a 'done' function.
The framework handles CQ polling on its own, calling the 'done' function for each completed work request.

Using this framework allows writing this tricky code correctly with high-performance only once, while simplifying ULP code.
--Liran




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/ofvwg/attachments/20160103/1eb73bee/attachment.html>


More information about the ofvwg mailing list