Page MenuHomeFreeBSD

cxgbei: Return limits for the specific adapter the socket is on.
ClosedPublic

Authored by jhb on Apr 15 2022, 5:52 PM.
Tags
None
Referenced Files
F102836933: D34929.diff
Sun, Nov 17, 7:45 PM
Unknown Object (File)
Mon, Nov 11, 3:01 PM
Unknown Object (File)
Sep 23 2024, 5:39 PM
Unknown Object (File)
Sep 21 2024, 9:03 PM
Unknown Object (File)
Sep 21 2024, 12:30 AM
Unknown Object (File)
Sep 20 2024, 10:43 AM
Unknown Object (File)
Sep 19 2024, 3:38 PM
Unknown Object (File)
Sep 16 2024, 1:16 PM
Subscribers

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 45188
Build 42076: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Apr 15 2022, 5:52 PM
mav added inline comments.
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1825

This part looks mostly duplicated from cxgbei_limits().

This revision is now accepted and ready to land.Apr 18 2022, 1:43 AM
sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1825

It is, but without the min/max computations. I could perhaps put cxgbei_limits() under #ifdef COMPAT_FREEBSD13 in fact since it should only be used in the compat shim for older binaries.

sys/dev/cxgbe/cxgbei/icl_cxgbei.c
1825

I don't see a problem from min() in cxgbei_limits(). I was more concerned by it not returning result code, whatever it means. But as you wish...