]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Link related changes.
authornp <np@FreeBSD.org>
Tue, 25 Sep 2018 05:52:42 +0000 (05:52 +0000)
committernp <np@FreeBSD.org>
Tue, 25 Sep 2018 05:52:42 +0000 (05:52 +0000)
commiteb5896f52da68773d8d9f2ecadbb99ee3fdf9afb
treeb69f2611f59a222a1821a56d29e186f1f6d0cf2d
parent0b4a4336f2c31ef0eea2cb11e6e8f47f47f56d35
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