Page MenuHomeFreeBSD

sglist: Add sglist_append_single_mbuf().
ClosedPublic

Authored by jhb on May 5 2021, 9:30 PM.

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
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 39040
Build 35929: arc lint + arc unit

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.