[OpenWrt-Devel] Ralink MT76228 port to Linux 4.0, set new IP address fail

Roman Yeryomin leroi.lists at gmail.com
Sun Jun 14 11:11:28 EDT 2015


On 12 June 2015 at 19:45, Baptiste Clenet <bapclenet at gmail.com> wrote:
> Watchdog problem solved thanks to Mingyu Li.
> Patch the file ralink_soc_eth.c
>
> @@ -983,8 +983,11 @@ static int fe_poll(struct napi_struct *napi, int budget)
>
>         if (!tx_again && (rx_done < budget)) {
>                 status = fe_reg_r32(FE_REG_FE_INT_STATUS);
> -               if (status & (tx_intr | rx_intr ))
> +               if (status & (tx_intr | rx_intr )) {
> +                       /* let napi poll again */
> +                       rx_done = budget;
>                         goto poll_again;
> +               }
>
>                 napi_complete(napi);
>
> This solution is related to the ralink board only.
>

OK, similar fix works for ag71xx, will submit a patch...

Regards,
Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list