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

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:50PM -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 appropriate portion of the IDB register as the local doorbells > and the opposite portion

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

2017-08-01 Thread Jon Mason
On Tue, Jul 25, 2017 at 02:57:50PM -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 appropriate portion of the IDB register as the local doorbells > and the opposite portion

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

2017-07-25 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 appropriate 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 v3 13/16] switchtec_ntb: implement doorbell registers

2017-07-25 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 appropriate 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