Page MenuHomeFreeBSD

mpi3mr: Divert WriteSame IOs which has unmap and ndob bit set to firmware if its transfer length exceeds firmware limit.
ClosedPublic

Authored by chandrakanth.patil_broadcom.com on Mar 21 2024, 12:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 30 2024, 1:27 AM
Unknown Object (File)
Sep 25 2024, 2:15 AM
Unknown Object (File)
Sep 15 2024, 3:37 AM
Unknown Object (File)
Sep 9 2024, 11:24 PM
Unknown Object (File)
Aug 29 2024, 3:44 AM
Unknown Object (File)
Aug 28 2024, 6:49 PM
Unknown Object (File)
Aug 21 2024, 12:55 PM
Unknown Object (File)
Aug 1 2024, 3:01 PM
Subscribers
None

Details

Summary

Firmware advertise the transfer lenght for writesame commands to driver during init.
So for any writesame IOs with ndob and unmap bit set and transfer lengh is greater
than the max write same length specified by the firmware, then direct those commands
to firmware instead of hardware othewise hardware will break.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sys/modules/mpi3mr/Makefile
9

I don't understand this change. Can you explain why it is needed? It seems unrelated.

sys/modules/mpi3mr/Makefile
9

I have used it for get_unaligned_be32() API which is defined in <asm/unaligned.h> header file available in the linuxkpi.
debug flag -g is used for debug symbols.

@imp : Do you have further comments on this patch ? Are we good to push it to the tree ?

No further comments.

This revision is now accepted and ready to land.May 27 2024, 8:58 PM