> 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 deletions(-) This change adds code, and AFAICT makes it less efficient. What purpose does it serve? -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html