Re: netmap on wireless NIC

2013-06-05 Thread Luigi Rizzo
On Wed, Jun 05, 2013 at 09:28:00AM -0500, Chao Xu wrote: > Thank you Adrian and Luigi. My goal is to reduce the latency, i.e. get the > packet as soon as it arrives on the NIC, and send the packet from user > space to NIC quickly. I think netmap will help because it skips the socket > layer and ker

Re: netmap on wireless NIC

2013-06-05 Thread Chao Xu
Thank you Adrian and Luigi. My goal is to reduce the latency, i.e. get the packet as soon as it arrives on the NIC, and send the packet from user space to NIC quickly. I think netmap will help because it skips the socket layer and kernel network stack. On Wed, Jun 5, 2013 at 8:45 AM, Luigi Rizzo

Re: netmap on wireless NIC

2013-06-05 Thread Luigi Rizzo
On Tue, Jun 04, 2013 at 04:06:35PM -0500, Chao Xu wrote: > Hello, > > Is it possible to hacking some wireless NIC driver (carl9170 for example) > to enable netmap on it? I guess this is possible because wireless drivers > also manage packets using ring buffers. My goal is to access the raw > packe

Re: netmap on wireless NIC

2013-06-05 Thread Jim Thompson
On Jun 5, 2013, at 7:50 AM, Ivan Voras wrote: > On 04/06/2013 23:06, Chao Xu wrote: >> Hello, >> >> Is it possible to hacking some wireless NIC driver (carl9170 for example) >> to enable netmap on it? I guess this is possible because wireless drivers >> also manage packets using ring buffers.

Re: netmap on wireless NIC

2013-06-05 Thread Ivan Voras
On 04/06/2013 23:06, Chao Xu wrote: > Hello, > > Is it possible to hacking some wireless NIC driver (carl9170 for example) > to enable netmap on it? I guess this is possible because wireless drivers > also manage packets using ring buffers. My goal is to access the raw > packets as quickly as poss

Re: netmap on wireless NIC

2013-06-04 Thread Adrian Chadd
THere's no argument against it. There's just no carl9170 driver at the moment. Some NICs use ring buffers, some use FIFOs, some use descriptor lists. The atheros stuff uses lists/FIFOs, no rings. 2c, Adrian On 4 June 2013 14:06, Chao Xu wrote: > Hello, > > Is it possible to hacking some wir

netmap on wireless NIC

2013-06-04 Thread Chao Xu
Hello, Is it possible to hacking some wireless NIC driver (carl9170 for example) to enable netmap on it? I guess this is possible because wireless drivers also manage packets using ring buffers. My goal is to access the raw packets as quickly as possible, not to achieve high data rate. Is there an