lkml.org 
[lkml]   [2019]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] RDMA/mlx4: Spread completion vectors for proxy CQs
    On Tue, Feb 19, 2019 at 06:32:50PM +0100, Håkon Bugge wrote:
    > Anyway, Jason mentioned in a private email that maybe we could use the
    > new completion API or something? I am not familiar with that one
    > (yet).

    I was thinking of the stuff in core/cq.c - but it also doesn't have
    automatic comp_vector balancing. It is the logical place to put
    something like that though..

    An API to manage a bundle of CPU affine CQ's is probably what most
    ULPs really need.. (it makes little sense to create a unique CQ for
    every QP)

    alloc_bundle()
    get_cqn_for_flow(bundle)
    alloc_qp()
    destroy_qp()
    put_cqn_for_flow(bundle)
    destroy_bundle();

    Let the core code balance the cqn's and allocate (shared) CQ
    resources.

    Jason

    \
     
     \ /
      Last update: 2019-02-20 18:15    [W:4.287 / U:0.336 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site