Ordering problem in if_detach_internal regarding if_bridge

2014-06-20 Thread Roger Pau Monné
Hello, I've stumbled across the following panic when testing Xen netback with if_bridge: Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex if_bridge (if_bridge) r = 0 (0xf80006306c18) locked @ /usr/src/sys/m KDB: stack backtrace: X_db_symbol_values() at X_

Re: Ordering problem in if_detach_internal regarding if_bridge

2014-06-23 Thread Roger Pau Monné
On 23/06/14 18:49, Alexander V. Chernikov wrote: > On 23.06.2014 20:39, Alexander V. Chernikov wrote: >> On 23.06.2014 19:32, John Baldwin wrote: >>> On Friday, June 20, 2014 11:25:51 am Roger Pau Monné wrote: >>>> Hello, >>>> >>>> I've s

Re: Ordering problem in if_detach_internal regarding if_bridge

2014-06-25 Thread Roger Pau Monné
On 24/06/14 19:06, John Baldwin wrote: > On Monday, June 23, 2014 1:12:54 pm Roger Pau Monné wrote: >> I'm not getting the traffic from the dying interface, I'm getting the >> traffic from another interface on the bridge (a physical bce interface), >> which inject

bce driver errors with if_bridge and dhcp

2014-08-13 Thread Roger Pau Monné
Hello, While trying to setup a bridge using if_bridge with a single bce interface I've hit the following error on 10.0-RELEASE (it doesn't happen all the times): NMI ISA 20, EISA ff NMI ISA 30, EISA ff NMI ISA 20, EISA ff NMI ... going to debugger NMI ... going to debugger NMI ISA 20, EISA ff N

Re: EM(4) - Link flap when bridged and adding members (em bridge flap)

2014-12-11 Thread Roger Pau Monné
El 10/12/14 a les 19.25, Ryan Stone ha escrit: >>From a quick look at the code, whenever an interface is added to a > bridge, if that interface does not support a feature currently enabled > on the bridge then it has to disable that feature on all member > interfaces of that bridge. That would re-

Questions about the FreeBSD network subsystem

2015-09-08 Thread Roger Pau Monné
Hello, I'm not very familiar with FreeBSD network subsystem and I'm trying to import a new version of xen-netfront from Linux to FreeBSD. So far so good, most stuff is pretty similar and I think I've _mostly_ figured it out by myself. I have however a couple of questions regarding the network subs

Re: multi-vCPU networking issues as client OS under Xen

2018-02-19 Thread Roger Pau Monné
On Mon, Feb 19, 2018 at 09:58:30AM +, Laurence Pawling via freebsd-xen wrote: > Hi all, > > > > I’m wondering if anyone here has seen this issue before, I’ve spent the last > couple of days troubleshooting: > > > > Platform: > > Host: XenServer 7.0 running on 2 x E2660-v4, 256GB RAM

Re: multi-vCPU networking issues as client OS under Xen

2018-02-19 Thread Roger Pau Monné
On Mon, Feb 19, 2018 at 10:42:08AM +, Laurence Pawling wrote: > >When using >1 vCPUs can you set hw.xn.num_queues=1 on > >/boot/loader.conf and try to reproduce the issue? > > > >I'm afraid this is rather related to multiqueue (which is only used > >if >1 vCPUs). > > > >

Re: Very slow and inconsistent internal network speed (between VM's on the same host) for FreeBSD 11.0+ as guest on XCP-ng/XenServer

2019-06-20 Thread Roger Pau Monné
Adding freebsd-net in case they can provide some feedback or tips about how to debug this. On Tue, Jun 18, 2019 at 04:03:00PM +0200, Christian M wrote: > I've noticed very slow networking speed between VM's with FreeBSD on the > same host (XCP-ng 7.6.0) for more recent FreeBSD-versions. Sadly int

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Roger Pau Monné
On Tue, Jun 25, 2019 at 01:55:40PM +0200, Christian M wrote: > I've made two tests while running tcpdump on the xcp-ng host. I'm not at > all qualified to interpret the .pcap files from tcpdump, but I've put them > on Google Drive and linked them below the two tests. Perhaps someone more > qualifie

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-25 Thread Roger Pau Monné
There's a mistake in my reply below. On Tue, Jun 25, 2019 at 04:56:43PM +0200, Roger Pau Monné wrote: > On Tue, Jun 25, 2019 at 01:55:40PM +0200, Christian M wrote: > > I've made two tests while running tcpdump on the xcp-ng host. I'm not at > > all qualified to

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-06-27 Thread Roger Pau Monné
On Thu, Jun 27, 2019 at 12:14:33PM +0200, Christian M wrote: > I've installed 12.0-STABLE on two new VM's now. 172.31.16.127 and .128. VIF > cheksum offloading is turned off, and -txcsum for xn0 for both VM's. > > I feel the throughput is more consistent now, not all over the place as > before, ev

Re: Very slow and inconsistent internal network speed (between, VM's on the same host) for FreeBSD 11.0+ as guest on, XCP-ng/XenServer

2019-07-04 Thread Roger Pau Monné
On Thu, Jun 27, 2019 at 12:31:35PM +0200, Christian M wrote: > Den tors 27 juni 2019 kl 12:19 skrev Roger Pau Monné : > > > On Thu, Jun 27, 2019 at 12:14:33PM +0200, Christian M wrote: > > > I've installed 12.0-STABLE on two new VM's now. 172.31.16.127 and .128. &

mbuf data crossing a page boundary

2021-12-24 Thread Roger Pau Monné
Hello, A user (on Cc) recently reported an issue on xen-devel when using FreeBSD as a Xen guest on a Linux host. Upon further examination the issue is caused by FreeBSD Xen virtual network adapter receiving an mbuf that contains a data buffer that crosses a page boundary. This is not an mbuf chain