From owner-freebsd-bugs@freebsd.org Tue Mar 23 15:06:44 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 EADF85B1488 for ; Tue, 23 Mar 2021 15:06:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4ZTJ67gGz3F3m for ; Tue, 23 Mar 2021 15:06:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id D28C45B1487; Tue, 23 Mar 2021 15:06:44 +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 D24CB5B0DFE for ; Tue, 23 Mar 2021 15:06:44 +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 4F4ZTJ5L47z3F8G for ; Tue, 23 Mar 2021 15:06:44 +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 AA4EC22F25 for ; Tue, 23 Mar 2021 15:06:44 +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 12NF6isU075723 for ; Tue, 23 Mar 2021 15:06:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12NF6ijL075722 for bugs@FreeBSD.org; Tue, 23 Mar 2021 15:06:44 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 254507] bnxt(4) promiscuous mode does not work Date: Tue, 23 Mar 2021 15:06:44 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: trond.davidsen@it.uib.no 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: Tue, 23 Mar 2021 15:06:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254507 Bug ID: 254507 Summary: bnxt(4) promiscuous mode does not work Product: Base System Version: 12.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: trond.davidsen@it.uib.no Hi, I have a Dell R7515 server with 2 2-port Broadcom NetXtreme BCM5720 cards bge0@pci0:193:0:0: class=3D0x020000 card=3D0x08fd1028 chip=3D0x165f14e= 4 rev=3D0x00 hdr=3D0x00 vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe' class =3D network subclass =3D ethernet bge1@pci0:193:0:1: class=3D0x020000 card=3D0x08fd1028 chip=3D0x165f14e= 4 rev=3D0x00 hdr=3D0x00 vendor =3D 'Broadcom Inc. and subsidiaries' device =3D 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe' class =3D network subclass =3D ethernet dev.bnxt.3.%desc: Broadcom BCM57414 NetXtreme-E 10Gb/25Gb Ethernet dev.bnxt.2.%desc: Broadcom BCM57414 NetXtreme-E 10Gb/25Gb Ethernet dev.bnxt.1.%desc: Broadcom BCM57414 NetXtreme-E 10Gb/25Gb Ethernet dev.bnxt.0.%desc: Broadcom BCM57414 NetXtreme-E 10Gb/25Gb Ethernet dev.bnxt.0.ver.hwrm_min_ver: 1.2.2 dev.bnxt.0.ver.package_ver: dev.bnxt.0.ver.chip_type: ASIC dev.bnxt.0.ver.chip_bond_id: 0 dev.bnxt.0.ver.chip_metal: 1 dev.bnxt.0.ver.chip_rev: 1 dev.bnxt.0.ver.chip_num: 5847 dev.bnxt.0.ver.phy_partnumber: dev.bnxt.0.ver.phy_vendor: dev.bnxt.0.ver.roce_fw_name: BONO_FW dev.bnxt.0.ver.netctrl_fw_name: KONG_FW dev.bnxt.0.ver.mgmt_fw_name: AFW_214.4.42.2 dev.bnxt.0.ver.hwrm_fw_name: CHIMP_FW dev.bnxt.0.ver.phy: 13.1.11 dev.bnxt.0.ver.roce_fw: 214.0.194 dev.bnxt.0.ver.netctrl_fw: 214.4.7 dev.bnxt.0.ver.mgmt_fw: 214.4.42 dev.bnxt.0.ver.hwrm_fw: 214.4.91 dev.bnxt.0.ver.driver_hwrm_if: 1.8.1.7 dev.bnxt.0.ver.hwrm_if: 1.10.1 We have several of these ports connected to 10Gb mirror ports on Cisco switches, and want to generate netflow statistics from the traffic. But when we bring the interface up with promisc mode the driver does not seem to receive any traffic with tcpd= ump -n -i bnxt2. When we move the cable from a port on the Broadcom card to a port on a Intel card tcpdump -n -i ix0 shows lots of traffic. /etc/rc.conf: ifconfig_bnxt2=3D"promisc -tso4 -ts06 -lro" ifconfig_ix0=3D"promisc" ifconfig bnxt2: bnxt2: flags=3D28943 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De506bb ether bc:97:e1:74:95:60 media: Ethernet autoselect (10Gbase-SR ) status: active nd6 options=3D29 ifconfig ix0: ix0: flags=3D28943 metric 0 mtu 1500 =20=20=20=20=20=20=20 options=3De53fbb ether 90:e2:ba:73:6b:bc media: Ethernet autoselect (10Gbase-SR ) status: active nd6 options=3D29 Any advice? -- Trond --=20 You are receiving this mail because: You are the assignee for the bug.=