rte_graph_...dispatch.h(3)

Bestie, this is the rte_graph_...dispatch.h(3) page from the Library Functions Manual, and the file it documents is rte_graph_model_mcore_dispatch.h. It's giving mcore dispatch model energy, and yes, we're gonna walk through every single detail. πŸ’–

🌸 NAME 🌸

  • rte_graph_model_mcore_dispatch.h

✨ SYNOPSIS ✨

#include <rte_errno.h>
#include <rte_mempool.h>
#include <rte_memzone.h>
#include <rte_ring.h>
#include 'rte_graph_worker_common.h'

🫢 Functions

  • int rte_graph_model_mcore_dispatch_node_lcore_affinity_set (const char *name, unsigned int lcore_id)
  • static void rte_graph_walk_mcore_dispatch (struct rte_graph *graph)

πŸ“š Detailed Description πŸ“š

These APIs let you set core affinity with the node, and they're only used for mcore dispatch model. Periodt. Don't go using them somewhere else and then act surprised, bestie.

Definition in file rte_graph_model_mcore_dispatch.h.

πŸ› οΈ Function Documentation πŸ› οΈ

int rte_graph_model_mcore_dispatch_node_lcore_affinity_set (const char *name, unsigned int lcore_id)

Set lcore affinity with the node used for mcore dispatch model. Slay.

Parameters

  • name β€” valid node name. In the case of the cloned node, the name will be "parent node name" + "-" + name. Clone naming is lowkey just concatenation, iykyk.
  • lcore_id β€” the lcore ID value.

Returns

  • 0 on success, error otherwise.

void rte_graph_walk_mcore_dispatch (struct rte_graph * graph) [inline], [static]

Perform graph walk on the circular buffer and invoke the process function of the nodes and collect the stats. Main character energy, no cap.

Parameters

  • graph β€” graph pointer returned from rte_graph_lookup function.

See also

  • rte_graph_lookup()

Definition at line 89 of file rte_graph_model_mcore_dispatch.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code.


Okay bestie, footer sign-off: this page is from DPDK, version 25.11.3, and it's the rte_graph_...dispatch.h(3) manual page. The footer doesn't list a date, so I'm not making one up β€” we stay factual even while we're fabulous. Byeee! πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from