Commit Graph
5 Commits
Author SHA1 Message Date
d00f 4a78b2dc8c doc: move the L2 multicast and tag word details out of the code
Review asked for this directly: the hardware layout above port_l2mc_set()
would be better as documentation than as a comment, keeping only the two
lines that say what the function does.

doc/l2.md gains a section on static multicast entries, why delivery uses
the forward action rather than the trap, and the SMI layout of the entry.
doc/CpuPort.md gains the layout of the tag's flags and pmask words, with
the byte order trap that cost an afternoon: writing the flags constant raw
instead of through HTONS puts 0x0020 on the wire as 0x2000, which is EFID
rather than LEARN_DIS, and the ASIC then leaves the 0x8899 header on the
frame.

The comments those paragraphs came from are replaced by a pointer to the
file that now holds them.
2026-08-18 23:29:10 +02:00
air jinkela d79ac79f2f update doc/l2.md 2025-08-11 08:49:56 +08:00
logicog ba1b03dd63 More documentation on the L2 table 2025-07-13 23:15:51 +02:00
logicog e3bb76ec1b Initial description of L2 table 2025-07-13 20:48:37 +02:00
logicog 1ae617c38b Initial description of L2 table 2025-07-13 20:48:05 +02:00