Re: [PATCH 13/16] switchtec_ntb: implement doorbell registers

2017-07-05 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 09:26:45PM -0600, Logan Gunthorpe wrote: > Pretty straightforward implementation of doorbell registers. > The shift and mask were setup in an earlier patch and this just hooks > up the approprirate portion of the idb register as the local doorbells > and the opposite

Re: [PATCH 13/16] switchtec_ntb: implement doorbell registers

2017-07-05 Thread Bjorn Helgaas
On Wed, Jun 28, 2017 at 09:26:45PM -0600, Logan Gunthorpe wrote: > Pretty straightforward implementation of doorbell registers. > The shift and mask were setup in an earlier patch and this just hooks > up the approprirate portion of the idb register as the local doorbells > and the opposite

[PATCH 13/16] switchtec_ntb: implement doorbell registers

2017-06-28 Thread Logan Gunthorpe
Pretty straightforward implementation of doorbell registers. The shift and mask were setup in an earlier patch and this just hooks up the approprirate portion of the idb register as the local doorbells and the opposite portion of odb as the peer doorbells. The db mask is protected by a spinlock to

[PATCH 13/16] switchtec_ntb: implement doorbell registers

2017-06-28 Thread Logan Gunthorpe
Pretty straightforward implementation of doorbell registers. The shift and mask were setup in an earlier patch and this just hooks up the approprirate portion of the idb register as the local doorbells and the opposite portion of odb as the peer doorbells. The db mask is protected by a spinlock to