Re: problems with em(4) since update to driver 7.2.2



2011/5/4 Jack Vogel <jfvogel@xxxxxxxxx>:
It has nothing to do with load, it has to do with the prerequisites to init
your interfaces.
The amount you need is fixed, it doesn't vary with load. Every RX descriptor
needs one,
so its simple math, number-of-interfaces X number-of-queues X size of the
ring.

If you have other network interfaces beside Intel they also consume mbufs
remember.

Only one network interface.
# kldunload if_em.ko
(the old one)
# sysctl kern.ipc.nmbclusters=512000
(I also tried with lower and more meaningful values)
# kldload ./if_em.ko
(the new one)
# dmesg
em0: detached
pci0: <network, ethernet> at device 25.0 (no driver attached)
em0: <Intel(R) PRO/1000 Network Connection 7.2.3> port 0x2100-0x211f
mem 0xf0000000-0xf001ffff,0xf0025000-0xf0025fff irq 19 at device 25.0
on pci0
em0: Using an MSI interrupt
em0: Ethernet address: d4:85:64:b2:aa:f5
em0: Could not setup receive structures
em0: Could not setup receive structures

What can we do to help you debug this ?

--
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier@xxxxxxxx        - against HTML email & vCards  X
www: http://www.gid0.org ;   - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"