Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 11:33:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 221317] Netmap issue after ixgbe driver update in r320897
Message-ID:  <bug-221317-2472-Qcz08tNcN5@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221317-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221317-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317

--- Comment #9 from Cassiano Peixoto <peixoto.cassiano@gmail.com> ---
(In reply to Eric Joyner from comment #7)
Hi Eric,

It happens by chance, but i used to run a netmap application and many times=
 it
stops working and i need to reboot the server. Just to make sure the issue =
came
up after ixgbe driver update to 3.2.12-k.

Just to add for this PR here the issue happen bellow:

(root@rt1)~# /usr/local/proapps/bin/pkt-gen -i ix0 -f tx -c4 -p4
687.258207 main [2568] interface is ix0
687.258259 main [2691] running on 4 cpus (have 8)
687.258426 extract_ip_range [465] range is 10.0.0.1:1234 to 10.0.0.1:1234
687.258443 extract_ip_range [465] range is 10.1.0.1:1234 to 10.1.0.1:1234
687.489604 nm_open [850] overriding ifname ix0 ringid 0x0 flags 0x8004
687.605494 main [2786] mapped 273540KB at 0x801600000
Sending on netmap:ix0: 8 queues, 4 threads and 4 cpus.
10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff)
687.605584 main [2883] Sending 512 packets every  0.000000000 s
687.605674 nm_open [850] overriding ifname ix0 ringid 0x1 flags 0x8004
687.721195 nm_mmap [959] do not mmap, inherit from parent
687.721300 nm_open [850] overriding ifname ix0 ringid 0x2 flags 0x8004
687.836418 nm_mmap [959] do not mmap, inherit from parent
687.836520 nm_open [850] overriding ifname ix0 ringid 0x3 flags 0x8004
687.951300 nm_mmap [959] do not mmap, inherit from parent
687.951331 start_threads [2251] Wait 2 secs for phy reset
689.997961 start_threads [2253] Ready...
689.998143 sender_body [1444] start, fd 3 main_fd 3
689.998201 sender_body [1444] start, fd 4 main_fd 3
689.998232 sender_body [1444] start, fd 5 main_fd 3
689.998283 sender_body [1444] start, fd 6 main_fd 3
689.998259 main [2896] failed to install ^C handler: Invalid argument
690.035491 sender_body [1526] drop copy
690.041994 sender_body [1526] drop copy
690.042093 sender_body [1526] drop copy
690.042681 sender_body [1526] drop copy
690.999011 main_thread [2341] 10.901 Mpps (10.907 Mpkts 5.236 Gbps in 10005=
62
usec) 399.70 avg_batch 0 min_space
692.000049 main_thread [2341] 10.855 Mpps (10.866 Mpkts 5.216 Gbps in 10010=
37
usec) 399.65 avg_batch 399996 min_space
693.063201 main_thread [2341] 10.851 Mpps (11.536 Mpkts 5.537 Gbps in 10631=
52
usec) 399.66 avg_batch 399996 min_space
694.087449 main_thread [2341] 10.857 Mpps (11.120 Mpkts 5.338 Gbps in 10242=
48
usec) 399.64 avg_batch 399996 min_space
695.087945 main_thread [2341] 10.852 Mpps (10.858 Mpkts 5.212 Gbps in 10004=
96
usec) 399.64 avg_batch 399996 min_space
696.089042 main_thread [2341] 10.854 Mpps (10.865 Mpkts 5.215 Gbps in 10010=
97
usec) 399.64 avg_batch 399996 min_space
697.090944 main_thread [2341] 10.855 Mpps (10.875 Mpkts 5.220 Gbps in 10019=
02
usec) 399.65 avg_batch 399996 min_space
698.091952 main_thread [2341] 10.853 Mpps (10.864 Mpkts 5.215 Gbps in 10010=
08
usec) 399.68 avg_batch 399996 min_space
699.150016 main_thread [2341] 10.851 Mpps (11.481 Mpkts 5.511 Gbps in 10580=
64
usec) 399.67 avg_batch 399996 min_space
700.151767 main_thread [2341] 10.853 Mpps (10.872 Mpkts 5.219 Gbps in 10017=
51
usec) 399.66 avg_batch 399996 min_space
701.151958 main_thread [2341] 10.849 Mpps (10.851 Mpkts 5.209 Gbps in 10001=
90
usec) 399.70 avg_batch 399996 min_space
702.155017 main_thread [2341] 10.852 Mpps (10.885 Mpkts 5.225 Gbps in 10030=
60
usec) 399.64 avg_batch 399996 min_space
703.156485 main_thread [2341] 10.854 Mpps (10.870 Mpkts 5.218 Gbps in 10014=
68
usec) 399.64 avg_batch 399996 min_space
704.219446 main_thread [2341] 10.855 Mpps (11.538 Mpkts 5.538 Gbps in 10629=
61
usec) 399.66 avg_batch 399996 min_space
705.229017 main_thread [2341] 10.851 Mpps (10.955 Mpkts 5.259 Gbps in 10095=
71
usec) 399.65 avg_batch 399996 min_space
706.230039 main_thread [2341] 10.854 Mpps (10.865 Mpkts 5.215 Gbps in 10010=
22
usec) 399.64 avg_batch 399996 min_space
707.290196 main_thread [2341] 10.855 Mpps (11.508 Mpkts 5.524 Gbps in 10601=
57
usec) 399.65 avg_batch 399996 min_space
708.353447 main_thread [2341] 10.856 Mpps (11.542 Mpkts 5.540 Gbps in 10632=
51
usec) 399.66 avg_batch 399996 min_space
709.354198 main_thread [2341] 10.851 Mpps (10.859 Mpkts 5.212 Gbps in 10007=
50
usec) 399.64 avg_batch 399996 min_space
710.355141 main_thread [2341] 10.856 Mpps (10.866 Mpkts 5.216 Gbps in 10009=
43
usec) 399.65 avg_batch 399996 min_space
711.392196 main_thread [2341] 10.856 Mpps (11.258 Mpkts 5.404 Gbps in 10370=
56
usec) 399.64 avg_batch 399996 min_space
712.393486 main_thread [2341] 10.852 Mpps (10.866 Mpkts 5.216 Gbps in 10012=
90
usec) 399.67 avg_batch 399996 min_space
713.393950 main_thread [2341] 10.854 Mpps (10.859 Mpkts 5.212 Gbps in 10004=
63
usec) 399.65 avg_batch 399996 min_space
714.395262 main_thread [2341] 10.851 Mpps (10.866 Mpkts 5.216 Gbps in 10013=
13
usec) 399.66 avg_batch 399996 min_space
^C

