i40e_devlink_set_switch_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

i40e_devlink_set_switch_id β€” set a unique switch id based on the pci dsn ✨

okay so bestie, you're on the i40e_devlink_set_switch_id(9) page from the Kernel API Manual, and we're about to make this kernel function make sense πŸ’…


✨ SYNOPSIS ✨

This is the whole signature, no crumbs:

void i40e_devlink_set_switch_id (struct i40e_pf *pf , struct
       netdev_phys_item_id *ppid );

It's void, so no return value is coming back at you β€” the synopsis said what it said 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the PF to create a devlink port for. That's literally the assignment, bestie 😌
  • ppid β€” struct with switch id information. It's giving "the switch id info lives right here" ✨

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, bestie πŸ’– this cutie is signed off with source/version ./drivers/net/ethernet/intel/i40e, dated October 2026, under the i40e_devlink_set_switch_id(9) name β€” periodt πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from