History log of /freebsd-10-stable/sys/dev/qlxgbe/ql_hw.c
Revision Date Author Comments
# 332053 05-Apr-2018 davidcs

MFC r331739
1. Add additional debug prints.
2. Break transmit when IFF_DRV_RUNNING is OFF.
3. set desc_count=0 for default case in switch in ql_rcv_isr()


# 330556 06-Mar-2018 davidcs

MFC r329855
1. Added support to offline a port if is error recovery on successful.
2. Sysctls to enable/disable driver_state_dump and error_recovery.
3. Sysctl to control the delay between hw/fw reinitialization and
restarting the fastpath.
4. Stop periodic stats retrieval if interface has IFF_DRV_RUNNING flag off.
5. Print contents of PEG_HALT_STATUS1 and PEG_HALT_STATUS2 on heartbeat
failure.
6. Speed up slowpath shutdown during error recovery.
7. link_state update using atomic_store.
8. Added timestamp information on driver state and minidump captures.
9. Added support for Slowpath event logging
10.Added additional failure injection types to simulate failures.


# 324763 19-Oct-2017 davidcs

MFC r324535
Add sanity checks in ql_hw_send() qla_send() to ensure that empty slots
in Tx Ring map to empty slot in Tx_buf array before Transmits. If the
checks fail further Transmission on that Tx Ring is prevented.


# 324329 05-Oct-2017 davidcs

MFC r324065
Tx Ring Shadow Consumer Index Register needs to be cleared prior
to passing it's physical address to the FW during Tx Create Context.


# 324327 05-Oct-2017 davidcs

MFC r324026
Fix delete all multicast addresses

Submitted by:Anand.Khoje@cavium.com


# 324032 26-Sep-2017 davidcs

MFC r323824
1. ql_hw.c:
In ql_hw_send() return EINVAL when TSO framelength exceeds max
supported length by HW.(davidcs)
2. ql_os.c:
In qla_send() call bus_dmamap_unload before freeing mbuf or
recreating dmmamap.(davidcs)
In qla_fp_taskqueue() Add additional checks for IFF_DRV_RUNNING
Fix qla_clear_tx_buf() call bus_dmamap_sync() before freeing
mbuf.

Submitted by: David.Bachu@netapp.com


# 322975 28-Aug-2017 davidcs

MFC 322771

Upgrade FW to 5.4.66
sysctls to display stats, stats polled every 2 seconds
Modify QLA_LOCK()/QLA_UNLOCK() to not sleep after acquiring mtx_lock
Add support to turn OFF/ON error recovery following heartbeat failure for
debug purposes.
Set default max values to 32 Tx/Rx/SDS rings

Approved by: re(gjb)


# 321499 26-Jul-2017 davidcs

MFC 321233
Raise the watchdog timer interval to 2 ticks, there by guaranteeing
that it fires between 1ms and 2ms. `
Treat two consecutive occurrences of Heartbeat failures as a legitimate
Heartbeat failure


# 321497 26-Jul-2017 davidcs

MFC 320694
Allow MTU changes without ifconfig down/up


# 320368 26-Jun-2017 davidcs

MFC r320175
Add pkts_cnt_oversized to stats.


# 317991 08-May-2017 davidcs

MFC r317180
Cleanup QLA_LOCK/QLA_UNLOCK macros
remove unused QLA_TX_LOCK/QLA_TX_UNLOCK macros
format qla_error_recovery()


# 317111 19-Apr-2017 davidcs

MFC r316309
Add support for optional Soft LRO


# 313072 02-Feb-2017 davidcs

MFC r312728
Added support for if_transmit and if_qflush
Removed if_start
updated version to 3.10.33


# 307525 17-Oct-2016 davidcs

MFC r306790
Add support for adding up to 64 Multicast addresses with a single
mailbox command


# 305491 06-Sep-2016 davidcs

MFC 304249
Add support for set/get cam search mode


# 305490 06-Sep-2016 davidcs

MFC r394247
Upgrade fw, bootloader and minidump template to version 5.4.58
Add minidump retrieval code

MFC r394248
Add ql_minidump.h


# 292615 22-Dec-2015 davidcs

MFC r289635

ql_hw.c: fixed error code INJCT_HEARTBEAT_FAILURE
ql_os.c: removed unnecessary debug printf
ql_ver.h: updated version number


# 284982 30-Jun-2015 davidcs

MFC r284741

Updated Copyright information
Added support for the following:
- iSCSI TLV (requires 64 Tx and 32 Rx rings
- 9K receive buffers for jumbo frames (feature may be enabled/disabled)
- builtin firmware, bootloader and minidump template
- quick stats
- async event handling for SFP insertion/removal and DCBX changes
- Configuring DCBX and interrupt coalescing parameters


# 258457 21-Nov-2013 davidcs

MFC r258155
ql_hw.[c,h]: set minimum thresholds on pkt size for lro path.
ql_ioctl.c: validate the length and address of buffer passed to QL_RD_FW_DUMP
MFC r258156
qls_ioctl.c: Validate the buffer and its length passed to QLA_MPI_DUMP.
copyout dump only if qls_mpi_core_dump() is successful.
(like to credit x90c for pointing the issue)

Approved by: re (delphij)


# 284982 30-Jun-2015 davidcs

MFC r284741

Updated Copyright information
Added support for the following:
- iSCSI TLV (requires 64 Tx and 32 Rx rings
- 9K receive buffers for jumbo frames (feature may be enabled/disabled)
- builtin firmware, bootloader and minidump template
- quick stats
- async event handling for SFP insertion/removal and DCBX changes
- Configuring DCBX and interrupt coalescing parameters


# 258457 21-Nov-2013 davidcs

MFC r258155
ql_hw.[c,h]: set minimum thresholds on pkt size for lro path.
ql_ioctl.c: validate the length and address of buffer passed to QL_RD_FW_DUMP
MFC r258156
qls_ioctl.c: Validate the buffer and its length passed to QLA_MPI_DUMP.
copyout dump only if qls_mpi_core_dump() is successful.
(like to credit x90c for pointing the issue)

Approved by: re (delphij)