Re: [PATCH] virtio_net: fix PAGE_SIZE > 64k

2017-01-23 Thread kbuild test robot
Hi Michael, [auto build test WARNING on net-next/master] [also build test WARNING on v4.10-rc5 next-20170123] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/virtio_net-fix-PAGE

[PATCH] virtio_net: fix PAGE_SIZE > 64k

2017-01-23 Thread Michael S. Tsirkin
I don't have any guests with PAGE_SIZE > 64k but the code seems to be clearly broken in that case as PAGE_SIZE / MERGEABLE_BUFFER_ALIGN will need more than 8 bit and so the code in mergeable_ctx_to_buf_address does not give us the actual true size. Cc: John Fastabend Signed-off-by: Michael S. Tsi