> -Original Message-
> From: Xie, Huawei
> Sent: Friday, July 3, 2015 12:04 AM
> To: Ouyang, Changchun; dev at dpdk.org
> Cc: Cao, Waterman; Xu, Qian Q
> Subject: Re: [PATCH 3/3] vhost: call api to unregister vhost driver
>
> On 7/2/2015 11:33 AM, Ouyang, Changchun wrote:
> > The commit
> -Original Message-
> From: Xie, Huawei
> Sent: Thursday, July 2, 2015 5:38 PM
> To: Ouyang, Changchun; dev at dpdk.org
> Cc: Cao, Waterman; Xu, Qian Q
> Subject: Re: [PATCH 3/3] vhost: call api to unregister vhost driver
>
> On 7/2/2015 11:33 AM, Ouyang, Changchun wrote:
> >
> > /*
On 7/2/2015 11:33 AM, Ouyang, Changchun wrote:
> The commit will break vhost sample when it runs in second time:
> 292959c71961acde0cda6e77e737bb0a4df1559c
>
> It should call api to unregister vhost driver when sample exit/quit, then
> the socket file will be removed(by calling unlink), and thus ma
The commit will break vhost sample when it runs in second time:
292959c71961acde0cda6e77e737bb0a4df1559c
It should call api to unregister vhost driver when sample exit/quit, then
the socket file will be removed(by calling unlink), and thus make vhost sample
work correctly in second time startup.
On 7/2/2015 11:33 AM, Ouyang, Changchun wrote:
>
> /* Start CUSE session. */
> rte_vhost_driver_session_start();
> +
> + /* Unregister vhost driver. */
> + ret = rte_vhost_driver_unregister((char *)&dev_basename);
> + if (ret != 0)
> + rte_exit(EXIT_FAILURE,"vh
5 matches
Mail list logo