ice_setup_t...k_cb_ingress(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_setup_t...k_cb_ingress(9) πŸŽ€

okay bestie, welcome to the Kernel API Manual β€” yes, that's the whole manual name, and yes, this page's title is literally truncated with ... in the middle of the function name, which is giving "username taken so I added underscores" energy 😭 but we move.

This is a (9) page, so it's kernel-internals territory. Buckle up, it's short and sweet.


🌸 NAME

ice_setup_tc_block_cb_ingress β€” the callback handler for the ingress TC block πŸ¦‹


✨ SYNOPSIS

int ice_setup_tc_block_cb_ingress (enum tc_setup_type type , void
*type_data , void *cb_priv );

That's the whole vibe: it takes three args and hands you back an int. No cap. πŸ’œ


πŸŽ€ ARGUMENTS

  • type β€” the TC SETUP type. That's the "what kind of thing are we setting up" tag, iykyk.
  • type_data β€” the TC flower offload data, and it's the one holding user input 🌸 (so it's the interesting one).
  • cb_priv β€” the netdev private data. Cozy little private stash, main character energy for the driver. πŸ‘‘

πŸ”₯ RETURN

Returns 0 if the setup was successful, and a negative error code otherwise. That's it. Zero = slay, negative = not slay. πŸ’€


🫢 SEE ALSO

First up, the kernel file this lives in, exactly as written:

Kernel file ./drivers/net/ethernet/intel/ice/ice_main.c

And then. bestie. then. The whole ice cinematic universe shows up. Every single one of these is a real reference on this page β€” I'm not skipping a one, because the way that this list just keeps going is honestly iconic πŸ’…

Like. that's a lot of neighbors 😭 and every single one of them is a (9) page, so it's the whole kernel-fam in here. Note that ice_setup_tc_block_cb_egress is right there in the middle β€” the egress twin of this ingress page, no cap, go read that one next bestie πŸ¦‹


real talk though: this page is the ingress TC block callback specifically, so if you came here looking for the egress side, that's a different function and it's linked above 🫢

and that's the whole page, genuinely β€” it's a little baby page and it ate πŸ’… sign-off time: this one lives in the source tree at ./drivers/net/ethernet/intel/ice, and the version/date on this bad boy reads October 2026. so future-y of it βœ¨πŸ’–πŸŽ€

πŸ“¦ where this page comes from