Page MenuHomeFreeBSD

sglist: Add sglist_append_single_mbuf().
ClosedPublic

Authored by jhb on May 5 2021, 9:30 PM.
Tags
None
Referenced Files
F153704007: D30135.id88710.diff
Thu, Apr 23, 1:48 AM
Unknown Object (File)
Mon, Apr 20, 5:38 PM
Unknown Object (File)
Mon, Apr 20, 5:46 AM
Unknown Object (File)
Sun, Apr 19, 11:01 AM
Unknown Object (File)
Sat, Apr 18, 6:45 PM
Unknown Object (File)
Sat, Apr 18, 4:38 PM
Unknown Object (File)
Sat, Apr 18, 9:36 AM
Unknown Object (File)
Tue, Apr 14, 9:13 AM
Subscribers

Details

Summary

This function appends the contents of a single mbuf to an sglist
rather than an entire mbuf chain.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

jhb requested review of this revision.May 5 2021, 9:30 PM
This revision is now accepted and ready to land.May 6 2021, 2:18 PM

I kind of wish "sglist_append_mbuf" was the "single" version and there was a separate name for the "append a mbuf chain" variant, but that ship has sailed I think.

In D30135#676970, @jhb wrote:

I kind of wish "sglist_append_mbuf" was the "single" version and there was a separate name for the "append a mbuf chain" variant, but that ship has sailed I think.

Yeah I had the same thought while reading these diffs.

This revision was automatically updated to reflect the committed changes.