On Tue, Oct 30, 2012 at 11:23:37AM -0400, Tom Judge wrote: [...]
> I am trying to get if_lagg working in an HP blade for failover between > the 2 in chassis cisco switches, but it would seem that the link state > is not being propagated up to the lagg device. > > Any hints/ideas? > > > > dmesg: > bxe1: <Broadcom NetXtreme II BCM57711E 10GbE (A0) BXE v:1.5.52 > bxe1: Ethernet address: 00:25:b3:a8:76:e4 > bxe1: ASIC (0x16500000); Rev (A0); Bus (PCIe x4, 5Gbps); Flags > (MSI-X); Queues (RSS:16); BD's (RX:510,TX:255); Firmware (5.2.13); > Bootcode (4.8.0) > Try attached patch and let me know whether it makes any difference.
Index: sys/dev/bxe/if_bxe.c =================================================================== --- sys/dev/bxe/if_bxe.c (revision 242340) +++ sys/dev/bxe/if_bxe.c (working copy) @@ -2138,8 +2138,10 @@ bxe_attach(device_t dev) ifp->if_init = bxe_init; ifp->if_hwassist = BXE_IF_HWASSIST; ifp->if_capabilities = BXE_IF_CAPABILITIES; + ifp->if_capabilities |= IFCAP_LINKSTATE; /* TPA not enabled by default. */ ifp->if_capenable = BXE_IF_CAPABILITIES & ~IFCAP_LRO; + ifp->if_capenable |= IFCAP_LINKSTATE; if_initbaudrate(ifp, IF_Gbps(10)); ifp->if_snd.ifq_drv_maxlen = sc->tx_ring_size;
_______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"