On 1/29/20 11:09 AM, Matan Azrad wrote: > The HW supports only 4 bytes doorbell writing detection. > The virtio device set only 2 bytes when it rings the doorbell. > > Map the virtio doorbell detected by the virtio queue kickfd to the HW > VAR space when it expects to get the virtio emulation doorbell. > > Use the EAL interrupt mechanism to get notification when a new event > appears in kickfd by the guest and write 4 bytes to the HW doorbell space > in the notification callback. > > Signed-off-by: Matan Azrad <ma...@mellanox.com> > Acked-by: Viacheslav Ovsiienko <viachesl...@mellanox.com> > --- > drivers/vdpa/mlx5/mlx5_vdpa.h | 3 ++ > drivers/vdpa/mlx5/mlx5_vdpa_virtq.c | 82 > ++++++++++++++++++++++++++++++++++++- > 2 files changed, 84 insertions(+), 1 deletion(-) Acked-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime
- Re: [dpdk-dev] [PATCH v2 05/13] vdpa/mlx5: pr... Maxime Coquelin
- [dpdk-dev] [PATCH v2 11/13] vdpa/mlx5: support live migrat... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 11/13] vdpa/mlx5: support li... Maxime Coquelin
- [dpdk-dev] [PATCH v2 08/13] vdpa/mlx5: add basic steering ... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 08/13] vdpa/mlx5: add basic ... Maxime Coquelin
- [dpdk-dev] [PATCH v2 13/13] vdpa/mlx5: disable ROCE Matan Azrad
- Re: [dpdk-dev] [PATCH v2 13/13] vdpa/mlx5: disable RO... Maxime Coquelin
- [dpdk-dev] [PATCH v2 09/13] vdpa/mlx5: support queue state... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 09/13] vdpa/mlx5: support qu... Maxime Coquelin
- [dpdk-dev] [PATCH v2 10/13] vdpa/mlx5: map doorbell Matan Azrad
- Re: [dpdk-dev] [PATCH v2 10/13] vdpa/mlx5: map doorbe... Maxime Coquelin
- [dpdk-dev] [PATCH v2 12/13] vdpa/mlx5: support close and c... Matan Azrad
- Re: [dpdk-dev] [PATCH v2 12/13] vdpa/mlx5: support cl... Maxime Coquelin
- [dpdk-dev] [PATCH v3 00/13] Introduce mlx5 vDPA driver Matan Azrad
- [dpdk-dev] [PATCH v3 01/13] drivers: introduce mlx5 v... Matan Azrad
- [dpdk-dev] [PATCH v3 02/13] vdpa/mlx5: support queues... Matan Azrad
- [dpdk-dev] [PATCH v3 05/13] vdpa/mlx5: prepare HW que... Matan Azrad
- [dpdk-dev] [PATCH v3 06/13] vdpa/mlx5: prepare virtio... Matan Azrad
- [dpdk-dev] [PATCH v3 03/13] vdpa/mlx5: support featur... Matan Azrad
- [dpdk-dev] [PATCH v3 04/13] vdpa/mlx5: prepare memory... Matan Azrad
- [dpdk-dev] [PATCH v3 08/13] vdpa/mlx5: add basic stee... Matan Azrad