Searched hist:"8 af8d2970ed98493a2db88dfcad88b0065e55e79" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | pio_copy.c | diff 8af8d2970ed98493a2db88dfcad88b0065e55e79 Tue Oct 25 15:12:34 CDT 2016 Sebastian Sanchez <sebastian.sanchez@intel.com> IB/hfi1: Optimize pio_buf and send_context structs
Both pio_buf and send_context structs have oversized fields and have cachelines that can be optimized.
Reduce oversized fields for both structs. Make sure pio_buf struct fits within a cacheline. Move read-only fields to their own cacheline in send_context struct.
All of this will avoid cacheline trading as the ring progresses and pio buffers/send contexts are used.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
|
H A D | pio.h | diff 8af8d2970ed98493a2db88dfcad88b0065e55e79 Tue Oct 25 15:12:34 CDT 2016 Sebastian Sanchez <sebastian.sanchez@intel.com> IB/hfi1: Optimize pio_buf and send_context structs
Both pio_buf and send_context structs have oversized fields and have cachelines that can be optimized.
Reduce oversized fields for both structs. Make sure pio_buf struct fits within a cacheline. Move read-only fields to their own cacheline in send_context struct.
All of this will avoid cacheline trading as the ring progresses and pio buffers/send contexts are used.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
|
H A D | pio.c | diff 8af8d2970ed98493a2db88dfcad88b0065e55e79 Tue Oct 25 15:12:34 CDT 2016 Sebastian Sanchez <sebastian.sanchez@intel.com> IB/hfi1: Optimize pio_buf and send_context structs
Both pio_buf and send_context structs have oversized fields and have cachelines that can be optimized.
Reduce oversized fields for both structs. Make sure pio_buf struct fits within a cacheline. Move read-only fields to their own cacheline in send_context struct.
All of this will avoid cacheline trading as the ring progresses and pio buffers/send contexts are used.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
|