On Mon, Sep 19, 2016 at 09:33:14AM +0200, Alexander Gordeev wrote: > Considering this code is to be used by any device - an assumption > that queue number and interrupt vector are always equal seems > questionable. I.e. what about non-contiguous MSI-Xs?
It's just a generic default - see the discussion with Jens in the intro mail for the thread for anyother example that can't be handled easily. If we get enough devices for a given scheme we can add another common helper, in the worst case we'll need driver code for the scheme.