Page MenuHomeFreeBSD

sglist: Add sglist_append_single_mbuf().
ClosedPublic

Authored by jhb on May 5 2021, 9:30 PM.
Tags
None
Referenced Files
F135769576: D30135.id88710.diff
Wed, Nov 12, 4:56 PM
Unknown Object (File)
Fri, Nov 7, 3:17 PM
Unknown Object (File)
Wed, Nov 5, 6:20 PM
Unknown Object (File)
Tue, Nov 4, 8:39 PM
Unknown Object (File)
Wed, Oct 29, 11:23 AM
Unknown Object (File)
Sat, Oct 25, 7:21 PM
Unknown Object (File)
Wed, Oct 22, 6:02 PM
Unknown Object (File)
Wed, Oct 15, 9:43 PM
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.