Re: [PATCH 1/4] RDMA/bnxt_re: Add memory barriers when processing CQ/EQ entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 6, 2017 at 10:49 PM, Jason Gunthorpe <jgg@xxxxxxxx> wrote:
> On Mon, Nov 06, 2017 at 08:07:29AM -0800, Selvin Xavier wrote:
>> From: Somnath Kotur <somnath.kotur@xxxxxxxxxxxx>
>>
>> The code determines if the next ring entry is valid before proceeding
>> further to read the rest of the entry. The CPU can re-order and read
>> the rest of the entry first, possibly reading a stale entry, if DMA
>> of a new entry happens right after reading it.
>
> Please make sure the bnxt user space stuff in rdma-core does not have the
> same problem...
Sure..  will do the necessary changes in user space driver also.
>
> Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux