From nobody Wed Dec 8 12:56:50 2021 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 A29F418CD6F8 for ; Wed, 8 Dec 2021 12:56:50 +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 4J8HHQ2g7Yz3hkZ for ; Wed, 8 Dec 2021 12:56:50 +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 3796A13A34 for ; Wed, 8 Dec 2021 12:56:50 +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 1B8Cuo4u097669 for ; Wed, 8 Dec 2021 12:56:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B8Cuowi097668 for bugs@FreeBSD.org; Wed, 8 Dec 2021 12:56:50 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 260274] bnxt(4) eats incoming gre packets passing through unless promisc is toggled on Date: Wed, 08 Dec 2021 12:56:50 +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: knan-bfo@modirum.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638968210; 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=81kxc2NHm1LTXG5FUEBu113RsRXZPlhCUtcaen1QTpk=; b=ESKkCucUHV79jySJtZ181BZr/vVOcBlkdfIo6bZ1T9nSK21/fAParRmh0KMhYU8hiTUIlR I+y7/CKQe7JVKKVmPoKOaHZY8+OWb1DeISrKuLmKqAGBv8Ty1MSDIUYbJBl0BRKo5n1FGr W658llLVJD7x+KzBxiASHx8xM30C1OLHAz23PCADJyUXBlup8+XvHLUj4XgVNbY1FHWX13 oBQ5VDeoh8WX69fXA0gIWazGa1dOds1lcWD21OSqLzTZK4ufVGzEOCbFMCePzGdsLj9K9E Z463x23hp5iUrov7X4XmJo+h5NqbahuxRkuhBHIzjdoiZU9un2esbwxvZZBLww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638968210; a=rsa-sha256; cv=none; b=sfeR8QOLHXnbUGM2GLj9QKwg/I3tAx36DL5m7E0xF/WH0nl0EHwcR70hRy1xR1GGmeI/5O E5Ef0hy9RagjboIb6E+ZUb6dz5l8hphI2W9wHVvFkV2BzUHOpRkZXGzWrj5LyfgVsDHkUH gfQS7aNLbqAZgBO7vtDLKl7rf8L6VrVE6HoYSxEBDALgqZAhzvSn2+JVWhuV7qPDD2f07e 0DaJIZOg+lpyG1hjVEXx/yp/wK3N6Aaw5tecFXYt/qcGDHiXt0PwNR1MnSnJOP5OPCgDLd rpvxVttxt4ty1UwqrRQTm1SV1ErCbLuT+BrjKK+/HgkuJez01Yv3XjCl5eBsqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260274 Bug ID: 260274 Summary: bnxt(4) eats incoming gre packets passing through unless promisc is toggled on Product: Base System Version: CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: knan-bfo@modirum.com On our routers with BSDRP 1.99, we have a weird problem with bnxt(4) interfaces. GRE packets coming in on the bnxt interfaces are never seen and forwarded by the router, unless we toggle promisc mode on. If we bring the interface up in promisc mode after a reboot, the packets are also eaten and not visible in tcpdump. If we toggle promisc off and on again with ifconfig, gre packets are suddenly visible and passed on by routing. We have not set any bnxt-specific sysctls. BSDRP 1.99 uses FreeBSD 14-head 7b8696bf128 from dmesg: bnxt0: mem 0x18020110000-0x1802011ffff,0x18020000000-0x180200fffff,0x18020122000-0x180= 20123fff at device 0.0 on pci6 bnxt0: Using 256 TX descriptors and 256 RX descriptors bnxt0: Using 16 RX queues 16 TX queues bnxt0: Using MSI-X interrupts with 17 vectors bnxt0: Ethernet address: bnxt0: netmap queues/slots: TX 16/256, RX 16/256 bnxt1: mem 0x18020100000-0x1802010ffff,0x1801ff00000-0x1801fffffff,0x18020120000-0x180= 20121fff at device 0.1 on pci6 bnxt1: Using 256 TX descriptors and 256 RX descriptors bnxt1: Using 16 RX queues 16 TX queues bnxt1: Using MSI-X interrupts with 17 vectors bnxt1: Ethernet address: bnxt1: netmap queues/slots: TX 16/256, RX 16/256 versions: dev.bnxt.1.ver.hwrm_min_ver: 1.2.2 dev.bnxt.1.ver.package_ver: dev.bnxt.1.ver.chip_type: ASIC dev.bnxt.1.ver.chip_bond_id: 0 dev.bnxt.1.ver.chip_metal: 1 dev.bnxt.1.ver.chip_rev: 1 dev.bnxt.1.ver.chip_num: 5848 dev.bnxt.1.ver.phy_partnumber:=20 dev.bnxt.1.ver.phy_vendor:=20 dev.bnxt.1.ver.roce_fw_name: BONO_FW dev.bnxt.1.ver.netctrl_fw_name: KONG_FW dev.bnxt.1.ver.mgmt_fw_name: AFW_214.4.28.0 dev.bnxt.1.ver.hwrm_fw_name: CHIMP_FW dev.bnxt.1.ver.phy: 13.1.11 dev.bnxt.1.ver.roce_fw: 214.0.194 dev.bnxt.1.ver.netctrl_fw: 214.0.255 dev.bnxt.1.ver.mgmt_fw: 214.4.28 dev.bnxt.1.ver.hwrm_fw: 214.4.65 dev.bnxt.1.ver.driver_hwrm_if: 1.8.1.7 dev.bnxt.1.ver.hwrm_if: 1.10.1 --=20 You are receiving this mail because: You are the assignee for the bug.=