From owner-freebsd-bugs@freebsd.org Mon Jan 11 19:27:05 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6FA2F4E3E33 for ; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DF3cT2ZGHz4kNB for ; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 5835B4E3C65; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 57F354E3F1E for ; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF3cT1wpTz4kQ4 for ; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 350801FB52 for ; Mon, 11 Jan 2021 19:27:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 10BJR5KR018749 for ; Mon, 11 Jan 2021 19:27:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 10BJR5eR018748 for bugs@FreeBSD.org; Mon, 11 Jan 2021 19:27:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 252594] netmap pkt-gen verbose output out of bounds Date: Mon, 11 Jan 2021 19:27:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: brpoole@vt.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2021 19:27:05 -0000 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.=