[dpdk-dev] [PATCH 1/4] net/netvsc: move rxbuf_info from per-device to per-queue

Ferruh Yigit ferruh.yigit at intel.com
Wed Aug 19 17:36:19 CEST 2020


On 8/17/2020 12:11 AM, Stephen Hemminger wrote:
> On Mon, 10 Aug 2020 19:33:11 -0700
> longli at linuxonhyperv.com wrote:
> 
>> From: Long Li <longli at microsoft.com>
>>
>> netvsc uses rxbuf_info buffer to track received packets attached via
>> rte_pktmbuf_attach_extbuf() and ack the host based on usage count. It uses
>> the transaction_id in the VMBus packet to locate where to use memory in the
>> rxbuf_info.
>>
>> This is not correct in multiple channel setup, as different channels may
>> return idential transaction_ids at a time, and may corrupt the rxbuf_info
>> buffer.
>>
>> Fix this by defining rxbuf_info for each queue.
>>
>> Fixes: 4e9c73e96 ("net/netvsc: add Hyper-V network device")
>> Cc: stable at dpdk.org
>> Signed-off-by: Long Li <longli at microsoft.com>
> 
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
> 

Series applied to dpdk-next-net/main, thanks.


More information about the dev mailing list