Re: [vpp-dev] VPP FD in a linux epoll

2018-01-31 Thread Shashi Kant Singh
Thanks for the clarification !!

From: Florin Coras [mailto:fcoras.li...@gmail.com]
Sent: 31 January 2018 21:51
To: Shashi Kant Singh
Cc: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] VPP FD in a linux epoll

Shashi,

No. VCL session ids are not valid Linux fds.

Florin



On Jan 31, 2018, at 3:21 AM, Shashi Kant Singh 
<sksi...@altiostar.com<mailto:sksi...@altiostar.com>> wrote:

Hi

I have created VPP session and the UDP FD for the same in my client program.

Would it ok to add this FD in a unix epoll (instead of vppcom_epoll_wait) 
already running a thread?

Regards
Shashi

___
vpp-dev mailing list
vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
https://lists.fd.io/mailman/listinfo/vpp-dev

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] VPP FD in a linux epoll

2018-01-31 Thread Florin Coras
Shashi, 

No. VCL session ids are not valid Linux fds. 

Florin


> On Jan 31, 2018, at 3:21 AM, Shashi Kant Singh  wrote:
> 
> Hi
>  
> I have created VPP session and the UDP FD for the same in my client program.
>  
> Would it ok to add this FD in a unix epoll (instead of vppcom_epoll_wait) 
> already running a thread?
>  
> Regards
> Shashi
>  
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io 
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> 
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] VPP FD in a linux epoll

2018-01-31 Thread Shashi Kant Singh
Hi

I have created VPP session and the UDP FD for the same in my client program.

Would it ok to add this FD in a unix epoll (instead of vppcom_epoll_wait) 
already running a thread?

Regards
Shashi

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev