Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2018 14:31:12 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        freebsd-net@freebsd.org
Subject:   11.2-STABLE: netmap/pkt-gen can not allocate memory
Message-ID:  <2a56ceab-a388-ed60-f231-014e167a0c2b@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--FXjv3fMbqxfm9P1mZawiHfxXPyolQsJJX
Content-Type: multipart/mixed; boundary="VMoDVIugr8qXzXReOtAXCBCktPfxSl4gI";
 protected-headers="v1"
From: Lev Serebryakov <lev@FreeBSD.org>
Reply-To: lev@FreeBSD.org
To: freebsd-net@freebsd.org
Message-ID: <2a56ceab-a388-ed60-f231-014e167a0c2b@FreeBSD.org>
Subject: 11.2-STABLE: netmap/pkt-gen can not allocate memory

--VMoDVIugr8qXzXReOtAXCBCktPfxSl4gI
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable


I'm trying to use "pkt-gen" on 11.2-STABLE r339914, with I210 (igb) adapt=
er.

 I'm starting

$ sudo ./pkt-gen -f rx -i igb1

193.634286 main [1731] interface is igb1
193.634342 extract_ip_range [293] range is 10.0.0.1:0 to 10.0.0.1:0
193.634347 extract_ip_range [293] range is 10.1.0.1:0 to 10.1.0.1:0
193.635703 nm_open [608] NIOCREGIF failed: Cannot allocate memory igb1
193.635707 main [1927] Unable to open netmap:igb1: Cannot allocate memory=

193.635710 main [1981] aborting

 And on console:

496.678143 [1026] netmap_finalize_obj_allocator Unable to create cluster
at 76 for 'netmap_ring' allocator
496.707940 [1026] netmap_finalize_obj_allocator Unable to create cluster
at 78488 for 'netmap_buf' allocator
496.751947 [ 609] netmap_obj_malloc         netmap_ring request size
65792 too large
496.752772 [1464] netmap_mem2_rings_create  Cannot allocate RX_ring
529.315433 [ 609] netmap_obj_malloc         netmap_ring request size
65792 too large
529.316256 [1464] netmap_mem2_rings_create  Cannot allocate RX_ring


--=20
// Lev Serebryakov


--VMoDVIugr8qXzXReOtAXCBCktPfxSl4gI--

--FXjv3fMbqxfm9P1mZawiHfxXPyolQsJJX
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE+W0coLX0MYtnSzMK6rA8WL/cR48FAlvcNYBfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY5
NkQxQ0EwQjVGNDMxOEI2NzRCMzMwQUVBQjAzQzU4QkZEQzQ3OEYACgkQ6rA8WL/c
R49pTQ//Q2bk3YSt0CUtHnGThhKVW6NcYqaq1sCpylGsNq18HT7nwX1Y2F403J7k
IYbi6tmlxaFwFmsowCUlhMFsSxD0CzkVnkSKf25I0li1Muc+SLXvgL7dCdqa0I0N
L3ccy35IoW5L1NlTYfsbbh+ORkkMRgcCe6kXCgiudS7ZI/DtDTO8QX3uThrrwmX+
97qA4sGhA2Eu0gYrfkjYyF3kVe4LSorHPbXP+/5SZTwaanHYa2So3VFZwXmFZSvi
5yRW1zbgeEMd5opZRmKmFVHvYCmYgkygIaBOtu0paMpgPMVwF392nMjQj9h3ap+I
cp3t8SNiMbZG2G+wRvMxHoSQqhvmatf9j/Hs7J2itdpsZVyObh1/dEwW+cBunAea
Pycd4gSIZtswpNiP2GPaCFnm7HYFBjZENQ1waQY0NRvhk1hR6Doo5thS1UwW57cT
wDO6myHFc0gBAYYaTL8/K9rac6rPPP3YAyrBrxQ+xk+aIk8x91slDkeC+AXaIQUF
SI8Orl9L6Vfjp3JAAVLViigf3BT1Lod4nfco1QqBUTQbbQuMkw8u4OWxGZWIqHSO
TUnvufRCieAx2wSb3Ffm9kUK446SfVjdy4qY856W0THLGjqTx0dnhlG5tEFA2NDO
kt4Fmo0t5EtbzYb9JUe3FAJtfTDtyjFXtaZoqslwvHylExOGAhU=
=uxVi
-----END PGP SIGNATURE-----

--FXjv3fMbqxfm9P1mZawiHfxXPyolQsJJX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2a56ceab-a388-ed60-f231-014e167a0c2b>