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)
commitbcd4d2d80ce5038c10289c50c6a11e786cc1a04c
tree14580b804e341fb9e792f515c33f20886adf6c9f
parentb8de0b2ee1ef6db4f7ee2e71299ab0168ba562c2
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45895 3c298f89-4303-0410-b956-a3cf2f4a3e73
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