11.2-STABLE: netmap/pkt-gen can not allocate memory

Lev Serebryakov lev at FreeBSD.org
Fri Nov 2 11:31:15 UTC 2018


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

 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


-- 
// Lev Serebryakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-net/attachments/20181102/fbcf14a7/attachment.sig>


More information about the freebsd-net mailing list