On Thu, Sep 9, 2021 at 11:05 AM Jason Wang wrote:
>
> On Wed, Sep 8, 2021 at 8:22 PM Wu Zongyong
> wrote:
> >
> > This series implements the vDPA driver for legacy virtio-pci device.
> > Currently we already have the vDPA driver for modern virtio-pci device
> > only, but there are some legacy vi
On Wed, Sep 8, 2021 at 8:22 PM Wu Zongyong wrote:
>
> This series implements the vDPA driver for legacy virtio-pci device.
> Currently we already have the vDPA driver for modern virtio-pci device
> only, but there are some legacy virtio-pci devices conforming to the
> virtio-pci specifications of
On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong wrote:
>
> This new callback is used to indicate whether the vring size can be
> change or not. It is useful when we have a legacy virtio pci device as
> the vdpa device for there is no way to negotiate the vring num by the
> specification.
So I'm not su
On Wed, Sep 8, 2021 at 8:23 PM Wu Zongyong wrote:
>
> This patch implements the get_vq_irq() callback for virtio pci devices
> to allow irq offloading.
>
> Signed-off-by: Wu Zongyong
> ---
> drivers/vdpa/virtio_pci/vp_vdpa.c | 8
> 1 file changed, 8 insertions(+)
Acked-by: Jason Wang
On Wed, Sep 8, 2021 at 7:42 PM Paolo Abeni wrote:
>
> If the sendmsg() call in vhost_tx_batch() fails, both the 'batched_xdp'
> and 'done_idx' indexes are left unchanged. If such failure happens
> when batched_xdp == VHOST_NET_BATCH, the next call to
> vhost_net_build_xdp() will access and write m
If the sendmsg() call in vhost_tx_batch() fails, both the 'batched_xdp'
and 'done_idx' indexes are left unchanged. If such failure happens
when batched_xdp == VHOST_NET_BATCH, the next call to
vhost_net_build_xdp() will access and write memory outside the xdp
buffers area.
Since sendmsg() can only
On 8/24/21 6:15 PM, Greg Kurz wrote:
> On Fri, 20 Aug 2021 13:03:23 +0800
> JeffleXu wrote:
>>
>> Fine. Got it. However the returned fd (opened without O_PATH) is only
>> used for FS_IOC_GETFLAGS/FS_IOC_FSGETXATTR ioctl, while in most cases
>> for special device files, these two ioctls should r
On 9/7/21 4:34 PM, Miklos Szeredi wrote:
> On Thu, 12 Aug 2021 at 07:46, Jeffle Xu wrote:
>>
>> From: Liu Bo
>>
>> When 'no_open' is used by virtiofsd, guest kernel won't send OPEN request
>> any more. However, with atomic_o_trunc, SETATTR request is also omitted in
>> OPEN(O_TRUNC) so that t