Re: Advantages of Netmap NM_OPEN_NO_MMAP

2016-11-17 Thread Paras Jha
Hi, Thanks for the quick reply, it clarified things for me. Regarding the idea of independent TX-RX ring couples per thread, would a possible variation of this methodology be 1 RX ring per interface (only one thread reads), but *x* amount of TX rings, where *x *is the number of threads. Am I corre

Re: Advantages of Netmap NM_OPEN_NO_MMAP

2016-11-17 Thread Vincenzo Maffione
Hi, No, each interface open in netmap mode has its own netmap buffers (for packet data) and netmap rings, independently of what is the netmap memory region where buffers/rings resides. Two applications using different interfaces can work independently on each other (no locks needed), it does not

Advantages of Netmap NM_OPEN_NO_MMAP

2016-11-17 Thread Paras Jha
Hi all, I had a quick question about some of the implications of sharing packet buffer memory between multiple interfaces. Assuming an arbitrary amount of interfaces (> 2) are linked together with NM_OPEN_NO_MMAP and share the same memory, would this have any issues with lock contention? Sorry in

[Bug 214385] L2TP control packets malformed [PATCH]

2016-11-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214385 Bjoern A. Zeeb changed: What|Removed |Added Assignee|freebsd-net@FreeBSD.org |b...@freebsd.org -- You are rece