On Mon, 1 Jul 2024 11:05:33 +0800, Jason Wang wrote:
> 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.
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/
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/virtio_net.c | 68 ++--
> > 1 file ch
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/virtio_net.c | 68 ++--
> 1 file changed, 66 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/vi
On Thu, 20 Jun 2024 12:20:44 +0200, Paolo Abeni wrote:
> Hi,
>
> On Tue, 2024-06-18 at 15:56 +0800, Xuan Zhuo wrote:
> > @@ -1032,6 +1034,53 @@ static void check_sq_full_and_disable(struct
> > virtnet_info *vi,
> > }
> > }
> >
> > +static void sg_fill_dma(struct scatterlist *sg, dma_addr_t a
Hi,
On Tue, 2024-06-18 at 15:56 +0800, Xuan Zhuo wrote:
> @@ -1032,6 +1034,53 @@ static void check_sq_full_and_disable(struct
> virtnet_info *vi,
> }
> }
>
> +static void sg_fill_dma(struct scatterlist *sg, dma_addr_t addr, u32 len)
> +{
> + sg->dma_address = addr;
> + sg->length
Implement the logic of filling rq with XSK buffers.
Signed-off-by: Xuan Zhuo
---
drivers/net/virtio_net.c | 68 ++--
1 file changed, 66 insertions(+), 2 deletions(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 2bbc715f22c6..2ac5668a