On 7/16/2013 6:11 PM, Bart Van Assche wrote:
On 14/07/2013 3:43, Sagi Grimberg wrote:
Just wrote a small patch to allow srp_daemon spread connection across
HCA's completion vectors.
Hello Sagi,
How about the following approach:
- Add support for reading the completion vector from srp_daemon.conf,
similar to how several other parameters are already read from that
file.
Here We need to take into consideration that we are changing the
functionality of srp_daemon.conf.
Now instead of simply allowing/dis-allowing targets of specific
attributes, we are also defining configuration attributes of allowed
targets.
This might be uncomfortable for the user to explicitly write N target
strings in srp_daemon.conf just for completion vectors assignment.
Perhaps srp_daemon.conf can contain a list (comma separated) of reserved
completion vectors for srp_daemon to spread CQs among them.
If this line won't exist - srp_daemon will spread assignment on all HCAs
completion vectors.
- If the completion vector parameter has not been set in
srp_daemon.conf, let srp_daemon assign a completion vector such that
IB interrupts for different SRP hosts use different completion
vectors.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html