[dpdk-dev] [PATCH v3] netvsc: resize event buffer as needed

Ferruh Yigit ferruh.yigit at intel.com
Thu Aug 23 17:59:43 CEST 2018


On 8/14/2018 5:45 PM, Stephen Hemminger wrote:
> The event buffer was changed to be a fixed size value,
> had a couple of issues. The big one is that rte_free was still
> being called for a pointer that was not setup with rte_malloc().
> 
> The event buffer was also too small to handle heavy receive
> traffic; and running the event buffer out would crash
> the application.
> 
> Fix by going back to a dynamically resized event buffer.
> And grow it by 25% to avoid lots of realloc's.
> 
> Fixes: 530af95a7849 ("bus/vmbus: avoid signalling host on read")
> Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>

    Cc: stable at dpdk.org

Applied to dpdk-next-net/master, thanks.


More information about the dev mailing list