freebsd-nq/sys/dev/cxgbe/firmware
Navdeep Parhar 15f3355567 cxgbe(4): Allow a T6 adapter to switch between TOE and NIC TLS mode.
The hw.cxgbe.kern_tls tunable was used for this in the past and if it
was set then all T6 adapters would be configured for NIC TLS operation
and could not be reconfigured for TOE without a reload.  With this
change ifconfig can be used to manipulate toe and txtls caps like any
other caps.  hw.cxgbe.kern_tls continues to work as usual but its
effects are not permanent any more.

* Enable nic_ktls_ofld in the default configuration file and use the
  firmware instead of direct register manipulation to apply/rollback
  NIC TLS configuration.  This allows the driver to switch the hardware
  between TOE and NIC TLS mode in a safe manner.  Note that the
  configuration is adapter-wide and not per-port.

* Remove the kern_tls config file as it works with 100G T6 cards only
  and leads to firmware crashes with 25G cards.  The configurations
  included with the driver (with the exception of the FPGA configs) are
  supposed to work with all adapters.

Reported by:	Veeresh U.K. at Chelsio
MFC after:	2 weeks
Sponsored by:	Chelsio Communications
Reviewed by:	jhb@
Differential Revision: https://reviews.freebsd.org/D29291
2021-03-25 12:39:41 -07:00
..
t4fw_cfg_uwire.txt
t4fw_cfg.txt cxgbe(4): Updates to the default and hashfilter configurations. 2019-02-25 16:28:13 +00:00
t4fw_interface.h cxgbe(4): Use firmware commands to get/set filter configuration. 2021-02-19 14:23:58 -08:00
t4fw-1.25.0.40.bin cxgbe(4): Add the firmware binaries missing in r367428. 2020-11-08 22:30:13 +00:00
t5fw_cfg_fpga.txt
t5fw_cfg_hashfilter.txt cxgbe(4): Updates to the default and hashfilter configurations. 2019-02-25 16:28:13 +00:00
t5fw_cfg_uwire.txt cxgbe(4): Update T4/5/6 firmwares to 1.23.0.0. 2019-03-13 06:46:15 +00:00
t5fw_cfg.txt cxgbe(4): Updates to the default and hashfilter configurations. 2019-02-25 16:28:13 +00:00
t5fw-1.25.0.40.bin cxgbe(4): Add the firmware binaries missing in r367428. 2020-11-08 22:30:13 +00:00
t6fw_cfg_fpga.txt
t6fw_cfg_hashfilter.txt cxgbe(4): Updates to the default and hashfilter configurations. 2019-02-25 16:28:13 +00:00
t6fw_cfg_uwire.txt cxgbe(4): Update T4/5/6 firmwares to 1.25.0.0. 2020-09-17 22:14:11 +00:00
t6fw_cfg.txt cxgbe(4): Allow a T6 adapter to switch between TOE and NIC TLS mode. 2021-03-25 12:39:41 -07:00
t6fw-1.25.0.40.bin cxgbe(4): Add the firmware binaries missing in r367428. 2020-11-08 22:30:13 +00:00