diff options
author | 2015-03-04 18:16:28 +0530 | |
---|---|---|
committer | 2015-03-05 15:11:52 -0500 | |
commit | f36e58e5668694cd89d0a4d04a767a6286d497cc (patch) | |
tree | 24472433ad14872d1ae55a1346b5030c74de1a48 /net/switchdev/switchdev.c | |
parent | cxgb4: Move offload Rx queue allocation to separate function (diff) | |
download | linux-dev-f36e58e5668694cd89d0a4d04a767a6286d497cc.tar.xz linux-dev-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 <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions