Re: [PATCH net-next v3 23/27] virtio_net: xsk: rx: support recv merge mode

2023-12-29 Thread kernel test robot
/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/20231229073108.57778-24-xuanzhuo%40linux.alibaba.com patch subject: [PATCH net-next v3 23/27] virtio_net: xsk: rx: support recv merge mode config: arm64-defconfig (https://download.01.org/0day-ci/archiv

Re: [PATCH net-next v3 23/27] virtio_net: xsk: rx: support recv merge mode

2023-12-29 Thread kernel test robot
/scm/linux/kernel/git/mst/vhost.git linux-next patch link: https://lore.kernel.org/r/20231229073108.57778-24-xuanzhuo%40linux.alibaba.com patch subject: [PATCH net-next v3 23/27] virtio_net: xsk: rx: support recv merge mode config: x86_64-rhel-8.3-rust (https://download.01.org/0day-ci/archiv

[PATCH net-next v3 23/27] virtio_net: xsk: rx: support recv merge mode

2023-12-28 Thread Xuan Zhuo
The virtnet_xdp_handler() is re-used. But 1. We need to copy data to create skb for XDP_PASS. 2. We need to call xsk_buff_free() to release the buffer. 3. The handle for xdp_buff is difference. If we pushed this logic into existing receive handle(merge and small), we would have to maintain code s