Re: Regarding Netmap in VM

2014-05-27 Thread Luigi Rizzo
On Tue, May 27, 2014 at 5:00 AM, Jack Vogel jfvo...@gmail.com wrote: I don't think we've ever tried this at Intel either. I had meant to check the ixv code to see if it had your code in it Luigi but got distracted, if it doesn't then it obviously can't work for the case of a VM. ​ixv.c

About TFTP

2014-05-27 Thread Niu Zhixiong
Dear all, I want to modify the source code of TFTP. However it is invoked by inetd. I really need a standalone service of TFTP without inetd. But, when a start tftpd without inetd. it says recvfrom: Socket operation on non-socket. Could someone give me some suggestion to start tftpd without

Re: About TFTP

2014-05-27 Thread Eygene Ryabinkin
Tue, May 27, 2014 at 10:12:40PM +0800, Niu Zhixiong wrote: I want to modify the source code of TFTP. However it is invoked by inetd. I really need a standalone service of TFTP without inetd. Why? Inetd provides network pipe and connection initiation for TFTP daemon and then it acts on the

Re: About TFTP

2014-05-27 Thread Warren Block
On Tue, 27 May 2014, Niu Zhixiong wrote: Dear all, I want to modify the source code of TFTP. However it is invoked by inetd. I really need a standalone service of TFTP without inetd. But, when a start tftpd without inetd. it says recvfrom: Socket operation on non-socket. Could someone give

Re: Regarding Netmap in VM

2014-05-27 Thread Jack Vogel
Ya, it might be nice to do a bunch of cleanup like that, maybe once the i40e release happens I'll have some time to look into that. Jack On Tue, May 27, 2014 at 2:49 AM, Luigi Rizzo ri...@iet.unipi.it wrote: On Tue, May 27, 2014 at 5:00 AM, Jack Vogel jfvo...@gmail.com wrote: I don't

change netmap global lock to sx?

2014-05-27 Thread Navdeep Parhar
I'd like to change the netmap global lock from a mutex into a sleepable shared/exclusive lock. This will allow a driver's nm_register hook (which is called with the global lock held) to sleep if it has to. I've casually used pkt-gen after this conversion (patch attached) and the witness hasn't

Re: change netmap global lock to sx?

2014-05-27 Thread Luigi Rizzo
On Wed, May 28, 2014 at 1:49 AM, Navdeep Parhar n...@freebsd.org wrote: I'd like to change the netmap global lock from a mutex into a sleepable shared/exclusive lock. This will allow a driver's nm_register hook (which is called with the global lock held) to sleep if it has to. I've casually