axp.h (1385B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * AXP management routines 8 */ 9 10 #ifndef _SOC_AXP_H 11 #define _SOC_AXP_H 12 13 #include <soc/types.h> 14 15 16 typedef enum soc_axp_nlf_type_e { 17 SOC_AXP_NLF_PASSTHRU = 0, 18 SOC_AXP_NLF_WLAN_DECAP, 19 SOC_AXP_NLF_WLAN_ENCAP, 20 SOC_AXP_NLF_SM, /* Signature match */ 21 SOC_AXP_NLF_NUM /* Always last */ 22 } soc_axp_nlf_type_t; 23 24 /* Loopback packet type, TR3 internal HW encoding */ 25 typedef enum soc_axp_lpt_e { 26 SOC_AXP_LPT_NOP = 0, 27 SOC_AXP_LPT_MIM, 28 SOC_AXP_LPT_TRILL_NETWORK_PORT, 29 SOC_AXP_LPT_TRILL_ACCESS_PORT, 30 SOC_AXP_LPT_WLAN_ENCAP, 31 SOC_AXP_LPT_WLAN_DECAP, 32 SOC_AXP_LPT_DPI_SM, 33 SOC_AXP_LPT_MPLS_P2MP, 34 SOC_AXP_LPT_IFP_GENERIC, 35 SOC_AXP_LPT_MPLS_EXTENDED_LOOKUP, 36 SOC_AXP_LPT_L2GRE, 37 SOC_AXP_LPT_QCN, 38 SOC_AXP_LPT_EP_REDIRECT, 39 SOC_AXP_LPT_NUM 40 } soc_axp_lpt_t; 41 42 /* Loopback packet type, TR3 internal */ 43 typedef enum soc_axp_egr_port_prop_e { 44 SOC_AXP_EPP_LPORT_0 = 0, 45 SOC_AXP_EPP_LPORT_1, 46 SOC_AXP_EPP_LPORT_2, 47 SOC_AXP_EPP_LPORT_3, 48 SOC_AXP_EPP_LPORT_4, 49 SOC_AXP_EPP_LPORT_5, 50 SOC_AXP_EPP_USE_SGLP, 51 SOC_AXP_EPP_USE_SVP, 52 SOC_AXP_EPP_NUM 53 } soc_axp_egr_port_prop_t; 54 55 #endif /* _SOC_AXP_H */ 56