diff options
| author | Hariprasad Shenai <[email protected]> | 2015-03-04 12:46:28 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-03-05 20:11:52 +0000 |
| commit | f36e58e5668694cd89d0a4d04a767a6286d497cc (patch) | |
| tree | 24472433ad14872d1ae55a1346b5030c74de1a48 /net/switchdev/switchdev.c | |
| parent | cxgb4: Move offload Rx queue allocation to separate function (diff) | |
| download | kernel-f36e58e5668694cd89d0a4d04a767a6286d497cc.tar.gz kernel-f36e58e5668694cd89d0a4d04a767a6286d497cc.zip | |
cxgb4: Try and provide an RDMA CIQ per cpu
To allow for better scalability on systems with large core counts, we
will try and allocate enough RDMA Concentrator IQs and MSI/X vectors as
we have cores. If we cannot get enough MSI/X vectors, fall back to the
minimum required: 1 per adapter rx channel.
Also clean up cxgb_enable_msix() to make it readable and correct a bug
where the vectors are not correctly assigned if the driver doesn't get
the full amount requested.
Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Hariprasad Shenai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
