Page MenuHomeFreeBSD

Mechanically convert qlnx(4) to DrvAPI
ClosedPublic

Authored by jhibbits on Dec 22 2022, 3:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 12, 1:07 PM
Unknown Object (File)
Fri, Nov 1, 2:30 PM
Unknown Object (File)
Sun, Oct 20, 4:25 PM
Unknown Object (File)
Oct 10 2024, 2:26 PM
Unknown Object (File)
Oct 10 2024, 2:26 PM
Unknown Object (File)
Oct 10 2024, 2:26 PM
Unknown Object (File)
Oct 10 2024, 2:26 PM
Unknown Object (File)
Oct 10 2024, 2:11 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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

2993

style(9)

6802–6803

style(9)

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

Odd, wonder how that got lost.

2993

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

6802–6803

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.