netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* how PHY driver is notified that cable is unplugged? (possibly related to IFF_RUNNING flag)
@ 2018-08-01 12:58 rpjday
  2018-08-01 17:31 ` Florian Fainelli
  0 siblings, 1 reply; 3+ messages in thread
From: rpjday @ 2018-08-01 12:58 UTC (permalink / raw)
  To: netdev


   (warning that i have a few questions that are probably trivial  
until i get up to speed
with networking code.)

   a colleague asked for advice about the following -- apparently a  
new PHY driver works
properly when being brought up with "ifconfig <ifname> up", part of  
that process
apparently setting the IFF_RUNNING net_device flags bit. so far, so good.

   now, when the cable is physically unplugged, the claim is that  
there is no obvious
status change for that port, accompanied by the suggestion that it is  
that IFF_RUNNING
flag bit that is not being unset.

   asking a more general question, where can i read up on the proper  
protocol for
a driver being notified of, and properly handling, physical  
disconnection on that
port? and, of course, the cable being plugged back in.

   thanks in advance for any pointers.

rday

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-01 23:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-01 12:58 how PHY driver is notified that cable is unplugged? (possibly related to IFF_RUNNING flag) rpjday
2018-08-01 17:31 ` Florian Fainelli
2018-08-01 21:45   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).