dpsw_if_set_learning_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… dpsw_if_set_learning_mode(9) β€” Kernel API Manual

🌸 NAME 🌸

dpsw_if_set_learning_mode β€” configure the learning mode on an interface. and bestie, important: if this API is used, it will take precedence over the FDB configuration. no cap, that's the rule πŸ’…


✨ SYNOPSIS ✨

the signature goes like this, character for character:

int dpsw_if_set_learning_mode (struct fsl_mc_io *mc_io , u32 cmd_flags ,
u16 token , u16 if_id , enum dpsw_learning_mode mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • mc_io β€” pointer to MC portal's I/O object
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_'
  • token β€” token of DPSW object
  • if_id β€” InterfaceID
  • mode β€” learning mode

πŸ’– RETURN πŸ’–

completion status, periodt. '0' on Success; Error code otherwise. that's the whole return contract 🫢


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./drivers/net/ethernet/freescale/dpaa2/dpsw.c, and here's the whole related-calls friend group in order:


that's the whole vibe check πŸ’– this page came from source/version ./drivers/net/ethernet/freesca... and the date on it is October 2026. periodt ✨

πŸ“¦ where this page comes from