freebsd-dev/sbin/ifconfig
Alexander V. Chernikov c59adfc6a5 * Add new net/sff8436.h containing constants used to access
QSFP+ data via i2c inteface. These constants has been taken
  from SFF-8436 "QSFP+ 10 Gbs 4X PLUGGABLE TRANSCEIVER" standard
  rev 4.8.
* Add support for printing QSFP+ information from 40G NICs
  such as Chelsio T5.

This commit does not contain ioctl changes necessary for this
functionality work, there will be another commit soon.

Example:
cxl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=ec07bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,.....>
        ether 00:07:43:28:ad:08
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet 40Gbase-LR4 <full-duplex>
        status: active
        plugged: QSFP+ 40GBASE-LR4 (MPO Parallel Optic)
        vendor: OEM PN: OP-QSFP-40G-LR4 SN: 20140318001 DATE: 2014-03-18
        module temperature: 64.06 C voltage: 3.26 Volts
        lane 1: RX: 0.47 mW (-3.21 dBm) TX: 2.78 mW (4.46 dBm)
        lane 2: RX: 0.20 mW (-6.94 dBm) TX: 2.80 mW (4.47 dBm)
        lane 3: RX: 0.18 mW (-7.38 dBm) TX: 2.79 mW (4.47 dBm)
        lane 4: RX: 0.90 mW (-0.45 dBm) TX: 2.80 mW (4.48 dBm)

Tested on:	Chelsio T5
Tested on:	Mellanox/Huawei passive/active cables/transceivers.
MFC after:	2 weeks
Sponsored by:	Yandex LLC
2014-08-21 17:54:42 +00:00
..
af_inet6.c Fix ifconfig to show pltime and vltime with -L option, 2014-06-30 16:39:37 +00:00
af_inet.c Since size of struct in_aliasreq has just been changed in r228571, 2011-12-16 13:30:17 +00:00
af_link.c Ethernet vlan(4) interfaces have valid Ethernet link layer addresses but 2010-08-06 15:09:21 +00:00
af_nd6.c Fix a typo (s/error/errno/). 2013-07-03 09:50:59 +00:00
carp.c Rename ifcarp.c to carp.c 2011-12-16 14:30:58 +00:00
ifbridge.c
ifclone.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifconfig.8 Make the description of the "no_prefer_iface" flag easier to understand. 2014-07-12 10:18:33 +00:00
ifconfig.c Add support for reading i2c SFP/SFP+ data from NIC driver and 2014-08-16 19:13:52 +00:00
ifconfig.h Add support for reading i2c SFP/SFP+ data from NIC driver and 2014-08-16 19:13:52 +00:00
iffib.c Add infrastructure to allow all frames/packets received on an interface 2011-07-03 12:22:02 +00:00
ifgif.c Use printb() instead of rolling its own routine to display 2009-09-07 15:52:15 +00:00
ifgre.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifgroup.c Do not error out when adding an interface to a group to which it 2013-10-19 09:59:11 +00:00
ifieee80211.c Mark a mesh path to a mesh gate with a 'G'. 2013-02-07 21:23:03 +00:00
iflagg.c Don't free memory that is going to be used as error string. 2013-04-25 16:34:04 +00:00
ifmac.c - Use size_t instead of int when appropriate; 2009-06-23 23:49:52 +00:00
ifmedia.c When setting media always and not just in case of switching to IFM_AUTO 2011-05-15 12:51:00 +00:00
ifpfsync.c Make it possible to switch pfsync(4) deferral mechanism on/off. 2012-04-03 18:10:48 +00:00
ifvlan.c Allow toggling of IFCAP_VLAN_HWCSUM for hardware that supports checksum 2011-12-17 15:44:34 +00:00
Makefile Add forgotten DPADD to ifconfig(8). 2014-08-17 20:06:47 +00:00
regdomain.c ifconfig(8) is documented to take a ISO 3166-1 country code to set the 2009-12-15 20:44:12 +00:00
regdomain.h
sfp.c * Add new net/sff8436.h containing constants used to access 2014-08-21 17:54:42 +00:00