Compiling if_ix.c with IX_DEBUG yields
../../../../dev/pci/if_ix.c: In function 'ixgbe_print_hw_stats':
../../../../dev/pci/if_ix.c:3525: error: 'struct ix_softc' has no member named
'mbuf_alloc_failed'
../../../../dev/pci/if_ix.c:3526: error: 'struct ix_softc' has no member named
'mbuf_cluster_failed'
According to the if_ix.h those two are gone.
Diff to fix it.
--- if_ix.c Wed Nov 28 12:34:30 2012
+++ if_ix.c.my Wed Nov 28 12:31:04 2012
@@ -3515,15 +3515,17 @@
{
struct ifnet *ifp = &sc->arpcom.ac_if;;
- printf("%s: mbuf alloc failed %lu, mbuf cluster failed %lu, "
+ printf("%s: mbuf defrag failed %lu, mbuf header failed %lu, "
+ "mbuf packet failed %lu, "
"missed pkts %llu, rx len errs %llu, crc errs %llu, "
"dropped pkts %lu, watchdog timeouts %ld, "
"XON rx %llu, XON tx %llu, XOFF rx %llu, XOFF tx %llu, "
"total pkts rx %llu, good pkts rx %llu, good pkts tx %llu, "
"tso tx %lu\n",
ifp->if_xname,
- sc->mbuf_alloc_failed,
- sc->mbuf_cluster_failed,
+ sc->mbuf_defrag_failed,
+ sc->mbuf_header_failed,
+ sc->mbuf_packet_failed,
(long long)sc->stats.mpc[0],
(long long)sc->stats.roc + (long long)sc->stats.ruc,
(long long)sc->stats.crcerrs,
On 28 nov 2012, at 10:38, isnk00 <[email protected]> wrote:
> I have the same issue with Linksys WUSB54GC v3 (Ralink Technology) device.
As long as 5.2-current boots up with the device attached there is no problem
to detect it. The device does not seem to authenticate properly if it is not
in USB port to begin with.
>
> Luke
>
>
> 2012/11/27 mxb <[email protected]>
> There is however, no problem then:
>
> plugged -> boot -> wait -> unplug -> wait -> plug in.
>
> On 27 nov 2012, at 13:50, mxb <[email protected]> wrote:
>
> >
> > Hi tech@,
> >
> > ix(4) does not detects link then cable is plugged in into already running
machine.
> >
> > ix0:
flags=28b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST,NOINET6>
mtu 1500
> > lladdr bc:30:5b:f3:60:10
> > description: HW_EXT
> > priority: 0
> > media: Ethernet autoselect (1000baseT full-duplex)
> > status: active
> > inet 172.16.0.232 netmask 0xfffff800 broadcast 172.16.7.255
> > ix1:
flags=28b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST,NOINET6>
mtu 1500
> > lladdr bc:30:5b:f3:60:12
> > description: HW_INT
> > priority: 0
> > media: Ethernet autoselect
> > status: no carrier
> > inet 192.168.10.3 netmask 0xffffff00 broadcast 192.168.10.255
> >
> > ix0 at pci1 dev 0 function 0 "Intel X540T" rev 0x01: msi
> > ix1 at pci1 dev 0 function 1 "Intel X540T" rev 0x01: msi
> >
> > //maxim