Page MenuHomeFreeBSD

Mechanically convert qlxge(4) to DrvAPI
ClosedPublic

Authored by jhibbits on Dec 22 2022, 3:30 PM.
Tags
None
Referenced Files
F96580460: D37819.diff
Wed, Sep 25, 2:18 PM
Unknown Object (File)
Tue, Sep 24, 3:20 AM
Unknown Object (File)
Mon, Sep 23, 11:12 PM
Unknown Object (File)
Sun, Sep 22, 10:58 AM
Unknown Object (File)
Wed, Sep 18, 3:22 AM
Unknown Object (File)
Tue, Sep 17, 5:23 PM
Unknown Object (File)
Tue, Sep 17, 9:08 AM
Unknown Object (File)
Sun, Sep 8, 7:50 PM
Subscribers

Details

Diff Detail

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

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

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.