Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 19:27:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 252594] netmap pkt-gen verbose output out of bounds
Message-ID:  <bug-252594-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 252594
           Summary: netmap pkt-gen verbose output out of bounds
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: brpoole@vt.edu

Hello,

I was testing pkt-gen with multiple queues and the verbose flag when I noti=
ced
the verbose output prints an extra ring. Below pkt-gen is configured for 16
queues but prints out queues 0-16.

310.048504 main [3158] nifp at offset 0, 16 tx 16 rx region 1
310.048506 main [3162]    TX0 at 0x0xa9000 slots 1023
310.048508 main [3162]    TX1 at 0x0xb2000 slots 1023
310.048510 main [3162]    TX2 at 0x0xbb000 slots 1023
310.048513 main [3162]    TX3 at 0x0xc4000 slots 1023
310.048516 main [3162]    TX4 at 0x0xcd000 slots 1023
310.048519 main [3162]    TX5 at 0x0xd6000 slots 1023
310.048523 main [3162]    TX6 at 0x0xdf000 slots 1023
310.048526 main [3162]    TX7 at 0x0xe8000 slots 1023
310.048528 main [3162]    TX8 at 0x0xf1000 slots 1023
310.048530 main [3162]    TX9 at 0x0xfa000 slots 1023
310.048533 main [3162]    TX10 at 0x0x103000 slots 1023
310.048535 main [3162]    TX11 at 0x0x10c000 slots 1023
310.048538 main [3162]    TX12 at 0x0x115000 slots 1023
310.048540 main [3162]    TX13 at 0x0x11e000 slots 1023
310.048543 main [3162]    TX14 at 0x0x127000 slots 1023
310.048545 main [3162]    TX15 at 0x0x130000 slots 1023
310.048548 main [3162]    TX16 at 0x0x0 slots 0
310.048549 main [3167]    RX0 at 0x0x19000 slots 1024
310.048551 main [3167]    RX1 at 0x0x22000 slots 1024
310.048553 main [3167]    RX2 at 0x0x2b000 slots 1024
310.048556 main [3167]    RX3 at 0x0x34000 slots 1024
310.048558 main [3167]    RX4 at 0x0x3d000 slots 1024
310.048561 main [3167]    RX5 at 0x0x46000 slots 1024
310.048563 main [3167]    RX6 at 0x0x4f000 slots 1024
310.048565 main [3167]    RX7 at 0x0x58000 slots 1024
310.048568 main [3167]    RX8 at 0x0x61000 slots 1024
310.048570 main [3167]    RX9 at 0x0x6a000 slots 1024
310.048572 main [3167]    RX10 at 0x0x73000 slots 1024
310.048575 main [3167]    RX11 at 0x0x7c000 slots 1024
310.048577 main [3167]    RX12 at 0x0x85000 slots 1024
310.048580 main [3167]    RX13 at 0x0x8e000 slots 1024
310.048582 main [3167]    RX14 at 0x0x97000 slots 1024
310.048584 main [3167]    RX15 at 0x0xa0000 slots 1024
310.048587 main [3167]    RX16 at 0x0x0 slots 0


It appears the Netmap repo fixed this problem in commit 81b7a0d but the fix
wasn't propagated to FreeBSD. If you look at correcting this, I would also =
like
to add that on current FreeBSD the %p modifier adds the '0x' pattern
automatically so the formatting above results in a double '0x0x'.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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