cxgb4: Try and provide an RDMA CIQ per cpu
authorHariprasad Shenai <hariprasad@chelsio.com>
Wed, 4 Mar 2015 12:46:28 +0000 (18:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Mar 2015 20:11:52 +0000 (15:11 -0500)
commitf36e58e5668694cd89d0a4d04a767a6286d497cc
tree24472433ad14872d1ae55a1346b5030c74de1a48
parent1c6a5b0e3446c36e3fc3f4531b1cf2db61f8319b
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>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
This page took 0.046797 seconds and 5 git commands to generate.