Problem with hang-up on the Intel card

Andrey Savochkin
Thu Mar 2 02:00:07 2000


On Tue, Feb 29, 2000 at 11:08:25PM +0100, Alain NINANE wrote:
> Folks,
> I'm currently modifying Donald's driver to play with my own buffer
> management - basically, the skbuff objects have been replaced by private
> structures also known, by memory mapping, at the user level.
> As in the original driver, my private structures are linked to the RxFD
> rx_ringp in the speedo_private data structure.  In my software, the
> receiver structures are statically allocated.  That means that in some
> situations, I may have the rx_ringp structures empty with no more RxFD
> descriptors available for the NIC.  In this case however, the driver try
> to restart the receiver with the RxResumeNoResources and RxStart
> commands.  But this is is unsuccessful ... Do you have any hints ?

The first note: you can't pass the last skb from the ring to the upper layers
because it contains the "link" field.  There are also certain problems when
the card reports "no resource" or "no RX buffers" conditions.  Sometimes the
hardware do it preliminary when there are still some buffers.  In this case
the receiver should always be restarted.

For more details you may wish to look at the modified driver in 2.2.15pre12

Best regards
					Andrey V.
To unsubscribe send a message body containing "unsubscribe"