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

2024-04-07 Thread Jaroslav Pulchart
čt 4. 4. 2024 v 20:17 odesílatel Jaroslav Pulchart napsal: > > čt 4. 4. 2024 v 15:37 odesílatel Jakub Kicinski napsal: > > > > On Thu, 4 Apr 2024 07:42:45 +0200 Jaroslav Pulchart wrote: > > > We do not have much progress > > > > Random thought - do you have KFENCE enabled? > > It's sufficiently l

Re: [PATCH vhost v6 09/10] virtio_net: set premapped mode by find_vqs()

2024-04-07 Thread Jason Wang
On Sun, Apr 7, 2024 at 2:03 PM Xuan Zhuo wrote: > > On Sun, 7 Apr 2024 12:24:00 +0800, Jason Wang wrote: > > On Mon, Apr 1, 2024 at 11:10 AM Xuan Zhuo > > wrote: > > > > > > On Mon, 1 Apr 2024 09:40:07 +0800, Xuan Zhuo > > > wrote: > > > > On Fri, 29 Mar 2024 11:20:08 +0800, Jason Wang > >

[PATCH net-next v4 3/4] virtio-net: refactor dim initialization/destruction

2024-04-07 Thread Heng Qi
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 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c

[PATCH net-next v4 0/4] ethtool: provide the dim profile fine-tuning channel

2024-04-07 Thread Heng Qi
The NetDIM library provides excellent acceleration for many modern network cards. However, the default profiles of DIM limits its maximum capabilities for different NICs, so providing a way which the NIC can be custom configured is necessary. Currently, interaction with the driver is still based o

[PATCH net-next v4 4/4] virtio-net: support dim profile fine-tuning

2024-04-07 Thread Heng Qi
Virtio-net has different types of back-end device implementations. In order to effectively optimize the dim library's gains for different device implementations, let's use the new interface params to fine-tune the profile list. Signed-off-by: Heng Qi --- drivers/net/virtio_net.c | 44 +++

[PATCH net-next v4 1/4] ethtool: provide customized dim profile management

2024-04-07 Thread Heng Qi
The NetDIM library, currently leveraged by an array of NICs, delivers excellent acceleration benefits. Nevertheless, NICs vary significantly in their dim profile list prerequisites. Specifically, virtio-net backends may present diverse sw or hw device implementation, making a one-size-fits-all par

[PATCH net-next v4 2/4] linux/dim: move profiles from .c to .h file

2024-04-07 Thread Heng Qi
Place profiles into dim.h file so that the subsequent patch can use it to initialize driver's custom profiles. Signed-off-by: Heng Qi --- include/linux/dim.h | 38 ++ lib/dim/net_dim.c | 38 -- 2 files changed, 38 insertio