Date: Thu, 16 Feb 2017 08:35:41 +0000 From: "Eggert, Lars" <lars@netapp.com> To: "freebsd-net@FreeBSD.org" <freebsd-net@FreeBSD.org> Cc: Giuseppe Lettieri <g.lettieri@iet.unipi.it> Subject: netmap error on -CURRENT with em and igb Message-ID: <8F640402-8F0B-407D-AB72-743A9AB50CA3@netapp.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_896D9E6C-1F62-4BA5-BE05-9D4BF9C48C03 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi, I can't put em or igb interfaces into netmap mode on a recent -CURRENT = (ix interfaces work on the same machines). Here are the pkt-gen and = dmesg outputs: #=EE=82=B0 sudo sysctl dev.netmap.admode=3D1 #=EE=82=B0 sudo sysctl dev.netmap.verbose=3D1 # sudo ./pkt-gen -i em1 790.411737 main [2274] interface is em1 790.411753 main [2397] running on 1 cpus (have 20) 790.411823 extract_ip_range [369] range is 10.0.0.1:0 to 10.0.0.1:0 790.411828 extract_ip_range [369] range is 10.1.0.1:0 to 10.1.0.1:0 790.625117 nm_open [898] NIOCREGIF failed: Operation not permitted em1 790.625126 main [2479] Unable to open netmap:em1: Operation not = permitted 790.625129 main [2560] aborting dmesg: 790.411868 [1776] netmap_interp_ringid em1: tx [0,2) rx [0,2) id 0 790.419431 [ 551] nm_mem_assign_group iommu_group 0 790.425548 [1148] netmap_config_obj_allocator objsize 1024 clustsize = 4096 objects 4 790.434368 [1148] netmap_config_obj_allocator objsize 36864 clustsize = 36864 objects 1 790.443390 [1148] netmap_config_obj_allocator objsize 2048 clustsize = 4096 objects 2 790.452219 [1270] netmap_finalize_obj_allocator Pre-allocated 25 = clusters (4/100KB) for 'netmap_if' 790.463605 [1270] netmap_finalize_obj_allocator Pre-allocated 200 = clusters (36/7200KB) for 'netmap_ring' 790.534919 [1270] netmap_finalize_obj_allocator Pre-allocated 81920 = clusters (4/327680KB) for 'netmap_buf' 790.546113 [1377] netmap_mem_finalize_all interfaces 100 KB, rings = 7200 KB, buffers 320 MB 790.555873 [1380] netmap_mem_finalize_all Free buffers: 163838 790.605325 [1831] netmap_mem_global_deref active =3D 0 790.612967 [ 949] netmap_close dev 0xfffff8000a4d7c00 fflag = 0x20003 devtype 8192 td 0xfffff8000b899000 # sudo ./pkt-gen -i igb1 094.077695 main [2274] interface is igb1 094.077711 main [2397] running on 1 cpus (have 10) 094.077822 extract_ip_range [369] range is 10.0.0.1:0 to 10.0.0.1:0 094.077827 extract_ip_range [369] range is 10.1.0.1:0 to 10.1.0.1:0 094.280311 nm_open [898] NIOCREGIF failed: Operation not permitted igb1 094.280319 main [2479] Unable to open netmap:igb1: Operation not = permitted 094.280323 main [2560] aborting dmesg: 094.077866 [1776] netmap_interp_ringid igb1: tx [0,8) rx [0,8) id 0 094.085425 [ 551] nm_mem_assign_group iommu_group 0 094.091449 [1148] netmap_config_obj_allocator objsize 1024 clustsize = 4096 objects 4 094.100125 [1148] netmap_config_obj_allocator objsize 36864 clustsize = 36864 objects 1 094.109004 [1148] netmap_config_obj_allocator objsize 2048 clustsize = 4096 objects 2 094.117705 [1270] netmap_finalize_obj_allocator Pre-allocated 25 = clusters (4/100KB) for 'netmap_if' 094.128918 [1270] netmap_finalize_obj_allocator Pre-allocated 200 = clusters (36/7200KB) for 'netmap_ring' 094.199456 [1270] netmap_finalize_obj_allocator Pre-allocated 81920 = clusters (4/327680KB) for 'netmap_buf' 094.210482 [1377] netmap_mem_finalize_all interfaces 100 KB, rings = 7200 KB, buffers 320 MB 094.220078 [1380] netmap_mem_finalize_all Free buffers: 163838 094.260201 [1831] netmap_mem_global_deref active =3D 0 094.268364 [ 949] netmap_close dev 0xfffff8000a453000 fflag = 0x20003 devtype 8192 td 0xfffff80014d45000 Lars --Apple-Mail=_896D9E6C-1F62-4BA5-BE05-9D4BF9C48C03 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYpWRcAAoJEFS1wwm/cMFXUjMP/0q/MlQjFQrZ4AyqFbpwULqQ 9HTvRtcGfSal/Mo3xu0KS/thQF6uNeRYbiuyrcyS1nUK4vq8AHaEvfbQQMeONZJf 4+1QWdPRvJ4m+R8C0krU2cbCpLLhcZARCmWBPiFbvSjOsQxGJOiUN9e7PiDfSDJT jrfblJ7gLTQWt+EfgPNF9btPAGvHd81obaIsOt1X7ofLv+366cv6rlSEzD0wm6vZ 6FRrBoM2B44q33i0LHHLNSX2q61d8Rl5iu4LFahpIHkp1B/ZV28I5GILPi8a6Ntu 3F0C5DP5FiVhcT7YMZzBZ1vqQqrArNJdv0l1zWyP/7AvfA9bNiY86Ur4GxvLsp9s PnH4A3G1xh87xrKl2gnIPyKWGj8WBzj+2cGVC4F8eAUtFKjtA0UVRzDbE23I52SK ZOI3+4LQsHRTrUsKVZU2ViDFa1UTwS+WoXUH1wcIkHvY5TVw7z+a1khERpda74Kj 0mhQifVUags9TAcfIMkBhzeknmujVej0Cw08p6RJaeSiTsCkS4NX9XLYMSswmo4o YKYi3a2YgTZUuHo7CfPYJ/9xPX8h/+VHGqj8jnw6MtdcRbcDkDielZUMTlu+hvTa AKh9jAW9xftwBvfxalBlFwfa0gD7M0d/Sf3G6fgEYR8PIPVCqY4vmhVjUaoowc++ IkLcZGgEuwApftwG/QkX =pDC1 -----END PGP SIGNATURE----- --Apple-Mail=_896D9E6C-1F62-4BA5-BE05-9D4BF9C48C03--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8F640402-8F0B-407D-AB72-743A9AB50CA3>