Packet loss in hdlc driver with ppp(ping)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Packet loss in hdlc driver with ppp(ping)

548 Views
mdmuazzam
Contributor III

Hi all,

        I have written hdlc driver code for mpc8309twr and now interface is UP using PPP protocol. But suffering from packet loss with avg 20% always(sometimes loss is 0% if pkt size 64Bytes).As well as kernel panic after sometimes like 20 minutes.I observerd debug . Out of memory. So please comment for any solution.

Your answers are appreciated.

Thanks

Muazzam(india)

0 Kudos
1 Reply

403 Views
mdmuazzam
Contributor III

Problem is resolved ,memory issue was because of not freeing skb properly and used NAPI method for packet processing from irq handler.

Thanks

0 Kudos