]> git.karo-electronics.de Git - karo-tx-linux.git/commit
IB/hfi1, IB/rdmavt: Move r_adefered to r_lock cache line
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Thu, 4 May 2017 12:14:04 +0000 (05:14 -0700)
committerDoug Ledford <dledford@redhat.com>
Thu, 4 May 2017 23:31:46 +0000 (19:31 -0400)
commit688f21c0be9e3ddd6c5b2241daeb9fe978c0e081
tree35a23885dbec15d72e12545b14913846e1d02cf2
parent02d1008bcf41c7eada7882df673ae3794f7bfea8
IB/hfi1, IB/rdmavt: Move r_adefered to r_lock cache line

This field is causing excessive cache line bouncing.

There are spare bytes in the r_lock cache line so the best approach
is to make an rvt QP field and remove from the hfi1 priv field.

Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/qp.c
drivers/infiniband/hw/hfi1/rc.c
drivers/infiniband/hw/hfi1/verbs.h
include/rdma/rdmavt_qp.h