octep_ctrl_net_get_info(9)
π 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 tostruct 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 tostruct octep_fw_info. this is where the info lands, so also not NULL, periodt π
πΈ DESCRIPTION πΈ
so the return value is the whole story here:
0on success π-errnoon 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 π«Ά
octep_ctrl_net_init(9)octep_ctrl_net_get_link_status(9)octep_ctrl_net_set_link_status(9)octep_ctrl_net_set_rx_state(9)octep_ctrl_net_get_mac_addr(9)octep_ctrl_net_set_mac_addr(9)octep_ctrl_net_get_mtu(9)octep_ctrl_net_set_mtu(9)octep_ctrl_net_get_if_stats(9)octep_ctrl_net_get_link_info(9)octep_ctrl_net_set_link_info(9)octep_ctrl_net_recv_fw_messages(9)octep_ctrl_net_dev_remove(9)octep_ctrl_net_set_offloads(9)octep_ctrl_net_uninit(9)
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
- 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