Re: [dpdk-dev] [PATCH v3 05/19] vhost: fix error handling when mem table gets updated

2018-10-04 Thread Ilya Maximets
On 04.10.2018 18:06, Maxime Coquelin wrote: > > > On 10/04/2018 04:59 PM, Ilya Maximets wrote: >> On 04.10.2018 11:13, Maxime Coquelin wrote: >>> When the memory table gets updated, the rings addresses need >>> to be translated again. If it fails, we need to exit cleanly >>> by unmapping memory r

Re: [dpdk-dev] [PATCH v3 05/19] vhost: fix error handling when mem table gets updated

2018-10-04 Thread Maxime Coquelin
On 10/04/2018 04:59 PM, Ilya Maximets wrote: On 04.10.2018 11:13, Maxime Coquelin wrote: When the memory table gets updated, the rings addresses need to be translated again. If it fails, we need to exit cleanly by unmapping memory regions. Fixes: d5022533c20a ("vhost: retranslate vring addr

Re: [dpdk-dev] [PATCH v3 05/19] vhost: fix error handling when mem table gets updated

2018-10-04 Thread Ilya Maximets
On 04.10.2018 11:13, Maxime Coquelin wrote: > When the memory table gets updated, the rings addresses need > to be translated again. If it fails, we need to exit cleanly > by unmapping memory regions. > > Fixes: d5022533c20a ("vhost: retranslate vring addr when memory table > changes") > Cc: sta.

[dpdk-dev] [PATCH v3 05/19] vhost: fix error handling when mem table gets updated

2018-10-04 Thread Maxime Coquelin
When the memory table gets updated, the rings addresses need to be translated again. If it fails, we need to exit cleanly by unmapping memory regions. Fixes: d5022533c20a ("vhost: retranslate vring addr when memory table changes") Cc: sta...@dpdk.org Signed-off-by: Maxime Coquelin --- lib/librt