NIC card ioctl for speed

From: Arun (akumars_donotinclude__at_omnesysyindia.com)
Date: 02/10/05


Date: Thu, 10 Feb 2005 06:48:37 +0530

Hi,

I have been trying to get the speed (operating / max) of
network interfaces present in a system programmatically

The only ioctls that seem to give me this data seems to be
        SIOCGMIIPHY &
        SIOCETHTOOL

However MII has a max reporting limit of 100 mbps and ETH
seemd to have a max of 1 Gig.

Ami correct so far ?

If so, how does one find speeds of cards operating above
1 Gig, apart from scanning dmesg logs ?

And why is it that, MII inspite of having arrived on the
scene after ETHTOOL, support only upto 100mbps ?

thanks in advance
Arun



Relevant Pages

  • Re: OT: best method to increase wireless reception in house
    ... which can lead to "bleed through" from other networks on ... It's entirely possible that someone is operating something that uses the ... 2.4GHz band but isn't an 802.11 wireless network. ... And here's the thing about the speeds on your radio icon. ...
    (alt.sys.pc-clone.dell)
  • Re: I wanna build my own Computer
    ... One brand name I found was Asus, ... speeds opening pdf's and such, plus if you buy the right motherboard ... with 1 gig of ram and if it's not running as fast as you'd like you can ...
    (rec.music.phish)
  • Re: NDMP considerations
    ... gig it will move it at full usable gig speed, ... SnapMirror will beat whatever speeds you get for NFS though. ... I cannot answer the VTL question, ...
    (comp.arch.storage)
  • Re: Installation Woes - Update - AMD 64 MB Recommendation??
    ... My system is currently stable as I am operating with the 3200 chip at ... By the way, there also is a manual speed choice, but it is ... >>boot with the processor set to 2200 mHz. ... I did get it to boot at speeds up to ...
    (comp.os.os2.setup.misc)
  • Re: Intel D865GBF (memory question)
    ... | operating in dual channel mode already installed. ... | I was just curious as to how the 1 gig will respond since ...
    (microsoft.public.windowsxp.hardware)