i40e_devlink_set_switch_id(9)
π 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 π¦
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_devlink.cβ go read the source, iykyk π i40e_alloc_pf(9)i40e_free_pf(9)i40e_devlink_register(9)i40e_devlink_unregister(9)i40e_devlink_create_port(9)i40e_devlink_destroy_port(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms