bnx2x_set_one_mac_e1x(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ bnx2x_set_one_mac_e1x (kernel API manual, bestie edition) πŸŽ€

Okay so this is a page from the Kernel API Manual, and the star of the show is bnx2x_set_one_mac_e1x β€” like, literally the function that fills a single MAC rule ramrod data. That's the whole vibe. ✨


✨ NAME ✨

bnx2x_set_one_mac_e1x β€” fill a single MAC rule ramrod data πŸ’…


🌸 SYNOPSIS 🌸

void bnx2x_set_one_mac_e1x (struct bnx2x *bp , struct bnx2x_vlan_mac_obj
*o , struct bnx2x_exeq_elem *elem , int rule_idx , int cam_offset );

That's it, that's the whole signature. It returns void, so like… no return value to obsess over. She just does the thing and dips. 🫢


πŸ’– ARGUMENTS πŸ’–

Every single one, no skipping, we're being thorough today:

  • bp β€” the device handle. Your lil' connection to the actual hardware, the main character of the structs. πŸ‘‘
  • o β€” a bnx2x_vlan_mac_obj. Yep, that's the type, that's the name, we move.
  • elem β€” a bnx2x_exeq_elem. The queue element in question, fr fr.
  • rule_idx β€” rule_idx. It's giving "the index of the rule," and honestly? That's all the manpage gives us and I respect the brevity. πŸ’€
  • cam_offset β€” cam_offset. The CAM offset, bestie. That's the tea. πŸ“
Side note: this page is not out here trying to over-explain. It tells you the type, it tells you the name, and it trusts you to be smart. We love a lowkey confident doc. 😌

πŸ¦‹ SEE ALSO πŸ¦‹

Bestie. Sit down. This list is long and we are getting through all of it, because every single one of these is part of the family. 🌈

First off, the actual file she lives in:

Kernel file ./drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c

And now the whole squad, in order, exactly as listed:

Sixty-ish cross-references and I listed every last one. Not me being extra, just me being accurate. πŸ’…πŸ”₯

Heads up: some of those names are very similar to each other β€” __bnx2x_vlan_mac_h_read_lock vs bnx2x_vlan_mac_h_read_lock, one with the double underscore, one without. Read them carefully, bestie, don't let the underscore gremlins win. πŸ™ˆ

🧚 Sign-off 🧚

This absolute queen of a page comes from the source path ./drivers/net/ethernet/broadco... (yeah, it's truncated in the footer, that's just how it is πŸ’€), and it's dated October 2026. So like… future-dated documentation. Iconic behaviour. See you in the kernel, babe. πŸ’œβœ¨

πŸ“¦ where this page comes from