| Solaris |
|
|
On solaris, the driver is configured with a default name that is derived from the hardware (e.g., bge0, e1000g3 etc.) but it can be renamed thus:
$ pfexec dladm rename-link bge0 eth0
On Linux, the 'ethtool' is typically used to configure driver parameters. A mapping of equivalent Solaris tools is provided below
| Property | Linux | Solaris | |
| query pause param | ethtool \-h \-a | dladm show\-linkprop \-p flowctrl eth0 | |
| change autoneg | ethool \-A eth0 autoneg [on,off] | dladm \{set,show,reset\}\-linkprop \-p adv_autoneg_cap eth0 | |
| change rx/tx pause params | ethtool \-A eth0 rx on/off [tx on/off] | dladm set\-linkprop \-p flowctrl=\{tx,rx,no,bi\} eth0 | |
| interrupt coalescing | ethtool [\-c eth0] [\-C eth0 xxx] | N/A (automatically tuned in the stack) | |
| rx/tx ring parameter info. | ethtool [\-g eth0] [\-G eth0] | N/A (automatically tuned in the stack) | |
| query driver info. | ethtool \-i eth0 | dladm show\-linkprop eth0 | |
| register dump | ethtool \-d eth0 | pcitool | |
| eeprom dump | ethtool [\-e eth0] [\-E eth0] | N/A | |
| restart autoneg | ethtool \-r eth0 | automatically restarted when any of the autonegotiation or advertised speed/duplex props are modified. | |
| driver stats. | ethtool \-S | dladm show\-link \-s eth0 | |
| adapter selftest | ethtool \-t | N/A, OBP might have such func | |
| modify ethernet speed/duplex/autoneg. | ethtool \-s eth0 [speed 10,100,1000] [duplex half,full] [autoneg on,off] | dladm set\-linkprop \-p <MII prop> See dladm(1m) and ieee802.3 man page for supported speed/duplex props | |
| modify phy addr | ethtool eth0 phyad x:x:x:x:x:x | ifconfig eth0 x:x:x:x:x:x | |
| Wake On LAN | \-s eth0 wol xxx | not currently supported | |
| SecureOn(tm) passwd | ethool \-s eth0 sopass | not currently supported | |
| jumbo frame. | ifconfig | dladm set\-linkprop \-p mtu=<value> eth0 |
Terms of Use
|
Privacy
|
Trademarks
|
Copyright Policy
|
Site Guidelines
|
Site Map
|
Help
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
© 2012, Oracle Corporation and/or its affiliates.