diff --git a/htmlsrc/linktypes.html b/htmlsrc/linktypes.html index e2276c3f..87c7cb5e 100644 --- a/htmlsrc/linktypes.html +++ b/htmlsrc/linktypes.html @@ -1937,6 +1937,17 @@

+ +LINKTYPE_DSA_TAG_GSW1XX +302 +DLT_DSA_TAG_GSW1XX + +Ethernet +frames, with a MaxLinear/Intel/Infinion switch tag inserted. + + + + LINKTYPE_IEEE802_15_4_TAP 283 diff --git a/htmlsrc/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html b/htmlsrc/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html new file mode 100644 index 00000000..27cedf4a --- /dev/null +++ b/htmlsrc/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html @@ -0,0 +1,104 @@ + +
+

+ LINKTYPE_DSA_TAG_GSW1XX +

+
+

Packet structure

+
    + The protocol is used by GSW120, GSW140, GSW141, GSW145 chips + and has a history with products from Infineon, Intel and MaxLinear. + The protocol information is based on the MaxLinear Data Sheet Revision 1.4. +
+

Switch tag structure

+
    + The gsw1xx special tagged frames contain a proprietary tag inserted + between the source address field and the EtherType/length field in the + Ethernet header. The Special Tag is 8 octets. It contains a + programmable EtherType value and a standard DSA tag. + Ingress and Egress have different formats. If byte 6&7 is not + zero it is a egress packet. +
