From nobody Tue Apr 04 17:59:57 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PrbBj3V03z43xBM for ; Tue, 4 Apr 2023 17:59:57 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrbBj0hCSz448F for ; Tue, 4 Apr 2023 17:59:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680631197; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yMu3vnH8ptgZofGbIZpc7dm1u1DU20dQCwYyLoxj3dg=; b=yv3xMqGqMYqR+uoJJZXNDiKqI1GNLOddlRiPmbqF6I+7pgAkRPGEzIlrMpRSCDKMnnIck3 LOk99Yx52CE5dh5NKtc1H9LPR8ikm0cjPpQqgXqrapJBFuZdsYjsipXzMGhoV5XXb7PEOV usvrJb/mIZ9f9lTJJMumQkQf6BdOrfnZSxJAZFpaDikrNQzmpxWtId0/V5i07GlqU0JZP6 5yT06uK6YCAPUNifqWMW/VGEB0VxAeUtaS22xfmLsOUPXvVMvemeVSFz6FbKoU9SqYLlOr cPv6s94y7vwj6mdsY+Fav27RQsAhC0qAAxYTDgs/ISloQd5ANOPHiCdzVd7G8Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680631197; a=rsa-sha256; cv=none; b=aJPotEuOQIKUYVIfMFz+vTCGvxKY4B9bV1fSoxPSa71BcWvv/imXOfFEpIQH7ntEZDAncr 1mZ2ULJSCwWOVTkPMyr8JZnlFegHPl+I/w9VfuQYpWm5DHQA5UVcl3bNybA8ytvR4irZT+ NAYG5GWHnRGhHXJMYQ7YaAkjPort13jKZ2EeImdGttJThrmOEvPOA7thd3qElIgY9o9eZz K/3xDxxluMofzg1ITJhWF7grb2JRi3Hr+VW3b+1ruBjES6Y0F/JCFC85ZK8XygDKbEuhKU EP+FJ4MLlwfSzQzQdCpbziehe7PkkU4Gy79trpSoP6PynGfAh3lWVh/OThM2Bw== 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 4PrbBh6ZVKzqbt for ; Tue, 4 Apr 2023 17:59:56 +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 334HxuwV036767 for ; Tue, 4 Apr 2023 17:59:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 334Hxu7p036766 for bugs@FreeBSD.org; Tue, 4 Apr 2023 17:59:56 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 270644] if_bnxt: IPv6 udp traffic always routed to Tx queue 0 on BCM574xx/BCM575xx controllers Date: Tue, 04 Apr 2023 17:59:57 +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: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: sumit.saxena@broadcom.com 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270644 Bug ID: 270644 Summary: if_bnxt: IPv6 udp traffic always routed to Tx queue 0 on BCM574xx/BCM575xx controllers Product: Base System Version: 12.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: sumit.saxena@broadcom.com BCM574xx/BCM575xx controllers are managed by "if_bnxt" driver module. I am observing an issue with these controllers while running IPv6 UDP traffic. T= he traffic is always routed to Tx queue 0 even though more than one Tx queues = are configured.=20 Network topology: SUT1(BCM574xx) <---> Switch <---> SUT2/(BCM574xx) Steps to reproduce: 1. Run iperf server on SUT2: iperf3 -s 2. Run iperf client on SUT1(System under test):=20 iperf3 -c :: -P 32 -t 3600 -l 1000 -w 1000 -u=20 3. Checked Tx packet stats from sysctl and observed that all packets are ro= uted to txq0.=20 # sysctl dev.bnxt.2.hwstats | grep ucast_pkts | grep txq dev.bnxt.2.hwstats.txq9.ucast_pkts: 0 dev.bnxt.2.hwstats.txq8.ucast_pkts: 0 dev.bnxt.2.hwstats.txq7.ucast_pkts: 0 dev.bnxt.2.hwstats.txq6.ucast_pkts: 0 dev.bnxt.2.hwstats.txq5.ucast_pkts: 0 dev.bnxt.2.hwstats.txq4.ucast_pkts: 0 dev.bnxt.2.hwstats.txq3.ucast_pkts: 0 dev.bnxt.2.hwstats.txq2.ucast_pkts: 0 dev.bnxt.2.hwstats.txq1.ucast_pkts: 6 dev.bnxt.2.hwstats.txq0.ucast_pkts: 105706 Expected results: IPv6 udp traffic should be fairly distributed among all Tx queues. Note:=20 The same issue is not observed with IPv4 UDP traffic.=20 Selection of Tx queue is done by FreeBSD "iflib" layer. Is it a iflib layer issue ? or the driver missed to do certain settings ? --=20 You are receiving this mail because: You are the assignee for the bug.=