octep_ctrl_net_set_offloads(9)
π octep_ctrl_net_set_offloads π
okay so bestie, we're in the Kernel API Manual today and this one is literally called octep_ctrl_net_set_offloads(9) β say that five times fast, i dare you π«Ά it's giving "my function name ate and left no crumbs" and honestly? iconic.
β¨ NAME β¨
octep_ctrl_net_set_offloads β the one that sets the offloads in firmware. periodt. that's the whole vibe π
πΈ SYNOPSIS πΈ
int octep_ctrl_net_set_offloads (struct octep_device *oct , int vfid ,
struct octep_ctrl_net_offloads *offloads , bool wait_for_response );
like look at her. four whole arguments. main character energy fr fr π₯
π¦ ARGUMENTS π¦
octβ non-null pointer tostruct octep_device. literally cannot beNULL, don't even try it, the vibes will be rancid πvfidβ index of virtual function. it's the VF's little number tag, iykyk πoffloadsβ non-null pointer tostruct octep_ctrl_net_offloads. again with the non-null, we are serious about this one π«Άwait_for_responseβ poll for response. yes queen, sit there and wait for the firmware to text back π
π§ DESCRIPTION π§
so the return value is lowkey the whole plot twist:
return value:0on success,-errnoon failure.
that's it. that's the description. 0 = slay, -errno = not slay π but at least it tells you why it's not slay, which is honestly very thoughtful of it.
π SEE ALSO π
the source file for all this gorgeousness lives at:
./drivers/net/ethernet/marvell/octeon_ep/octep_ctrl_net.h
and here's the whole friend group, no cap, every single one of them:
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_get_info(9)octep_ctrl_net_dev_remove(9)octep_ctrl_net_uninit(9)
like a whole squad. a whole friend group chat. the octep_ctrl_net cinematic universe πβ¨
and that's the page bestie!! mwah π this little gem hails from ./drivers/net/ethernet/marvell..., dated October 2026, and yes β it's octep_ctrl_net_set_offloads(9) all the way down π go forth and set those offloads, you absolute legend ππ
π¦ 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