Home
last modified time | relevance | path

Searched hist:bc9a2b3e686e32ebd764d92e66e21c01e23ffb16 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.hdiff bc9a2b3e686e32ebd764d92e66e21c01e23ffb16 Wed Jun 07 14:00:06 CDT 2023 Eli Cohen <elic@nvidia.com> vdpa/mlx5: Support interrupt bypassing

Add support for generation of interrupts from the device directly to the
VM to the VCPU thus avoiding the overhead on the host CPU.

When supported, the driver will attempt to allocate vectors for each
data virtqueue. If a vector for a virtqueue cannot be provided it will
use the QP mode where notifications go through the driver.

In addition, we add a shutdown callback to make sure allocated
interrupts are released in case of shutdown to allow clean shutdown.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Message-Id: <20230607190007.290505-1-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
H A Dmlx5_vnet.cdiff bc9a2b3e686e32ebd764d92e66e21c01e23ffb16 Wed Jun 07 14:00:06 CDT 2023 Eli Cohen <elic@nvidia.com> vdpa/mlx5: Support interrupt bypassing

Add support for generation of interrupts from the device directly to the
VM to the VCPU thus avoiding the overhead on the host CPU.

When supported, the driver will attempt to allocate vectors for each
data virtqueue. If a vector for a virtqueue cannot be provided it will
use the QP mode where notifications go through the driver.

In addition, we add a shutdown callback to make sure allocated
interrupts are released in case of shutdown to allow clean shutdown.

Signed-off-by: Eli Cohen <elic@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Message-Id: <20230607190007.290505-1-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>