octep_ctrl_net_get_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– octep_ctrl_net_get_info(9) πŸ’–

okay so bestie, we're in the Kernel API Manual today and this one is literally a little getter function, no cap. It's giving "ask the firmware to spill the tea" energy πŸ«–βœ¨


✨ NAME ✨

octep_ctrl_net_get_info β€” get info from firmware πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

int octep_ctrl_net_get_info (struct octep_device *oct , int vfid ,
struct octep_fw_info *info );

πŸŽ€ ARGUMENTS πŸŽ€

  • oct β€” a non-null pointer to struct octep_device. like, do NOT pass NULL here, that's not the vibe πŸ™ˆ
  • vfid β€” the index of the virtual function. that's it, that's the number 🧚
  • info β€” a non-null pointer to struct octep_fw_info. this is where the info lands, so also not NULL, periodt πŸ’€

🌸 DESCRIPTION 🌸

so the return value is the whole story here:

  • 0 on success πŸ‘‘
  • -errno on failure 😭

that's literally it, she's short and sweet, main character energy fr fr ⭐


🌈 SEE ALSO 🌈

the kernel file lives right here, iykyk:

./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h

and here's the whole friend group, they all hang out together 🫢


ok that's the whole page bestie, go get that firmware info πŸ’–πŸ’–πŸ’–

big slay sign-off: this icon was brought to you by the source ./drivers/net/ethernet/marvell..., dated October 2026, and yeah she's still octep_ctrl_net_get_info(9) πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from