STRUCT CPSW_ALE_DEV_ID(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

๐Ÿ’… struct cpsw_ale_dev_id(9) ๐Ÿ’…

okay bestie, welcome to the Kernel API Manual page for struct cpsw_ale_dev_id(9) โ€” the ALE version/SoC specific configuration. It's basically the little config baddie that tells the driver what this ALE is working with, and every field is doing its own iconic thing. ๐Ÿซถโœจ


๐ŸŒธ NAME ๐ŸŒธ

struct cpsw_ale_dev_id โ€” The ALE version/SoC specific configuration. It's giving "version/SoC-specific config table," and the kernel API manual is obsessed. ๐Ÿ’–


โœจ SYNOPSIS โœจ

       struct cpsw_ale_dev_id {
           const char *dev_id;
           u32 features;
           u32 tbl_entries;
           const struct reg_field *reg_fields;
           int num_fields;
           bool nu_switch_ale;
           const struct ale_entry_fld *vlan_entry_tbl;
        };

๐ŸŽ€ Members ๐ŸŽ€

  • dev_id โ€” ALE version/SoC id. literally the name tag for this ALE. ๐Ÿท๏ธ
  • features โ€” features supported by ALE. the special-talents list, no cap. โญ
  • tbl_entries โ€” number of ALE entries. the headcount for the ALE table. ๐Ÿ”ข
  • reg_fields โ€” pointer to array of register field configuration. it's pointing at the register-field lineup. ๐Ÿ‘‰
  • num_fields โ€” number of fields in the reg_fields array. the count for that array, periodt. ๐Ÿงฎ
  • nu_switch_ale โ€” NU Switch ALE. yes, that's the whole vibe. ๐Ÿฆ‹
  • vlan_entry_tbl โ€” ALE vlan entry fields description tbl. the description table for ALE vlan entry fields. ๐ŸŽ€

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

  • Kernel file ./drivers/net/ethernet/ti/cpsw_ale.c
  • struct ale_entry_fld(9)

okay that's the whole page, bestie โ€” signed off from ./drivers/net/ethernet/ti, dated October 2026, all about struct cpsw_ale_dev_id(9). slay and stay curious ๐Ÿ’–โœจ๐ŸŒˆ

๐Ÿ“ฆ where this page comes from