dpni_remove_fs_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpni_remove_fs_entry β€” the dpni_remove_fs_entry(9) glow-up

Okay bestie, so this page lives in the Kernel API Manual (section 9, dpni_remove_fs_entry(9)) and it's honestly so niche but so real. Sit with me.


✨ NAME ✨

dpni_remove_fs_entry β€” Remove Flow Steering entry from a specific traffic class πŸŽ€

Like, you had a flow steering rule chilling in a particular traffic class and now you want it gone. This is the function that does the removing. That's the whole vibe.


🌸 SYNOPSIS 🌸

int dpni_remove_fs_entry (struct fsl_mc_io *mc_io , u32 cmd_flags , u16 token , u8 tc_id , const struct dpni_rule_cfg *cfg );

Returns an int, takes five things, slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • mc_io β€” Pointer to MC portal's I/O object. Like, your whole connection to the management complex portal. You need this one, no cap. 🫢
  • cmd_flags β€” Command flags; one or more of 'MC_CMD_FLAG_'. Pick your flags, it's giving build-your-own-adventure.
  • token β€” Token of DPNI object. Your lil DPNI's name tag at the party. πŸ‘‘
  • tc_id β€” Traffic class selection (0-7). Literally only eight options, highkey manageable. Ngl if you're passing something outside 0-7 you're being chaotic. 🌈
  • cfg β€” Flow steering rule to remove. This is the exact rule you're yeeting out of here. Point at it and let it go ✨

πŸ‘‘ RETURN πŸ‘‘

Bestie. The original page is silent here β€” there's genuinely no return-value text documented in this manpage. So I'm not gonna invent one, because that's not the vibe (and not the facts). Fabulous mystery. πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

The kernel file to go look at, plus literally the entire DPNI extended universe, fr fr:

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpni.c
dpni_prepare_key_cfg(9), dpni_open(9), dpni_close(9), dpni_set_pools(9),
dpni_enable(9), dpni_disable(9), dpni_is_enabled(9), dpni_reset(9),
dpni_set_irq_enable(9), dpni_get_irq_enable(9), dpni_set_irq_mask(9),
dpni_get_irq_mask(9), dpni_get_irq_status(9), dpni_clear_irq_status(9),
dpni_get_attributes(9), dpni_set_errors_behavior(9),
dpni_get_buffer_layout(9), dpni_set_buffer_layout(9),
dpni_set_offload(9), dpni_get_qdid(9), dpni_get_tx_data_offset(9),
dpni_set_link_cfg(9), dpni_get_link_cfg(9), dpni_get_link_state(9),
dpni_set_max_frame_length(9), dpni_get_max_frame_length(9),
dpni_set_multicast_promisc(9), dpni_get_multicast_promisc(9),
dpni_set_unicast_promisc(9), dpni_get_unicast_promisc(9),
dpni_set_primary_mac_addr(9), dpni_get_primary_mac_addr(9),
dpni_get_port_mac_addr(9), dpni_enable_vlan_filter(9),
dpni_add_vlan_id(9), dpni_remove_vlan_id(9), dpni_add_mac_addr(9),
dpni_remove_mac_addr(9), dpni_clear_mac_filters(9),
dpni_set_rx_tc_dist(9), dpni_set_congestion_notification(9),
dpni_set_queue(9), dpni_get_queue(9), dpni_get_statistics(9),
dpni_set_taildrop(9), dpni_get_taildrop(9), dpni_get_api_version(9),
dpni_set_rx_fs_dist(9), dpni_set_rx_hash_dist(9), dpni_add_fs_entry(9),
dpni_set_qos_table(9), dpni_add_qos_entry(9), dpni_remove_qos_entry(9),
dpni_clear_qos_table(9), dpni_set_tx_shaping(9),
dpni_get_single_step_cfg(9), dpni_set_single_step_cfg(9)
Also note: dpni_add_fs_entry(9) is the sister function β€” the adder to your remover. Iconic symmetry πŸ’…

🧚 Sign-off 🧚

This little beauty comes from ./drivers/net/ethernet/freesca... (the path, she's truncated in the source, and we respect her choices) and the page is dated October 2026. So futuristic of her. Go forth and remove those flow steering entries, bestie β€” you're gonna eat. πŸ’–πŸ“β­

πŸ“¦ where this page comes from