Re: [dpdk-dev] [PATCH] ethdev: add size and align to compose dma zone name strings

2019-05-08 Thread Andrew Rybchenko
On 4/29/19 11:03 AM, David Marchand wrote: On Sat, Apr 27, 2019 at 11:48 AM wangyunjian > wrote: From: Yunjian Wang mailto:wangyunj...@huawei.com>> The current dma zone name consists of the port_id, queue_id and ring_name. If a port_id is reused, a new

Re: [dpdk-dev] [PATCH] ethdev: add size and align to compose dma zone name strings

2019-04-29 Thread David Marchand
On Sat, Apr 27, 2019 at 11:48 AM wangyunjian wrote: > From: Yunjian Wang > > The current dma zone name consists of the port_id, queue_id and > ring_name. If a port_id is reused, a new nic maybe use same dma > zone name. At this time, the zone size of the new driver is > differnt. When the zone i

[dpdk-dev] [PATCH] ethdev: add size and align to compose dma zone name strings

2019-04-27 Thread wangyunjian
From: Yunjian Wang The current dma zone name consists of the port_id, queue_id and ring_name. If a port_id is reused, a new nic maybe use same dma zone name. At this time, the zone size of the new driver is differnt. When the zone is reused, it may cause illegal access to memory. Signed-off-by:

[dpdk-dev] [PATCH] ethdev: add size and align to compose dma zone name strings

2019-04-27 Thread wangyunjian
From: Yunjian Wang The current dma zone name consists of the port_id, queue_id and ring_name. If a port_id is reused, a new nic maybe use same dma zone name. At this time, the zone size of the new driver is differnt. When the zone is reused, it may cause illegal access to memory. Signed-off-by: