Re: [PATCH v2 07/13] IB/cma: Helper functions to access port space IDRs

2015-07-28 Thread Haggai Eran
On 28/07/2015 01:48, Hefty, Sean wrote: >> Add helper functions to access the IDRs by port-space and port number. >> >> Pass around the port-space enum in cma.c instead of using pointers to >> port-space IDRs. > > Why? > >> drivers/infiniband/core/cma.c | 81 -

RE: [PATCH v2 07/13] IB/cma: Helper functions to access port space IDRs

2015-07-27 Thread Hefty, Sean
> Add helper functions to access the IDRs by port-space and port number. > > Pass around the port-space enum in cma.c instead of using pointers to > port-space IDRs. Why? > drivers/infiniband/core/cma.c | 81 -- > - > 1 file changed, 60 insertions(+), 21

[PATCH v2 07/13] IB/cma: Helper functions to access port space IDRs

2015-07-26 Thread Haggai Eran
Add helper functions to access the IDRs by port-space and port number. Pass around the port-space enum in cma.c instead of using pointers to port-space IDRs. Signed-off-by: Haggai Eran Signed-off-by: Yotam Kenneth Signed-off-by: Shachar Raindel Signed-off-by: Guy Shapiro --- drivers/infiniba