Re: [PATCH net-next 1/3] vsock: add support for SIOCOUTQ ioctl for all vsock socket types.

2024-04-03 Thread Stefano Garzarella
On Tue, Apr 02, 2024 at 05:05:37PM +0200, Luigi Leonardi wrote: This add support for ioctl(s) for SOCK_STREAM SOCK_SEQPACKET and SOCK_DGRAM in AF_VSOCK. The only ioctl available is SIOCOUTQ/TIOCOUTQ, which returns the number of unsent bytes in the socket. This information is transport-specific an

Re: [PATCH net-next 2/3] vsock/virtio: add SIOCOUTQ support for all virtio based transports

2024-04-03 Thread Stefano Garzarella
On Tue, Apr 02, 2024 at 05:05:38PM +0200, Luigi Leonardi wrote: This patch introduce support for stream_bytes_unsent in all virtio based transports: virtio-transport, vhost-vsock and vsock-loopback For all transports the unsent bytes counter is incremented in virtio_transport_send_pkt_info. In

Re: [PATCH net-next 3/3] test/vsock: add ioctl unsent bytes test

2024-04-03 Thread Stefano Garzarella
On Tue, Apr 02, 2024 at 05:05:39PM +0200, Luigi Leonardi wrote: This test that after a packet is delivered the number of unsent bytes is zero. Signed-off-by: Luigi Leonardi --- tools/testing/vsock/util.c | 6 +-- tools/testing/vsock/util.h | 3 ++ tools/testing/vsock/vsock_test.c |

Re: [PATCH net-next v3 2/3] virtio-net: refactor dim initialization/destruction

2024-04-03 Thread Heng Qi
在 2024/4/2 下午8:36, Ratheesh Kannoth 写道: On 2024-04-02 at 17:43:07, Heng Qi (hen...@linux.alibaba.com) wrote: Extract the initialization and destruction actions of dim for use in the next patch. Signed-off-by: Heng Qi --- drivers/net/virtio_net.c | 37 ++---

Re: REGRESSION: RIP: 0010:skb_release_data+0xb8/0x1e0 in vhost/tun

2024-04-03 Thread Jaroslav Pulchart
út 26. 3. 2024 v 5:46 odesílatel Jason Wang napsal: > > On Mon, Mar 25, 2024 at 4:44 PM Igor Raits wrote: > > > > Hello, > > > > On Fri, Mar 22, 2024 at 12:19 PM Igor Raits wrote: > > > > > > Hi Jason, > > > > > > On Fri, Mar 22, 2024 at 9:39 AM Igor Raits wrote: > > > > > > > > Hi Jason, > > >