Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Luigi Rizzo
On Tue, Feb 2, 2016 at 6:23 AM, Xiaoye Sun wrote: > Hi Luigi, > > I have to clarify about the *jumping issue* about the slot indexes. > In the bridge.c program, the slot index never jumps and it increases > sequentially. > In the receiver.c program, the udp packet seq jumps and I showed the slot >

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Xiaoye Sun
Hi Luigi, I have to clarify about the *jumping issue* about the slot indexes. In the bridge.c program, the slot index never jumps and it increases sequentially. In the receiver.c program, the udp packet seq jumps and I showed the slot index that each udp packet uses. So the slot index jumps togeth

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Luigi Rizzo
Hi, there must be some wrong with your setting because slot indexes must be sequential and in your case they are not (see the jump from 295 to 474 and then back from 485 to 296, and the numerous interleavings that you are seeing later). I have no idea of the cause but typically this pattern is wha

Re: swaping ring slots between NIC ring and Host ring does not always success

2016-02-01 Thread Xiaoye Sun
Hi Luigi, Thanks for the detailed advice. With more detailed experiments, actually I found that the udp sender/receiver packet reorder issue *might* be irrelevant to the original issue I posted. However, I think we should solve the udp sender/receiver issue first. I run the experiment with more d

[Differential] [Request, 434 lines] D5158: hyperv/hn: Factor out hn_encap from hn_start_locked()

2016-02-01 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com created this revision. sepherosa_gmail.com added reviewers: network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com. sepherosa_gmail.com added a subscriber: freebsd-net-list. REVISION SUMMARY It will be shared w/ upcoming ifnet.if_tr

[Differential] [Request, 31 lines] D5159: hyperv/hn: Recover half of the chimney sending space

2016-02-01 Thread sepherosa_gmail.com (Sepherosa Ziehau)
sepherosa_gmail.com created this revision. sepherosa_gmail.com added reviewers: network, adrian, delphij, royger, decui_microsoft.com, honzhan_microsoft.com, howard0su_gmail.com. sepherosa_gmail.com added a subscriber: freebsd-net-list. REVISION SUMMARY Due to the miss use of ffs, where ffsl sh

[Bug 205834] rtadvd: accessing freed struct

2016-02-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205834 Hiroki Sato changed: What|Removed |Added Status|New |In Progress Assignee|freeb

[Bug 205834] rtadvd: accessing freed struct

2016-02-01 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205834 Andrey V. Elsukov changed: What|Removed |Added Assignee|freebsd-b...@freebsd.org|freebsd-net@FreeBSD.org -- Yo