[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-21 Thread Wang, Zhihong
> -Original Message- > From: Ilya Maximets [mailto:i.maximets at samsung.com] > Sent: Friday, December 18, 2015 2:18 PM > To: Wang, Zhihong ; dev at dpdk.org > Cc: p.fedin at samsung.com; yuanhan.liu at linux.intel.com; s.dyasly at > samsung.com; > Xie, Huawei > Subject: Re: [PATCH] Unl

[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-18 Thread Ilya Maximets
On 18.12.2015 05:39, Wang, Zhihong wrote: > Yes ideally the underneath lib shouldn't meddle with the recovery logic. > But I do think we should at least put a warning in the lib function said the > app should make the path available. This is another topic though :-) > Like we did in memcpy: > /**

[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-18 Thread Wang, Zhihong
> On 17.12.2015 07:21, Zhihong Wang wrote: > > This patch unlinks existing unused sockets (which cause new bindings to > > fail, e.g. > vHost PMD) to ensure smooth startup. > > In a lot of cases DPDK applications are terminated abnormally without proper > resource release. > > Original OVS relate

[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-17 Thread Yuanhan Liu
On Wed, Dec 16, 2015 at 11:21:02PM -0500, Zhihong Wang wrote: > This patch unlinks existing unused sockets (which cause new bindings to fail, > e.g. vHost PMD) to ensure smooth startup. > In a lot of cases DPDK applications are terminated abnormally without proper > resource release. Therefore, D

[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-17 Thread Ilya Maximets
On 17.12.2015 07:21, Zhihong Wang wrote: > This patch unlinks existing unused sockets (which cause new bindings to fail, > e.g. vHost PMD) to ensure smooth startup. > In a lot of cases DPDK applications are terminated abnormally without proper > resource release. Original OVS related problem dis

[dpdk-dev] [PATCH] Unlink existing unused sockets at start up

2015-12-16 Thread Zhihong Wang
This patch unlinks existing unused sockets (which cause new bindings to fail, e.g. vHost PMD) to ensure smooth startup. In a lot of cases DPDK applications are terminated abnormally without proper resource release. Therefore, DPDK libs should be able to deal with unclean boot environment. Signe