#
70547544 |
|
12-Dec-2023 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: IO timeout handling and error reporting fix. Hardware timeout uses a 8-bit timeout value and expects the timeout to be less than 255 seconds. Added software timer implemetation to timeout and abort the IOs with timeout more than 255 seconds. Fix the timeout problem by dividing CAM timeouts by 1000 as hardware expects timeout value in seconds. Before this change, CAM timeouts in milliseconds were getting truncated to 8 bits and converted to seconds. So the actual timeout used when going down to the card would depend on the bottom 8 bits of the timeout used. Add the mapping of ocs_fc error status to CAM status. Reported by: ken Reviewed by: ken Tested by: ken, ram Approved by: ken MFC after: 1 week
|
#
7aa5b2a9 |
|
14-Nov-2023 |
John Baldwin <jhb@FreeBSD.org> |
ocs: Fix a couple of type mismatches in function prototypes Reported by: GCC 13 via -Wenum-int-mismatch Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D42585
|
#
95ee2897 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: two-line .h pattern Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
|
#
eb2f7d9a |
|
10-Sep-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
ocs_fc(4): Remove double words in source code comments - s/to to/to/ MFC after: 3 days
|
#
965e2154 |
|
03-Mar-2022 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Support persistent topology feature Summary: Enable persistent topology across power cycles/firmware resets. Reviewed by: mav MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D34425
|
#
7bf31432 |
|
09-Feb-2022 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Fix a possible Null pointer dereference Fix a possible Null pointer dereference in ocs_hw_get_profile_list_cb() PR: 261453 Reported by: lwhsu MFC after: 3 days
|
#
3bf42363 |
|
22-Sep-2021 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Emulex Gen 7 HBA support. Emulex Gen7 adapter support in ocs_fc driver. Reviewed by: mav, ken
|
#
7377d383 |
|
27-May-2021 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
ocs_fc: Fix use after free bug in ocs_hw_async_call() Freed ctx is used in the later callee ocs_hw_command(), which is a use after free bug. Return error if sli_cmd_common_nop() failed. PR: 255865 Reported by: lylgood@foxmail.com Approved by:: markj
|
#
98d835ae |
|
01-Sep-2020 |
Mateusz Guzik <mjg@FreeBSD.org> |
ocs_fc: clean up empty lines in .c and .h files
|
#
4915e5c7 |
|
23-Jan-2019 |
Ram Kishore Vegesna <ram@FreeBSD.org> |
Fixed issues reported by coverity scan. Approved by: mav MFC after: 3 weeks
|
#
ef270ab1 |
|
30-Mar-2018 |
Kenneth D. Merry <ken@FreeBSD.org> |
Bring in the Broadcom/Emulex Fibre Channel driver, ocs_fc(4). The ocs_fc(4) driver supports the following hardware: Emulex 16/8G FC GEN 5 HBAS LPe15004 FC Host Bus Adapters LPe160XX FC Host Bus Adapters Emulex 32/16G FC GEN 6 HBAS LPe3100X FC Host Bus Adapters LPe3200X FC Host Bus Adapters The driver supports target and initiator mode, and also supports FC-Tape. Note that the driver only currently works on little endian platforms. It is only included in the module build for amd64 and i386, and in GENERIC on amd64 only. Submitted by: Ram Kishore Vegesna <ram.vegesna@broadcom.com> Reviewed by: mav MFC after: 5 days Relnotes: yes Sponsored by: Broadcom Differential Revision: https://reviews.freebsd.org/D11423
|