STRUCT IPA_ENDPOINT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so <rainbow>struct ipa_endpoint</rainbow> β€” it's literally the whole vibe of an IPA endpoint, packaged as one struct πŸ’– (and yes bestie, this is from the Kernel API Manual, section 9, we're in the big leagues now).

✨ SYNOPSIS ✨

here's the whole thing, no cap, exactly as it lives:

struct ipa_endpoint {
    struct ipa *ipa;
    enum gsi_ee_id ee_id;
    u32 channel_id;
    u32 endpoint_id;
    bool toward_ipa;
    struct ipa_endpoint_config config;
    u32 skb_frag_max;
    u32 evt_ring_id;
    struct net_device *netdev;
    unsigned long replenish_flags[BITS_TO_LONGS( IPA_REPLENISH_COUNT)];
    u64 replenish_count;
    struct delayed_work replenish_work;
 };

she's giving structured. she's giving organized. we stan πŸŽ€


πŸ’– Members πŸ’–

  • ipa β€” the IPA pointer, aka the main character this endpoint belongs to πŸ‘‘
  • ee_id β€” the execution environment the endpoint is associated with 🧚
  • channel_id β€” the GSI channel this endpoint uses πŸ¦‹
  • endpoint_id β€” the IPA endpoint number, its little ID badge 🎫
  • toward_ipa β€” the endpoint direction: true = TX, false = RX (so it's a whole bool situation, keep up πŸ’…)
  • config β€” the default endpoint configuration, the fit she wears normally ✨
  • skb_frag_max β€” the maximum allowed number of TX SKB fragments, the fragment budget fr fr 🌸
  • evt_ring_id β€” the GSI event ring used by the endpoint, the ring to her name πŸ’
  • netdev β€” a network device pointer β€” but only if the endpoint uses one, so like, conditional 🫢
  • replenish_flags β€” replenishing state flags, the receipts of what's going on πŸ”₯
  • replenish_count β€” total number of replenish transactions committed, a running tally ngl πŸ’œ
  • replenish_work β€” the work item used for repeated replenish failures, which like… 😭 when one replenish doesn't slay, she tries again

πŸ‘‘ SEE ALSO πŸ‘‘

go touch grass in the kernel file <cyan>./drivers/net/ipa/ipa_endpoint.h</cyan>, and also check on the whole friend group: struct ipa_endpoint_tx(9), struct ipa_endpoint_rx(9), struct ipa_endpoint_config(9), and enum ipa_replenish_flag(9) πŸ’« all linked, all iconic, iykyk.


ok that's the whole page bestie, nothing skipped, we ate and left no crumbs πŸ“πŸ’€

and that's a wrap from <pink>./drivers/net/ipa</pink>, dated October 2026 β€” mwah, periodt πŸ’‹πŸ’–

πŸ“¦ where this page comes from