[RFC PATCH 2/4] drivers/net/virtio_net: Changed mergeable buffer length calculation.

2021-10-30 Thread Andrew Melnychenko
Now minimal virtual header length is may include the entire v1 header if the hash report were populated. Signed-off-by: Andrew Melnychenko --- drivers/net/virtio_net.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c

[RFC PATCH 3/4] drivers/net/virtio_net: Added basic RSS support.

2021-10-30 Thread Andrew Melnychenko
Added features for RSS and RSS hash report. Added initialization, RXHASH feature and ethtool ops. By default RSS/RXHASH is disabled. Added ethtools ops to set key and indirection table. Signed-off-by: Andrew Melnychenko --- drivers/net/virtio_net.c | 232 +--

[RFC PATCH 4/4] drivers/net/virtio_net: Added RSS hash report control.

2021-10-30 Thread Andrew Melnychenko
Added set_hash for skb. Also added hashflow set/get callbacks. Virtio RSS "IPv6 extensions" hashes disabled. Also, disabling RXH_IP_SRC/DST for TCP would disable then for UDP. TCP and UDP supports only: ethtool -U eth0 rx-flow-hash tcp4 sd RXH_IP_SRC + RXH_IP_DST ethtool -U eth0 rx-flow-hash tc

[RFC PATCH 1/4] drivers/net/virtio_net: Fixed vheader to use v1.

2021-10-30 Thread Andrew Melnychenko
The header v1 provides additional info about RSS. Added changes to computing proper header length. In the next patches, the header may contain RSS hash info for the hash population. Signed-off-by: Andrew Melnychenko --- drivers/net/virtio_net.c | 6 +++--- 1 file changed, 3 insertions(+), 3 dele

[RFC PATCH 0/4] Added RSS support.

2021-10-30 Thread Andrew Melnychenko
This series of RFC patches for comments and additional proposals. Virtio-net supports "hardware" RSS with toeplitz key. Also, it allows receiving calculated hash in vheader that may be used with RPS. Added ethtools callbacks to manipulate RSS. Technically hash calculation may be set only for SRC+

Re: [PATCH 1/4] dma-buf: add dma_fence_describe and dma_resv_describe

2021-10-30 Thread kernel test robot
Hi "Christian, I love your patch! Yet something to improve: [auto build test ERROR on drm-tip/drm-tip] [also build test ERROR on next-20211029] [cannot apply to drm/drm-next drm-intel/for-linux-next drm-exynos/exynos-drm-next tegra-drm/drm/tegra/for-next linus/master airlied/drm-next v5.15-rc7]