Re: [PATCH net-next v6 08/10] virtio_net: xsk: rx: support recv small mode

2024-06-30 Thread Jason Wang
On Mon, Jul 1, 2024 at 11:20 AM Jason Wang wrote: > > On Fri, Jun 28, 2024 at 1:48 PM Xuan Zhuo wrote: > > > > On Fri, 28 Jun 2024 10:19:41 +0800, Jason Wang wrote: > > > On Tue, Jun 18, 2024 at 3:57 PM Xuan Zhuo > > > wrote: > > > > > > > > In the process: > > > > 1. We may need to copy data

Re: [PATCH net-next v6 08/10] virtio_net: xsk: rx: support recv small mode

2024-06-30 Thread Jason Wang
On Fri, Jun 28, 2024 at 1:48 PM Xuan Zhuo wrote: > > On Fri, 28 Jun 2024 10:19:41 +0800, Jason Wang wrote: > > On Tue, Jun 18, 2024 at 3:57 PM Xuan Zhuo > > wrote: > > > > > > In the process: > > > 1. We may need to copy data to create skb for XDP_PASS. > > > 2. We may need to call xsk_buff_fre

Re: [PATCH net-next v6 07/10] virtio_net: xsk: rx: support fill with xsk buffer

2024-06-30 Thread Jason Wang
On Fri, Jun 28, 2024 at 1:44 PM Xuan Zhuo wrote: > > On Fri, 28 Jun 2024 10:19:37 +0800, Jason Wang wrote: > > On Tue, Jun 18, 2024 at 3:57 PM Xuan Zhuo > > wrote: > > > > > > Implement the logic of filling rq with XSK buffers. > > > > > > Signed-off-by: Xuan Zhuo > > > --- > > > drivers/net/

Re: How to implement message forwarding from one CID to another in vhost driver

2024-06-30 Thread Dorjoy Chowdhury
Hey Stefano, Apart from my questions in my previous email, I have some others as well. If the vhost-device-vsock modification to forward packets to VMADDR_CID_LOCAL is implemented, does the VMADDR_FLAG_TO_HOST need to be set by any application in the guest? I understand that the flag is set automa