Re: [OpenWrt-Devel] [PATCH] [ 4/5] ramips: add xmit_more support

2015-06-18 Thread Mingyu Li
Dear Sir. have any suggestion? Best Regards. 2015-06-05 18:09 GMT+08:00 Mingyu Li : > this feature i reference tg3.c driver at function tg3_start_xmit. > it says therer is a small possibility that start_xmit will miss it > and cause the queue to be stopped forever. > > below is the tg3 drivers

Re: [OpenWrt-Devel] [PATCH] [ 4/5] ramips: add xmit_more support

2015-06-05 Thread Mingyu Li
this feature i reference tg3.c driver at function tg3_start_xmit. it says therer is a small possibility that start_xmit will miss it and cause the queue to be stopped forever. below is the tg3 drivers code === function tg3_tx === tnapi->tx_cons = sw_idx; /* Need to make the tx_con

Re: [OpenWrt-Devel] [PATCH] [ 4/5] ramips: add xmit_more support

2015-06-05 Thread Felix Fietkau
On 2015-06-02 15:06, michael lee wrote: > use pktgen to verify on rt3662. can improve transmit rate. > pkt_size 1500 > burst 1 : 807Mb/sec > burst 8 : 984Mb/sec > > pkt_size 60 > burst 1 : 57Mb/sec > burst 8 : 236Mb/sec > > Signed-off-by: michael lee > --- > .../drivers/net/ethernet/ralink/rali

[OpenWrt-Devel] [PATCH] [ 4/5] ramips: add xmit_more support

2015-06-02 Thread michael lee
use pktgen to verify on rt3662. can improve transmit rate. pkt_size 1500 burst 1 : 807Mb/sec burst 8 : 984Mb/sec pkt_size 60 burst 1 : 57Mb/sec burst 8 : 236Mb/sec Signed-off-by: michael lee --- .../drivers/net/ethernet/ralink/ralink_soc_eth.c | 51 +- .../drivers/net/ethe