(root@rt1)~# /usr/local/proapps/bin/pkt-gen -i ix0 -f tx -c4 -p4
716.666336 main [2568] interface is ix0
716.666387 main [2691] running on 4 cpus (have 8)
716.666560 extract_ip_range [465] range is 10.0.0.1:1234 to 10.0.0.1:1234
716.666578 extract_ip_range [465] range is 10.1.0.1:1234 to 10.1.0.1:1234
716.898132 nm_open [850] overriding ifname ix0 ringid 0x0 flags 0x8004
717.014194 main [2786] mapped 273540KB at 0x801600000
Sending on netmap:ix0: 8 queues, 4 threads and 4 cpus.
10.0.0.1 -> 10.1.0.1 (00:00:00:00:00:00 -> ff:ff:ff:ff:ff:ff)
717.014285 main [2883] Sending 512 packets every  0.000000000 s
717.014376 nm_open [850] overriding ifname ix0 ringid 0x1 flags 0x8004
717.128974 nm_mmap [959] do not mmap, inherit from parent
717.129078 nm_open [850] overriding ifname ix0 ringid 0x2 flags 0x8004
717.265684 nm_mmap [959] do not mmap, inherit from parent
717.265788 nm_open [850] overriding ifname ix0 ringid 0x3 flags 0x8004
717.414345 nm_mmap [959] do not mmap, inherit from parent
717.414376 start_threads [2251] Wait 2 secs for phy reset
719.415014 start_threads [2253] Ready...
719.415243 sender_body [1444] start, fd 3 main_fd 3
719.415291 sender_body [1444] start, fd 4 main_fd 3
719.415345 sender_body [1444] start, fd 5 main_fd 3
719.415359 sender_body [1444] start, fd 6 main_fd 3
719.415351 main [2896] failed to install ^C handler: Invalid argument
720.445090 main_thread [2341] 6.213 Kpps (6.396 Kpkts 3.070 Mbps in 1029510
usec) 399.75 avg_batch 0 min_space
721.425011 sender_body [1513] poll error/timeout on queue 3: No error: 0
721.445085 sender_body [1513] poll error/timeout on queue 0: No error: 0
721.445084 sender_body [1513] poll error/timeout on queue 1: No error: 0
721.445084 sender_body [1513] poll error/timeout on queue 2: No error: 0
721.476197 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1031109 us=
ec)
0.00 avg_batch 399996 min_space
722.539507 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1063310 us=
ec)
0.00 avg_batch 399996 min_space
723.447014 sender_body [1513] poll error/timeout on queue 1: No error: 0
723.447183 sender_body [1513] poll error/timeout on queue 2: No error: 0
723.490202 sender_body [1513] poll error/timeout on queue 3: No error: 0
723.490206 sender_body [1513] poll error/timeout on queue 0: No error: 0
723.559528 main_thread [2341] 0.000 pps (0.000 pkts 0.000 bps in 1020019 us=
ec)
0.00 avg_batch 399996 min_space
^C

(root@rt1)~# ifconfig ix0
ix0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3De407bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether 84:44:64:40:a1:5e
        hwaddr 84:44:64:40:a1:5e
        inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255=20
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier

Regarding the maintainer question, it really used to be Luigi, but i don't =
know
if he is still coding netmap. Anyway, I recommend speak with Vincenzo Maffi=
one.
He's the most active netmap developer nowadays. I'm copying him on this PR.
Maybe he can help to figure out the issue.

Thanks.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221317-2472-Qcz08tNcN5>