On Tue, Nov 7, 2023 at 11:12 AM Xuan Zhuo wrote:
>
> If the xsk is enabling, the xsk tx will share the send queue.
> But the xsk requires that the send queue use the premapped mode.
> So the send queue must support premapped mode.
>
> Signed-off-by: Xuan Zhuo
> ---
> drivers/net/virtio/main.c
On Tue, Nov 7, 2023 at 11:13 AM Xuan Zhuo wrote:
>
> We move some structures to the header file, but these structures do not
> prefixed with virtnet. This patch adds virtnet for these.
>
> Signed-off-by: Xuan Zhuo
> ---
Acked-by: Jason Wang
Thanks
On Tue, Nov 7, 2023 at 11:13 AM Xuan Zhuo wrote:
>
> Move some core structures (send_queue, receive_queue, virtnet_info)
> definitions and the relative structures definitions into the
> virtio_net.h file.
>
> That will be used by the other c code files.
>
> Signed-off-by: Xuan Zhuo
> ---
Acked-b
On Thu, Nov 2, 2023 at 9:10 PM Heng Qi wrote:
>
> We do not currently support tx dim, so respond to -EOPNOTSUPP.
>
> Signed-off-by: Heng Qi
> ---
> v1->v2:
> - Use -EOPNOTSUPP instead of specific implementation.
>
> drivers/net/virtio_net.c | 29 ++---
> 1 file changed, 2
On Thu, Nov 2, 2023 at 9:10 PM Heng Qi wrote:
>
> By comparing the traffic information in the complete napi processes,
> let the virtio-net driver automatically adjust the coalescing
> moderation parameters of each receive queue.
>
> Signed-off-by: Heng Qi
> ---
> v1->v2:
> - Improved the judgmen
On Thu, Nov 2, 2023 at 9:10 PM Heng Qi wrote:
>
> This patch separates the rx and tx global coalescing moderation
> commands to support netdim switches in subsequent patches.
>
> Signed-off-by: Heng Qi
Acked-by: Jason Wang
Thanks
> ---
> v1->v2:
> - Add 'i' definition.
>
> drivers/net/virtio