Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-22 Thread Renata Saiakhova
*To:* Renata Saiakhova ; dev@dpdk.org *Cc:* Anatoly Burakov ; Thomas Monjalon ; Neil Horman *Subject:* Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation On 5/13/2020 2:14 PM, Renata Saiakhova wrote: igb and ixgbe and some other drivers allocate HW rings using rte_eth_dma

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-19 Thread Zhao1, Wei
Reviewed-by: Wei Zhao > -Original Message- > From: dev On Behalf Of Renata Saiakhova > Sent: Wednesday, May 13, 2020 9:14 PM > To: dev@dpdk.org > Cc: Renata Saiakhova > Subject: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings > allocation > > i

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-19 Thread Ferruh Yigit
20 5:48 PM >> To: Yigit, Ferruh ; dev@dpdk.org >> Cc: Burakov, Anatoly ; Thomas Monjalon >> ; Neil Horman >> Subject: Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings >> allocation >> >> Hi Ferruh, >> >> thanks for comments, >>

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-19 Thread Ferruh Yigit
e is another from Jeff on 'rte_eth_dma_zone_free()' return type, can you please check them? So we can proceed with this patch for the release. Thanks, ferruh > > Kind regards, > Renata > ---------------- > *From:* Ferruh Yigit > *Sent:* Wednesday, May 13, 2020 5:22 PM > *To:* R

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-06-02 Thread Zhao1, Wei
; Neil Horman > Subject: Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings > allocation > > Hi Ferruh, > > thanks for comments, > > are the rte_eth_dma_zone_reserve() calls always used to allocate HW rings? It > is not totally clear to me. That was partly th

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-05-18 Thread Renata Saiakhova
a Saiakhova ; dev@dpdk.org Cc: Anatoly Burakov ; Thomas Monjalon ; Neil Horman Subject: Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation On 5/13/2020 2:14 PM, Renata Saiakhova wrote: > igb and ixgbe and some other drivers allocate HW rings using > rte_eth_dm

Re: [dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-05-13 Thread Ferruh Yigit
On 5/13/2020 2:14 PM, Renata Saiakhova wrote: > igb and ixgbe and some other drivers allocate HW rings using > rte_eth_dma_zone_reserve(), > which checks first if the memzone exists for a given name, consisting of port > id, queue_id, rx/tx direction, but not for the size, alignment, and socket_id

[dpdk-dev] [PATCH v3 0/4] Memory corruption due to HW rings allocation

2020-05-13 Thread Renata Saiakhova
igb and ixgbe and some other drivers allocate HW rings using rte_eth_dma_zone_reserve(), which checks first if the memzone exists for a given name, consisting of port id, queue_id, rx/tx direction, but not for the size, alignment, and socket_id. If the memzone with a given name exists it is return