ramips: improve tx clean up and add fe_tx_ring struct
authorFelix Fietkau <nbd@openwrt.org>
Fri, 5 Jun 2015 08:59:57 +0000 (08:59 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 5 Jun 2015 08:59:57 +0000 (08:59 +0000)
commit54205c341503ee82e203b43d222016565b8bb908
tree14580b804e341fb9e792f515c33f20886adf6c9f
parent77dc930fc0d4b9115bd749475cafbff9e02940ec
ramips: improve tx clean up and add fe_tx_ring struct

if there is any new tx need to clean up. do it in next napi poll.
collect tx related members to fe_tx_ring struct. for better
cache usage and more readable.

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 45895
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_ethtool.c
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.c
target/linux/ramips/files/drivers/net/ethernet/ralink/ralink_soc_eth.h