Network card query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I wish to find out exactly when my network card come up. I'm using the
e1000 driver/intel card and find that the driver is instantiated after
2-3 seconds after it is located. The dmesg then  shows the following
message:

 e1000: eth0: e1000_watchdog: NIC Link is Up 100 Mbps Full Duplex

Is there anyway to figure out when this condition is true? I used
netif_carrier_ok() and netif_running(). Both return true but the link
is not up and the packet i send does not get sent. Any ideas on any
function I can loop to check if the link is actually up?

Regards,
Asim

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux