net: macb: lack of statistics - tx_dropped

From: Hyung Jin Jung <hidden>
Date: 2017-02-01 05:21:21
Also in: lkml

macb doesn't maintain statistics of dropped packets when transmitting.
so that it's not possible to detect packet loss in user space (sysfs, procfs...)

macb_start_xmit should to increase tx_dropped in case of exception - buffer full, dma mapping fail

Davy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help