Date: Fri, 2 Nov 2018 15:43:16 +0100 From: Vincenzo Maffione <v.maffione@gmail.com> To: lev@freebsd.org Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: 11.2-STABLE: netmap/pkt-gen can not allocate memory Message-ID: <CA%2B_eA9iehqewAmFm2f9q1tkRsprvGBuThS%2BrmLk8RGymFsGdmA@mail.gmail.com> In-Reply-To: <a9a59823-a3ba-1fa2-622e-b1e710db5984@FreeBSD.org> References: <2a56ceab-a388-ed60-f231-014e167a0c2b@FreeBSD.org> <a9a59823-a3ba-1fa2-622e-b1e710db5984@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, It looks like there is not enough memory for netmap to allocate its data structures. What is the output of # sysctl dev.netmap ? Cheers, Vincenzo Il giorno ven 2 nov 2018 alle ore 14:02 Lev Serebryakov <lev@freebsd.org> ha scritto: > On 02.11.2018 14:31, Lev Serebryakov wrote: > > > > $ sudo ./pkt-gen -f rx -i igb1 > and pkt-gen from ports complains about invalid interface: > > 622.603767 main [2699] interface is igb1 > 622.603783 main [2824] using default burst size: 512 > 622.603786 main [2832] running on 1 cpus (have 4) > 622.603841 extract_ip_range [465] range is 10.0.0.1:1234 to 10.0.0.1:1234 > 622.603846 extract_ip_range [465] range is 10.1.0.1:1234 to 10.1.0.1:1234 > 622.603909 nm_open [920] NIOCREGIF failed: Invalid argument igb1 > 622.603912 main [2913] Unable to open netmap:igb1: Invalid argument > 622.603914 main [2994] aborting > > > -- > // Lev Serebryakov > > -- Vincenzo
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B_eA9iehqewAmFm2f9q1tkRsprvGBuThS%2BrmLk8RGymFsGdmA>