Date: Fri, 3 Nov 2017 11:32:51 +0000 From: Santiago Martinez <unix@ssbglimited.co.uk> To: Vincenzo Maffione <v.maffione@gmail.com>, Santiago Martinez <sm@codenetworks.net> Cc: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: FreeBSD 11.1 vmx + netmap queues Message-ID: <f1e18acc-65bd-3aa5-7529-2822cc486cee@ssbglimited.co.uk> In-Reply-To: <CA%2B_eA9hAhSPv0rsQAemBr90kKC07h=T74Bsjttx1yMjjJf8Jug@mail.gmail.com> References: <2bd87cdb-9ef7-387a-ba8a-cc7c90702eea@codenetworks.net> <CA%2B_eA9hAhSPv0rsQAemBr90kKC07h=T74Bsjttx1yMjjJf8Jug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Vincenzo, thanks a lot for your help. I tried it this morning and worked like a charm! Cheers Santi On 02/11/17 21:31, Vincenzo Maffione wrote: > Hi, > With vmx driver netmap will use the emulated netmap adapter. On freebsd > netmap still does not have a way to see how many rings an interface has. So > by default will assume 1 tx/rx rings couple for emulated adapter. You can > however change this by sysctl dev.netmap.generic_rings. > > Cheers, > Vincenzo > > Il 2 nov 2017 6:22 PM, "Santiago Martinez" <sm@codenetworks.net> ha scritto: > >> Hi list, hope you guys are doing well. >> >> I have a basic question. Do you know if multiple TX queues are >> supported for vmx + netmap ? >> >> Basically I'm using pkt-gen to generate bulk traffic @10Gbps and its OK >> with packet size >~1000b. >> >> For small packets I should use multiple cores/processes to be able to >> generate the required pps, but pkg-gen complain that I have only one queue. >> >> I tried adding multiple queues for vmx on loader.conf (can verify with >> sysctl) but netmap still complaining there is only one queue. >> >> sysctl -a | grep vmx.1: >> dev.vmx.1.mbuf_load_failed: 0 >> dev.vmx.1.mgetcl_failed: 0 >> dev.vmx.1.defrag_failed: 0 >> dev.vmx.1.defragged: 0 >> dev.vmx.1.nrxqueues: 8 >> dev.vmx.1.ntxqueues: 4 >> dev.vmx.1.max_nrxqueues: 8 >> dev.vmx.1.max_ntxqueues: 4 >> dev.vmx.1.%parent: pci4 >> dev.vmx.1.%pnpinfo: vendor=0x15ad device=0x07b0 subvendor=0x15ad >> subdevice=0x07b0 class=0x020000 >> dev.vmx.1.%location: slot=0 function=0 dbsf=pci0:11:0:0 >> handle=\_SB_.PCI0.PE50.S1F0 >> dev.vmx.1.%driver: vmx >> dev.vmx.1.%desc: VMware VMXNET3 Ethernet Adapter >> >> pkg-gen still saying one queue for vmx: >> >> Sending on netmap:vmx1: 1 queues, 2 threads and 4 cpus. >> >> >> Thanks in advance. >> >> Santiago >> >> _______________________________________________ >> freebsd-net@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-net >> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-net@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f1e18acc-65bd-3aa5-7529-2822cc486cee>