Page MenuHomeFreeBSD

Mechanically convert qlnx(4) to DrvAPI
ClosedPublic

Authored by jhibbits on Dec 22 2022, 3:37 PM.
Tags
None
Referenced Files
F108481890: D37856.diff
Sat, Jan 25, 9:36 AM
Unknown Object (File)
Sat, Jan 18, 1:17 AM
Unknown Object (File)
Fri, Jan 10, 2:14 PM
Unknown Object (File)
Nov 26 2024, 1:16 AM
Unknown Object (File)
Nov 23 2024, 1:21 PM
Unknown Object (File)
Nov 21 2024, 4:39 PM
Unknown Object (File)
Nov 21 2024, 4:39 PM
Unknown Object (File)
Nov 21 2024, 4:39 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 48868
Build 45757: arc lint + arc unit

Event Timeline

zlei added inline comments.
sys/dev/qlnx/qlnxe/qlnx_os.c
2406

Missing if_sethwtsomaxsegcount(ifp, QLNX_MAX_SEGMENTS - 1); /* hdr */

3024

style(9)

6885

style(9)

jhibbits added inline comments.
sys/dev/qlnx/qlnxe/qlnx_os.c
2406

Odd, wonder how that got lost.

3024

These style issues were preexisting, but I'll fix them.

6885

Same as above, preexisting style bugs.

jhibbits marked 3 inline comments as done.

Address @zlei's feedback.

Looks good to me.

I admit that the diff https://reviews.freebsd.org/D37856?id=117248 frustrated me a lot.

I'd suggest that submit the new changes following a rebased one. Then the flow looks like:

# git fetch freebsd
# git rebase freebsd/main
# git diff -U9999 freebsd/main you-working-branch > xxx.diff
# submit xxx.diff immediately
# commit new changes
# git diff -U9999 freebsd/main you-working-branch > yyy.diff
# submit yyy.diff

So we can compare new changes with the rebased one. It will be much easier to review.

This revision is now accepted and ready to land.Mar 24 2023, 1:20 AM
In D37856#893389, @zlei wrote:

Looks good to me.

I admit that the diff https://reviews.freebsd.org/D37856?id=117248 frustrated me a lot.

Urgh, I see what you mean. phabricator diff really sucks. I'll do what you suggested in the future (hopefully not too many changes remaining....), so it's easier to compare.

This revision was automatically updated to reflect the committed changes.