[dpdk-dev] [PATCH v2 2/2] netvsc: resize event buffer as needed
Stephen Hemminger
stephen at networkplumber.org
Mon Aug 13 19:22:27 CEST 2018
On Mon, 13 Aug 2018 08:51:08 -0700
Stephen Hemminger <stephen at networkplumber.org> wrote:
> The event buffer was changed to be a fixed size value, but it
> is not large enough for a forwarding stress test.
>
> This version of event buffer code uses malloc/realloc to size
> the event buffer as needed. Malloc is preferred over rte_malloc
> because the event buffer does not need to be used for DMA
> and huge page is a limited resource.
>
> Fixes: 530af95a7849 ("bus/vmbus: avoid signalling host on read")
> Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
Self NAK. This won't work when secondary process needs the buffer.
More information about the dev
mailing list