freebsd-skq/sys/dev/cxgbe/common
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
..
common.h cxgbe(4): Allow a T6 adapter to switch between TOE and NIC TLS mode. 2021-03-25 12:39:41 -07:00
t4_hw.c cxgbe(4): Read the rx 'c' channel for a port and make it available. 2021-02-25 23:46:14 -08:00
t4_hw.h cxgbe(4): Use the correct filter width for T5+. 2021-02-19 14:23:58 -08:00
t4_msg.h cxgbe: replace zero sized array by flexible array 2020-12-29 23:09:15 +02:00
t4_regs_values.h cxgbe(4): Use correct FetchBurstMin values for T6. 2019-10-25 21:53:05 +00:00
t4_regs.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4_tcb.h NIC KTLS for Chelsio T6 adapters. 2019-11-21 19:30:31 +00:00
t4vf_hw.c cxgbev(4): Use the MAC address set by the the PF if there is one. 2020-11-09 00:01:13 +00:00