https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254507

            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: b...@freebsd.org
          Reporter: trond.david...@it.uib.no

Hi,
I have a Dell R7515 server with 2 2-port Broadcom NetXtreme BCM5720 cards

bge0@pci0:193:0:0:      class=0x020000 card=0x08fd1028 chip=0x165f14e4 rev=0x00
hdr=0x00
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe'
    class      = network
    subclass   = ethernet
bge1@pci0:193:0:1:      class=0x020000 card=0x08fd1028 chip=0x165f14e4 rev=0x00
hdr=0x00
    vendor     = 'Broadcom Inc. and subsidiaries'
    device     = 'NetXtreme BCM5720 2-port Gigabit Ethernet PCIe'
    class      = network
    subclass   = 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 tcpdump
-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="promisc -tso4 -ts06 -lro"
ifconfig_ix0="promisc"



ifconfig bnxt2:
bnxt2: flags=28943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST,PPROMISC>
metric 0 mtu 1500
       
options=e506bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,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=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>



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


Any advice?


-- Trond

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to