RE: [PATCH v3] raw/ntb: clear all valid DB bits when DB init

2022-02-09 Thread Guo, Junfeng
> -Original Message- > From: Wu, Jingjing > Sent: Thursday, February 10, 2022 14:51 > To: Guo, Junfeng > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: RE: [PATCH v3] raw/ntb: clear all valid DB bits when DB init > > > > > -Original Message-

RE: [PATCH v3] raw/ntb: clear all valid DB bits when DB init

2022-02-09 Thread Wu, Jingjing
> -Original Message- > From: Guo, Junfeng > Sent: Wednesday, February 9, 2022 12:47 PM > To: Wu, Jingjing > Cc: dev@dpdk.org; sta...@dpdk.org; Guo, Junfeng > Subject: [PATCH v3] raw/ntb: clear all valid DB bits when DB init > > Before registering the do

[PATCH v3] raw/ntb: clear all valid DB bits when DB init

2022-02-08 Thread Junfeng Guo
Before registering the doorbell interrupt handler callback function, all the valid doorbell bits within the NTB private data struct should be cleared to avoid the confusion of the handshake timing sequence diagram when setting up the NTB connection in back-to-back mode. Fixes: 62012a76811e ("raw/n