octep_get_stats64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… octep_get_stats64(9) β€” like, the Kernel API Manual page, bestie

okay so this is the manpage for octep_get_stats64, straight out of the Kernel API Manual (yes, the section (9) girlies, we're in kernel-doc land now πŸ”₯). Sit down, grab a strawberry πŸ“, and let's get into it.


✨ NAME ✨

octep_get_stats64 β€” get Octeon network device statistics πŸ’«

Like, it goes and fetches the stats for your Octeon net device. That's the whole vibe check.


πŸ¦‹ SYNOPSIS πŸ¦‹

void octep_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats );

Returns void, so no take-backs, no return value, nothing to check β€” it just does the thing. periodt πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the kernel network device 🌸. Yep, that's the one you're pulling the stats from, bestie.
  • stats β€” a pointer to the stats structure that's gonna get filled in πŸ’–. Your struct rtnl_link_stats64, ready to receive the numbers. Not me being obsessed with a struct getting filled in πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

The source lives in the kernel file ./drivers/net/ethernet/marvell/octeon_ep/octep_main.c β€” that's the main character file right there, iykyk πŸ“βœ¨

And here's the whole friend group, the entire group chat of related functions (no cap, I'm listing every single one, I would never do them dirty like that):

octep_alloc_ioq_vectors(9), octep_free_ioq_vectors(9), octep_enable_msix_range(9), octep_disable_msix(9), octep_mbox_intr_handler(9), octep_oei_intr_handler(9), octep_ire_intr_handler(9), octep_ore_intr_handler(9), octep_vfire_intr_handler(9), octep_vfore_intr_handler(9), octep_dma_intr_handler(9), octep_dma_vf_intr_handler(9), octep_pp_vf_intr_handler(9), octep_misc_intr_handler(9), octep_rsvd_intr_handler(9), octep_ioq_intr_handler(9), octep_request_irqs(9), octep_free_irqs(9), octep_setup_irqs(9), octep_clean_irqs(9), octep_update_pkt(9), octep_enable_ioq_irq(9), octep_napi_poll(9), octep_napi_add(9), octep_napi_delete(9), octep_napi_enable(9), octep_napi_disable(9), octep_open(9), octep_stop(9), octep_iq_full_check(9), octep_start_xmit(9), octep_tx_timeout_task(9), octep_tx_timeout(9), octep_intr_poll_task(9), octep_hb_timeout_task(9), octep_ctrl_mbox_task(9), octep_device_setup(9), octep_device_cleanup(9), octep_probe(9), octep_remove(9), octep_init_module(9), octep_exit_module(9)

I told you I wasn't gonna skip anybody 🫢 that's the whole roster, all (9), all iconic.


πŸ’– that's the page, bestie πŸ’–

cute little sign-off so you know where this came from: the source/version tag was ./drivers/net/ethernet/marvell... and the date was October 2026 🌈⭐ Licensed to live in your terminal rent-free, mwah πŸ’œ

πŸ“¦ where this page comes from