02/11/2010 6:35 AM
devnp-shim queue problem in ifconfig tx stats for omapl137 on 6.4.0
Testing the OMAPL137 on QNX SDP 6.4.0 for flood ping of 50000 bytes packets
and the ping stops after some 60-65 secs and there after the tx fails
incrementing the errors for each packet txed,and in the nicinfo
the tx stats will not get updated. The rx path seems
to work fine even after the problem shows up.
As the ifconfig tx stats were updated by the shim, tried looking into that
shim driver code. The shim->num_queued gets incremented in the shim_start and gets
decremented in the ex_tx_done, but once it reaches the threshold limit(problem shows up),
even though the ex_tx_done does a decrement for further packets,
the num_queued never comes down.
Is my understanding correct here or I'm missing some thing on the shim driver's
architecturte of handling of the packets. Please help in debugging out this as
I'm bit new to this.
Please find the sloginfo attached.