Lines Matching +full:port +full:- +full:mapping

1 /* SPDX-License-Identifier: BSD-3-Clause */
6 /* This file is autogenerated by cml-utils 2023-03-13 10:16:42 +0100.
63 * Used by 802.1BR Bridge Port Extension in an E-Tag
65 * Used by 802.1BR Bridge Port Extension in an E-Tag
67 * Set for frames containing an E-TAG (802.1BR Ethertype 893f)
69 * E-Tag group bits in 802.1BR Bridge Port Extension
71 * Used by 802.1BR Bridge Port Extension in an E-Tag
73 * Used by 802.1BR Bridge Port Extension in an E-Tag
78 * First DEI in multiple vlan tags (outer tag or default port tag)
86 * First PCP in multiple vlan tags (outer tag or default port tag)
96 * First TPIC in multiple vlan tags (outer tag or default port tag)
102 * First VID in multiple vlan tags (outer tag or default port tag)
111 * Set if frame has two or more Q-tags. Independent of port VLAN awareness
114 * one or more Q-tags. Independent of port VLAN awareness
146 * Egress port mask, one bit per port
148 * Select which 32 port group is available in IF_EGR_PORT (or virtual ports or
151 * Egress port number
154 * Sparx5: Logical ingress port number retrieved from
155 * ANA_CL::PORT_ID_CFG.LPORT_NUM or ERLEG, LAN966x: ingress port nunmber
158 * Ingress port mask, one bit per port/erleg
167 * Mapping: 0: DEFAULT 1: LOOPBACK 2: MASQUERADE 3: CPU_VD
169 * Selector for IF_IGR_PORT: physical port number or ERLEG
189 * (FF-FF-FF-FF-FF-FF).
203 * Payload bytes 0-1 after the frame's EtherType
211 * Byte 0-7 of L2 payload after Type/Len field and overloading for OAM
215 * SNAP header after LLC header (AA-AA-03)
257 * Bytes 0-6 after IP header
272 * Sparx5: TCP/UDP destination port. Overloading for IP_7TUPLE: Non-TCP/UDP IP
273 * frames: L4_DPORT = L3_IP_PROTO, LAN966x: TCP/UDP destination port
278 * frames: Payload bytes 0-7 after IP header. IPv4 options are not parsed so
296 * TCP/UDP source port
298 * Set if UDP or TCP source port equals UDP or TCP destination port
309 * Generic index - for chaining CLM instances
320 * Dual-ended loss measurement counters in CCM frames are all zero
336 * PDU type value (none, OAM CCM, MRP, DLR, RTE, IPv4, IPv6, OAM non-CCM)
342 * Profinet or OPC-UA FrameId
344 * Encoding of frame's EtherType: 0: Other, 1: Profinet, 2: OPC-UA, 3: Custom
347 * Real-time VLAN index from ANA::RT_VLAN_PCP
357 * Keyset type id - set by the API
520 * QSYS port number when FWD_MODE is redirect or copy
547 * 0: No changes to port-based selection in ANA:PORT:OAM_CFG.DLR_ENA. 1: Enable
558 * Selects source for DSCP. 0: Controlled by port configuration and IFH. 1:
559 * Classified DSCP via IFH. 2: DSCP_VAL. 3: Reserved. 4: Mapped using mapping
560 * table 0, otherwise use DSCP_VAL. 5: Mapped using mapping table 1, otherwise
561 * use mapping table 0. 6: Mapped using mapping table 2, otherwise use DSCP_VAL.
562 * 7: Mapped using mapping table 3, otherwise use mapping table 2
573 * port. The frame can still be copied to the CPU by other actions.
583 * hit this action later are not copied to the CPU. To re-enable the HIT_ME_ONCE
614 * Index for QoS mapping table lookup
616 * Key type for QoS mapping table lookup. 0: DEI0, PCP0 (outer tag). 1: DEI1,
618 * tag). 5: E-DEI, E-PCP (E-TAG). 6: DSCP if available, otherwise none. 7: DSCP
622 * Selects which of the two QoS Mapping Table lookups that MAP_KEY and MAP_IDX
623 * are applied to. 0: No changes to the QoS Mapping Table lookup. 1: Update key
624 * type and index for QoS Mapping Table lookup #0. 2: Update key type and index
625 * for QoS Mapping Table lookup #1. 3: Reserved.
630 * forwarding (DMAC lookup), 3: Redirect. The CPU port is untouched by
639 * Setting this bit to 1 causes frames to be mirrored to the mirror target port
646 * is copy. 0: No mirroring. 1-3: Use mirror probe 0-2.
648 * 0: No changes to port-based selection in ANA:PORT:OAM_CFG.MRP_ENA. 1: Enable
655 * 0: No changes to port-based selection in ANA:PORT:OAM_CFG.OAM_CFG 1: Enable
660 * Bits set in this mask will override PAG_VAL from port profile. New PAG = (PAG
692 * Disable policing from QoS, and port policers. Only the VCAP policer selected
695 * Controls popping of Q-tags. The final number of Q-tags popped is calculated
698 * Port mask applied to the forwarding decision based on MASK_MODE.
702 * 3: Push tag C if UNTAG_VID_ENA = 0 or (C-TAG.VID ! = VID_C_VAL).
707 * Controls outer tagging. 0: No ES0 tag A: Port tag is allowed if enabled on
708 * port. 1: ES0 tag A: Push ES0 tag A. No port tag. 2: Force port tag: Always
709 * push port tag. No ES0 tag A. 3: Force untag: Never push port tag or ES0 tag
734 * mapped to PCP (per port table). 3: DP.
737 * mapped to PCP (per port table). 3: QoS class.
740 * (REW:PORT:PORT_VLAN_CFG.PORT_TPID). 3: If IFH.TAG_TYPE = 0 then 0x8100 else
746 * mapped to PCP (per port table). 3: DP.
749 * mapped to PCP (per port table). 3: QoS class.
752 * (REW:PORT:PORT_VLAN_CFG.PORT_TPID). 3: If IFH.TAG_TYPE = 0 then 0x8100 else
760 * using mapping table 0, otherwise use DEI_C_VAL. 5: Mapped using mapping table
761 * 1, otherwise use mapping table 0. 6: Mapped using mapping table 2, otherwise
762 * use DEI_C_VAL. 7: Mapped using mapping table 3, otherwise use mapping table
767 * and tot_pop_cnt>0) else PCP_C_VAL. 4: Mapped using mapping table 0, otherwise
768 * use PCP_C_VAL. 5: Mapped using mapping table 1, otherwise use mapping table
769 * 0. 6: Mapped using mapping table 2, otherwise use PCP_C_VAL. 7: Mapped using
770 * mapping table 3, otherwise use mapping table 2.
775 * Selects VID for ES0 tag C. The resulting VID is termed C-TAG.VID. 0:
778 * Actionset type id - Set by the API
800 * ANA:PORT:VLAN_CFG.VLAN_POP_CNT is used