From: "Kyle Simpson" <kyle@oxide.computer>
To: illumos-developer <developer@lists.illumos.org>
Subject: IPD 45 -- Flow trees in the MAC datapath
Date: Thu, 11 Jul 2024 08:49:13 -0400 [thread overview]
Message-ID: <17207021530.7949.197230@composer.illumos.topicbox.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]
Hi all,
To support a bunch of ongoing performance work in oxide's packet transformation stack <https://github.com/oxidecomputer/opte>, we'd initially considered the use of flows with custom callback functions. However, we found that there a lot of places that flows in general fall short today. I've put together an IPD to outline where most of the negative interactions with performance optimisations are, what conceptual similarities DLS bypass has with flows, and how we can unify the flow_tab and subflow_tab into a single tree to iron out those issues.
https://github.com/illumos/ipd/blob/master/ipd/0045/README.adoc
The main goal here is to reframe how flows fit into the MAC datapath in a more first-class way, such that subflows and flows can make identical use of polling, softrings, and DLS bypass. The secondary goal is to allow `dls`/`ip` to delegate traffic processing early in the stack to modules that offer to do so. This should also pave the way for dedicating hardware resources (Rx/Tx rings) to certain traffic classes.
I'd really appreciate any feedback.
Cheers,
--Kyle Simpson
[-- Attachment #2: Type: text/html, Size: 1403 bytes --]
reply other threads:[~2024-07-11 12:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17207021530.7949.197230@composer.illumos.topicbox.com \
--to=kyle@oxide.computer \
--cc=developer@lists.illumos.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).