]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Link related changes.
authorNavdeep Parhar <np@FreeBSD.org>
Tue, 25 Sep 2018 05:52:42 +0000 (05:52 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Tue, 25 Sep 2018 05:52:42 +0000 (05:52 +0000)
commitea710848dca328f3d617ce52c5553e20d7de671c
treeb69f2611f59a222a1821a56d29e186f1f6d0cf2d
parentfd8cf3be5f3a1bfbe6b9b07bc610f3b1ce9361f4
cxgbe(4): Link related changes.

- Switch to using 32b port/link capabilities in the driver.  The 32b
  format is used internally by firmwares > 1.16.45.0 and the driver will
  now interact with the firmware in its native format, whether it's 16b
  or 32b.  Note that the 16b format doesn't have room for 50G, 200G, or
  400G speeds.

- Add a bit in the pause_settings knobs to allow negotiated PAUSE
  settings to override manual settings.

- Ensure that manual link settings persist across an administrative
  down/up as well as transceiver unplug/replug.

- Remove unused is_*G_port() functions.

Approved by: re@ (gjb@)
MFC after: 1 month
Sponsored by: Chelsio Communications
share/man/man4/cxgbe.4
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/common.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/osdep.h
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/tom/t4_cpl_io.c