net: macb: lack of statistics - tx_dropped

From: Hyung Jin Jung
Date: Wed Feb 01 2017 - 00:21:47 EST


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