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
F133898467: D18132.id51074.diff
Wed, Oct 29, 6:33 AM
F133898443: D18132.id50729.diff
Wed, Oct 29, 6:33 AM
F133898437: D18132.id.diff
Wed, Oct 29, 6:33 AM
Unknown Object (File)
Tue, Oct 28, 11:57 PM
Unknown Object (File)
Sun, Oct 26, 4:28 PM
Unknown Object (File)
Wed, Oct 22, 1:03 PM
Unknown Object (File)
Sep 12 2025, 10:57 PM
Unknown Object (File)
Sep 4 2025, 3:40 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.