You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/19 22:41:47 UTC

[GitHub] [incubator-nuttx] patacongo edited a comment on pull request #1273: kinetis:Ethernet fixed & better interrupt management

patacongo edited a comment on pull request #1273:
URL: https://github.com/apache/incubator-nuttx/pull/1273#issuecomment-646884940


   > 
   > 
   > @patacongo I see. Is there a config that I can test, or can you suggest what has to be lit to test that case?
   
   This configurations support the network monitory:
   
       $ find boards -name defconfig | xargs grep NETINIT_MONITOR
       boards/arm/samv7/same70-xplained/configs/netnsh/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/arm/samv7/samv71-xult/configs/netnsh/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/arm/tiva/dk-tm4c129x/configs/ipv6/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/arm/tiva/dk-tm4c129x/configs/nsh/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/arm/tiva/tm4c1294-launchpad/configs/ipv6/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/arm/tiva/tm4c1294-launchpad/configs/nsh/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/renesas/rx65n/rx65n-grrose/configs/ipv6/defconfig:CONFIG_NETINIT_MONITOR=y
       boards/renesas/rx65n/rx65n-rsk2mb/configs/ipv6/defconfig:CONFIG_NETINIT_MONITOR=y
   
   I am not sure that there is any problem.  But there might be odd behaviors.  The network monitor will do nothing when the network goes down.  But if the PHY reports reports link activity, it will generate an interrupt and the network more will take the network down and bring it back up.  So I think everything survives.
   
   You really should be using the netinit monitor in your projects.  Otherwise, if the network goes down (say, because a cable is unplugged), there is nothing that will re-establish the network when the network comes back (say, because the cable is plugged back in) if the monitor in not enabled.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org