# \[PATCH V4 0/2\] vDPA/ifcvf: implement doorbell mapping feature

- From: Zhu Lingshan \<hidden\>
- Date: 2021-06-02 08:44:50 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/06/11204395
- Thread: https://ratatoskr.run/netdev/2021/06/11204395/t.md

```text
This series implements doorbell mapping feature for ifcvf.

Please help review

Thanks!

Changes from V3:
remove the warning for doorbell non-page-alignment(Jason)

Changes from V2:
assign notify_off_multiplier to notification.size first than use PAGE_SIZE directly(Jason)

Chagnes from V1:
calculate the doorbell address per vq than per device(Jason) let upper layer driver decide how to use the non page_size aligned doorbell(Jason)

Zhu Lingshan (2):
  vDPA/ifcvf: record virtio notify base
  vDPA/ifcvf: implement doorbell mapping for ifcvf

 drivers/vdpa/ifcvf/ifcvf_base.c |  4 ++++
 drivers/vdpa/ifcvf/ifcvf_base.h |  2 ++
 drivers/vdpa/ifcvf/ifcvf_main.c | 18 ++++++++++++++++++
 3 files changed, 24 insertions(+)

-- 
2.27.0

```
