ENUM DPMAC_COUNTER_ID(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– enum dpmac_counter_id(9) πŸ’–

Okay bestie, welcome to the enum dpmac_counter_id(9) page from the Kernel API Manual. This is the DPMAC counter-type enum, and it is literally serving every counter type. No skips, no cap, we're doing all of them. πŸ’…


🌸 NAME 🌸

enum dpmac_counter_id β€” DPMAC counter types.

✨ SYNOPSIS ✨

       enum dpmac_counter_id {
           DPMAC_CNT_ING_FRAME_64 ,
           DPMAC_CNT_ING_FRAME_127 ,
           DPMAC_CNT_ING_FRAME_255 ,
           DPMAC_CNT_ING_FRAME_511 ,
           DPMAC_CNT_ING_FRAME_1023 ,
           DPMAC_CNT_ING_FRAME_1518 ,
           DPMAC_CNT_ING_FRAME_1519_MAX ,
           DPMAC_CNT_ING_FRAG ,
           DPMAC_CNT_ING_JABBER ,
           DPMAC_CNT_ING_FRAME_DISCARD ,
           DPMAC_CNT_ING_ALIGN_ERR ,
           DPMAC_CNT_EGR_UNDERSIZED ,
           DPMAC_CNT_ING_OVERSIZED ,
           DPMAC_CNT_ING_VALID_PAUSE_FRAME ,
           DPMAC_CNT_EGR_VALID_PAUSE_FRAME ,
           DPMAC_CNT_ING_BYTE ,
           DPMAC_CNT_ING_MCAST_FRAME ,
           DPMAC_CNT_ING_BCAST_FRAME ,
           DPMAC_CNT_ING_ALL_FRAME ,
           DPMAC_CNT_ING_UCAST_FRAME ,
           DPMAC_CNT_ING_ERR_FRAME ,
           DPMAC_CNT_EGR_BYTE ,
           DPMAC_CNT_EGR_MCAST_FRAME ,
           DPMAC_CNT_EGR_BCAST_FRAME ,
           DPMAC_CNT_EGR_UCAST_FRAME ,
           DPMAC_CNT_EGR_ERR_FRAME ,
           DPMAC_CNT_ING_GOOD_FRAME ,
           DPMAC_CNT_EGR_GOOD_FRAME ,
           DPMAC_CNT_EGR_FRAME_64 ,
           DPMAC_CNT_EGR_FRAME_127 ,
           DPMAC_CNT_EGR_FRAME_255 ,
           DPMAC_CNT_EGR_FRAME_511 ,
           DPMAC_CNT_EGR_FRAME_1023 ,
           DPMAC_CNT_EGR_FRAME_1518 ,
           DPMAC_CNT_EGR_FRAME_1519_MAX ,
           DPMAC_CNT_ING_ALL_BYTE ,
           DPMAC_CNT_ING_FCS_ERR ,
           DPMAC_CNT_ING_VLAN_FRAME ,
           DPMAC_CNT_ING_UNDERSIZED ,
           DPMAC_CNT_ING_CONTROL_FRAME ,
           DPMAC_CNT_ING_FRAME_DISCARD_NOT_TRUNC ,
           DPMAC_CNT_EGR_ALL_BYTE ,
           DPMAC_CNT_EGR_FCS_ERR ,
           DPMAC_CNT_EGR_VLAN_FRAME ,
           DPMAC_CNT_EGR_ALL_FRAME ,
           DPMAC_CNT_EGR_CONTROL_FRAME ,
           DPMAC_CNT_ING_PFC0 ,
           DPMAC_CNT_ING_PFC1 ,
           DPMAC_CNT_ING_PFC2 ,
           DPMAC_CNT_ING_PFC3 ,
           DPMAC_CNT_ING_PFC4 ,
           DPMAC_CNT_ING_PFC5 ,
           DPMAC_CNT_ING_PFC6 ,
           DPMAC_CNT_ING_PFC7 ,
           DPMAC_CNT_EGR_PFC0 ,
           DPMAC_CNT_EGR_PFC1 ,
           DPMAC_CNT_EGR_PFC2 ,
           DPMAC_CNT_EGR_PFC3 ,
           DPMAC_CNT_EGR_PFC4 ,
           DPMAC_CNT_EGR_PFC5 ,
           DPMAC_CNT_EGR_PFC6 ,
           DPMAC_CNT_EGR_PFC7

       };

🌼 Constants 🌼

Every single constant, right here, bestie β€” nothing skipped. 🫢

  • DPMAC_CNT_ING_FRAME_64 β€” counts 64-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_127 β€” counts 65- to 127-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_255 β€” counts 128- to 255-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_511 β€” counts 256- to 511-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_1023 β€” counts 512- to 1023-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_1518 β€” counts 1024- to 1518-bytes frames, good or bad.
  • DPMAC_CNT_ING_FRAME_1519_MAX β€” counts 1519-bytes frames and larger (up to max frame length specified), good or bad.
  • DPMAC_CNT_ING_FRAG β€” counts frames which are shorter than 64 bytes received with a wrong CRC.
  • DPMAC_CNT_ING_JABBER β€” counts frames longer than the maximum frame length specified, with a bad frame check sequence.
  • DPMAC_CNT_ING_FRAME_DISCARD β€” counts dropped frames due to internal errors. Occurs when a receive FIFO overflows. Includes also frames truncated as a result of the receive FIFO overflow.
  • DPMAC_CNT_ING_ALIGN_ERR β€” counts frames with an alignment error (optional used for wrong SFD).
  • DPMAC_CNT_EGR_UNDERSIZED β€” counts frames transmitted that was less than 64 bytes long with a good CRC.
  • DPMAC_CNT_ING_OVERSIZED β€” counts frames longer than the maximum frame length specified, with a good frame check sequence.
  • DPMAC_CNT_ING_VALID_PAUSE_FRAME β€” counts valid pause frames (regular and PFC).
  • DPMAC_CNT_EGR_VALID_PAUSE_FRAME β€” counts valid pause frames transmitted (regular and PFC).
  • DPMAC_CNT_ING_BYTE β€” counts bytes received except preamble for all valid frames and valid pause frames.
  • DPMAC_CNT_ING_MCAST_FRAME β€” counts received multicast frames.
  • DPMAC_CNT_ING_BCAST_FRAME β€” counts received broadcast frames.
  • DPMAC_CNT_ING_ALL_FRAME β€” counts each good or bad frames received.
  • DPMAC_CNT_ING_UCAST_FRAME β€” counts received unicast frames.
  • DPMAC_CNT_ING_ERR_FRAME β€” counts frames received with an error (except for undersized/fragment frame).
  • DPMAC_CNT_EGR_BYTE β€” counts bytes transmitted except preamble for all valid frames and valid pause frames transmitted.
  • DPMAC_CNT_EGR_MCAST_FRAME β€” counts transmitted multicast frames.
  • DPMAC_CNT_EGR_BCAST_FRAME β€” counts transmitted broadcast frames.
  • DPMAC_CNT_EGR_UCAST_FRAME β€” counts transmitted unicast frames.
  • DPMAC_CNT_EGR_ERR_FRAME β€” counts frames transmitted with an error.
  • DPMAC_CNT_ING_GOOD_FRAME β€” counts frames received without error, including pause frames.
  • DPMAC_CNT_EGR_GOOD_FRAME β€” counts frames transmitted without error, including pause frames.
  • DPMAC_CNT_EGR_FRAME_64 β€” counts transmitted 64-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_127 β€” counts transmitted 65 to 127-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_255 β€” counts transmitted 128 to 255-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_511 β€” counts transmitted 256 to 511-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_1023 β€” counts transmitted 512 to 1023-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_1518 β€” counts transmitted 1024 to 1518-bytes frames, good or bad.
  • DPMAC_CNT_EGR_FRAME_1519_MAX β€” counts transmitted 1519-bytes frames and larger (up to max frame length specified), good or bad.
  • DPMAC_CNT_ING_ALL_BYTE β€” counts bytes received in both good and bad packets.
  • DPMAC_CNT_ING_FCS_ERR β€” counts frames received with a CRC-32 error but the frame is otherwise of correct length.
  • DPMAC_CNT_ING_VLAN_FRAME β€” counts the received VLAN tagged frames which are valid.
  • DPMAC_CNT_ING_UNDERSIZED β€” counts received frames which were less than 64 bytes long and with a good CRC.
  • DPMAC_CNT_ING_CONTROL_FRAME β€” counts received control frames (type 0x8808) but not pause frames.
  • DPMAC_CNT_ING_FRAME_DISCARD_NOT_TRUNC β€” counts the fully dropped frames (not truncated) due to internal errors of the MAC client. Occurs when a receive FIFO overflows.
  • DPMAC_CNT_EGR_ALL_BYTE β€” counts transmitted bytes in both good and bad packets.
  • DPMAC_CNT_EGR_FCS_ERR β€” counts transmitted frames with a CRC-32 error except for underflows.
  • DPMAC_CNT_EGR_VLAN_FRAME β€” counts the transmitted VLAN tagged frames which are valid.
  • DPMAC_CNT_EGR_ALL_FRAME β€” counts all transmitted frames, good or bad.
  • DPMAC_CNT_EGR_CONTROL_FRAME β€” counts transmitted control frames (type 0x8808) but not pause frames.
  • DPMAC_CNT_ING_PFC0 β€” number of PFC frames received for class 0.
  • DPMAC_CNT_ING_PFC1 β€” number of PFC frames received for class 1.
  • DPMAC_CNT_ING_PFC2 β€” number of PFC frames received for class 2.
  • DPMAC_CNT_ING_PFC3 β€” number of PFC frames received for class 3.
  • DPMAC_CNT_ING_PFC4 β€” number of PFC frames received for class 4.
  • DPMAC_CNT_ING_PFC5 β€” number of PFC frames received for class 5.
  • DPMAC_CNT_ING_PFC6 β€” number of PFC frames received for class 6.
  • DPMAC_CNT_ING_PFC7 β€” number of PFC frames received for class 7.
  • DPMAC_CNT_EGR_PFC0 β€” number of PFC frames transmitted for class 0.
  • DPMAC_CNT_EGR_PFC1 β€” number of PFC frames transmitted for class 1.
  • DPMAC_CNT_EGR_PFC2 β€” number of PFC frames transmitted for class 2.
  • DPMAC_CNT_EGR_PFC3 β€” number of PFC frames transmitted for class 3.
  • DPMAC_CNT_EGR_PFC4 β€” number of PFC frames transmitted for class 4.
  • DPMAC_CNT_EGR_PFC5 β€” number of PFC frames transmitted for class 5.
  • DPMAC_CNT_EGR_PFC6 β€” number of PFC frames transmitted for class 6.
  • DPMAC_CNT_EGR_PFC7 β€” number of PFC frames transmitted for class 7.

πŸ”— SEE ALSO πŸ”—

Kernel file ./drivers/net/ethernet/freescale/dpaa2/dpmac.h, plus these besties: enum dpmac_link_type(9), enum dpmac_eth_if(9), struct dpmac_attr(9), and struct dpmac_link_state(9).


That's the whole page, bestie 🫢 This cutie came from ./drivers/net/ethernet/freesca... and the date on it is October 2026 β€” bye, love you, stay counting! πŸ’–βœ¨

πŸ“¦ where this page comes from