Page MenuHomeFreeBSD

Mechanically convert qlxge(4) to DrvAPI
ClosedPublic

Authored by jhibbits on Dec 22 2022, 3:30 PM.
Tags
None
Referenced Files
F156506818: D37819.diff
Thu, May 14, 5:52 AM
Unknown Object (File)
Fri, May 8, 4:18 AM
Unknown Object (File)
Tue, May 5, 9:25 PM
Unknown Object (File)
Sun, May 3, 1:31 PM
Unknown Object (File)
Sat, May 2, 3:03 PM
Unknown Object (File)
Sat, May 2, 2:45 PM
Unknown Object (File)
Mon, Apr 27, 8:48 PM
Unknown Object (File)
Apr 5 2026, 12:02 AM
Subscribers

Details

Diff Detail

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

Event Timeline

zlei added a subscriber: zlei.

Other parts looks good to me.

sys/dev/qlxge/qls_os.c
306

if_sendq_empty(ifp) seems not identical to ifp->if_snd.ifq_head == NULL

1086–1087

Ditto

This revision is now accepted and ready to land.Feb 7 2023, 1:42 AM
sys/dev/qlxge/qls_os.c
306

It looks like the difference is that if_sendq_empty(), which uses IFQ_DRV_IS_EMPTY() also checks ifq_drv_len in addition to ifq_len. I don't know the impact of this difference.

sys/dev/qlxge/qls_os.c
306

Reviewing, I think if_sendq_empty() is safe and correct.

This revision was automatically updated to reflect the committed changes.