Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-10-21 Thread Florin Coras
Hi Max, We don’t currently propagate and therefore map vpp errors onto vcl connection errors, so you can’t retrieve the error number through vcl. Florin > On Oct 21, 2019, at 12:17 PM, Max A. wrote: > > Hi Florin, > > These events are enough. How can I get the error number? I see that >

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-10-21 Thread Max A. via Lists.Fd.Io
Hi Florin,   These events are enough. How can I get the error number? I see that VPPCOM_ATTR_GET_ERROR is not working yet.   Thank you.   >Пятница, 18 октября 2019, 18:04 +03:00 от Florin Coras >: >  >Hi Max,  >  >I had this patch [1] that indirectly fixes the issue lying around. So, is an

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-10-18 Thread Florin Coras
Hi Max, I had this patch [1] that indirectly fixes the issue lying around. So, is an EPOLLOUT | EPOLLHUP event enough to signal a failed async connect for you? Thanks, Florin [1] https://gerrit.fd.io/r/c/vpp/+/22274 > On Oct 18, 2019, at 2:07 AM, Max A. wrote: > > Hi Florin, > >

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-10-18 Thread Max A. via Lists.Fd.Io
Hi Florin,   vppcom_session_connect in non-blocking mode works well only if the connection can be successfully established. If the connection cannot be established, then no event is raised about this. How can this be fixed?   Thanks.   >Четверг, 5 сентября 2019, 1:04 +03:00 от Florin Coras :

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-09-05 Thread Max A. via Lists.Fd.Io
Hi Florin, I'll check it out soon. Thank you very much! >Четверг, 5 сентября 2019, 1:04 +03:00 от Florin Coras >: > >Hi Max,  > >Here’s the patch that allows non-blocking connects [1].  > >Florin > >[1]  https://gerrit.fd.io/r/c/vpp/+/21610 > >>On Aug 15, 2019, at 7:41 AM, Florin Coras via

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-09-04 Thread Florin Coras
Hi Max, Here’s the patch that allows non-blocking connects [1]. Florin [1] https://gerrit.fd.io/r/c/vpp/+/21610 > On Aug 15, 2019, at 7:41 AM, Florin Coras via Lists.Fd.Io > wrote: > > Hi Max, > > Not at this time. It should be possible with a few

Re: [vpp-dev] vppcom_session_connect blocking or non blocking

2019-08-15 Thread Florin Coras
Hi Max, Not at this time. It should be possible with a few changes for nonblocking sessions. I’ll add it to my list, in case nobody else beats me to it. Florin > On Aug 15, 2019, at 2:47 AM, Max A. via Lists.Fd.Io > wrote: > > Hello, > > Can vppcom_session_connect() function run in

[vpp-dev] vppcom_session_connect blocking or non blocking

2019-08-15 Thread Max A. via Lists.Fd.Io
Hello, Can vppcom_session_connect() function run in non-blocking mode? I see that there is a wait for the connection result in the vppcom_wait_for_session_state_change function. Is it possible to get the result of the connection using vppcom_epoll_wait? Thanks. -=-=-=-=-=-=-=-=-=-=-=- Links: