With the move of the SGE state helper routines into rdmavt we can now go ahead and clean up somne of the open coded sge sizing and usage. Here are two patches one that do just that. --- Michael J. Ruhl (2): IB/{hfi1,qib}: Cleanup open coded sge sizing IB/{hfi1,qib,rvt} Cleanup open coded sge usage drivers/infiniband/hw/hfi1/ud.c | 24 ++---------------------- drivers/infiniband/hw/hfi1/verbs.c | 12 ++---------- drivers/infiniband/hw/qib/qib_sdma.c | 26 ++------------------------ drivers/infiniband/hw/qib/qib_ud.c | 6 +----- drivers/infiniband/hw/qib/qib_verbs.c | 18 +++--------------- drivers/infiniband/sw/rdmavt/qp.c | 26 ++------------------------ 6 files changed, 12 insertions(+), 100 deletions(-) -- -Denny