A message for Linux.com registered users: We are in the process of making changes to the Linux forums. Starting Monday, 8/13/18 at 6:00 PM PT, you will be unable to access the forums. They will re-launch as soon as possible on Wednesday, 8/15/18 with new features and improved functionality. Thank you for your patience and stay tuned for the new improved forums.
EMAC Link Status
In C code, I'm trying to retrieve the emac link status, speed, and duplex. I made a system call to "cat /proc/net/emac_link" and parsed the output. But this takes WAY too much time (around 75ms). Is there a faster (and better) way to get this information, say, through a driver IOCTL?