[PATCH] IB/mthca: encapsulate mem-free check into mthca_is_memfree()
Clean up mem-free mode support by introducing mthca_is_memfree() function, which encapsulates the logic of deciding if a device is mem-free. Signed-off-by:Roland Dreier <roland@topspin.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
Showing
- drivers/infiniband/hw/mthca/mthca_av.c 3 additions, 3 deletionsdrivers/infiniband/hw/mthca/mthca_av.c
- drivers/infiniband/hw/mthca/mthca_cmd.c 4 additions, 4 deletionsdrivers/infiniband/hw/mthca/mthca_cmd.c
- drivers/infiniband/hw/mthca/mthca_cq.c 6 additions, 6 deletionsdrivers/infiniband/hw/mthca/mthca_cq.c
- drivers/infiniband/hw/mthca/mthca_dev.h 5 additions, 0 deletionsdrivers/infiniband/hw/mthca/mthca_dev.h
- drivers/infiniband/hw/mthca/mthca_eq.c 9 additions, 9 deletionsdrivers/infiniband/hw/mthca/mthca_eq.c
- drivers/infiniband/hw/mthca/mthca_main.c 3 additions, 3 deletionsdrivers/infiniband/hw/mthca/mthca_main.c
- drivers/infiniband/hw/mthca/mthca_memfree.c 2 additions, 2 deletionsdrivers/infiniband/hw/mthca/mthca_memfree.c
- drivers/infiniband/hw/mthca/mthca_mr.c 14 additions, 14 deletionsdrivers/infiniband/hw/mthca/mthca_mr.c
- drivers/infiniband/hw/mthca/mthca_profile.c 4 additions, 4 deletionsdrivers/infiniband/hw/mthca/mthca_profile.c
- drivers/infiniband/hw/mthca/mthca_provider.c 3 additions, 3 deletionsdrivers/infiniband/hw/mthca/mthca_provider.c
- drivers/infiniband/hw/mthca/mthca_qp.c 9 additions, 9 deletionsdrivers/infiniband/hw/mthca/mthca_qp.c
Loading
Please register or sign in to comment