Page MenuHomeFreeBSD

Mechanically convert qlxge(4) to DrvAPI
ClosedPublic

Authored by jhibbits on Dec 22 2022, 3:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 2:24 AM
Unknown Object (File)
Wed, Nov 20, 5:42 PM
Unknown Object (File)
Tue, Nov 12, 4:15 PM
Unknown Object (File)
Tue, Nov 5, 4:56 PM
Unknown Object (File)
Oct 19 2024, 8:21 AM
Unknown Object (File)
Oct 10 2024, 2:14 PM
Unknown Object (File)
Oct 10 2024, 7:24 AM
Unknown Object (File)
Sep 25 2024, 4:32 PM
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.