#18922: eth1 (ag71xx): transmit queue 0 timed out
------------------------+--------------------------------
  Reporter:  fpv2000@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:  Chaos Calmer 15.05
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+--------------------------------

Comment (by psyke83):

 Could this be an oversight that might solve the tx timeout issues for the
 original reporter (QCA9553) and my own (AR7241) device? Both are set with
 the "is_ar724x" flag, but not "is_ar7240".

 {{{
 ---
 a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
 +++
 b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
 @@ -914,7 +914,7 @@ static int ag71xx_tx_packets(struct ag71xx *ag)
                 struct sk_buff *skb = ring->buf[i].skb;

                 if (!ag71xx_desc_empty(desc)) {
 -                       if (pdata->is_ar7240 &&
 +                       if (pdata->is_ar724x &&
                             ag71xx_check_dma_stuck(ag,
 ring->buf[i].timestamp))
                                 schedule_work(&ag->restart_work);
                         break;
 }}}

 I've completed a local compile with this change but I've never tried
 flashing self-compiled build before. so I'm apprehensive. I'll follow up
 soon (if the build flashes/works correctly).

--
Ticket URL: <https://dev.openwrt.org/ticket/18922#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to