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

2020-08-19 Thread Ferruh Yigit
On 8/17/2020 12:11 AM, Stephen Hemminger wrote: > On Mon, 10 Aug 2020 19:33:11 -0700 > lon...@linuxonhyperv.com wrote: > >> From: Long Li >> >> 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

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

2020-08-16 Thread Stephen Hemminger
On Mon, 10 Aug 2020 19:33:11 -0700 lon...@linuxonhyperv.com wrote: > From: Long Li > > 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

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

2020-08-10 Thread longli
From: Long Li 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