Page MenuHomeFreeBSD

sfxge(4): add function to create packed stream RxQ
ClosedPublic

Authored by arybchik on Nov 21 2018, 11:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 10, 9:47 PM
Unknown Object (File)
Mon, Sep 7, 2:34 AM
Unknown Object (File)
Sun, Sep 6, 2:15 PM
Unknown Object (File)
Sun, Sep 6, 2:29 AM
Unknown Object (File)
Sun, Sep 6, 2:20 AM
Unknown Object (File)
Thu, Sep 3, 1:20 PM
Unknown Object (File)
Tue, Sep 1, 9:28 AM
Unknown Object (File)
Mon, Aug 31, 5:31 PM
Subscribers

Details

Summary

Encoding packed stream buffer size in RxQ type is not a future-proof
idea taking into account a new RxQ types with extra parameters.
To be consistent make packet stream buffer size a separate parameter.
In order to avoid blowing of the default RxQ create function prototype
add a dedicated function to create packed stream RxQ without not
applicable paramters.

Sponsored by: Solarflare Communications, Inc.

Test Plan

amd64 tinderbox kernel builds tested
driver loaded/unloaded, interfaces up/down, traffic works fine

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Nov 24 2018, 6:13 PM
This revision was automatically updated to reflect the committed changes.