Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 2021 15:06:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254507] bnxt(4) promiscuous mode does not work
Message-ID:  <bug-254507-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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: <unknown>
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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMIS=
C>
metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3De506bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6>
        ether bc:97:e1:74:95:60
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause=
>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>



ifconfig ix0:
ix0: flags=3D28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
metric 0 mtu 1500
=20=20=20=20=20=20=20
options=3De53fbb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSU=
M,TSO4,TSO6,LRO,WOL_UCAST,WOL_MCAST,WOL_MAGIC,VLAN_HWFILTER,VLAN_HWTSO,RXCS=
UM_IPV6,TXCSUM_IPV6>
        ether 90:e2:ba:73:6b:bc
        media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause=
>)
        status: active
        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>


Any advice?


-- Trond

--=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-254507-227>