HardenedBSD/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
af_link.c
af_nd6.c Fix a typo (s/error/errno/). 2013-07-03 09:50:59 +00:00
carp.c
ifbridge.c
ifclone.c
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
ifgif.c
ifgre.c
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
ifmedia.c
ifpfsync.c
ifvlan.c
Makefile Add forgotten DPADD to ifconfig(8). 2014-08-17 20:06:47 +00:00
regdomain.c
regdomain.h
sfp.c * Add new net/sff8436.h containing constants used to access 2014-08-21 17:54:42 +00:00