[ofa-general] Re: [PATCH 24/28] IB/ipath - ipath_poll fixups and enhancements

Roland Dreier rdreier at cisco.com
Thu Jun 21 11:14:23 PDT 2007


 > the port_rcvhdrttail_kvaddr is the kernel virtual address
 > allocated in coherent memory where the header queue is updated
 > by the chip.  we use volatile to make sure the compiler does
 > not use stale data...

OK, fair enough, although it seems you may be missing some memory
barriers to make sure you don't run into the CPU reordering accesses
to the head/tail pointers.

 - R.



More information about the general mailing list