+ Format of (Ethertyped) Ingress tagged frames: +
++0 +----+----+----+----+----+----+----+----+
+|      Destination Address (6 octets)   |
++6 +----+----+----+----+----+----+----+----+
+|       Source Address (6 octets)       |
++6 +----+----+----+----+----+----+----+----+  +-
+|    Prog. DSA Ether Type [15:8]        |  | (8-byte) Special Tag
++1 +----+----+----+----+----+----+----+----+  | Contains a programmable Ether type.
+|    Prog. DSA Ether Type [7:0]         |  |  +
++1 +----+----+----+----+----+----+----+----+  |  | (6-byte) Special Tag Content
+|PME[7] TCE[6] TSE[5] FNL[4]   TTC[3:0] |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|         TEPML [7:0]                   |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|         TEPMH [7:0]                   |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|   Res[7:5]  IE[4]  SP[3:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|          Res [7:0] all zero           |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|          Res [7:0] all zero           |  |  |
++1 +----+----+----+----+----+----+----+----+  +- +-
+		
+ Format of (Ethertyped) Egress tagged frames: +
++0 +----+----+----+----+----+----+----+----+
+|      Destination Address (6 octets)   |
++6 +----+----+----+----+----+----+----+----+
+|       Source Address (6 octets)       |
++6 +----+----+----+----+----+----+----+----+  +-
+|    Prog. DSA Ether Type [15:8]        |  | (8-byte) Special Tag
++1 +----+----+----+----+----+----+----+----+  | Contains a programmable Ether type.
+|    Prog. DSA Ether Type [7:0]         |  |  +
++1 +----+----+----+----+----+----+----+----+  |  | (6-byte) Special Tag Content
+|        TC[7:4]    IPN [3:0]           |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+| PPPOE[7] IPV[6]   IPO[5:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             DLPML [7:0]               |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             DLPMR [7:0]               |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|  MI[7]  KL2UM[6] PLHB[5:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             PLLB [7:0]                |  |  |
++1 +----+----+----+----+----+----+----+----+  +- +-
+		
+
+

Bit field abbreviations

+
    +
  • PME: Port map enable
  • +
  • IPN: Ingress port number
  • +
  • TCE: Traffic class enable
  • +
  • TSE: Time stamp enable
  • +
  • FNL: Force no learning
  • +
  • TC: Traffic class
  • +
  • IPV: IPv4 packet
  • +
  • IPO: IP offset
  • +
  • SP: Source port
  • +
  • IE: Interrupt enable
  • +
  • PPPOE: ppp-over-ethernet
  • +
  • DLPML: Destination logical port map low bits.
  • +
  • DLPMR: Destination logical port map high (reserved)
  • +
  • MI: Mirror indication
  • +
  • KL2UM Known l2 unicast/multicast mac.
  • +
  • PLHB: Packet Length High Bits
  • +
  • PLLB: Packet Length Low Bits
  • +
  • TEPML: Target egress port maps low bits
  • +
  • TEPMH: Target egress port maps high bits (reserved)
  • +
  • Res: Reserved
  • +
+
+
Notes
+ Port mapping is a switch internal function for multi-cast and vlan + routing and need custom firmware rules to be active. +
+ Precise Time Stamping indication according to IEEE 1588v2. +
+ Special tag default value is 0x88C3 but can be changed with firmware. +
+
+ diff --git a/linktypes.html b/linktypes.html index c9919660..5118035a 100644 --- a/linktypes.html +++ b/linktypes.html @@ -1981,6 +1981,17 @@

+ +LINKTYPE_DSA_TAG_GSW1XX +302 +DLT_DSA_TAG_GSW1XX + +Ethernet +frames, with a MaxLinear/Intel/Infinion switch tag inserted. + + + + LINKTYPE_IEEE802_15_4_TAP 283 diff --git a/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html b/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html new file mode 100644 index 00000000..e2eb2a74 --- /dev/null +++ b/linktypes/LINKTYPE_DSA_TAG_GSW1XX.html @@ -0,0 +1,164 @@ + + + + + + + LINKTYPE_DSA_TAG_GSW1XX | TCPDUMP & LIBPCAP + + + + + + + + + + + + + + +
+
+
+ + + + +
+ + +
+

+ LINKTYPE_DSA_TAG_GSW1XX +

+
+

Packet structure

+
    + The protocol is used by GSW120, GSW140, GSW141, GSW145 chips + and has a history with products from Infineon, Intel and MaxLinear. + The protocol information is based on the MaxLinear Data Sheet Revision 1.4. +
+

Switch tag structure

+
    + The gsw1xx special tagged frames contain a proprietary tag inserted + between the source address field and the EtherType/length field in the + Ethernet header. The Special Tag is 8 octets. It contains a + programmable EtherType value and a standard DSA tag. + Ingress and Egress have different formats. If byte 6&7 is not + zero it is a egress packet. +
+ Format of (Ethertyped) Ingress tagged frames: +
++0 +----+----+----+----+----+----+----+----+
+|      Destination Address (6 octets)   |
++6 +----+----+----+----+----+----+----+----+
+|       Source Address (6 octets)       |
++6 +----+----+----+----+----+----+----+----+  +-
+|    Prog. DSA Ether Type [15:8]        |  | (8-byte) Special Tag
++1 +----+----+----+----+----+----+----+----+  | Contains a programmable Ether type.
+|    Prog. DSA Ether Type [7:0]         |  |  +
++1 +----+----+----+----+----+----+----+----+  |  | (6-byte) Special Tag Content
+|PME[7] TCE[6] TSE[5] FNL[4]   TTC[3:0] |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|         TEPML [7:0]                   |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|         TEPMH [7:0]                   |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|   Res[7:5]  IE[4]  SP[3:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|          Res [7:0] all zero           |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|          Res [7:0] all zero           |  |  |
++1 +----+----+----+----+----+----+----+----+  +- +-
+		
+ Format of (Ethertyped) Egress tagged frames: +
++0 +----+----+----+----+----+----+----+----+
+|      Destination Address (6 octets)   |
++6 +----+----+----+----+----+----+----+----+
+|       Source Address (6 octets)       |
++6 +----+----+----+----+----+----+----+----+  +-
+|    Prog. DSA Ether Type [15:8]        |  | (8-byte) Special Tag
++1 +----+----+----+----+----+----+----+----+  | Contains a programmable Ether type.
+|    Prog. DSA Ether Type [7:0]         |  |  +
++1 +----+----+----+----+----+----+----+----+  |  | (6-byte) Special Tag Content
+|        TC[7:4]    IPN [3:0]           |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+| PPPOE[7] IPV[6]   IPO[5:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             DLPML [7:0]               |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             DLPMR [7:0]               |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|  MI[7]  KL2UM[6] PLHB[5:0]            |  |  |
++1 +----+----+----+----+----+----+----+----+  |  |
+|             PLLB [7:0]                |  |  |
++1 +----+----+----+----+----+----+----+----+  +- +-
+		
+
+

Bit field abbreviations

+
    +
  • PME: Port map enable
  • +
  • IPN: Ingress port number
  • +
  • TCE: Traffic class enable
  • +
  • TSE: Time stamp enable
  • +
  • FNL: Force no learning
  • +
  • TC: Traffic class
  • +
  • IPV: IPv4 packet
  • +
  • IPO: IP offset
  • +
  • SP: Source port
  • +
  • IE: Interrupt enable
  • +
  • PPPOE: ppp-over-ethernet
  • +
  • DLPML: Destination logical port map low bits.
  • +
  • DLPMR: Destination logical port map high (reserved)
  • +
  • MI: Mirror indication
  • +
  • KL2UM Known l2 unicast/multicast mac.
  • +
  • PLHB: Packet Length High Bits
  • +
  • PLLB: Packet Length Low Bits
  • +
  • TEPML: Target egress port maps low bits
  • +
  • TEPMH: Target egress port maps high bits (reserved)
  • +
  • Res: Reserved
  • +
+
+
Notes
+ Port mapping is a switch internal function for multi-cast and vlan + routing and need custom firmware rules to be active. +
+ Precise Time Stamping indication according to IEEE 1588v2. +
+ Special tag default value is 0x88C3 but can be changed with firmware. +
+
+ +
+ + + + + + + + + diff --git a/regen_html_pages.sh b/regen_html_pages.sh index 95424f2a..0b1e2e30 100755 --- a/regen_html_pages.sh +++ b/regen_html_pages.sh @@ -89,6 +89,9 @@ substitute_page_title() marvell-switch-tag) title='Marvell switch tag | ' ;; + gsw1xx-switch-tag) + title='GSW1XX switch tag | ' + ;; netanalyzer-header) title='netANALYZER header | ' ;;