1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Marvell OcteonTx2 RVU Admin Function driver 3 * 4 * Copyright (C) 2018 Marvell International Ltd. 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. 9 */ 10 11 #ifndef NPC_PROFILE_H 12 #define NPC_PROFILE_H 13 14 #define NPC_KPU_PROFILE_VER 0x0000000100060000 15 #define NPC_KPU_VER_MAJ(ver) ((u16)(((ver) >> 32) & 0xFFFF)) 16 #define NPC_KPU_VER_MIN(ver) ((u16)(((ver) >> 16) & 0xFFFF)) 17 #define NPC_KPU_VER_PATCH(ver) ((u16)((ver) & 0xFFFF)) 18 19 #define NPC_IH_W 0x8000 20 #define NPC_IH_UTAG 0x2000 21 22 #define NPC_ETYPE_IP 0x0800 23 #define NPC_ETYPE_IP6 0x86dd 24 #define NPC_ETYPE_ARP 0x0806 25 #define NPC_ETYPE_RARP 0x8035 26 #define NPC_ETYPE_NGIO 0x8842 27 #define NPC_ETYPE_MPLSU 0x8847 28 #define NPC_ETYPE_MPLSM 0x8848 29 #define NPC_ETYPE_ETAG 0x893f 30 #define NPC_ETYPE_CTAG 0x8100 31 #define NPC_ETYPE_SBTAG 0x88a8 32 #define NPC_ETYPE_ITAG 0x88e7 33 #define NPC_ETYPE_PTP 0x88f7 34 #define NPC_ETYPE_FCOE 0x8906 35 #define NPC_ETYPE_QINQ 0x9100 36 #define NPC_ETYPE_TRANS_ETH_BR 0x6558 37 #define NPC_ETYPE_PPP 0x880b 38 #define NPC_ETYPE_NSH 0x894f 39 #define NPC_ETYPE_DSA 0xdada 40 #define NPC_ETYPE_PPPOE 0x8864 41 42 #define NPC_PPP_IP 0x0021 43 #define NPC_PPP_IP6 0x0057 44 45 #define NPC_IPNH_HOP 0 46 #define NPC_IPNH_ICMP 1 47 #define NPC_IPNH_IGMP 2 48 #define NPC_IPNH_IP 4 49 #define NPC_IPNH_TCP 6 50 #define NPC_IPNH_UDP 17 51 #define NPC_IPNH_IP6 41 52 #define NPC_IPNH_ROUT 43 53 #define NPC_IPNH_FRAG 44 54 #define NPC_IPNH_GRE 47 55 #define NPC_IPNH_ESP 50 56 #define NPC_IPNH_AH 51 57 #define NPC_IPNH_ICMP6 58 58 #define NPC_IPNH_NONH 59 59 #define NPC_IPNH_DEST 60 60 #define NPC_IPNH_SCTP 132 61 #define NPC_IPNH_MOBILITY 135 62 #define NPC_IPNH_MPLS 137 63 #define NPC_IPNH_HOSTID 139 64 #define NPC_IPNH_SHIM6 140 65 66 #define NPC_UDP_PORT_PTP_E 319 67 #define NPC_UDP_PORT_PTP_G 320 68 #define NPC_UDP_PORT_GTPC 2123 69 #define NPC_UDP_PORT_GTPU 2152 70 #define NPC_UDP_PORT_VXLAN 4789 71 #define NPC_UDP_PORT_VXLANGPE 4790 72 #define NPC_UDP_PORT_GENEVE 6081 73 #define NPC_UDP_PORT_MPLS 6635 74 #define NPC_UDP_PORT_ESP 4500 75 76 #define NPC_VXLANGPE_NP_IP 0x1 77 #define NPC_VXLANGPE_NP_IP6 0x2 78 #define NPC_VXLANGPE_NP_ETH 0x3 79 #define NPC_VXLANGPE_NP_NSH 0x4 80 #define NPC_VXLANGPE_NP_MPLS 0x5 81 #define NPC_VXLANGPE_NP_GBP 0x6 82 #define NPC_VXLANGPE_NP_VBNG 0x7 83 84 #define NPC_NSH_NP_IP 0x1 85 #define NPC_NSH_NP_IP6 0x2 86 #define NPC_NSH_NP_ETH 0x3 87 #define NPC_NSH_NP_NSH 0x4 88 #define NPC_NSH_NP_MPLS 0x5 89 90 #define NPC_TCP_PORT_HTTP 80 91 #define NPC_TCP_PORT_HTTPS 443 92 #define NPC_TCP_PORT_PPTP 1723 93 94 #define NPC_MPLS_S 0x0100 95 96 #define NPC_IP_TTL_MASK 0xff00 97 #define NPC_IP_VER_4 0x4000 98 #define NPC_IP_VER_6 0x6000 99 #define NPC_IP_VER_MASK 0xf000 100 #define NPC_IP_HDR_LEN_5 0x0500 101 #define NPC_IP_HDR_LEN_MASK 0x0f00 102 #define NPC_IP_HDR_MF 0x2000 103 #define NPC_IP_HDR_FRAGOFF 0x1fff 104 105 #define NPC_IP6_HOP_MASK 0x00ff 106 #define NPC_IP6_FRAG_FRAGOFF 0xfff8 107 108 #define NPC_GRE_F_CSUM (0x1 << 15) 109 #define NPC_GRE_F_ROUTE (0x1 << 14) 110 #define NPC_GRE_F_KEY (0x1 << 13) 111 #define NPC_GRE_F_SEQ (0x1 << 12) 112 #define NPC_GRE_F_ACK (0x1 << 7) 113 #define NPC_GRE_FLAG_MASK (NPC_GRE_F_CSUM | NPC_GRE_F_ROUTE | \ 114 NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_F_ACK) 115 #define NPC_GRE_VER_MASK 0x0003 116 #define NPC_GRE_VER_1 0x0001 117 118 #define NPC_VXLAN_I 0x0800 119 120 #define NPC_VXLANGPE_VER (0x3 << 12) 121 #define NPC_VXLANGPE_I (0x1 << 11) 122 #define NPC_VXLANGPE_P (0x1 << 10) 123 #define NPC_VXLANGPE_B (0x1 << 9) 124 #define NPC_VXLANGPE_NP_MASK 0x00ff 125 126 #define NPC_NSH_NP_MASK 0x00ff 127 128 #define NPC_GENEVE_F_OAM (0x1 << 7) 129 #define NPC_GENEVE_F_CRI_OPT (0x1 << 6) 130 131 #define NPC_GTP_PT_GTP (0x1 << 12) 132 #define NPC_GTP_PT_MASK (0x1 << 12) 133 #define NPC_GTP_VER1 (0x1 << 13) 134 #define NPC_GTP_VER_MASK (0x7 << 13) 135 #define NPC_GTP_MT_G_PDU 0xff 136 #define NPC_GTP_MT_MASK 0xff 137 138 #define NPC_TCP_FLAGS_FIN 0x0001 139 #define NPC_TCP_FLAGS_SYN 0x0002 140 #define NPC_TCP_FLAGS_RST 0x0004 141 #define NPC_TCP_FLAGS_PSH 0x0008 142 #define NPC_TCP_FLAGS_ACK 0x0010 143 #define NPC_TCP_FLAGS_URG 0x0020 144 #define NPC_TCP_FLAGS_MASK 0x003f 145 146 #define NPC_TCP_DATA_OFFSET_5 0x5000 147 #define NPC_TCP_DATA_OFFSET_MASK 0xf000 148 149 #define NPC_DSA_EXTEND 0x1000 150 #define NPC_DSA_EDSA 0x8000 151 #define NPC_DSA_FDSA 0xc000 152 153 #define NPC_KEXOF_DMAC 9 154 #define MKEX_SIGN 0x19bbfdbd15f 155 #define KEX_LD_CFG(bytesm1, hdr_ofs, ena, flags_ena, key_ofs) \ 156 (((bytesm1) << 16) | ((hdr_ofs) << 8) | ((ena) << 7) | \ 157 ((flags_ena) << 6) | ((key_ofs) & 0x3F)) 158 159 /* Rx parse key extract nibble enable */ 160 #define NPC_PARSE_NIBBLE_INTF_RX (NPC_PARSE_NIBBLE_CHAN | \ 161 NPC_PARSE_NIBBLE_ERRCODE | \ 162 NPC_PARSE_NIBBLE_LA_LTYPE | \ 163 NPC_PARSE_NIBBLE_LB_LTYPE | \ 164 NPC_PARSE_NIBBLE_LC_LTYPE | \ 165 NPC_PARSE_NIBBLE_LD_LTYPE | \ 166 NPC_PARSE_NIBBLE_LE_LTYPE) 167 /* Tx parse key extract nibble enable */ 168 #define NPC_PARSE_NIBBLE_INTF_TX (NPC_PARSE_NIBBLE_LA_LTYPE | \ 169 NPC_PARSE_NIBBLE_LB_LTYPE | \ 170 NPC_PARSE_NIBBLE_LC_LTYPE | \ 171 NPC_PARSE_NIBBLE_LD_LTYPE | \ 172 NPC_PARSE_NIBBLE_LE_LTYPE) 173 174 enum npc_kpu_parser_state { 175 NPC_S_NA = 0, 176 NPC_S_KPU1_ETHER, 177 NPC_S_KPU1_IH_NIX, 178 NPC_S_KPU1_IH, 179 NPC_S_KPU1_EXDSA, 180 NPC_S_KPU1_HIGIG2, 181 NPC_S_KPU1_IH_NIX_HIGIG2, 182 NPC_S_KPU1_CUSTOM_L2_90B, 183 NPC_S_KPU1_CPT_HDR, 184 NPC_S_KPU1_CUSTOM_L2_24B, 185 NPC_S_KPU1_VLAN_EXDSA, 186 NPC_S_KPU2_CTAG, 187 NPC_S_KPU2_CTAG2, 188 NPC_S_KPU2_SBTAG, 189 NPC_S_KPU2_QINQ, 190 NPC_S_KPU2_ETAG, 191 NPC_S_KPU2_PREHEADER, 192 NPC_S_KPU2_EXDSA, 193 NPC_S_KPU2_NGIO, 194 NPC_S_KPU3_CTAG, 195 NPC_S_KPU3_STAG, 196 NPC_S_KPU3_QINQ, 197 NPC_S_KPU3_CTAG_C, 198 NPC_S_KPU3_STAG_C, 199 NPC_S_KPU3_QINQ_C, 200 NPC_S_KPU3_DSA, 201 NPC_S_KPU3_VLAN_EXDSA, 202 NPC_S_KPU4_MPLS, 203 NPC_S_KPU4_NSH, 204 NPC_S_KPU4_FDSA, 205 NPC_S_KPU4_VLAN_EXDSA, 206 NPC_S_KPU4_PPPOE, 207 NPC_S_KPU5_IP, 208 NPC_S_KPU5_IP6, 209 NPC_S_KPU5_ARP, 210 NPC_S_KPU5_RARP, 211 NPC_S_KPU5_PTP, 212 NPC_S_KPU5_FCOE, 213 NPC_S_KPU5_MPLS, 214 NPC_S_KPU5_MPLS_PL, 215 NPC_S_KPU5_NSH, 216 NPC_S_KPU5_CPT_IP, 217 NPC_S_KPU5_CPT_IP6, 218 NPC_S_KPU6_IP6_EXT, 219 NPC_S_KPU6_IP6_HOP_DEST, 220 NPC_S_KPU6_IP6_ROUT, 221 NPC_S_KPU6_IP6_FRAG, 222 NPC_S_KPU6_IP6_CPT_FRAG, 223 NPC_S_KPU6_IP6_CPT_HOP_DEST, 224 NPC_S_KPU6_IP6_CPT_ROUT, 225 NPC_S_KPU7_IP6_EXT, 226 NPC_S_KPU7_IP6_ROUT, 227 NPC_S_KPU7_IP6_FRAG, 228 NPC_S_KPU7_CPT_IP6_FRAG, 229 NPC_S_KPU8_TCP, 230 NPC_S_KPU8_UDP, 231 NPC_S_KPU8_SCTP, 232 NPC_S_KPU8_ICMP, 233 NPC_S_KPU8_IGMP, 234 NPC_S_KPU8_ICMP6, 235 NPC_S_KPU8_GRE, 236 NPC_S_KPU8_AH, 237 NPC_S_KPU9_TU_MPLS_IN_GRE, 238 NPC_S_KPU9_TU_MPLS_IN_NSH, 239 NPC_S_KPU9_TU_MPLS_IN_IP, 240 NPC_S_KPU9_TU_MPLS_IN_UDP, 241 NPC_S_KPU9_TU_NSH_IN_GRE, 242 NPC_S_KPU9_VXLAN, 243 NPC_S_KPU9_VXLANGPE, 244 NPC_S_KPU9_GENEVE, 245 NPC_S_KPU9_GTPC, 246 NPC_S_KPU9_GTPU, 247 NPC_S_KPU9_ESP, 248 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 249 NPC_S_KPU10_TU_MPLS_PL, 250 NPC_S_KPU10_TU_MPLS, 251 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 252 NPC_S_KPU11_TU_ETHER, 253 NPC_S_KPU11_TU_PPP, 254 NPC_S_KPU11_TU_MPLS_IN_NSH, 255 NPC_S_KPU11_TU_MPLS_PL, 256 NPC_S_KPU11_TU_MPLS, 257 NPC_S_KPU11_TU_ETHER_IN_NSH, 258 NPC_S_KPU12_TU_IP, 259 NPC_S_KPU12_TU_IP6, 260 NPC_S_KPU12_TU_ARP, 261 NPC_S_KPU13_TU_IP6_EXT, 262 NPC_S_KPU14_TU_IP6_EXT, 263 NPC_S_KPU15_TU_TCP, 264 NPC_S_KPU15_TU_UDP, 265 NPC_S_KPU15_TU_SCTP, 266 NPC_S_KPU15_TU_ICMP, 267 NPC_S_KPU15_TU_IGMP, 268 NPC_S_KPU15_TU_ICMP6, 269 NPC_S_KPU15_TU_ESP, 270 NPC_S_KPU15_TU_AH, 271 NPC_S_KPU16_HTTP_DATA, 272 NPC_S_KPU16_HTTPS_DATA, 273 NPC_S_KPU16_PPTP_DATA, 274 NPC_S_KPU16_TCP_DATA, 275 NPC_S_KPU16_UDP_DATA, 276 NPC_S_KPU16_UDP_PTP, 277 NPC_S_LAST /* has to be the last item */ 278 }; 279 280 enum npc_kpu_la_uflag { 281 NPC_F_LA_U_HAS_TAG = 0x10, 282 NPC_F_LA_U_HAS_IH_NIX = 0x20, 283 NPC_F_LA_U_HAS_HIGIG2 = 0x40, 284 }; 285 enum npc_kpu_la_lflag { 286 NPC_F_LA_L_UNK_ETYPE = 1, 287 NPC_F_LA_L_WITH_VLAN, 288 NPC_F_LA_L_WITH_ETAG, 289 NPC_F_LA_L_WITH_MPLS, 290 NPC_F_LA_L_WITH_NSH, 291 }; 292 293 enum npc_kpu_lb_uflag { 294 NPC_F_LB_U_UNK_ETYPE = 0x80, 295 NPC_F_LB_U_MORE_TAG = 0x40, 296 }; 297 enum npc_kpu_lb_lflag { 298 NPC_F_LB_L_WITH_CTAG = 1, 299 NPC_F_LB_L_WITH_CTAG_UNK, 300 NPC_F_LB_L_WITH_STAG_CTAG, 301 NPC_F_LB_L_WITH_STAG_STAG, 302 NPC_F_LB_L_WITH_QINQ_CTAG, 303 NPC_F_LB_L_WITH_QINQ_QINQ, 304 NPC_F_LB_L_WITH_ITAG, 305 NPC_F_LB_L_WITH_ITAG_STAG, 306 NPC_F_LB_L_WITH_ITAG_CTAG, 307 NPC_F_LB_L_WITH_ITAG_UNK, 308 NPC_F_LB_L_WITH_BTAG_ITAG, 309 NPC_F_LB_L_WITH_STAG, 310 NPC_F_LB_L_WITH_QINQ, 311 NPC_F_LB_L_DSA, 312 NPC_F_LB_L_DSA_VLAN, 313 NPC_F_LB_L_EDSA, 314 NPC_F_LB_L_EDSA_VLAN, 315 NPC_F_LB_L_EXDSA, 316 NPC_F_LB_L_EXDSA_VLAN, 317 NPC_F_LB_L_FDSA, 318 }; 319 320 enum npc_kpu_lc_uflag { 321 NPC_F_LC_U_UNK_PROTO = 0x10, 322 NPC_F_LC_U_IP_FRAG = 0x20, 323 NPC_F_LC_U_IP6_FRAG = 0x40, 324 }; 325 enum npc_kpu_lc_lflag { 326 NPC_F_LC_L_IP_IN_IP = 1, 327 NPC_F_LC_L_6TO4, 328 NPC_F_LC_L_MPLS_IN_IP, 329 NPC_F_LC_L_IP6_TUN_IP6, 330 NPC_F_LC_L_IP6_MPLS_IN_IP, 331 NPC_F_LC_L_MPLS_4_LABELS, 332 NPC_F_LC_L_MPLS_3_LABELS, 333 NPC_F_LC_L_MPLS_2_LABELS, 334 NPC_F_LC_L_EXT_HOP, 335 NPC_F_LC_L_EXT_DEST, 336 NPC_F_LC_L_EXT_ROUT, 337 NPC_F_LC_L_EXT_MOBILITY, 338 NPC_F_LC_L_EXT_HOSTID, 339 NPC_F_LC_L_EXT_SHIM6, 340 }; 341 342 enum npc_kpu_ld_lflag { 343 NPC_F_LD_L_TCP_UNK_PORT = 1, 344 NPC_F_LD_L_TCP_HAS_OPTIONS, 345 NPC_F_LD_L_TCP_UNK_PORT_HAS_OPTIONS, 346 NPC_F_LD_L_UDP_UNK_PORT, 347 NPC_F_LD_L_GRE_NVGRE, 348 NPC_F_LD_L_GRE_HAS_SRE, 349 NPC_F_LD_L_GRE_HAS_CSUM, 350 NPC_F_LD_L_GRE_HAS_KEY, 351 NPC_F_LD_L_GRE_HAS_SEQ, 352 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 353 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 354 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 355 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 356 NPC_F_LD_L_GRE_HAS_ROUTE, 357 NPC_F_LD_L_GRE_UNK_PROTO, 358 NPC_F_LD_L_GRE_VER1, 359 NPC_F_LD_L_GRE_VER1_HAS_SEQ, 360 NPC_F_LD_L_GRE_VER1_HAS_ACK, 361 NPC_F_LD_L_GRE_VER1_HAS_SEQ_ACK, 362 NPC_F_LD_L_GRE_VER1_UNK_PROTO, 363 NPC_F_LD_L_MPLS_4_LABELS, 364 NPC_F_LD_L_MPLS_3_LABELS, 365 NPC_F_LD_L_MPLS_2_LABELS, 366 }; 367 368 enum npc_kpu_le_lflag { 369 NPC_F_LE_L_VXLAN_NOVNI, 370 NPC_F_LE_L_VXLANGPE_NOVNI, 371 NPC_F_LE_L_VXLANGPE_UNK, 372 NPC_F_LE_L_VXLANGPE_NONP, 373 NPC_F_LE_L_GENEVE_OAM, 374 NPC_F_LE_L_GENEVE_CRI_OPT, 375 NPC_F_LE_L_GENEVE_OAM_CRI_OPT, 376 NPC_F_LE_L_GTPU_G_PDU, 377 NPC_F_LE_L_GTPU_UNK, 378 }; 379 380 enum npc_kpu_lf_uflag { 381 NPC_F_LF_U_UNK_ETYPE = 0x10, 382 NPC_F_LF_U_HAS_TAG = 0x20, 383 }; 384 385 enum npc_kpu_lf_lflag { 386 NPC_F_LF_L_WITH_CTAG = 1, 387 NPC_F_LF_L_WITH_STAG_CTAG, 388 NPC_F_LF_L_WITH_STAG, 389 NPC_F_LF_L_WITH_QINQ_CTAG, 390 NPC_F_LF_L_WITH_QINQ, 391 }; 392 393 enum npc_kpu_lg_uflag { 394 NPC_F_LG_U_UNK_IP_PROTO = 0x10, 395 NPC_F_LG_U_IP_HAS_OPTIONS = 0x20, 396 NPC_F_LG_U_IP6_HAS_EXT = 0x40, 397 }; 398 399 enum npc_kpu_lh_uflag { 400 NPC_F_LH_U_TCP_HAS_OPTIONS = 0x80, 401 }; 402 403 enum npc_kpu_lh_lflag { 404 NPC_F_LH_L_TCP_HTTP = 1, 405 NPC_F_LH_L_TCP_HTTPS, 406 NPC_F_LH_L_TCP_PPTP, 407 NPC_F_LH_L_TCP_UNK_PORT, 408 NPC_F_LH_L_UDP_UNK_PORT, 409 }; 410 411 enum npc_kpu_err_code { 412 NPC_EC_NOERR = 0, /* has to be zero */ 413 NPC_EC_UNK, 414 NPC_EC_IH_LENGTH, 415 NPC_EC_EDSA_UNK, 416 NPC_EC_L2_K1, 417 NPC_EC_L2_K2, 418 NPC_EC_L2_K3, 419 NPC_EC_L2_K3_ETYPE_UNK, 420 NPC_EC_L2_K4, 421 NPC_EC_MPLS_2MANY, 422 NPC_EC_MPLS_UNK, 423 NPC_EC_NSH_UNK, 424 NPC_EC_IP_TTL_0, 425 NPC_EC_IP_FRAG_OFFSET_1, 426 NPC_EC_IP_VER, 427 NPC_EC_IP6_HOP_0, 428 NPC_EC_IP6_VER, 429 NPC_EC_TCP_FLAGS_FIN_ONLY, 430 NPC_EC_TCP_FLAGS_ZERO, 431 NPC_EC_TCP_FLAGS_RST_FIN, 432 NPC_EC_TCP_FLAGS_URG_SYN, 433 NPC_EC_TCP_FLAGS_RST_SYN, 434 NPC_EC_TCP_FLAGS_SYN_FIN, 435 NPC_EC_VXLAN, 436 NPC_EC_NVGRE, 437 NPC_EC_GRE, 438 NPC_EC_GRE_VER1, 439 NPC_EC_L4, 440 NPC_EC_OIP4_CSUM, 441 NPC_EC_IIP4_CSUM, 442 NPC_EC_LAST /* has to be the last item */ 443 }; 444 445 enum NPC_ERRLEV_E { 446 NPC_ERRLEV_RE = 0, 447 NPC_ERRLEV_LA = 1, 448 NPC_ERRLEV_LB = 2, 449 NPC_ERRLEV_LC = 3, 450 NPC_ERRLEV_LD = 4, 451 NPC_ERRLEV_LE = 5, 452 NPC_ERRLEV_LF = 6, 453 NPC_ERRLEV_LG = 7, 454 NPC_ERRLEV_LH = 8, 455 NPC_ERRLEV_R9 = 9, 456 NPC_ERRLEV_R10 = 10, 457 NPC_ERRLEV_R11 = 11, 458 NPC_ERRLEV_R12 = 12, 459 NPC_ERRLEV_R13 = 13, 460 NPC_ERRLEV_R14 = 14, 461 NPC_ERRLEV_NIX = 15, 462 NPC_ERRLEV_ENUM_LAST = 16, 463 }; 464 465 #define NPC_KPU_NOP_CAM \ 466 { \ 467 NPC_S_NA, 0xff, \ 468 0x0000, \ 469 0x0000, \ 470 0x0000, \ 471 0x0000, \ 472 0x0000, \ 473 0x0000, \ 474 } 475 476 #define NPC_KPU_NOP_ACTION \ 477 { \ 478 NPC_ERRLEV_RE, NPC_EC_NOERR, \ 479 0, 0, 0, 0, 0, \ 480 NPC_S_NA, 0, 0, \ 481 NPC_LID_LA, NPC_LT_NA, \ 482 0, \ 483 0, 0, 0, 0, \ 484 } 485 486 static struct npc_kpu_profile_action ikpu_action_entries[] = { 487 { 488 NPC_ERRLEV_RE, NPC_EC_NOERR, 489 12, 16, 20, 0, 0, 490 NPC_S_KPU1_ETHER, 0, 0, 491 NPC_LID_LA, NPC_LT_NA, 492 0, 493 0, 0, 0, 0, 494 495 }, 496 { 497 NPC_ERRLEV_RE, NPC_EC_NOERR, 498 12, 16, 20, 0, 0, 499 NPC_S_KPU1_ETHER, 0, 0, 500 NPC_LID_LA, NPC_LT_NA, 501 0, 502 0, 0, 0, 0, 503 504 }, 505 { 506 NPC_ERRLEV_RE, NPC_EC_NOERR, 507 12, 16, 20, 0, 0, 508 NPC_S_KPU1_ETHER, 0, 0, 509 NPC_LID_LA, NPC_LT_NA, 510 0, 511 0, 0, 0, 0, 512 513 }, 514 { 515 NPC_ERRLEV_RE, NPC_EC_NOERR, 516 12, 16, 20, 0, 0, 517 NPC_S_KPU1_ETHER, 0, 0, 518 NPC_LID_LA, NPC_LT_NA, 519 0, 520 0, 0, 0, 0, 521 522 }, 523 { 524 NPC_ERRLEV_RE, NPC_EC_NOERR, 525 12, 16, 20, 0, 0, 526 NPC_S_KPU1_ETHER, 0, 0, 527 NPC_LID_LA, NPC_LT_NA, 528 0, 529 0, 0, 0, 0, 530 531 }, 532 { 533 NPC_ERRLEV_RE, NPC_EC_NOERR, 534 12, 16, 20, 0, 0, 535 NPC_S_KPU1_ETHER, 0, 0, 536 NPC_LID_LA, NPC_LT_NA, 537 0, 538 0, 0, 0, 0, 539 540 }, 541 { 542 NPC_ERRLEV_RE, NPC_EC_NOERR, 543 12, 16, 20, 0, 0, 544 NPC_S_KPU1_ETHER, 0, 0, 545 NPC_LID_LA, NPC_LT_NA, 546 0, 547 0, 0, 0, 0, 548 549 }, 550 { 551 NPC_ERRLEV_RE, NPC_EC_NOERR, 552 12, 16, 20, 0, 0, 553 NPC_S_KPU1_ETHER, 0, 0, 554 NPC_LID_LA, NPC_LT_NA, 555 0, 556 0, 0, 0, 0, 557 558 }, 559 { 560 NPC_ERRLEV_RE, NPC_EC_NOERR, 561 12, 16, 20, 0, 0, 562 NPC_S_KPU1_ETHER, 0, 0, 563 NPC_LID_LA, NPC_LT_NA, 564 0, 565 0, 0, 0, 0, 566 567 }, 568 { 569 NPC_ERRLEV_RE, NPC_EC_NOERR, 570 12, 16, 20, 0, 0, 571 NPC_S_KPU1_ETHER, 0, 0, 572 NPC_LID_LA, NPC_LT_NA, 573 0, 574 0, 0, 0, 0, 575 576 }, 577 { 578 NPC_ERRLEV_RE, NPC_EC_NOERR, 579 12, 16, 20, 0, 0, 580 NPC_S_KPU1_ETHER, 0, 0, 581 NPC_LID_LA, NPC_LT_NA, 582 0, 583 0, 0, 0, 0, 584 585 }, 586 { 587 NPC_ERRLEV_RE, NPC_EC_NOERR, 588 12, 16, 20, 0, 0, 589 NPC_S_KPU1_ETHER, 0, 0, 590 NPC_LID_LA, NPC_LT_NA, 591 0, 592 0, 0, 0, 0, 593 594 }, 595 { 596 NPC_ERRLEV_RE, NPC_EC_NOERR, 597 12, 16, 20, 0, 0, 598 NPC_S_KPU1_ETHER, 0, 0, 599 NPC_LID_LA, NPC_LT_NA, 600 0, 601 0, 0, 0, 0, 602 603 }, 604 { 605 NPC_ERRLEV_RE, NPC_EC_NOERR, 606 12, 16, 20, 0, 0, 607 NPC_S_KPU1_ETHER, 0, 0, 608 NPC_LID_LA, NPC_LT_NA, 609 0, 610 0, 0, 0, 0, 611 612 }, 613 { 614 NPC_ERRLEV_RE, NPC_EC_NOERR, 615 12, 16, 20, 0, 0, 616 NPC_S_KPU1_ETHER, 0, 0, 617 NPC_LID_LA, NPC_LT_NA, 618 0, 619 0, 0, 0, 0, 620 621 }, 622 { 623 NPC_ERRLEV_RE, NPC_EC_NOERR, 624 12, 16, 20, 0, 0, 625 NPC_S_KPU1_ETHER, 0, 0, 626 NPC_LID_LA, NPC_LT_NA, 627 0, 628 0, 0, 0, 0, 629 630 }, 631 { 632 NPC_ERRLEV_RE, NPC_EC_NOERR, 633 12, 16, 20, 0, 0, 634 NPC_S_KPU1_ETHER, 0, 0, 635 NPC_LID_LA, NPC_LT_NA, 636 0, 637 0, 0, 0, 0, 638 639 }, 640 { 641 NPC_ERRLEV_RE, NPC_EC_NOERR, 642 12, 16, 20, 0, 0, 643 NPC_S_KPU1_ETHER, 0, 0, 644 NPC_LID_LA, NPC_LT_NA, 645 0, 646 0, 0, 0, 0, 647 648 }, 649 { 650 NPC_ERRLEV_RE, NPC_EC_NOERR, 651 12, 16, 20, 0, 0, 652 NPC_S_KPU1_ETHER, 0, 0, 653 NPC_LID_LA, NPC_LT_NA, 654 0, 655 0, 0, 0, 0, 656 657 }, 658 { 659 NPC_ERRLEV_RE, NPC_EC_NOERR, 660 12, 16, 20, 0, 0, 661 NPC_S_KPU1_ETHER, 0, 0, 662 NPC_LID_LA, NPC_LT_NA, 663 0, 664 0, 0, 0, 0, 665 666 }, 667 { 668 NPC_ERRLEV_RE, NPC_EC_NOERR, 669 12, 16, 20, 0, 0, 670 NPC_S_KPU1_ETHER, 0, 0, 671 NPC_LID_LA, NPC_LT_NA, 672 0, 673 0, 0, 0, 0, 674 675 }, 676 { 677 NPC_ERRLEV_RE, NPC_EC_NOERR, 678 12, 16, 20, 0, 0, 679 NPC_S_KPU1_ETHER, 0, 0, 680 NPC_LID_LA, NPC_LT_NA, 681 0, 682 0, 0, 0, 0, 683 684 }, 685 { 686 NPC_ERRLEV_RE, NPC_EC_NOERR, 687 12, 16, 20, 0, 0, 688 NPC_S_KPU1_ETHER, 0, 0, 689 NPC_LID_LA, NPC_LT_NA, 690 0, 691 0, 0, 0, 0, 692 693 }, 694 { 695 NPC_ERRLEV_RE, NPC_EC_NOERR, 696 12, 16, 20, 0, 0, 697 NPC_S_KPU1_ETHER, 0, 0, 698 NPC_LID_LA, NPC_LT_NA, 699 0, 700 0, 0, 0, 0, 701 702 }, 703 { 704 NPC_ERRLEV_RE, NPC_EC_NOERR, 705 12, 16, 20, 0, 0, 706 NPC_S_KPU1_ETHER, 0, 0, 707 NPC_LID_LA, NPC_LT_NA, 708 0, 709 0, 0, 0, 0, 710 711 }, 712 { 713 NPC_ERRLEV_RE, NPC_EC_NOERR, 714 12, 16, 20, 0, 0, 715 NPC_S_KPU1_ETHER, 0, 0, 716 NPC_LID_LA, NPC_LT_NA, 717 0, 718 0, 0, 0, 0, 719 720 }, 721 { 722 NPC_ERRLEV_RE, NPC_EC_NOERR, 723 12, 16, 20, 0, 0, 724 NPC_S_KPU1_ETHER, 0, 0, 725 NPC_LID_LA, NPC_LT_NA, 726 0, 727 0, 0, 0, 0, 728 729 }, 730 { 731 NPC_ERRLEV_RE, NPC_EC_NOERR, 732 12, 16, 20, 0, 0, 733 NPC_S_KPU1_ETHER, 0, 0, 734 NPC_LID_LA, NPC_LT_NA, 735 0, 736 0, 0, 0, 0, 737 738 }, 739 { 740 NPC_ERRLEV_RE, NPC_EC_NOERR, 741 12, 16, 20, 0, 0, 742 NPC_S_KPU1_ETHER, 0, 0, 743 NPC_LID_LA, NPC_LT_NA, 744 0, 745 0, 0, 0, 0, 746 747 }, 748 { 749 NPC_ERRLEV_RE, NPC_EC_NOERR, 750 12, 16, 20, 0, 0, 751 NPC_S_KPU1_ETHER, 0, 0, 752 NPC_LID_LA, NPC_LT_NA, 753 0, 754 0, 0, 0, 0, 755 756 }, 757 { 758 NPC_ERRLEV_RE, NPC_EC_NOERR, 759 12, 16, 20, 0, 0, 760 NPC_S_KPU1_ETHER, 0, 0, 761 NPC_LID_LA, NPC_LT_NA, 762 0, 763 0, 0, 0, 0, 764 765 }, 766 { 767 NPC_ERRLEV_RE, NPC_EC_NOERR, 768 12, 16, 20, 0, 0, 769 NPC_S_KPU1_ETHER, 0, 0, 770 NPC_LID_LA, NPC_LT_NA, 771 0, 772 0, 0, 0, 0, 773 774 }, 775 { 776 NPC_ERRLEV_RE, NPC_EC_NOERR, 777 12, 16, 20, 0, 0, 778 NPC_S_KPU1_ETHER, 0, 0, 779 NPC_LID_LA, NPC_LT_NA, 780 0, 781 0, 0, 0, 0, 782 783 }, 784 { 785 NPC_ERRLEV_RE, NPC_EC_NOERR, 786 12, 16, 20, 0, 0, 787 NPC_S_KPU1_ETHER, 0, 0, 788 NPC_LID_LA, NPC_LT_NA, 789 0, 790 0, 0, 0, 0, 791 792 }, 793 { 794 NPC_ERRLEV_RE, NPC_EC_NOERR, 795 12, 16, 20, 0, 0, 796 NPC_S_KPU1_ETHER, 0, 0, 797 NPC_LID_LA, NPC_LT_NA, 798 0, 799 0, 0, 0, 0, 800 801 }, 802 { 803 NPC_ERRLEV_RE, NPC_EC_NOERR, 804 12, 16, 20, 0, 0, 805 NPC_S_KPU1_ETHER, 0, 0, 806 NPC_LID_LA, NPC_LT_NA, 807 0, 808 0, 0, 0, 0, 809 810 }, 811 { 812 NPC_ERRLEV_RE, NPC_EC_NOERR, 813 12, 16, 20, 0, 0, 814 NPC_S_KPU1_ETHER, 0, 0, 815 NPC_LID_LA, NPC_LT_NA, 816 0, 817 0, 0, 0, 0, 818 819 }, 820 { 821 NPC_ERRLEV_RE, NPC_EC_NOERR, 822 12, 16, 20, 0, 0, 823 NPC_S_KPU1_ETHER, 0, 0, 824 NPC_LID_LA, NPC_LT_NA, 825 0, 826 0, 0, 0, 0, 827 828 }, 829 { 830 NPC_ERRLEV_RE, NPC_EC_NOERR, 831 12, 16, 20, 0, 0, 832 NPC_S_KPU1_ETHER, 0, 0, 833 NPC_LID_LA, NPC_LT_NA, 834 0, 835 0, 0, 0, 0, 836 837 }, 838 { 839 NPC_ERRLEV_RE, NPC_EC_NOERR, 840 12, 16, 20, 0, 0, 841 NPC_S_KPU1_ETHER, 0, 0, 842 NPC_LID_LA, NPC_LT_NA, 843 0, 844 0, 0, 0, 0, 845 846 }, 847 { 848 NPC_ERRLEV_RE, NPC_EC_NOERR, 849 12, 16, 20, 0, 0, 850 NPC_S_KPU1_ETHER, 0, 0, 851 NPC_LID_LA, NPC_LT_NA, 852 0, 853 0, 0, 0, 0, 854 855 }, 856 { 857 NPC_ERRLEV_RE, NPC_EC_NOERR, 858 12, 16, 20, 0, 0, 859 NPC_S_KPU1_ETHER, 0, 0, 860 NPC_LID_LA, NPC_LT_NA, 861 0, 862 0, 0, 0, 0, 863 864 }, 865 { 866 NPC_ERRLEV_RE, NPC_EC_NOERR, 867 12, 16, 20, 0, 0, 868 NPC_S_KPU1_ETHER, 0, 0, 869 NPC_LID_LA, NPC_LT_NA, 870 0, 871 0, 0, 0, 0, 872 873 }, 874 { 875 NPC_ERRLEV_RE, NPC_EC_NOERR, 876 12, 16, 20, 0, 0, 877 NPC_S_KPU1_ETHER, 0, 0, 878 NPC_LID_LA, NPC_LT_NA, 879 0, 880 0, 0, 0, 0, 881 882 }, 883 { 884 NPC_ERRLEV_RE, NPC_EC_NOERR, 885 12, 16, 20, 0, 0, 886 NPC_S_KPU1_ETHER, 0, 0, 887 NPC_LID_LA, NPC_LT_NA, 888 0, 889 0, 0, 0, 0, 890 891 }, 892 { 893 NPC_ERRLEV_RE, NPC_EC_NOERR, 894 12, 16, 20, 0, 0, 895 NPC_S_KPU1_ETHER, 0, 0, 896 NPC_LID_LA, NPC_LT_NA, 897 0, 898 0, 0, 0, 0, 899 900 }, 901 { 902 NPC_ERRLEV_RE, NPC_EC_NOERR, 903 12, 16, 20, 0, 0, 904 NPC_S_KPU1_ETHER, 0, 0, 905 NPC_LID_LA, NPC_LT_NA, 906 0, 907 0, 0, 0, 0, 908 909 }, 910 { 911 NPC_ERRLEV_RE, NPC_EC_NOERR, 912 12, 16, 20, 0, 0, 913 NPC_S_KPU1_ETHER, 0, 0, 914 NPC_LID_LA, NPC_LT_NA, 915 0, 916 0, 0, 0, 0, 917 918 }, 919 { 920 NPC_ERRLEV_RE, NPC_EC_NOERR, 921 12, 16, 20, 0, 0, 922 NPC_S_KPU1_ETHER, 0, 0, 923 NPC_LID_LA, NPC_LT_NA, 924 0, 925 0, 0, 0, 0, 926 927 }, 928 { 929 NPC_ERRLEV_RE, NPC_EC_NOERR, 930 12, 16, 20, 0, 0, 931 NPC_S_KPU1_ETHER, 0, 0, 932 NPC_LID_LA, NPC_LT_NA, 933 0, 934 0, 0, 0, 0, 935 936 }, 937 { 938 NPC_ERRLEV_RE, NPC_EC_NOERR, 939 12, 16, 20, 0, 0, 940 NPC_S_KPU1_ETHER, 0, 0, 941 NPC_LID_LA, NPC_LT_NA, 942 0, 943 0, 0, 0, 0, 944 945 }, 946 { 947 NPC_ERRLEV_RE, NPC_EC_NOERR, 948 12, 16, 20, 0, 0, 949 NPC_S_KPU1_ETHER, 0, 0, 950 NPC_LID_LA, NPC_LT_NA, 951 0, 952 0, 0, 0, 0, 953 954 }, 955 { 956 NPC_ERRLEV_RE, NPC_EC_NOERR, 957 12, 16, 20, 0, 0, 958 NPC_S_KPU1_ETHER, 0, 0, 959 NPC_LID_LA, NPC_LT_NA, 960 0, 961 0, 0, 0, 0, 962 963 }, 964 { 965 NPC_ERRLEV_RE, NPC_EC_NOERR, 966 12, 16, 20, 0, 0, 967 NPC_S_KPU1_ETHER, 0, 0, 968 NPC_LID_LA, NPC_LT_NA, 969 0, 970 0, 0, 0, 0, 971 972 }, 973 { 974 NPC_ERRLEV_RE, NPC_EC_NOERR, 975 12, 16, 20, 0, 0, 976 NPC_S_KPU1_ETHER, 0, 0, 977 NPC_LID_LA, NPC_LT_NA, 978 0, 979 0, 0, 0, 0, 980 981 }, 982 { 983 NPC_ERRLEV_RE, NPC_EC_NOERR, 984 12, 16, 20, 0, 0, 985 NPC_S_KPU1_ETHER, 0, 0, 986 NPC_LID_LA, NPC_LT_NA, 987 0, 988 0, 0, 0, 0, 989 990 }, 991 { 992 NPC_ERRLEV_RE, NPC_EC_NOERR, 993 12, 16, 20, 0, 0, 994 NPC_S_KPU1_VLAN_EXDSA, 0, 0, 995 NPC_LID_LA, NPC_LT_NA, 996 0, 997 0, 0, 0, 0, 998 999 }, 1000 { 1001 NPC_ERRLEV_RE, NPC_EC_NOERR, 1002 36, 40, 44, 0, 0, 1003 NPC_S_KPU1_CUSTOM_L2_24B, 0, 0, 1004 NPC_LID_LA, NPC_LT_NA, 1005 0, 1006 0, 0, 0, 0, 1007 1008 }, 1009 { 1010 NPC_ERRLEV_RE, NPC_EC_NOERR, 1011 40, 54, 58, 0, 0, 1012 NPC_S_KPU1_CPT_HDR, 0, 0, 1013 NPC_LID_LA, NPC_LT_NA, 1014 0, 1015 0, 0, 0, 0, 1016 1017 }, 1018 { 1019 NPC_ERRLEV_RE, NPC_EC_NOERR, 1020 102, 106, 110, 0, 0, 1021 NPC_S_KPU1_CUSTOM_L2_90B, 0, 0, 1022 NPC_LID_LA, NPC_LT_NA, 1023 0, 1024 0, 0, 0, 0, 1025 1026 }, 1027 { 1028 NPC_ERRLEV_RE, NPC_EC_NOERR, 1029 36, 40, 44, 0, 0, 1030 NPC_S_KPU1_IH_NIX_HIGIG2, 0, 0, 1031 NPC_LID_LA, NPC_LT_NA, 1032 0, 1033 0, 0, 0, 0, 1034 1035 }, 1036 { 1037 NPC_ERRLEV_RE, NPC_EC_NOERR, 1038 28, 32, 36, 0, 0, 1039 NPC_S_KPU1_HIGIG2, 0, 0, 1040 NPC_LID_LA, NPC_LT_NA, 1041 0, 1042 0, 0, 0, 0, 1043 1044 }, 1045 { 1046 NPC_ERRLEV_RE, NPC_EC_NOERR, 1047 12, 14, 20, 0, 0, 1048 NPC_S_KPU1_EXDSA, 0, 0, 1049 NPC_LID_LA, NPC_LT_NA, 1050 0, 1051 0, 0, 0, 0, 1052 1053 }, 1054 { 1055 NPC_ERRLEV_RE, NPC_EC_NOERR, 1056 20, 24, 28, 0, 0, 1057 NPC_S_KPU1_IH_NIX, 0, 0, 1058 NPC_LID_LA, NPC_LT_NA, 1059 0, 1060 0, 0, 0, 0, 1061 1062 }, 1063 }; 1064 1065 static struct npc_kpu_profile_cam kpu1_cam_entries[] = { 1066 NPC_KPU_NOP_CAM, 1067 NPC_KPU_NOP_CAM, 1068 { 1069 NPC_S_KPU1_ETHER, 0xff, 1070 NPC_ETYPE_IP, 1071 0xffff, 1072 0x0000, 1073 0x0000, 1074 0x0000, 1075 0x0000, 1076 }, 1077 { 1078 NPC_S_KPU1_ETHER, 0xff, 1079 NPC_ETYPE_IP6, 1080 0xffff, 1081 0x0000, 1082 0x0000, 1083 0x0000, 1084 0x0000, 1085 }, 1086 { 1087 NPC_S_KPU1_ETHER, 0xff, 1088 NPC_ETYPE_ARP, 1089 0xffff, 1090 0x0000, 1091 0x0000, 1092 0x0000, 1093 0x0000, 1094 }, 1095 { 1096 NPC_S_KPU1_ETHER, 0xff, 1097 NPC_ETYPE_RARP, 1098 0xffff, 1099 0x0000, 1100 0x0000, 1101 0x0000, 1102 0x0000, 1103 }, 1104 { 1105 NPC_S_KPU1_ETHER, 0xff, 1106 NPC_ETYPE_PTP, 1107 0xffff, 1108 0x0000, 1109 0x0000, 1110 0x0000, 1111 0x0000, 1112 }, 1113 { 1114 NPC_S_KPU1_ETHER, 0xff, 1115 NPC_ETYPE_FCOE, 1116 0xffff, 1117 0x0000, 1118 0x0000, 1119 0x0000, 1120 0x0000, 1121 }, 1122 { 1123 NPC_S_KPU1_ETHER, 0xff, 1124 NPC_ETYPE_CTAG, 1125 0xffff, 1126 NPC_ETYPE_NGIO, 1127 0xffff, 1128 0x0000, 1129 0x0000, 1130 }, 1131 { 1132 NPC_S_KPU1_ETHER, 0xff, 1133 NPC_ETYPE_CTAG, 1134 0xffff, 1135 NPC_ETYPE_CTAG, 1136 0xffff, 1137 0x0000, 1138 0x0000, 1139 }, 1140 { 1141 NPC_S_KPU1_ETHER, 0xff, 1142 NPC_ETYPE_CTAG, 1143 0xffff, 1144 0x0000, 1145 0x0000, 1146 0x0000, 1147 0x0000, 1148 }, 1149 { 1150 NPC_S_KPU1_ETHER, 0xff, 1151 NPC_ETYPE_SBTAG, 1152 0xffff, 1153 0x0000, 1154 0x0000, 1155 0x0000, 1156 0x0000, 1157 }, 1158 { 1159 NPC_S_KPU1_ETHER, 0xff, 1160 NPC_ETYPE_QINQ, 1161 0xffff, 1162 0x0000, 1163 0x0000, 1164 0x0000, 1165 0x0000, 1166 }, 1167 { 1168 NPC_S_KPU1_ETHER, 0xff, 1169 NPC_ETYPE_ETAG, 1170 0xffff, 1171 0x0000, 1172 0x0000, 1173 0x0000, 1174 0x0000, 1175 }, 1176 { 1177 NPC_S_KPU1_ETHER, 0xff, 1178 NPC_ETYPE_MPLSU, 1179 0xffff, 1180 0x0000, 1181 0x0000, 1182 0x0000, 1183 0x0000, 1184 }, 1185 { 1186 NPC_S_KPU1_ETHER, 0xff, 1187 NPC_ETYPE_MPLSM, 1188 0xffff, 1189 0x0000, 1190 0x0000, 1191 0x0000, 1192 0x0000, 1193 }, 1194 { 1195 NPC_S_KPU1_ETHER, 0xff, 1196 NPC_ETYPE_NSH, 1197 0xffff, 1198 0x0000, 1199 0x0000, 1200 0x0000, 1201 0x0000, 1202 }, 1203 { 1204 NPC_S_KPU1_ETHER, 0xff, 1205 NPC_ETYPE_DSA, 1206 0xffff, 1207 0x0000, 1208 0x0000, 1209 0x0000, 1210 0x0000, 1211 }, 1212 { 1213 NPC_S_KPU1_ETHER, 0xff, 1214 NPC_ETYPE_PPPOE, 1215 0xffff, 1216 0x0000, 1217 0x0000, 1218 0x0000, 1219 0x0000, 1220 }, 1221 { 1222 NPC_S_KPU1_ETHER, 0xff, 1223 0x0000, 1224 0xfc00, 1225 0x0000, 1226 0x0000, 1227 0x0000, 1228 0x0000, 1229 }, 1230 { 1231 NPC_S_KPU1_ETHER, 0xff, 1232 0x0400, 1233 0xfe00, 1234 0x0000, 1235 0x0000, 1236 0x0000, 1237 0x0000, 1238 }, 1239 { 1240 NPC_S_KPU1_ETHER, 0xff, 1241 0x0000, 1242 0x0000, 1243 0x0000, 1244 0x0000, 1245 0x0000, 1246 0x0000, 1247 }, 1248 { 1249 NPC_S_KPU1_IH_NIX, 0xff, 1250 NPC_ETYPE_IP, 1251 0xffff, 1252 0x0000, 1253 0x0000, 1254 0x0000, 1255 0x0000, 1256 }, 1257 { 1258 NPC_S_KPU1_IH_NIX, 0xff, 1259 NPC_ETYPE_IP6, 1260 0xffff, 1261 0x0000, 1262 0x0000, 1263 0x0000, 1264 0x0000, 1265 }, 1266 { 1267 NPC_S_KPU1_IH_NIX, 0xff, 1268 NPC_ETYPE_ARP, 1269 0xffff, 1270 0x0000, 1271 0x0000, 1272 0x0000, 1273 0x0000, 1274 }, 1275 { 1276 NPC_S_KPU1_IH_NIX, 0xff, 1277 NPC_ETYPE_RARP, 1278 0xffff, 1279 0x0000, 1280 0x0000, 1281 0x0000, 1282 0x0000, 1283 }, 1284 { 1285 NPC_S_KPU1_IH_NIX, 0xff, 1286 NPC_ETYPE_PTP, 1287 0xffff, 1288 0x0000, 1289 0x0000, 1290 0x0000, 1291 0x0000, 1292 }, 1293 { 1294 NPC_S_KPU1_IH_NIX, 0xff, 1295 NPC_ETYPE_FCOE, 1296 0xffff, 1297 0x0000, 1298 0x0000, 1299 0x0000, 1300 0x0000, 1301 }, 1302 { 1303 NPC_S_KPU1_IH_NIX, 0xff, 1304 NPC_ETYPE_CTAG, 1305 0xffff, 1306 NPC_ETYPE_CTAG, 1307 0xffff, 1308 0x0000, 1309 0x0000, 1310 }, 1311 { 1312 NPC_S_KPU1_IH_NIX, 0xff, 1313 NPC_ETYPE_CTAG, 1314 0xffff, 1315 0x0000, 1316 0x0000, 1317 0x0000, 1318 0x0000, 1319 }, 1320 { 1321 NPC_S_KPU1_IH_NIX, 0xff, 1322 NPC_ETYPE_SBTAG, 1323 0xffff, 1324 0x0000, 1325 0x0000, 1326 0x0000, 1327 0x0000, 1328 }, 1329 { 1330 NPC_S_KPU1_IH_NIX, 0xff, 1331 NPC_ETYPE_QINQ, 1332 0xffff, 1333 0x0000, 1334 0x0000, 1335 0x0000, 1336 0x0000, 1337 }, 1338 { 1339 NPC_S_KPU1_IH_NIX, 0xff, 1340 NPC_ETYPE_ETAG, 1341 0xffff, 1342 0x0000, 1343 0x0000, 1344 0x0000, 1345 0x0000, 1346 }, 1347 { 1348 NPC_S_KPU1_IH_NIX, 0xff, 1349 NPC_ETYPE_MPLSU, 1350 0xffff, 1351 0x0000, 1352 0x0000, 1353 0x0000, 1354 0x0000, 1355 }, 1356 { 1357 NPC_S_KPU1_IH_NIX, 0xff, 1358 NPC_ETYPE_MPLSM, 1359 0xffff, 1360 0x0000, 1361 0x0000, 1362 0x0000, 1363 0x0000, 1364 }, 1365 { 1366 NPC_S_KPU1_IH_NIX, 0xff, 1367 NPC_ETYPE_NSH, 1368 0xffff, 1369 0x0000, 1370 0x0000, 1371 0x0000, 1372 0x0000, 1373 }, 1374 { 1375 NPC_S_KPU1_IH_NIX, 0xff, 1376 0x0000, 1377 0x0000, 1378 0x0000, 1379 0x0000, 1380 0x0000, 1381 0x0000, 1382 }, 1383 { 1384 NPC_S_KPU1_IH, 0xff, 1385 NPC_IH_W | NPC_IH_UTAG, 1386 NPC_IH_W | NPC_IH_UTAG, 1387 0x0000, 1388 0x0000, 1389 0x0000, 1390 0x0000, 1391 }, 1392 { 1393 NPC_S_KPU1_IH, 0xff, 1394 NPC_IH_W, 1395 NPC_IH_W | NPC_IH_UTAG, 1396 0x0000, 1397 0x0000, 1398 0x0000, 1399 0x0000, 1400 }, 1401 { 1402 NPC_S_KPU1_IH, 0xff, 1403 0x0000, 1404 NPC_IH_W | NPC_IH_UTAG, 1405 0x0000, 1406 0x0000, 1407 0x0000, 1408 0x0000, 1409 }, 1410 { 1411 NPC_S_KPU1_IH, 0xff, 1412 0x0000, 1413 0x0000, 1414 0x0000, 1415 0x0000, 1416 0x0000, 1417 0x0000, 1418 }, 1419 { 1420 NPC_S_KPU1_EXDSA, 0xff, 1421 0x0000, 1422 0x0000, 1423 NPC_DSA_EXTEND, 1424 NPC_DSA_EXTEND, 1425 0x0000, 1426 0x0000, 1427 }, 1428 { 1429 NPC_S_KPU1_EXDSA, 0xff, 1430 NPC_DSA_FDSA, 1431 NPC_DSA_FDSA, 1432 0x0000, 1433 0x0000, 1434 0x0000, 1435 0x0000, 1436 }, 1437 { 1438 NPC_S_KPU1_EXDSA, 0xff, 1439 0x0000, 1440 NPC_DSA_EXTEND, 1441 0x0000, 1442 0x0000, 1443 0x0000, 1444 0x0000, 1445 }, 1446 { 1447 NPC_S_KPU1_HIGIG2, 0xff, 1448 NPC_ETYPE_IP, 1449 0xffff, 1450 0x0000, 1451 0x0000, 1452 0x0000, 1453 0x0000, 1454 }, 1455 { 1456 NPC_S_KPU1_HIGIG2, 0xff, 1457 NPC_ETYPE_IP6, 1458 0xffff, 1459 0x0000, 1460 0x0000, 1461 0x0000, 1462 0x0000, 1463 }, 1464 { 1465 NPC_S_KPU1_HIGIG2, 0xff, 1466 NPC_ETYPE_ARP, 1467 0xffff, 1468 0x0000, 1469 0x0000, 1470 0x0000, 1471 0x0000, 1472 }, 1473 { 1474 NPC_S_KPU1_HIGIG2, 0xff, 1475 NPC_ETYPE_RARP, 1476 0xffff, 1477 0x0000, 1478 0x0000, 1479 0x0000, 1480 0x0000, 1481 }, 1482 { 1483 NPC_S_KPU1_HIGIG2, 0xff, 1484 NPC_ETYPE_PTP, 1485 0xffff, 1486 0x0000, 1487 0x0000, 1488 0x0000, 1489 0x0000, 1490 }, 1491 { 1492 NPC_S_KPU1_HIGIG2, 0xff, 1493 NPC_ETYPE_FCOE, 1494 0xffff, 1495 0x0000, 1496 0x0000, 1497 0x0000, 1498 0x0000, 1499 }, 1500 { 1501 NPC_S_KPU1_HIGIG2, 0xff, 1502 NPC_ETYPE_CTAG, 1503 0xffff, 1504 NPC_ETYPE_CTAG, 1505 0xffff, 1506 0x0000, 1507 0x0000, 1508 }, 1509 { 1510 NPC_S_KPU1_HIGIG2, 0xff, 1511 NPC_ETYPE_CTAG, 1512 0xffff, 1513 0x0000, 1514 0x0000, 1515 0x0000, 1516 0x0000, 1517 }, 1518 { 1519 NPC_S_KPU1_HIGIG2, 0xff, 1520 NPC_ETYPE_SBTAG, 1521 0xffff, 1522 0x0000, 1523 0x0000, 1524 0x0000, 1525 0x0000, 1526 }, 1527 { 1528 NPC_S_KPU1_HIGIG2, 0xff, 1529 NPC_ETYPE_QINQ, 1530 0xffff, 1531 0x0000, 1532 0x0000, 1533 0x0000, 1534 0x0000, 1535 }, 1536 { 1537 NPC_S_KPU1_HIGIG2, 0xff, 1538 NPC_ETYPE_ETAG, 1539 0xffff, 1540 0x0000, 1541 0x0000, 1542 0x0000, 1543 0x0000, 1544 }, 1545 { 1546 NPC_S_KPU1_HIGIG2, 0xff, 1547 NPC_ETYPE_MPLSU, 1548 0xffff, 1549 0x0000, 1550 0x0000, 1551 0x0000, 1552 0x0000, 1553 }, 1554 { 1555 NPC_S_KPU1_HIGIG2, 0xff, 1556 NPC_ETYPE_MPLSM, 1557 0xffff, 1558 0x0000, 1559 0x0000, 1560 0x0000, 1561 0x0000, 1562 }, 1563 { 1564 NPC_S_KPU1_HIGIG2, 0xff, 1565 NPC_ETYPE_NSH, 1566 0xffff, 1567 0x0000, 1568 0x0000, 1569 0x0000, 1570 0x0000, 1571 }, 1572 { 1573 NPC_S_KPU1_HIGIG2, 0xff, 1574 0x0000, 1575 0x0000, 1576 0x0000, 1577 0x0000, 1578 0x0000, 1579 0x0000, 1580 }, 1581 { 1582 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1583 NPC_ETYPE_IP, 1584 0xffff, 1585 0x0000, 1586 0x0000, 1587 0x0000, 1588 0x0000, 1589 }, 1590 { 1591 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1592 NPC_ETYPE_IP6, 1593 0xffff, 1594 0x0000, 1595 0x0000, 1596 0x0000, 1597 0x0000, 1598 }, 1599 { 1600 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1601 NPC_ETYPE_ARP, 1602 0xffff, 1603 0x0000, 1604 0x0000, 1605 0x0000, 1606 0x0000, 1607 }, 1608 { 1609 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1610 NPC_ETYPE_RARP, 1611 0xffff, 1612 0x0000, 1613 0x0000, 1614 0x0000, 1615 0x0000, 1616 }, 1617 { 1618 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1619 NPC_ETYPE_PTP, 1620 0xffff, 1621 0x0000, 1622 0x0000, 1623 0x0000, 1624 0x0000, 1625 }, 1626 { 1627 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1628 NPC_ETYPE_FCOE, 1629 0xffff, 1630 0x0000, 1631 0x0000, 1632 0x0000, 1633 0x0000, 1634 }, 1635 { 1636 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1637 NPC_ETYPE_CTAG, 1638 0xffff, 1639 NPC_ETYPE_CTAG, 1640 0xffff, 1641 0x0000, 1642 0x0000, 1643 }, 1644 { 1645 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1646 NPC_ETYPE_CTAG, 1647 0xffff, 1648 0x0000, 1649 0x0000, 1650 0x0000, 1651 0x0000, 1652 }, 1653 { 1654 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1655 NPC_ETYPE_SBTAG, 1656 0xffff, 1657 0x0000, 1658 0x0000, 1659 0x0000, 1660 0x0000, 1661 }, 1662 { 1663 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1664 NPC_ETYPE_QINQ, 1665 0xffff, 1666 0x0000, 1667 0x0000, 1668 0x0000, 1669 0x0000, 1670 }, 1671 { 1672 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1673 NPC_ETYPE_ETAG, 1674 0xffff, 1675 0x0000, 1676 0x0000, 1677 0x0000, 1678 0x0000, 1679 }, 1680 { 1681 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1682 NPC_ETYPE_MPLSU, 1683 0xffff, 1684 0x0000, 1685 0x0000, 1686 0x0000, 1687 0x0000, 1688 }, 1689 { 1690 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1691 NPC_ETYPE_MPLSM, 1692 0xffff, 1693 0x0000, 1694 0x0000, 1695 0x0000, 1696 0x0000, 1697 }, 1698 { 1699 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1700 NPC_ETYPE_NSH, 1701 0xffff, 1702 0x0000, 1703 0x0000, 1704 0x0000, 1705 0x0000, 1706 }, 1707 { 1708 NPC_S_KPU1_IH_NIX_HIGIG2, 0xff, 1709 0x0000, 1710 0x0000, 1711 0x0000, 1712 0x0000, 1713 0x0000, 1714 0x0000, 1715 }, 1716 { 1717 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1718 NPC_ETYPE_IP, 1719 0xffff, 1720 0x0000, 1721 0x0000, 1722 0x0000, 1723 0x0000, 1724 }, 1725 { 1726 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1727 NPC_ETYPE_IP6, 1728 0xffff, 1729 0x0000, 1730 0x0000, 1731 0x0000, 1732 0x0000, 1733 }, 1734 { 1735 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1736 NPC_ETYPE_ARP, 1737 0xffff, 1738 0x0000, 1739 0x0000, 1740 0x0000, 1741 0x0000, 1742 }, 1743 { 1744 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1745 NPC_ETYPE_RARP, 1746 0xffff, 1747 0x0000, 1748 0x0000, 1749 0x0000, 1750 0x0000, 1751 }, 1752 { 1753 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1754 NPC_ETYPE_PTP, 1755 0xffff, 1756 0x0000, 1757 0x0000, 1758 0x0000, 1759 0x0000, 1760 }, 1761 { 1762 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1763 NPC_ETYPE_FCOE, 1764 0xffff, 1765 0x0000, 1766 0x0000, 1767 0x0000, 1768 0x0000, 1769 }, 1770 { 1771 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1772 NPC_ETYPE_CTAG, 1773 0xffff, 1774 NPC_ETYPE_CTAG, 1775 0xffff, 1776 0x0000, 1777 0x0000, 1778 }, 1779 { 1780 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1781 NPC_ETYPE_CTAG, 1782 0xffff, 1783 0x0000, 1784 0x0000, 1785 0x0000, 1786 0x0000, 1787 }, 1788 { 1789 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1790 NPC_ETYPE_SBTAG, 1791 0xffff, 1792 0x0000, 1793 0x0000, 1794 0x0000, 1795 0x0000, 1796 }, 1797 { 1798 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1799 NPC_ETYPE_QINQ, 1800 0xffff, 1801 0x0000, 1802 0x0000, 1803 0x0000, 1804 0x0000, 1805 }, 1806 { 1807 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1808 NPC_ETYPE_ETAG, 1809 0xffff, 1810 0x0000, 1811 0x0000, 1812 0x0000, 1813 0x0000, 1814 }, 1815 { 1816 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1817 NPC_ETYPE_MPLSU, 1818 0xffff, 1819 0x0000, 1820 0x0000, 1821 0x0000, 1822 0x0000, 1823 }, 1824 { 1825 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1826 NPC_ETYPE_MPLSM, 1827 0xffff, 1828 0x0000, 1829 0x0000, 1830 0x0000, 1831 0x0000, 1832 }, 1833 { 1834 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1835 NPC_ETYPE_NSH, 1836 0xffff, 1837 0x0000, 1838 0x0000, 1839 0x0000, 1840 0x0000, 1841 }, 1842 { 1843 NPC_S_KPU1_CUSTOM_L2_90B, 0xff, 1844 0x0000, 1845 0x0000, 1846 0x0000, 1847 0x0000, 1848 0x0000, 1849 0x0000, 1850 }, 1851 { 1852 NPC_S_KPU1_CPT_HDR, 0xff, 1853 0x0000, 1854 0xffff, 1855 NPC_ETYPE_IP, 1856 0xffff, 1857 0x0000, 1858 0x0000, 1859 }, 1860 { 1861 NPC_S_KPU1_CPT_HDR, 0xff, 1862 0x0000, 1863 0xffff, 1864 NPC_ETYPE_IP6, 1865 0xffff, 1866 0x0000, 1867 0x0000, 1868 }, 1869 { 1870 NPC_S_KPU1_CPT_HDR, 0xff, 1871 0x0000, 1872 0xffff, 1873 NPC_ETYPE_CTAG, 1874 0xffff, 1875 0x0000, 1876 0x0000, 1877 }, 1878 { 1879 NPC_S_KPU1_CPT_HDR, 0xff, 1880 0x0000, 1881 0xffff, 1882 NPC_ETYPE_QINQ, 1883 0xffff, 1884 0x0000, 1885 0x0000, 1886 }, 1887 { 1888 NPC_S_KPU1_CPT_HDR, 0xff, 1889 0x0000, 1890 0xffff, 1891 0x0000, 1892 0x0000, 1893 NPC_ETYPE_IP, 1894 0xffff, 1895 }, 1896 { 1897 NPC_S_KPU1_CPT_HDR, 0xff, 1898 0x0000, 1899 0xffff, 1900 0x0000, 1901 0x0000, 1902 NPC_ETYPE_IP6, 1903 0xffff, 1904 }, 1905 { 1906 NPC_S_KPU1_CPT_HDR, 0xff, 1907 0x0000, 1908 0xffff, 1909 0x0000, 1910 0x0000, 1911 NPC_ETYPE_CTAG, 1912 0xffff, 1913 }, 1914 { 1915 NPC_S_KPU1_CPT_HDR, 0xff, 1916 0x0000, 1917 0xffff, 1918 0x0000, 1919 0x0000, 1920 NPC_ETYPE_QINQ, 1921 0xffff, 1922 }, 1923 { 1924 NPC_S_KPU1_CPT_HDR, 0xff, 1925 0x0000, 1926 0x0000, 1927 0x0000, 1928 0x0000, 1929 0x0000, 1930 0x0000, 1931 }, 1932 { 1933 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1934 NPC_ETYPE_IP, 1935 0xffff, 1936 0x0000, 1937 0x0000, 1938 0x0000, 1939 0x0000, 1940 }, 1941 { 1942 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1943 NPC_ETYPE_IP6, 1944 0xffff, 1945 0x0000, 1946 0x0000, 1947 0x0000, 1948 0x0000, 1949 }, 1950 { 1951 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1952 NPC_ETYPE_ARP, 1953 0xffff, 1954 0x0000, 1955 0x0000, 1956 0x0000, 1957 0x0000, 1958 }, 1959 { 1960 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1961 NPC_ETYPE_RARP, 1962 0xffff, 1963 0x0000, 1964 0x0000, 1965 0x0000, 1966 0x0000, 1967 }, 1968 { 1969 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1970 NPC_ETYPE_PTP, 1971 0xffff, 1972 0x0000, 1973 0x0000, 1974 0x0000, 1975 0x0000, 1976 }, 1977 { 1978 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1979 NPC_ETYPE_FCOE, 1980 0xffff, 1981 0x0000, 1982 0x0000, 1983 0x0000, 1984 0x0000, 1985 }, 1986 { 1987 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1988 NPC_ETYPE_CTAG, 1989 0xffff, 1990 NPC_ETYPE_CTAG, 1991 0xffff, 1992 0x0000, 1993 0x0000, 1994 }, 1995 { 1996 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 1997 NPC_ETYPE_CTAG, 1998 0xffff, 1999 0x0000, 2000 0x0000, 2001 0x0000, 2002 0x0000, 2003 }, 2004 { 2005 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2006 NPC_ETYPE_SBTAG, 2007 0xffff, 2008 0x0000, 2009 0x0000, 2010 0x0000, 2011 0x0000, 2012 }, 2013 { 2014 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2015 NPC_ETYPE_QINQ, 2016 0xffff, 2017 0x0000, 2018 0x0000, 2019 0x0000, 2020 0x0000, 2021 }, 2022 { 2023 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2024 NPC_ETYPE_ETAG, 2025 0xffff, 2026 0x0000, 2027 0x0000, 2028 0x0000, 2029 0x0000, 2030 }, 2031 { 2032 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2033 NPC_ETYPE_MPLSU, 2034 0xffff, 2035 0x0000, 2036 0x0000, 2037 0x0000, 2038 0x0000, 2039 }, 2040 { 2041 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2042 NPC_ETYPE_MPLSM, 2043 0xffff, 2044 0x0000, 2045 0x0000, 2046 0x0000, 2047 0x0000, 2048 }, 2049 { 2050 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2051 NPC_ETYPE_NSH, 2052 0xffff, 2053 0x0000, 2054 0x0000, 2055 0x0000, 2056 0x0000, 2057 }, 2058 { 2059 NPC_S_KPU1_CUSTOM_L2_24B, 0xff, 2060 0x0000, 2061 0x0000, 2062 0x0000, 2063 0x0000, 2064 0x0000, 2065 0x0000, 2066 }, 2067 { 2068 NPC_S_KPU1_VLAN_EXDSA, 0xff, 2069 NPC_ETYPE_CTAG, 2070 0xffff, 2071 0x0000, 2072 0x0000, 2073 0x0000, 2074 0x0000, 2075 }, 2076 { 2077 NPC_S_NA, 0X00, 2078 0x0000, 2079 0x0000, 2080 0x0000, 2081 0x0000, 2082 0x0000, 2083 0x0000, 2084 }, 2085 }; 2086 2087 static struct npc_kpu_profile_cam kpu2_cam_entries[] = { 2088 NPC_KPU_NOP_CAM, 2089 NPC_KPU_NOP_CAM, 2090 { 2091 NPC_S_KPU2_CTAG, 0xff, 2092 NPC_ETYPE_IP, 2093 0xffff, 2094 0x0000, 2095 0x0000, 2096 0x0000, 2097 0x0000, 2098 }, 2099 { 2100 NPC_S_KPU2_CTAG, 0xff, 2101 NPC_ETYPE_IP6, 2102 0xffff, 2103 0x0000, 2104 0x0000, 2105 0x0000, 2106 0x0000, 2107 }, 2108 { 2109 NPC_S_KPU2_CTAG, 0xff, 2110 NPC_ETYPE_ARP, 2111 0xffff, 2112 0x0000, 2113 0x0000, 2114 0x0000, 2115 0x0000, 2116 }, 2117 { 2118 NPC_S_KPU2_CTAG, 0xff, 2119 NPC_ETYPE_RARP, 2120 0xffff, 2121 0x0000, 2122 0x0000, 2123 0x0000, 2124 0x0000, 2125 }, 2126 { 2127 NPC_S_KPU2_CTAG, 0xff, 2128 NPC_ETYPE_PTP, 2129 0xffff, 2130 0x0000, 2131 0x0000, 2132 0x0000, 2133 0x0000, 2134 }, 2135 { 2136 NPC_S_KPU2_CTAG, 0xff, 2137 NPC_ETYPE_FCOE, 2138 0xffff, 2139 0x0000, 2140 0x0000, 2141 0x0000, 2142 0x0000, 2143 }, 2144 { 2145 NPC_S_KPU2_CTAG, 0xff, 2146 NPC_ETYPE_MPLSU, 2147 0xffff, 2148 0x0000, 2149 0x0000, 2150 0x0000, 2151 0x0000, 2152 }, 2153 { 2154 NPC_S_KPU2_CTAG, 0xff, 2155 NPC_ETYPE_MPLSM, 2156 0xffff, 2157 0x0000, 2158 0x0000, 2159 0x0000, 2160 0x0000, 2161 }, 2162 { 2163 NPC_S_KPU2_CTAG, 0xff, 2164 NPC_ETYPE_NSH, 2165 0xffff, 2166 0x0000, 2167 0x0000, 2168 0x0000, 2169 0x0000, 2170 }, 2171 { 2172 NPC_S_KPU2_CTAG, 0xff, 2173 NPC_ETYPE_PPPOE, 2174 0xffff, 2175 0x0000, 2176 0x0000, 2177 NPC_PPP_IP, 2178 0xffff, 2179 }, 2180 { 2181 NPC_S_KPU2_CTAG, 0xff, 2182 NPC_ETYPE_PPPOE, 2183 0xffff, 2184 0x0000, 2185 0x0000, 2186 NPC_PPP_IP6, 2187 0xffff, 2188 }, 2189 { 2190 NPC_S_KPU2_CTAG, 0xff, 2191 0x0000, 2192 0x0000, 2193 0x0000, 2194 0x0000, 2195 0x0000, 2196 0x0000, 2197 }, 2198 { 2199 NPC_S_KPU2_SBTAG, 0xff, 2200 NPC_ETYPE_CTAG, 2201 0xffff, 2202 NPC_ETYPE_IP, 2203 0xffff, 2204 0x0000, 2205 0x0000, 2206 }, 2207 { 2208 NPC_S_KPU2_SBTAG, 0xff, 2209 NPC_ETYPE_CTAG, 2210 0xffff, 2211 NPC_ETYPE_IP6, 2212 0xffff, 2213 0x0000, 2214 0x0000, 2215 }, 2216 { 2217 NPC_S_KPU2_SBTAG, 0xff, 2218 NPC_ETYPE_CTAG, 2219 0xffff, 2220 NPC_ETYPE_ARP, 2221 0xffff, 2222 0x0000, 2223 0x0000, 2224 }, 2225 { 2226 NPC_S_KPU2_SBTAG, 0xff, 2227 NPC_ETYPE_CTAG, 2228 0xffff, 2229 NPC_ETYPE_RARP, 2230 0xffff, 2231 0x0000, 2232 0x0000, 2233 }, 2234 { 2235 NPC_S_KPU2_SBTAG, 0xff, 2236 NPC_ETYPE_CTAG, 2237 0xffff, 2238 NPC_ETYPE_PTP, 2239 0xffff, 2240 0x0000, 2241 0x0000, 2242 }, 2243 { 2244 NPC_S_KPU2_SBTAG, 0xff, 2245 NPC_ETYPE_CTAG, 2246 0xffff, 2247 NPC_ETYPE_FCOE, 2248 0xffff, 2249 0x0000, 2250 0x0000, 2251 }, 2252 { 2253 NPC_S_KPU2_SBTAG, 0xff, 2254 NPC_ETYPE_CTAG, 2255 0xffff, 2256 NPC_ETYPE_MPLSU, 2257 0xffff, 2258 0x0000, 2259 0x0000, 2260 }, 2261 { 2262 NPC_S_KPU2_SBTAG, 0xff, 2263 NPC_ETYPE_CTAG, 2264 0xffff, 2265 NPC_ETYPE_MPLSM, 2266 0xffff, 2267 0x0000, 2268 0x0000, 2269 }, 2270 { 2271 NPC_S_KPU2_SBTAG, 0xff, 2272 NPC_ETYPE_CTAG, 2273 0xffff, 2274 NPC_ETYPE_NSH, 2275 0xffff, 2276 0x0000, 2277 0x0000, 2278 }, 2279 { 2280 NPC_S_KPU2_SBTAG, 0xff, 2281 NPC_ETYPE_CTAG, 2282 0xffff, 2283 0x0000, 2284 0x0000, 2285 0x0000, 2286 0x0000, 2287 }, 2288 { 2289 NPC_S_KPU2_SBTAG, 0xff, 2290 NPC_ETYPE_SBTAG, 2291 0xffff, 2292 NPC_ETYPE_CTAG, 2293 0xffff, 2294 0x0000, 2295 0x0000, 2296 }, 2297 { 2298 NPC_S_KPU2_SBTAG, 0xff, 2299 NPC_ETYPE_SBTAG, 2300 0xffff, 2301 NPC_ETYPE_SBTAG, 2302 0xffff, 2303 0x0000, 2304 0x0000, 2305 }, 2306 { 2307 NPC_S_KPU2_SBTAG, 0xff, 2308 NPC_ETYPE_ITAG, 2309 0xffff, 2310 0x0000, 2311 0x0000, 2312 NPC_ETYPE_IP, 2313 0xffff, 2314 }, 2315 { 2316 NPC_S_KPU2_SBTAG, 0xff, 2317 NPC_ETYPE_ITAG, 2318 0xffff, 2319 0x0000, 2320 0x0000, 2321 NPC_ETYPE_IP6, 2322 0xffff, 2323 }, 2324 { 2325 NPC_S_KPU2_SBTAG, 0xff, 2326 NPC_ETYPE_ITAG, 2327 0xffff, 2328 0x0000, 2329 0x0000, 2330 NPC_ETYPE_ARP, 2331 0xffff, 2332 }, 2333 { 2334 NPC_S_KPU2_SBTAG, 0xff, 2335 NPC_ETYPE_ITAG, 2336 0xffff, 2337 0x0000, 2338 0x0000, 2339 NPC_ETYPE_RARP, 2340 0xffff, 2341 }, 2342 { 2343 NPC_S_KPU2_SBTAG, 0xff, 2344 NPC_ETYPE_ITAG, 2345 0xffff, 2346 0x0000, 2347 0x0000, 2348 NPC_ETYPE_PTP, 2349 0xffff, 2350 }, 2351 { 2352 NPC_S_KPU2_SBTAG, 0xff, 2353 NPC_ETYPE_ITAG, 2354 0xffff, 2355 0x0000, 2356 0x0000, 2357 NPC_ETYPE_FCOE, 2358 0xffff, 2359 }, 2360 { 2361 NPC_S_KPU2_SBTAG, 0xff, 2362 NPC_ETYPE_ITAG, 2363 0xffff, 2364 0x0000, 2365 0x0000, 2366 NPC_ETYPE_MPLSU, 2367 0xffff, 2368 }, 2369 { 2370 NPC_S_KPU2_SBTAG, 0xff, 2371 NPC_ETYPE_ITAG, 2372 0xffff, 2373 0x0000, 2374 0x0000, 2375 NPC_ETYPE_MPLSM, 2376 0xffff, 2377 }, 2378 { 2379 NPC_S_KPU2_SBTAG, 0xff, 2380 NPC_ETYPE_ITAG, 2381 0xffff, 2382 0x0000, 2383 0x0000, 2384 NPC_ETYPE_NSH, 2385 0xffff, 2386 }, 2387 { 2388 NPC_S_KPU2_SBTAG, 0xff, 2389 NPC_ETYPE_ITAG, 2390 0xffff, 2391 0x0000, 2392 0x0000, 2393 NPC_ETYPE_SBTAG, 2394 0xffff, 2395 }, 2396 { 2397 NPC_S_KPU2_SBTAG, 0xff, 2398 NPC_ETYPE_ITAG, 2399 0xffff, 2400 0x0000, 2401 0x0000, 2402 NPC_ETYPE_CTAG, 2403 0xffff, 2404 }, 2405 { 2406 NPC_S_KPU2_SBTAG, 0xff, 2407 NPC_ETYPE_ITAG, 2408 0xffff, 2409 0x0000, 2410 0x0000, 2411 0x0000, 2412 0x0000, 2413 }, 2414 { 2415 NPC_S_KPU2_SBTAG, 0xff, 2416 0x0000, 2417 0x0000, 2418 0x0000, 2419 0x0000, 2420 0x0000, 2421 0x0000, 2422 }, 2423 { 2424 NPC_S_KPU2_QINQ, 0xff, 2425 NPC_ETYPE_CTAG, 2426 0xffff, 2427 NPC_ETYPE_IP, 2428 0xffff, 2429 0x0000, 2430 0x0000, 2431 }, 2432 { 2433 NPC_S_KPU2_QINQ, 0xff, 2434 NPC_ETYPE_CTAG, 2435 0xffff, 2436 NPC_ETYPE_IP6, 2437 0xffff, 2438 0x0000, 2439 0x0000, 2440 }, 2441 { 2442 NPC_S_KPU2_QINQ, 0xff, 2443 NPC_ETYPE_CTAG, 2444 0xffff, 2445 NPC_ETYPE_ARP, 2446 0xffff, 2447 0x0000, 2448 0x0000, 2449 }, 2450 { 2451 NPC_S_KPU2_QINQ, 0xff, 2452 NPC_ETYPE_CTAG, 2453 0xffff, 2454 NPC_ETYPE_RARP, 2455 0xffff, 2456 0x0000, 2457 0x0000, 2458 }, 2459 { 2460 NPC_S_KPU2_QINQ, 0xff, 2461 NPC_ETYPE_CTAG, 2462 0xffff, 2463 NPC_ETYPE_PTP, 2464 0xffff, 2465 0x0000, 2466 0x0000, 2467 }, 2468 { 2469 NPC_S_KPU2_QINQ, 0xff, 2470 NPC_ETYPE_CTAG, 2471 0xffff, 2472 NPC_ETYPE_FCOE, 2473 0xffff, 2474 0x0000, 2475 0x0000, 2476 }, 2477 { 2478 NPC_S_KPU2_QINQ, 0xff, 2479 NPC_ETYPE_CTAG, 2480 0xffff, 2481 NPC_ETYPE_MPLSU, 2482 0xffff, 2483 0x0000, 2484 0x0000, 2485 }, 2486 { 2487 NPC_S_KPU2_QINQ, 0xff, 2488 NPC_ETYPE_CTAG, 2489 0xffff, 2490 NPC_ETYPE_MPLSM, 2491 0xffff, 2492 0x0000, 2493 0x0000, 2494 }, 2495 { 2496 NPC_S_KPU2_QINQ, 0xff, 2497 NPC_ETYPE_CTAG, 2498 0xffff, 2499 NPC_ETYPE_NSH, 2500 0xffff, 2501 0x0000, 2502 0x0000, 2503 }, 2504 { 2505 NPC_S_KPU2_QINQ, 0xff, 2506 NPC_ETYPE_CTAG, 2507 0xffff, 2508 0x0000, 2509 0x0000, 2510 0x0000, 2511 0x0000, 2512 }, 2513 { 2514 NPC_S_KPU2_QINQ, 0xff, 2515 NPC_ETYPE_QINQ, 2516 0xffff, 2517 NPC_ETYPE_CTAG, 2518 0xffff, 2519 0x0000, 2520 0x0000, 2521 }, 2522 { 2523 NPC_S_KPU2_QINQ, 0xff, 2524 NPC_ETYPE_QINQ, 2525 0xffff, 2526 NPC_ETYPE_QINQ, 2527 0xffff, 2528 0x0000, 2529 0x0000, 2530 }, 2531 { 2532 NPC_S_KPU2_QINQ, 0xff, 2533 0x0000, 2534 0x0000, 2535 0x0000, 2536 0x0000, 2537 0x0000, 2538 0x0000, 2539 }, 2540 { 2541 NPC_S_KPU2_ETAG, 0xff, 2542 NPC_ETYPE_IP, 2543 0xffff, 2544 0x0000, 2545 0x0000, 2546 0x0000, 2547 0x0000, 2548 }, 2549 { 2550 NPC_S_KPU2_ETAG, 0xff, 2551 NPC_ETYPE_IP6, 2552 0xffff, 2553 0x0000, 2554 0x0000, 2555 0x0000, 2556 0x0000, 2557 }, 2558 { 2559 NPC_S_KPU2_ETAG, 0xff, 2560 NPC_ETYPE_ARP, 2561 0xffff, 2562 0x0000, 2563 0x0000, 2564 0x0000, 2565 0x0000, 2566 }, 2567 { 2568 NPC_S_KPU2_ETAG, 0xff, 2569 NPC_ETYPE_RARP, 2570 0xffff, 2571 0x0000, 2572 0x0000, 2573 0x0000, 2574 0x0000, 2575 }, 2576 { 2577 NPC_S_KPU2_ETAG, 0xff, 2578 NPC_ETYPE_PTP, 2579 0xffff, 2580 0x0000, 2581 0x0000, 2582 0x0000, 2583 0x0000, 2584 }, 2585 { 2586 NPC_S_KPU2_ETAG, 0xff, 2587 NPC_ETYPE_FCOE, 2588 0xffff, 2589 0x0000, 2590 0x0000, 2591 0x0000, 2592 0x0000, 2593 }, 2594 { 2595 NPC_S_KPU2_ETAG, 0xff, 2596 NPC_ETYPE_MPLSU, 2597 0xffff, 2598 0x0000, 2599 0x0000, 2600 0x0000, 2601 0x0000, 2602 }, 2603 { 2604 NPC_S_KPU2_ETAG, 0xff, 2605 NPC_ETYPE_MPLSM, 2606 0xffff, 2607 0x0000, 2608 0x0000, 2609 0x0000, 2610 0x0000, 2611 }, 2612 { 2613 NPC_S_KPU2_ETAG, 0xff, 2614 NPC_ETYPE_NSH, 2615 0xffff, 2616 0x0000, 2617 0x0000, 2618 0x0000, 2619 0x0000, 2620 }, 2621 { 2622 NPC_S_KPU2_ETAG, 0xff, 2623 NPC_ETYPE_CTAG, 2624 0xffff, 2625 0x0000, 2626 0x0000, 2627 0x0000, 2628 0x0000, 2629 }, 2630 { 2631 NPC_S_KPU2_ETAG, 0xff, 2632 NPC_ETYPE_SBTAG, 2633 0xffff, 2634 0x0000, 2635 0x0000, 2636 0x0000, 2637 0x0000, 2638 }, 2639 { 2640 NPC_S_KPU2_ETAG, 0xff, 2641 NPC_ETYPE_QINQ, 2642 0xffff, 2643 0x0000, 2644 0x0000, 2645 0x0000, 2646 0x0000, 2647 }, 2648 { 2649 NPC_S_KPU2_ETAG, 0xff, 2650 NPC_ETYPE_ITAG, 2651 0xffff, 2652 0x0000, 2653 0x0000, 2654 NPC_ETYPE_IP, 2655 0xffff, 2656 }, 2657 { 2658 NPC_S_KPU2_ETAG, 0xff, 2659 NPC_ETYPE_ITAG, 2660 0xffff, 2661 0x0000, 2662 0x0000, 2663 NPC_ETYPE_IP6, 2664 0xffff, 2665 }, 2666 { 2667 NPC_S_KPU2_ETAG, 0xff, 2668 NPC_ETYPE_ITAG, 2669 0xffff, 2670 0x0000, 2671 0x0000, 2672 NPC_ETYPE_ARP, 2673 0xffff, 2674 }, 2675 { 2676 NPC_S_KPU2_ETAG, 0xff, 2677 NPC_ETYPE_ITAG, 2678 0xffff, 2679 0x0000, 2680 0x0000, 2681 NPC_ETYPE_SBTAG, 2682 0xffff, 2683 }, 2684 { 2685 NPC_S_KPU2_ETAG, 0xff, 2686 NPC_ETYPE_ITAG, 2687 0xffff, 2688 0x0000, 2689 0x0000, 2690 NPC_ETYPE_CTAG, 2691 0xffff, 2692 }, 2693 { 2694 NPC_S_KPU2_ETAG, 0xff, 2695 NPC_ETYPE_ITAG, 2696 0xffff, 2697 0x0000, 2698 0x0000, 2699 0x0000, 2700 0x0000, 2701 }, 2702 { 2703 NPC_S_KPU2_ETAG, 0xff, 2704 0x0000, 2705 0x0000, 2706 0x0000, 2707 0x0000, 2708 0x0000, 2709 0x0000, 2710 }, 2711 { 2712 NPC_S_KPU2_CTAG2, 0xff, 2713 NPC_ETYPE_IP, 2714 0xffff, 2715 0x0000, 2716 0x0000, 2717 0x0000, 2718 0x0000, 2719 }, 2720 { 2721 NPC_S_KPU2_CTAG2, 0xff, 2722 NPC_ETYPE_IP6, 2723 0xffff, 2724 0x0000, 2725 0x0000, 2726 0x0000, 2727 0x0000, 2728 }, 2729 { 2730 NPC_S_KPU2_CTAG2, 0xff, 2731 NPC_ETYPE_ARP, 2732 0xffff, 2733 0x0000, 2734 0x0000, 2735 0x0000, 2736 0x0000, 2737 }, 2738 { 2739 NPC_S_KPU2_CTAG2, 0xff, 2740 NPC_ETYPE_RARP, 2741 0xffff, 2742 0x0000, 2743 0x0000, 2744 0x0000, 2745 0x0000, 2746 }, 2747 { 2748 NPC_S_KPU2_CTAG2, 0xff, 2749 NPC_ETYPE_PTP, 2750 0xffff, 2751 0x0000, 2752 0x0000, 2753 0x0000, 2754 0x0000, 2755 }, 2756 { 2757 NPC_S_KPU2_CTAG2, 0xff, 2758 NPC_ETYPE_FCOE, 2759 0xffff, 2760 0x0000, 2761 0x0000, 2762 0x0000, 2763 0x0000, 2764 }, 2765 { 2766 NPC_S_KPU2_CTAG2, 0xff, 2767 NPC_ETYPE_MPLSU, 2768 0xffff, 2769 0x0000, 2770 0x0000, 2771 0x0000, 2772 0x0000, 2773 }, 2774 { 2775 NPC_S_KPU2_CTAG2, 0xff, 2776 NPC_ETYPE_MPLSM, 2777 0xffff, 2778 0x0000, 2779 0x0000, 2780 0x0000, 2781 0x0000, 2782 }, 2783 { 2784 NPC_S_KPU2_CTAG2, 0xff, 2785 NPC_ETYPE_NSH, 2786 0xffff, 2787 0x0000, 2788 0x0000, 2789 0x0000, 2790 0x0000, 2791 }, 2792 { 2793 NPC_S_KPU2_CTAG2, 0xff, 2794 NPC_ETYPE_CTAG, 2795 0xffff, 2796 0x0000, 2797 0x0000, 2798 0x0000, 2799 0x0000, 2800 }, 2801 { 2802 NPC_S_KPU2_CTAG2, 0xff, 2803 0x0000, 2804 0x0000, 2805 0x0000, 2806 0x0000, 2807 0x0000, 2808 0x0000, 2809 }, 2810 { 2811 NPC_S_KPU2_PREHEADER, 0xff, 2812 NPC_ETYPE_IP, 2813 0xffff, 2814 0x0000, 2815 0x0000, 2816 0x0000, 2817 0x0000, 2818 }, 2819 { 2820 NPC_S_KPU2_PREHEADER, 0xff, 2821 NPC_ETYPE_IP6, 2822 0xffff, 2823 0x0000, 2824 0x0000, 2825 0x0000, 2826 0x0000, 2827 }, 2828 { 2829 NPC_S_KPU2_PREHEADER, 0xff, 2830 NPC_ETYPE_ARP, 2831 0xffff, 2832 0x0000, 2833 0x0000, 2834 0x0000, 2835 0x0000, 2836 }, 2837 { 2838 NPC_S_KPU2_PREHEADER, 0xff, 2839 NPC_ETYPE_RARP, 2840 0xffff, 2841 0x0000, 2842 0x0000, 2843 0x0000, 2844 0x0000, 2845 }, 2846 { 2847 NPC_S_KPU2_PREHEADER, 0xff, 2848 NPC_ETYPE_PTP, 2849 0xffff, 2850 0x0000, 2851 0x0000, 2852 0x0000, 2853 0x0000, 2854 }, 2855 { 2856 NPC_S_KPU2_PREHEADER, 0xff, 2857 NPC_ETYPE_FCOE, 2858 0xffff, 2859 0x0000, 2860 0x0000, 2861 0x0000, 2862 0x0000, 2863 }, 2864 { 2865 NPC_S_KPU2_PREHEADER, 0xff, 2866 NPC_ETYPE_CTAG, 2867 0xffff, 2868 0x0000, 2869 0x0000, 2870 0x0000, 2871 0x0000, 2872 }, 2873 { 2874 NPC_S_KPU2_PREHEADER, 0xff, 2875 NPC_ETYPE_SBTAG, 2876 0xffff, 2877 0x0000, 2878 0x0000, 2879 0x0000, 2880 0x0000, 2881 }, 2882 { 2883 NPC_S_KPU2_PREHEADER, 0xff, 2884 NPC_ETYPE_QINQ, 2885 0xffff, 2886 0x0000, 2887 0x0000, 2888 0x0000, 2889 0x0000, 2890 }, 2891 { 2892 NPC_S_KPU2_PREHEADER, 0xff, 2893 NPC_ETYPE_MPLSU, 2894 0xffff, 2895 0x0000, 2896 0x0000, 2897 0x0000, 2898 0x0000, 2899 }, 2900 { 2901 NPC_S_KPU2_PREHEADER, 0xff, 2902 NPC_ETYPE_MPLSM, 2903 0xffff, 2904 0x0000, 2905 0x0000, 2906 0x0000, 2907 0x0000, 2908 }, 2909 { 2910 NPC_S_KPU2_PREHEADER, 0xff, 2911 NPC_ETYPE_NSH, 2912 0xffff, 2913 0x0000, 2914 0x0000, 2915 0x0000, 2916 0x0000, 2917 }, 2918 { 2919 NPC_S_KPU2_EXDSA, 0xff, 2920 NPC_DSA_EDSA, 2921 NPC_DSA_EDSA, 2922 0x0000, 2923 0x0000, 2924 NPC_ETYPE_IP, 2925 0xffff, 2926 }, 2927 { 2928 NPC_S_KPU2_EXDSA, 0xff, 2929 NPC_DSA_EDSA, 2930 NPC_DSA_EDSA, 2931 0x0000, 2932 0x0000, 2933 NPC_ETYPE_IP6, 2934 0xffff, 2935 }, 2936 { 2937 NPC_S_KPU2_EXDSA, 0xff, 2938 NPC_DSA_EDSA, 2939 NPC_DSA_EDSA, 2940 0x0000, 2941 0x0000, 2942 NPC_ETYPE_ARP, 2943 0xffff, 2944 }, 2945 { 2946 NPC_S_KPU2_EXDSA, 0xff, 2947 NPC_DSA_EDSA, 2948 NPC_DSA_EDSA, 2949 0x0000, 2950 0x0000, 2951 NPC_ETYPE_RARP, 2952 0xffff, 2953 }, 2954 { 2955 NPC_S_KPU2_EXDSA, 0xff, 2956 NPC_DSA_EDSA, 2957 NPC_DSA_EDSA, 2958 0x0000, 2959 0x0000, 2960 NPC_ETYPE_PTP, 2961 0xffff, 2962 }, 2963 { 2964 NPC_S_KPU2_EXDSA, 0xff, 2965 NPC_DSA_EDSA, 2966 NPC_DSA_EDSA, 2967 0x0000, 2968 0x0000, 2969 NPC_ETYPE_FCOE, 2970 0xffff, 2971 }, 2972 { 2973 NPC_S_KPU2_EXDSA, 0xff, 2974 NPC_DSA_EDSA, 2975 NPC_DSA_EDSA, 2976 0x0000, 2977 0x0000, 2978 NPC_ETYPE_CTAG, 2979 0xffff, 2980 }, 2981 { 2982 NPC_S_KPU2_EXDSA, 0xff, 2983 NPC_DSA_EDSA, 2984 NPC_DSA_EDSA, 2985 0x0000, 2986 0x0000, 2987 0x0000, 2988 0x0000, 2989 }, 2990 { 2991 NPC_S_KPU2_EXDSA, 0xff, 2992 0x0000, 2993 NPC_DSA_EDSA, 2994 NPC_ETYPE_IP, 2995 0xffff, 2996 0x0000, 2997 0x0000, 2998 }, 2999 { 3000 NPC_S_KPU2_EXDSA, 0xff, 3001 0x0000, 3002 NPC_DSA_EDSA, 3003 NPC_ETYPE_IP6, 3004 0xffff, 3005 0x0000, 3006 0x0000, 3007 }, 3008 { 3009 NPC_S_KPU2_EXDSA, 0xff, 3010 0x0000, 3011 NPC_DSA_EDSA, 3012 NPC_ETYPE_ARP, 3013 0xffff, 3014 0x0000, 3015 0x0000, 3016 }, 3017 { 3018 NPC_S_KPU2_EXDSA, 0xff, 3019 0x0000, 3020 NPC_DSA_EDSA, 3021 NPC_ETYPE_RARP, 3022 0xffff, 3023 0x0000, 3024 0x0000, 3025 }, 3026 { 3027 NPC_S_KPU2_EXDSA, 0xff, 3028 0x0000, 3029 NPC_DSA_EDSA, 3030 NPC_ETYPE_PTP, 3031 0xffff, 3032 0x0000, 3033 0x0000, 3034 }, 3035 { 3036 NPC_S_KPU2_EXDSA, 0xff, 3037 0x0000, 3038 NPC_DSA_EDSA, 3039 NPC_ETYPE_FCOE, 3040 0xffff, 3041 0x0000, 3042 0x0000, 3043 }, 3044 { 3045 NPC_S_KPU2_EXDSA, 0xff, 3046 0x0000, 3047 NPC_DSA_EDSA, 3048 NPC_ETYPE_CTAG, 3049 0xffff, 3050 0x0000, 3051 0x0000, 3052 }, 3053 { 3054 NPC_S_KPU2_EXDSA, 0xff, 3055 0x0000, 3056 NPC_DSA_EDSA, 3057 0x0000, 3058 0x0000, 3059 0x0000, 3060 0x0000, 3061 }, 3062 { 3063 NPC_S_KPU2_NGIO, 0xff, 3064 0x0000, 3065 0x0000, 3066 0x0000, 3067 0x0000, 3068 0x0000, 3069 0x0000, 3070 }, 3071 { 3072 NPC_S_NA, 0X00, 3073 0x0000, 3074 0x0000, 3075 0x0000, 3076 0x0000, 3077 0x0000, 3078 0x0000, 3079 }, 3080 }; 3081 3082 static struct npc_kpu_profile_cam kpu3_cam_entries[] = { 3083 NPC_KPU_NOP_CAM, 3084 NPC_KPU_NOP_CAM, 3085 { 3086 NPC_S_KPU3_CTAG, 0xff, 3087 NPC_ETYPE_IP, 3088 0xffff, 3089 0x0000, 3090 0x0000, 3091 0x0000, 3092 0x0000, 3093 }, 3094 { 3095 NPC_S_KPU3_CTAG, 0xff, 3096 NPC_ETYPE_IP6, 3097 0xffff, 3098 0x0000, 3099 0x0000, 3100 0x0000, 3101 0x0000, 3102 }, 3103 { 3104 NPC_S_KPU3_CTAG, 0xff, 3105 NPC_ETYPE_ARP, 3106 0xffff, 3107 0x0000, 3108 0x0000, 3109 0x0000, 3110 0x0000, 3111 }, 3112 { 3113 NPC_S_KPU3_CTAG, 0xff, 3114 NPC_ETYPE_RARP, 3115 0xffff, 3116 0x0000, 3117 0x0000, 3118 0x0000, 3119 0x0000, 3120 }, 3121 { 3122 NPC_S_KPU3_CTAG, 0xff, 3123 NPC_ETYPE_PTP, 3124 0xffff, 3125 0x0000, 3126 0x0000, 3127 0x0000, 3128 0x0000, 3129 }, 3130 { 3131 NPC_S_KPU3_CTAG, 0xff, 3132 NPC_ETYPE_FCOE, 3133 0xffff, 3134 0x0000, 3135 0x0000, 3136 0x0000, 3137 0x0000, 3138 }, 3139 { 3140 NPC_S_KPU3_CTAG, 0xff, 3141 NPC_ETYPE_MPLSU, 3142 0xffff, 3143 0x0000, 3144 0x0000, 3145 0x0000, 3146 0x0000, 3147 }, 3148 { 3149 NPC_S_KPU3_CTAG, 0xff, 3150 NPC_ETYPE_MPLSM, 3151 0xffff, 3152 0x0000, 3153 0x0000, 3154 0x0000, 3155 0x0000, 3156 }, 3157 { 3158 NPC_S_KPU3_CTAG, 0xff, 3159 NPC_ETYPE_NSH, 3160 0xffff, 3161 0x0000, 3162 0x0000, 3163 0x0000, 3164 0x0000, 3165 }, 3166 { 3167 NPC_S_KPU3_CTAG, 0xff, 3168 0x0000, 3169 0x0000, 3170 0x0000, 3171 0x0000, 3172 0x0000, 3173 0x0000, 3174 }, 3175 { 3176 NPC_S_KPU3_STAG, 0xff, 3177 NPC_ETYPE_CTAG, 3178 0xffff, 3179 NPC_ETYPE_IP, 3180 0xffff, 3181 0x0000, 3182 0x0000, 3183 }, 3184 { 3185 NPC_S_KPU3_STAG, 0xff, 3186 NPC_ETYPE_CTAG, 3187 0xffff, 3188 NPC_ETYPE_IP6, 3189 0xffff, 3190 0x0000, 3191 0x0000, 3192 }, 3193 { 3194 NPC_S_KPU3_STAG, 0xff, 3195 NPC_ETYPE_CTAG, 3196 0xffff, 3197 NPC_ETYPE_ARP, 3198 0xffff, 3199 0x0000, 3200 0x0000, 3201 }, 3202 { 3203 NPC_S_KPU3_STAG, 0xff, 3204 NPC_ETYPE_CTAG, 3205 0xffff, 3206 NPC_ETYPE_RARP, 3207 0xffff, 3208 0x0000, 3209 0x0000, 3210 }, 3211 { 3212 NPC_S_KPU3_STAG, 0xff, 3213 NPC_ETYPE_CTAG, 3214 0xffff, 3215 NPC_ETYPE_PTP, 3216 0xffff, 3217 0x0000, 3218 0x0000, 3219 }, 3220 { 3221 NPC_S_KPU3_STAG, 0xff, 3222 NPC_ETYPE_CTAG, 3223 0xffff, 3224 NPC_ETYPE_FCOE, 3225 0xffff, 3226 0x0000, 3227 0x0000, 3228 }, 3229 { 3230 NPC_S_KPU3_STAG, 0xff, 3231 NPC_ETYPE_CTAG, 3232 0xffff, 3233 NPC_ETYPE_MPLSU, 3234 0xffff, 3235 0x0000, 3236 0x0000, 3237 }, 3238 { 3239 NPC_S_KPU3_STAG, 0xff, 3240 NPC_ETYPE_CTAG, 3241 0xffff, 3242 NPC_ETYPE_MPLSM, 3243 0xffff, 3244 0x0000, 3245 0x0000, 3246 }, 3247 { 3248 NPC_S_KPU3_STAG, 0xff, 3249 NPC_ETYPE_CTAG, 3250 0xffff, 3251 NPC_ETYPE_NSH, 3252 0xffff, 3253 0x0000, 3254 0x0000, 3255 }, 3256 { 3257 NPC_S_KPU3_STAG, 0xff, 3258 NPC_ETYPE_IP, 3259 0xffff, 3260 0x0000, 3261 0x0000, 3262 0x0000, 3263 0x0000, 3264 }, 3265 { 3266 NPC_S_KPU3_STAG, 0xff, 3267 NPC_ETYPE_IP6, 3268 0xffff, 3269 0x0000, 3270 0x0000, 3271 0x0000, 3272 0x0000, 3273 }, 3274 { 3275 NPC_S_KPU3_STAG, 0xff, 3276 NPC_ETYPE_ARP, 3277 0xffff, 3278 0x0000, 3279 0x0000, 3280 0x0000, 3281 0x0000, 3282 }, 3283 { 3284 NPC_S_KPU3_STAG, 0xff, 3285 NPC_ETYPE_RARP, 3286 0xffff, 3287 0x0000, 3288 0x0000, 3289 0x0000, 3290 0x0000, 3291 }, 3292 { 3293 NPC_S_KPU3_STAG, 0xff, 3294 NPC_ETYPE_MPLSU, 3295 0xffff, 3296 0x0000, 3297 0x0000, 3298 0x0000, 3299 0x0000, 3300 }, 3301 { 3302 NPC_S_KPU3_STAG, 0xff, 3303 NPC_ETYPE_MPLSM, 3304 0xffff, 3305 0x0000, 3306 0x0000, 3307 0x0000, 3308 0x0000, 3309 }, 3310 { 3311 NPC_S_KPU3_STAG, 0xff, 3312 NPC_ETYPE_NSH, 3313 0xffff, 3314 0x0000, 3315 0x0000, 3316 0x0000, 3317 0x0000, 3318 }, 3319 { 3320 NPC_S_KPU3_STAG, 0xff, 3321 0x0000, 3322 0x0000, 3323 0x0000, 3324 0x0000, 3325 0x0000, 3326 0x0000, 3327 }, 3328 { 3329 NPC_S_KPU3_QINQ, 0xff, 3330 NPC_ETYPE_CTAG, 3331 0xffff, 3332 NPC_ETYPE_IP, 3333 0xffff, 3334 0x0000, 3335 0x0000, 3336 }, 3337 { 3338 NPC_S_KPU3_QINQ, 0xff, 3339 NPC_ETYPE_CTAG, 3340 0xffff, 3341 NPC_ETYPE_IP6, 3342 0xffff, 3343 0x0000, 3344 0x0000, 3345 }, 3346 { 3347 NPC_S_KPU3_QINQ, 0xff, 3348 NPC_ETYPE_CTAG, 3349 0xffff, 3350 NPC_ETYPE_ARP, 3351 0xffff, 3352 0x0000, 3353 0x0000, 3354 }, 3355 { 3356 NPC_S_KPU3_QINQ, 0xff, 3357 NPC_ETYPE_CTAG, 3358 0xffff, 3359 NPC_ETYPE_RARP, 3360 0xffff, 3361 0x0000, 3362 0x0000, 3363 }, 3364 { 3365 NPC_S_KPU3_QINQ, 0xff, 3366 NPC_ETYPE_CTAG, 3367 0xffff, 3368 NPC_ETYPE_PTP, 3369 0xffff, 3370 0x0000, 3371 0x0000, 3372 }, 3373 { 3374 NPC_S_KPU3_QINQ, 0xff, 3375 NPC_ETYPE_CTAG, 3376 0xffff, 3377 NPC_ETYPE_FCOE, 3378 0xffff, 3379 0x0000, 3380 0x0000, 3381 }, 3382 { 3383 NPC_S_KPU3_QINQ, 0xff, 3384 NPC_ETYPE_CTAG, 3385 0xffff, 3386 NPC_ETYPE_MPLSU, 3387 0xffff, 3388 0x0000, 3389 0x0000, 3390 }, 3391 { 3392 NPC_S_KPU3_QINQ, 0xff, 3393 NPC_ETYPE_CTAG, 3394 0xffff, 3395 NPC_ETYPE_MPLSM, 3396 0xffff, 3397 0x0000, 3398 0x0000, 3399 }, 3400 { 3401 NPC_S_KPU3_QINQ, 0xff, 3402 NPC_ETYPE_CTAG, 3403 0xffff, 3404 NPC_ETYPE_NSH, 3405 0xffff, 3406 0x0000, 3407 0x0000, 3408 }, 3409 { 3410 NPC_S_KPU3_QINQ, 0xff, 3411 NPC_ETYPE_IP, 3412 0xffff, 3413 0x0000, 3414 0x0000, 3415 0x0000, 3416 0x0000, 3417 }, 3418 { 3419 NPC_S_KPU3_QINQ, 0xff, 3420 NPC_ETYPE_IP6, 3421 0xffff, 3422 0x0000, 3423 0x0000, 3424 0x0000, 3425 0x0000, 3426 }, 3427 { 3428 NPC_S_KPU3_QINQ, 0xff, 3429 NPC_ETYPE_ARP, 3430 0xffff, 3431 0x0000, 3432 0x0000, 3433 0x0000, 3434 0x0000, 3435 }, 3436 { 3437 NPC_S_KPU3_QINQ, 0xff, 3438 NPC_ETYPE_RARP, 3439 0xffff, 3440 0x0000, 3441 0x0000, 3442 0x0000, 3443 0x0000, 3444 }, 3445 { 3446 NPC_S_KPU3_QINQ, 0xff, 3447 NPC_ETYPE_PTP, 3448 0xffff, 3449 0x0000, 3450 0x0000, 3451 0x0000, 3452 0x0000, 3453 }, 3454 { 3455 NPC_S_KPU3_QINQ, 0xff, 3456 NPC_ETYPE_FCOE, 3457 0xffff, 3458 0x0000, 3459 0x0000, 3460 0x0000, 3461 0x0000, 3462 }, 3463 { 3464 NPC_S_KPU3_QINQ, 0xff, 3465 NPC_ETYPE_MPLSU, 3466 0xffff, 3467 0x0000, 3468 0x0000, 3469 0x0000, 3470 0x0000, 3471 }, 3472 { 3473 NPC_S_KPU3_QINQ, 0xff, 3474 NPC_ETYPE_MPLSM, 3475 0xffff, 3476 0x0000, 3477 0x0000, 3478 0x0000, 3479 0x0000, 3480 }, 3481 { 3482 NPC_S_KPU3_QINQ, 0xff, 3483 NPC_ETYPE_NSH, 3484 0xffff, 3485 0x0000, 3486 0x0000, 3487 0x0000, 3488 0x0000, 3489 }, 3490 { 3491 NPC_S_KPU3_QINQ, 0xff, 3492 0x0000, 3493 0x0000, 3494 0x0000, 3495 0x0000, 3496 0x0000, 3497 0x0000, 3498 }, 3499 { 3500 NPC_S_KPU3_CTAG_C, 0xff, 3501 NPC_ETYPE_IP, 3502 0xffff, 3503 0x0000, 3504 0x0000, 3505 0x0000, 3506 0x0000, 3507 }, 3508 { 3509 NPC_S_KPU3_CTAG_C, 0xff, 3510 NPC_ETYPE_IP6, 3511 0xffff, 3512 0x0000, 3513 0x0000, 3514 0x0000, 3515 0x0000, 3516 }, 3517 { 3518 NPC_S_KPU3_CTAG_C, 0xff, 3519 NPC_ETYPE_ARP, 3520 0xffff, 3521 0x0000, 3522 0x0000, 3523 0x0000, 3524 0x0000, 3525 }, 3526 { 3527 NPC_S_KPU3_CTAG_C, 0xff, 3528 NPC_ETYPE_RARP, 3529 0xffff, 3530 0x0000, 3531 0x0000, 3532 0x0000, 3533 0x0000, 3534 }, 3535 { 3536 NPC_S_KPU3_CTAG_C, 0xff, 3537 NPC_ETYPE_PTP, 3538 0xffff, 3539 0x0000, 3540 0x0000, 3541 0x0000, 3542 0x0000, 3543 }, 3544 { 3545 NPC_S_KPU3_CTAG_C, 0xff, 3546 NPC_ETYPE_FCOE, 3547 0xffff, 3548 0x0000, 3549 0x0000, 3550 0x0000, 3551 0x0000, 3552 }, 3553 { 3554 NPC_S_KPU3_CTAG_C, 0xff, 3555 NPC_ETYPE_MPLSU, 3556 0xffff, 3557 0x0000, 3558 0x0000, 3559 0x0000, 3560 0x0000, 3561 }, 3562 { 3563 NPC_S_KPU3_CTAG_C, 0xff, 3564 NPC_ETYPE_MPLSM, 3565 0xffff, 3566 0x0000, 3567 0x0000, 3568 0x0000, 3569 0x0000, 3570 }, 3571 { 3572 NPC_S_KPU3_CTAG_C, 0xff, 3573 NPC_ETYPE_NSH, 3574 0xffff, 3575 0x0000, 3576 0x0000, 3577 0x0000, 3578 0x0000, 3579 }, 3580 { 3581 NPC_S_KPU3_CTAG_C, 0xff, 3582 0x0000, 3583 0x0000, 3584 0x0000, 3585 0x0000, 3586 0x0000, 3587 0x0000, 3588 }, 3589 { 3590 NPC_S_KPU3_STAG_C, 0xff, 3591 NPC_ETYPE_CTAG, 3592 0xffff, 3593 NPC_ETYPE_IP, 3594 0xffff, 3595 0x0000, 3596 0x0000, 3597 }, 3598 { 3599 NPC_S_KPU3_STAG_C, 0xff, 3600 NPC_ETYPE_CTAG, 3601 0xffff, 3602 NPC_ETYPE_IP6, 3603 0xffff, 3604 0x0000, 3605 0x0000, 3606 }, 3607 { 3608 NPC_S_KPU3_STAG_C, 0xff, 3609 NPC_ETYPE_CTAG, 3610 0xffff, 3611 NPC_ETYPE_ARP, 3612 0xffff, 3613 0x0000, 3614 0x0000, 3615 }, 3616 { 3617 NPC_S_KPU3_STAG_C, 0xff, 3618 NPC_ETYPE_CTAG, 3619 0xffff, 3620 NPC_ETYPE_RARP, 3621 0xffff, 3622 0x0000, 3623 0x0000, 3624 }, 3625 { 3626 NPC_S_KPU3_STAG_C, 0xff, 3627 NPC_ETYPE_CTAG, 3628 0xffff, 3629 NPC_ETYPE_PTP, 3630 0xffff, 3631 0x0000, 3632 0x0000, 3633 }, 3634 { 3635 NPC_S_KPU3_STAG_C, 0xff, 3636 NPC_ETYPE_CTAG, 3637 0xffff, 3638 NPC_ETYPE_FCOE, 3639 0xffff, 3640 0x0000, 3641 0x0000, 3642 }, 3643 { 3644 NPC_S_KPU3_STAG_C, 0xff, 3645 NPC_ETYPE_CTAG, 3646 0xffff, 3647 NPC_ETYPE_MPLSU, 3648 0xffff, 3649 0x0000, 3650 0x0000, 3651 }, 3652 { 3653 NPC_S_KPU3_STAG_C, 0xff, 3654 NPC_ETYPE_CTAG, 3655 0xffff, 3656 NPC_ETYPE_MPLSM, 3657 0xffff, 3658 0x0000, 3659 0x0000, 3660 }, 3661 { 3662 NPC_S_KPU3_STAG_C, 0xff, 3663 NPC_ETYPE_CTAG, 3664 0xffff, 3665 NPC_ETYPE_NSH, 3666 0xffff, 3667 0x0000, 3668 0x0000, 3669 }, 3670 { 3671 NPC_S_KPU3_STAG_C, 0xff, 3672 NPC_ETYPE_IP, 3673 0xffff, 3674 0x0000, 3675 0x0000, 3676 0x0000, 3677 0x0000, 3678 }, 3679 { 3680 NPC_S_KPU3_STAG_C, 0xff, 3681 NPC_ETYPE_IP6, 3682 0xffff, 3683 0x0000, 3684 0x0000, 3685 0x0000, 3686 0x0000, 3687 }, 3688 { 3689 NPC_S_KPU3_STAG_C, 0xff, 3690 NPC_ETYPE_ARP, 3691 0xffff, 3692 0x0000, 3693 0x0000, 3694 0x0000, 3695 0x0000, 3696 }, 3697 { 3698 NPC_S_KPU3_STAG_C, 0xff, 3699 NPC_ETYPE_RARP, 3700 0xffff, 3701 0x0000, 3702 0x0000, 3703 0x0000, 3704 0x0000, 3705 }, 3706 { 3707 NPC_S_KPU3_STAG_C, 0xff, 3708 NPC_ETYPE_MPLSU, 3709 0xffff, 3710 0x0000, 3711 0x0000, 3712 0x0000, 3713 0x0000, 3714 }, 3715 { 3716 NPC_S_KPU3_STAG_C, 0xff, 3717 NPC_ETYPE_MPLSM, 3718 0xffff, 3719 0x0000, 3720 0x0000, 3721 0x0000, 3722 0x0000, 3723 }, 3724 { 3725 NPC_S_KPU3_STAG_C, 0xff, 3726 NPC_ETYPE_NSH, 3727 0xffff, 3728 0x0000, 3729 0x0000, 3730 0x0000, 3731 0x0000, 3732 }, 3733 { 3734 NPC_S_KPU3_STAG_C, 0xff, 3735 0x0000, 3736 0x0000, 3737 0x0000, 3738 0x0000, 3739 0x0000, 3740 0x0000, 3741 }, 3742 { 3743 NPC_S_KPU3_QINQ_C, 0xff, 3744 NPC_ETYPE_CTAG, 3745 0xffff, 3746 NPC_ETYPE_IP, 3747 0xffff, 3748 0x0000, 3749 0x0000, 3750 }, 3751 { 3752 NPC_S_KPU3_QINQ_C, 0xff, 3753 NPC_ETYPE_CTAG, 3754 0xffff, 3755 NPC_ETYPE_IP6, 3756 0xffff, 3757 0x0000, 3758 0x0000, 3759 }, 3760 { 3761 NPC_S_KPU3_QINQ_C, 0xff, 3762 NPC_ETYPE_CTAG, 3763 0xffff, 3764 NPC_ETYPE_ARP, 3765 0xffff, 3766 0x0000, 3767 0x0000, 3768 }, 3769 { 3770 NPC_S_KPU3_QINQ_C, 0xff, 3771 NPC_ETYPE_CTAG, 3772 0xffff, 3773 NPC_ETYPE_RARP, 3774 0xffff, 3775 0x0000, 3776 0x0000, 3777 }, 3778 { 3779 NPC_S_KPU3_QINQ_C, 0xff, 3780 NPC_ETYPE_CTAG, 3781 0xffff, 3782 NPC_ETYPE_PTP, 3783 0xffff, 3784 0x0000, 3785 0x0000, 3786 }, 3787 { 3788 NPC_S_KPU3_QINQ_C, 0xff, 3789 NPC_ETYPE_CTAG, 3790 0xffff, 3791 NPC_ETYPE_FCOE, 3792 0xffff, 3793 0x0000, 3794 0x0000, 3795 }, 3796 { 3797 NPC_S_KPU3_QINQ_C, 0xff, 3798 NPC_ETYPE_CTAG, 3799 0xffff, 3800 NPC_ETYPE_MPLSU, 3801 0xffff, 3802 0x0000, 3803 0x0000, 3804 }, 3805 { 3806 NPC_S_KPU3_QINQ_C, 0xff, 3807 NPC_ETYPE_CTAG, 3808 0xffff, 3809 NPC_ETYPE_MPLSM, 3810 0xffff, 3811 0x0000, 3812 0x0000, 3813 }, 3814 { 3815 NPC_S_KPU3_QINQ_C, 0xff, 3816 NPC_ETYPE_CTAG, 3817 0xffff, 3818 NPC_ETYPE_NSH, 3819 0xffff, 3820 0x0000, 3821 0x0000, 3822 }, 3823 { 3824 NPC_S_KPU3_QINQ_C, 0xff, 3825 NPC_ETYPE_IP, 3826 0xffff, 3827 0x0000, 3828 0x0000, 3829 0x0000, 3830 0x0000, 3831 }, 3832 { 3833 NPC_S_KPU3_QINQ_C, 0xff, 3834 NPC_ETYPE_IP6, 3835 0xffff, 3836 0x0000, 3837 0x0000, 3838 0x0000, 3839 0x0000, 3840 }, 3841 { 3842 NPC_S_KPU3_QINQ_C, 0xff, 3843 NPC_ETYPE_ARP, 3844 0xffff, 3845 0x0000, 3846 0x0000, 3847 0x0000, 3848 0x0000, 3849 }, 3850 { 3851 NPC_S_KPU3_QINQ_C, 0xff, 3852 NPC_ETYPE_RARP, 3853 0xffff, 3854 0x0000, 3855 0x0000, 3856 0x0000, 3857 0x0000, 3858 }, 3859 { 3860 NPC_S_KPU3_QINQ_C, 0xff, 3861 NPC_ETYPE_PTP, 3862 0xffff, 3863 0x0000, 3864 0x0000, 3865 0x0000, 3866 0x0000, 3867 }, 3868 { 3869 NPC_S_KPU3_QINQ_C, 0xff, 3870 NPC_ETYPE_FCOE, 3871 0xffff, 3872 0x0000, 3873 0x0000, 3874 0x0000, 3875 0x0000, 3876 }, 3877 { 3878 NPC_S_KPU3_QINQ_C, 0xff, 3879 NPC_ETYPE_MPLSU, 3880 0xffff, 3881 0x0000, 3882 0x0000, 3883 0x0000, 3884 0x0000, 3885 }, 3886 { 3887 NPC_S_KPU3_QINQ_C, 0xff, 3888 NPC_ETYPE_MPLSM, 3889 0xffff, 3890 0x0000, 3891 0x0000, 3892 0x0000, 3893 0x0000, 3894 }, 3895 { 3896 NPC_S_KPU3_QINQ_C, 0xff, 3897 NPC_ETYPE_NSH, 3898 0xffff, 3899 0x0000, 3900 0x0000, 3901 0x0000, 3902 0x0000, 3903 }, 3904 { 3905 NPC_S_KPU3_QINQ_C, 0xff, 3906 0x0000, 3907 0x0000, 3908 0x0000, 3909 0x0000, 3910 0x0000, 3911 0x0000, 3912 }, 3913 { 3914 NPC_S_KPU3_DSA, 0xff, 3915 NPC_ETYPE_IP, 3916 0xffff, 3917 0x0000, 3918 0x0000, 3919 0x0000, 3920 0x0000, 3921 }, 3922 { 3923 NPC_S_KPU3_DSA, 0xff, 3924 NPC_ETYPE_IP6, 3925 0xffff, 3926 0x0000, 3927 0x0000, 3928 0x0000, 3929 0x0000, 3930 }, 3931 { 3932 NPC_S_KPU3_DSA, 0xff, 3933 NPC_ETYPE_ARP, 3934 0xffff, 3935 0x0000, 3936 0x0000, 3937 0x0000, 3938 0x0000, 3939 }, 3940 { 3941 NPC_S_KPU3_DSA, 0xff, 3942 NPC_ETYPE_RARP, 3943 0xffff, 3944 0x0000, 3945 0x0000, 3946 0x0000, 3947 0x0000, 3948 }, 3949 { 3950 NPC_S_KPU3_DSA, 0xff, 3951 NPC_ETYPE_PTP, 3952 0xffff, 3953 0x0000, 3954 0x0000, 3955 0x0000, 3956 0x0000, 3957 }, 3958 { 3959 NPC_S_KPU3_DSA, 0xff, 3960 NPC_ETYPE_FCOE, 3961 0xffff, 3962 0x0000, 3963 0x0000, 3964 0x0000, 3965 0x0000, 3966 }, 3967 { 3968 NPC_S_KPU3_DSA, 0xff, 3969 NPC_ETYPE_CTAG, 3970 0xffff, 3971 NPC_ETYPE_IP, 3972 0xffff, 3973 0x0000, 3974 0x0000, 3975 }, 3976 { 3977 NPC_S_KPU3_DSA, 0xff, 3978 NPC_ETYPE_CTAG, 3979 0xffff, 3980 NPC_ETYPE_IP6, 3981 0xffff, 3982 0x0000, 3983 0x0000, 3984 }, 3985 { 3986 NPC_S_KPU3_DSA, 0xff, 3987 NPC_ETYPE_CTAG, 3988 0xffff, 3989 NPC_ETYPE_ARP, 3990 0xffff, 3991 0x0000, 3992 0x0000, 3993 }, 3994 { 3995 NPC_S_KPU3_DSA, 0xff, 3996 NPC_ETYPE_CTAG, 3997 0xffff, 3998 NPC_ETYPE_RARP, 3999 0xffff, 4000 0x0000, 4001 0x0000, 4002 }, 4003 { 4004 NPC_S_KPU3_DSA, 0xff, 4005 NPC_ETYPE_CTAG, 4006 0xffff, 4007 NPC_ETYPE_PTP, 4008 0xffff, 4009 0x0000, 4010 0x0000, 4011 }, 4012 { 4013 NPC_S_KPU3_DSA, 0xff, 4014 NPC_ETYPE_CTAG, 4015 0xffff, 4016 NPC_ETYPE_FCOE, 4017 0xffff, 4018 0x0000, 4019 0x0000, 4020 }, 4021 { 4022 NPC_S_KPU3_DSA, 0xff, 4023 NPC_ETYPE_CTAG, 4024 0xffff, 4025 0x0000, 4026 0x0000, 4027 0x0000, 4028 0x0000, 4029 }, 4030 { 4031 NPC_S_KPU3_DSA, 0xff, 4032 0x0000, 4033 0x0000, 4034 0x0000, 4035 0x0000, 4036 0x0000, 4037 0x0000, 4038 }, 4039 { 4040 NPC_S_KPU3_VLAN_EXDSA, 0xff, 4041 0x0000, 4042 0x0000, 4043 0x0000, 4044 0x0000, 4045 0x0000, 4046 0x0000, 4047 }, 4048 { 4049 NPC_S_NA, 0X00, 4050 0x0000, 4051 0x0000, 4052 0x0000, 4053 0x0000, 4054 0x0000, 4055 0x0000, 4056 }, 4057 }; 4058 4059 static struct npc_kpu_profile_cam kpu4_cam_entries[] = { 4060 NPC_KPU_NOP_CAM, 4061 NPC_KPU_NOP_CAM, 4062 { 4063 NPC_S_KPU4_MPLS, 0xff, 4064 NPC_MPLS_S, 4065 NPC_MPLS_S, 4066 0x0000, 4067 0x0000, 4068 0x0000, 4069 0x0000, 4070 }, 4071 { 4072 NPC_S_KPU4_MPLS, 0xff, 4073 0x0000, 4074 NPC_MPLS_S, 4075 NPC_MPLS_S, 4076 NPC_MPLS_S, 4077 0x0000, 4078 0x0000, 4079 }, 4080 { 4081 NPC_S_KPU4_MPLS, 0xff, 4082 0x0000, 4083 NPC_MPLS_S, 4084 0x0000, 4085 NPC_MPLS_S, 4086 NPC_MPLS_S, 4087 NPC_MPLS_S, 4088 }, 4089 { 4090 NPC_S_KPU4_MPLS, 0xff, 4091 0x0000, 4092 NPC_MPLS_S, 4093 0x0000, 4094 NPC_MPLS_S, 4095 0x0000, 4096 NPC_MPLS_S, 4097 }, 4098 { 4099 NPC_S_KPU4_NSH, 0xff, 4100 NPC_NSH_NP_IP, 4101 NPC_NSH_NP_MASK, 4102 0x0000, 4103 0x0000, 4104 0x0000, 4105 0x0000, 4106 }, 4107 { 4108 NPC_S_KPU4_NSH, 0xff, 4109 NPC_NSH_NP_IP6, 4110 NPC_NSH_NP_MASK, 4111 0x0000, 4112 0x0000, 4113 0x0000, 4114 0x0000, 4115 }, 4116 { 4117 NPC_S_KPU4_NSH, 0xff, 4118 NPC_NSH_NP_ETH, 4119 NPC_NSH_NP_MASK, 4120 0x0000, 4121 0x0000, 4122 0x0000, 4123 0x0000, 4124 }, 4125 { 4126 NPC_S_KPU4_NSH, 0xff, 4127 NPC_NSH_NP_MPLS, 4128 NPC_NSH_NP_MASK, 4129 0x0000, 4130 0x0000, 4131 0x0000, 4132 0x0000, 4133 }, 4134 { 4135 NPC_S_KPU4_NSH, 0xff, 4136 0x0000, 4137 0x0000, 4138 0x0000, 4139 0x0000, 4140 0x0000, 4141 0x0000, 4142 }, 4143 { 4144 NPC_S_KPU4_FDSA, 0xff, 4145 NPC_ETYPE_IP, 4146 0xffff, 4147 0x0000, 4148 0x0000, 4149 0x0000, 4150 0x0000, 4151 }, 4152 { 4153 NPC_S_KPU4_FDSA, 0xff, 4154 NPC_ETYPE_IP6, 4155 0xffff, 4156 0x0000, 4157 0x0000, 4158 0x0000, 4159 0x0000, 4160 }, 4161 { 4162 NPC_S_KPU4_FDSA, 0xff, 4163 NPC_ETYPE_ARP, 4164 0xffff, 4165 0x0000, 4166 0x0000, 4167 0x0000, 4168 0x0000, 4169 }, 4170 { 4171 NPC_S_KPU4_FDSA, 0xff, 4172 NPC_ETYPE_RARP, 4173 0xffff, 4174 0x0000, 4175 0x0000, 4176 0x0000, 4177 0x0000, 4178 }, 4179 { 4180 NPC_S_KPU4_FDSA, 0xff, 4181 NPC_ETYPE_PTP, 4182 0xffff, 4183 0x0000, 4184 0x0000, 4185 0x0000, 4186 0x0000, 4187 }, 4188 { 4189 NPC_S_KPU4_FDSA, 0xff, 4190 NPC_ETYPE_FCOE, 4191 0xffff, 4192 0x0000, 4193 0x0000, 4194 0x0000, 4195 0x0000, 4196 }, 4197 { 4198 NPC_S_KPU4_FDSA, 0xff, 4199 NPC_ETYPE_CTAG, 4200 0xffff, 4201 NPC_ETYPE_IP, 4202 0xffff, 4203 0x0000, 4204 0x0000, 4205 }, 4206 { 4207 NPC_S_KPU4_FDSA, 0xff, 4208 NPC_ETYPE_CTAG, 4209 0xffff, 4210 NPC_ETYPE_IP6, 4211 0xffff, 4212 0x0000, 4213 0x0000, 4214 }, 4215 { 4216 NPC_S_KPU4_FDSA, 0xff, 4217 NPC_ETYPE_CTAG, 4218 0xffff, 4219 NPC_ETYPE_ARP, 4220 0xffff, 4221 0x0000, 4222 0x0000, 4223 }, 4224 { 4225 NPC_S_KPU4_FDSA, 0xff, 4226 NPC_ETYPE_CTAG, 4227 0xffff, 4228 NPC_ETYPE_RARP, 4229 0xffff, 4230 0x0000, 4231 0x0000, 4232 }, 4233 { 4234 NPC_S_KPU4_FDSA, 0xff, 4235 NPC_ETYPE_CTAG, 4236 0xffff, 4237 NPC_ETYPE_PTP, 4238 0xffff, 4239 0x0000, 4240 0x0000, 4241 }, 4242 { 4243 NPC_S_KPU4_FDSA, 0xff, 4244 NPC_ETYPE_CTAG, 4245 0xffff, 4246 NPC_ETYPE_FCOE, 4247 0xffff, 4248 0x0000, 4249 0x0000, 4250 }, 4251 { 4252 NPC_S_KPU4_FDSA, 0xff, 4253 NPC_ETYPE_PPPOE, 4254 0xffff, 4255 0x0000, 4256 0x0000, 4257 NPC_PPP_IP, 4258 0xffff, 4259 }, 4260 { 4261 NPC_S_KPU4_FDSA, 0xff, 4262 NPC_ETYPE_PPPOE, 4263 0xffff, 4264 0x0000, 4265 0x0000, 4266 NPC_PPP_IP6, 4267 0xffff, 4268 }, 4269 { 4270 NPC_S_KPU4_FDSA, 0xff, 4271 0x0000, 4272 NPC_DSA_FDSA, 4273 0x0000, 4274 0x0000, 4275 0x0000, 4276 0x0000, 4277 }, 4278 { 4279 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4280 NPC_ETYPE_IP, 4281 0xffff, 4282 0x0000, 4283 0x0000, 4284 0x0000, 4285 0x0000, 4286 }, 4287 { 4288 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4289 NPC_ETYPE_IP6, 4290 0xffff, 4291 0x0000, 4292 0x0000, 4293 0x0000, 4294 0x0000, 4295 }, 4296 { 4297 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4298 NPC_ETYPE_ARP, 4299 0xffff, 4300 0x0000, 4301 0x0000, 4302 0x0000, 4303 0x0000, 4304 }, 4305 { 4306 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4307 NPC_ETYPE_RARP, 4308 0xffff, 4309 0x0000, 4310 0x0000, 4311 0x0000, 4312 0x0000, 4313 }, 4314 { 4315 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4316 NPC_ETYPE_PTP, 4317 0xffff, 4318 0x0000, 4319 0x0000, 4320 0x0000, 4321 0x0000, 4322 }, 4323 { 4324 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4325 NPC_ETYPE_FCOE, 4326 0xffff, 4327 0x0000, 4328 0x0000, 4329 0x0000, 4330 0x0000, 4331 }, 4332 { 4333 NPC_S_KPU4_VLAN_EXDSA, 0xff, 4334 0x0000, 4335 0x0000, 4336 0x0000, 4337 0x0000, 4338 0x0000, 4339 0x0000, 4340 }, 4341 { 4342 NPC_S_KPU4_PPPOE, 0xff, 4343 NPC_PPP_IP, 4344 0xffff, 4345 0x0000, 4346 0x0000, 4347 0x0000, 4348 0x0000, 4349 }, 4350 { 4351 NPC_S_KPU4_PPPOE, 0xff, 4352 NPC_PPP_IP6, 4353 0xffff, 4354 0x0000, 4355 0x0000, 4356 0x0000, 4357 0x0000, 4358 }, 4359 { 4360 NPC_S_NA, 0X00, 4361 0x0000, 4362 0x0000, 4363 0x0000, 4364 0x0000, 4365 0x0000, 4366 0x0000, 4367 }, 4368 }; 4369 4370 static struct npc_kpu_profile_cam kpu5_cam_entries[] = { 4371 NPC_KPU_NOP_CAM, 4372 NPC_KPU_NOP_CAM, 4373 { 4374 NPC_S_KPU5_IP, 0xff, 4375 0x0000, 4376 NPC_IP_TTL_MASK, 4377 0x0000, 4378 0x0000, 4379 0x0000, 4380 0x0000, 4381 }, 4382 { 4383 NPC_S_KPU5_IP, 0xff, 4384 0x0000, 4385 0x0000, 4386 0x0000, 4387 0x0000, 4388 0x0001, 4389 NPC_IP_HDR_FRAGOFF, 4390 }, 4391 { 4392 NPC_S_KPU5_IP, 0xff, 4393 NPC_IPNH_TCP, 4394 0x00ff, 4395 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4396 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4397 0x0000, 4398 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4399 }, 4400 { 4401 NPC_S_KPU5_IP, 0xff, 4402 NPC_IPNH_UDP, 4403 0x00ff, 4404 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4405 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4406 0x0000, 4407 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4408 }, 4409 { 4410 NPC_S_KPU5_IP, 0xff, 4411 NPC_IPNH_SCTP, 4412 0x00ff, 4413 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4414 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4415 0x0000, 4416 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4417 }, 4418 { 4419 NPC_S_KPU5_IP, 0xff, 4420 NPC_IPNH_ICMP, 4421 0x00ff, 4422 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4423 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4424 0x0000, 4425 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4426 }, 4427 { 4428 NPC_S_KPU5_IP, 0xff, 4429 NPC_IPNH_IGMP, 4430 0x00ff, 4431 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4432 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4433 0x0000, 4434 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4435 }, 4436 { 4437 NPC_S_KPU5_IP, 0xff, 4438 NPC_IPNH_ESP, 4439 0x00ff, 4440 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4441 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4442 0x0000, 4443 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4444 }, 4445 { 4446 NPC_S_KPU5_IP, 0xff, 4447 NPC_IPNH_AH, 4448 0x00ff, 4449 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4450 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4451 0x0000, 4452 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4453 }, 4454 { 4455 NPC_S_KPU5_IP, 0xff, 4456 NPC_IPNH_GRE, 4457 0x00ff, 4458 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4459 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4460 0x0000, 4461 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4462 }, 4463 { 4464 NPC_S_KPU5_IP, 0xff, 4465 NPC_IPNH_IP, 4466 0x00ff, 4467 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4468 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4469 0x0000, 4470 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4471 }, 4472 { 4473 NPC_S_KPU5_IP, 0xff, 4474 NPC_IPNH_IP6, 4475 0x00ff, 4476 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4477 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4478 0x0000, 4479 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4480 }, 4481 { 4482 NPC_S_KPU5_IP, 0xff, 4483 NPC_IPNH_MPLS, 4484 0x00ff, 4485 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4486 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4487 0x0000, 4488 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4489 }, 4490 { 4491 NPC_S_KPU5_IP, 0xff, 4492 0x0000, 4493 0x0000, 4494 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4495 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4496 0x0000, 4497 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4498 }, 4499 { 4500 NPC_S_KPU5_IP, 0xff, 4501 0x0000, 4502 0x0000, 4503 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4504 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4505 0x0000, 4506 0x0000, 4507 }, 4508 { 4509 NPC_S_KPU5_IP, 0xff, 4510 NPC_IPNH_TCP, 4511 0x00ff, 4512 NPC_IP_VER_4, 4513 NPC_IP_VER_MASK, 4514 0x0000, 4515 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4516 }, 4517 { 4518 NPC_S_KPU5_IP, 0xff, 4519 NPC_IPNH_UDP, 4520 0x00ff, 4521 NPC_IP_VER_4, 4522 NPC_IP_VER_MASK, 4523 0x0000, 4524 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4525 }, 4526 { 4527 NPC_S_KPU5_IP, 0xff, 4528 NPC_IPNH_SCTP, 4529 0x00ff, 4530 NPC_IP_VER_4, 4531 NPC_IP_VER_MASK, 4532 0x0000, 4533 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4534 }, 4535 { 4536 NPC_S_KPU5_IP, 0xff, 4537 NPC_IPNH_ICMP, 4538 0x00ff, 4539 NPC_IP_VER_4, 4540 NPC_IP_VER_MASK, 4541 0x0000, 4542 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4543 }, 4544 { 4545 NPC_S_KPU5_IP, 0xff, 4546 NPC_IPNH_IGMP, 4547 0x00ff, 4548 NPC_IP_VER_4, 4549 NPC_IP_VER_MASK, 4550 0x0000, 4551 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4552 }, 4553 { 4554 NPC_S_KPU5_IP, 0xff, 4555 NPC_IPNH_ESP, 4556 0x00ff, 4557 NPC_IP_VER_4, 4558 NPC_IP_VER_MASK, 4559 0x0000, 4560 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4561 }, 4562 { 4563 NPC_S_KPU5_IP, 0xff, 4564 NPC_IPNH_AH, 4565 0x00ff, 4566 NPC_IP_VER_4, 4567 NPC_IP_VER_MASK, 4568 0x0000, 4569 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4570 }, 4571 { 4572 NPC_S_KPU5_IP, 0xff, 4573 NPC_IPNH_GRE, 4574 0x00ff, 4575 NPC_IP_VER_4, 4576 NPC_IP_VER_MASK, 4577 0x0000, 4578 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4579 }, 4580 { 4581 NPC_S_KPU5_IP, 0xff, 4582 NPC_IPNH_IP, 4583 0x00ff, 4584 NPC_IP_VER_4, 4585 NPC_IP_VER_MASK, 4586 0x0000, 4587 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4588 }, 4589 { 4590 NPC_S_KPU5_IP, 0xff, 4591 NPC_IPNH_IP6, 4592 0x00ff, 4593 NPC_IP_VER_4, 4594 NPC_IP_VER_MASK, 4595 0x0000, 4596 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4597 }, 4598 { 4599 NPC_S_KPU5_IP, 0xff, 4600 NPC_IPNH_MPLS, 4601 0x00ff, 4602 NPC_IP_VER_4, 4603 NPC_IP_VER_MASK, 4604 0x0000, 4605 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4606 }, 4607 { 4608 NPC_S_KPU5_IP, 0xff, 4609 0x0000, 4610 0x0000, 4611 NPC_IP_VER_4, 4612 NPC_IP_VER_MASK, 4613 0x0000, 4614 NPC_IP_HDR_MF | NPC_IP_HDR_FRAGOFF, 4615 }, 4616 { 4617 NPC_S_KPU5_IP, 0xff, 4618 0x0000, 4619 0x0000, 4620 NPC_IP_VER_4, 4621 NPC_IP_VER_MASK, 4622 0x0000, 4623 0x0000, 4624 }, 4625 { 4626 NPC_S_KPU5_IP, 0xff, 4627 0x0000, 4628 0x0000, 4629 0x0000, 4630 0x0000, 4631 0x0000, 4632 0x0000, 4633 }, 4634 { 4635 NPC_S_KPU5_ARP, 0xff, 4636 0x0000, 4637 0x0000, 4638 0x0000, 4639 0x0000, 4640 0x0000, 4641 0x0000, 4642 }, 4643 { 4644 NPC_S_KPU5_RARP, 0xff, 4645 0x0000, 4646 0x0000, 4647 0x0000, 4648 0x0000, 4649 0x0000, 4650 0x0000, 4651 }, 4652 { 4653 NPC_S_KPU5_PTP, 0xff, 4654 0x0000, 4655 0x0000, 4656 0x0000, 4657 0x0000, 4658 0x0000, 4659 0x0000, 4660 }, 4661 { 4662 NPC_S_KPU5_FCOE, 0xff, 4663 0x0000, 4664 0x0000, 4665 0x0000, 4666 0x0000, 4667 0x0000, 4668 0x0000, 4669 }, 4670 { 4671 NPC_S_KPU5_IP6, 0xff, 4672 0x0000, 4673 NPC_IP6_HOP_MASK, 4674 0x0000, 4675 0x0000, 4676 0x0000, 4677 0x0000, 4678 }, 4679 { 4680 NPC_S_KPU5_IP6, 0xff, 4681 NPC_IPNH_TCP << 8, 4682 0xff00, 4683 NPC_IP_VER_6, 4684 NPC_IP_VER_MASK, 4685 0x0000, 4686 0x0000, 4687 }, 4688 { 4689 NPC_S_KPU5_IP6, 0xff, 4690 NPC_IPNH_UDP << 8, 4691 0xff00, 4692 NPC_IP_VER_6, 4693 NPC_IP_VER_MASK, 4694 0x0000, 4695 0x0000, 4696 }, 4697 { 4698 NPC_S_KPU5_IP6, 0xff, 4699 NPC_IPNH_SCTP << 8, 4700 0xff00, 4701 NPC_IP_VER_6, 4702 NPC_IP_VER_MASK, 4703 0x0000, 4704 0x0000, 4705 }, 4706 { 4707 NPC_S_KPU5_IP6, 0xff, 4708 NPC_IPNH_ICMP << 8, 4709 0xff00, 4710 NPC_IP_VER_6, 4711 NPC_IP_VER_MASK, 4712 0x0000, 4713 0x0000, 4714 }, 4715 { 4716 NPC_S_KPU5_IP6, 0xff, 4717 NPC_IPNH_ICMP6 << 8, 4718 0xff00, 4719 NPC_IP_VER_6, 4720 NPC_IP_VER_MASK, 4721 0x0000, 4722 0x0000, 4723 }, 4724 { 4725 NPC_S_KPU5_IP6, 0xff, 4726 NPC_IPNH_GRE << 8, 4727 0xff00, 4728 NPC_IP_VER_6, 4729 NPC_IP_VER_MASK, 4730 0x0000, 4731 0x0000, 4732 }, 4733 { 4734 NPC_S_KPU5_IP6, 0xff, 4735 NPC_IPNH_IP6 << 8, 4736 0xff00, 4737 NPC_IP_VER_6, 4738 NPC_IP_VER_MASK, 4739 0x0000, 4740 0x0000, 4741 }, 4742 { 4743 NPC_S_KPU5_IP6, 0xff, 4744 NPC_IPNH_MPLS << 8, 4745 0xff00, 4746 NPC_IP_VER_6, 4747 NPC_IP_VER_MASK, 4748 0x0000, 4749 0x0000, 4750 }, 4751 { 4752 NPC_S_KPU5_IP6, 0xff, 4753 NPC_IPNH_HOP << 8, 4754 0xff00, 4755 NPC_IP_VER_6, 4756 NPC_IP_VER_MASK, 4757 0x0000, 4758 0x0000, 4759 }, 4760 { 4761 NPC_S_KPU5_IP6, 0xff, 4762 NPC_IPNH_DEST << 8, 4763 0xff00, 4764 NPC_IP_VER_6, 4765 NPC_IP_VER_MASK, 4766 0x0000, 4767 0x0000, 4768 }, 4769 { 4770 NPC_S_KPU5_IP6, 0xff, 4771 NPC_IPNH_ROUT << 8, 4772 0xff00, 4773 NPC_IP_VER_6, 4774 NPC_IP_VER_MASK, 4775 0x0000, 4776 0x0000, 4777 }, 4778 { 4779 NPC_S_KPU5_IP6, 0xff, 4780 NPC_IPNH_FRAG << 8, 4781 0xff00, 4782 NPC_IP_VER_6, 4783 NPC_IP_VER_MASK, 4784 0x0000, 4785 0x0000, 4786 }, 4787 { 4788 NPC_S_KPU5_IP6, 0xff, 4789 NPC_IPNH_ESP << 8, 4790 0xff00, 4791 NPC_IP_VER_6, 4792 NPC_IP_VER_MASK, 4793 0x0000, 4794 0x0000, 4795 }, 4796 { 4797 NPC_S_KPU5_IP6, 0xff, 4798 NPC_IPNH_AH << 8, 4799 0xff00, 4800 NPC_IP_VER_6, 4801 NPC_IP_VER_MASK, 4802 0x0000, 4803 0x0000, 4804 }, 4805 { 4806 NPC_S_KPU5_IP6, 0xff, 4807 NPC_IPNH_MOBILITY << 8, 4808 0xff00, 4809 NPC_IP_VER_6, 4810 NPC_IP_VER_MASK, 4811 0x0000, 4812 0x0000, 4813 }, 4814 { 4815 NPC_S_KPU5_IP6, 0xff, 4816 NPC_IPNH_HOSTID << 8, 4817 0xff00, 4818 NPC_IP_VER_6, 4819 NPC_IP_VER_MASK, 4820 0x0000, 4821 0x0000, 4822 }, 4823 { 4824 NPC_S_KPU5_IP6, 0xff, 4825 NPC_IPNH_SHIM6 << 8, 4826 0xff00, 4827 NPC_IP_VER_6, 4828 NPC_IP_VER_MASK, 4829 0x0000, 4830 0x0000, 4831 }, 4832 { 4833 NPC_S_KPU5_IP6, 0xff, 4834 0x0000, 4835 0x0000, 4836 NPC_IP_VER_6, 4837 NPC_IP_VER_MASK, 4838 0x0000, 4839 0x0000, 4840 }, 4841 { 4842 NPC_S_KPU5_IP6, 0xff, 4843 0x0000, 4844 0x0000, 4845 0x0000, 4846 0x0000, 4847 0x0000, 4848 0x0000, 4849 }, 4850 { 4851 NPC_S_KPU5_MPLS, 0xff, 4852 NPC_MPLS_S, 4853 NPC_MPLS_S, 4854 NPC_IP_VER_4, 4855 NPC_IP_VER_MASK, 4856 0x0000, 4857 0x0000, 4858 }, 4859 { 4860 NPC_S_KPU5_MPLS, 0xff, 4861 NPC_MPLS_S, 4862 NPC_MPLS_S, 4863 NPC_IP_VER_6, 4864 NPC_IP_VER_MASK, 4865 0x0000, 4866 0x0000, 4867 }, 4868 { 4869 NPC_S_KPU5_MPLS, 0xff, 4870 NPC_MPLS_S, 4871 NPC_MPLS_S, 4872 0x0000, 4873 0xffff, 4874 0x0000, 4875 0x0000, 4876 }, 4877 { 4878 NPC_S_KPU5_MPLS, 0xff, 4879 NPC_MPLS_S, 4880 NPC_MPLS_S, 4881 0x0000, 4882 0x0000, 4883 0x0000, 4884 0x0000, 4885 }, 4886 { 4887 NPC_S_KPU5_MPLS, 0xff, 4888 0x0000, 4889 NPC_MPLS_S, 4890 0x0000, 4891 0x0000, 4892 0x0000, 4893 0x0000, 4894 }, 4895 { 4896 NPC_S_KPU5_MPLS_PL, 0xff, 4897 NPC_IP_VER_4, 4898 NPC_IP_VER_MASK, 4899 0x0000, 4900 0x0000, 4901 0x0000, 4902 0x0000, 4903 }, 4904 { 4905 NPC_S_KPU5_MPLS_PL, 0xff, 4906 NPC_IP_VER_6, 4907 NPC_IP_VER_MASK, 4908 0x0000, 4909 0x0000, 4910 0x0000, 4911 0x0000, 4912 }, 4913 { 4914 NPC_S_KPU5_MPLS_PL, 0xff, 4915 0x0000, 4916 0xffff, 4917 0x0000, 4918 0x0000, 4919 0x0000, 4920 0x0000, 4921 }, 4922 { 4923 NPC_S_KPU5_MPLS_PL, 0xff, 4924 0x0000, 4925 0x0000, 4926 0x0000, 4927 0x0000, 4928 0x0000, 4929 0x0000, 4930 }, 4931 { 4932 NPC_S_KPU5_CPT_IP, 0xff, 4933 0x0000, 4934 NPC_IP_TTL_MASK, 4935 0x0000, 4936 0x0000, 4937 0x0000, 4938 0x0000, 4939 }, 4940 { 4941 NPC_S_KPU5_CPT_IP, 0xff, 4942 0x0000, 4943 0x0000, 4944 0x0000, 4945 0x0000, 4946 0x0001, 4947 NPC_IP_HDR_FRAGOFF, 4948 }, 4949 { 4950 NPC_S_KPU5_CPT_IP, 0xff, 4951 NPC_IPNH_TCP, 4952 0x00ff, 4953 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4954 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4955 0x0000, 4956 0x0000, 4957 }, 4958 { 4959 NPC_S_KPU5_CPT_IP, 0xff, 4960 NPC_IPNH_UDP, 4961 0x00ff, 4962 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4963 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4964 0x0000, 4965 0x0000, 4966 }, 4967 { 4968 NPC_S_KPU5_CPT_IP, 0xff, 4969 NPC_IPNH_SCTP, 4970 0x00ff, 4971 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4972 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4973 0x0000, 4974 0x0000, 4975 }, 4976 { 4977 NPC_S_KPU5_CPT_IP, 0xff, 4978 NPC_IPNH_ICMP, 4979 0x00ff, 4980 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4981 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4982 0x0000, 4983 0x0000, 4984 }, 4985 { 4986 NPC_S_KPU5_CPT_IP, 0xff, 4987 NPC_IPNH_IGMP, 4988 0x00ff, 4989 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4990 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 4991 0x0000, 4992 0x0000, 4993 }, 4994 { 4995 NPC_S_KPU5_CPT_IP, 0xff, 4996 NPC_IPNH_ESP, 4997 0x00ff, 4998 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 4999 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5000 0x0000, 5001 0x0000, 5002 }, 5003 { 5004 NPC_S_KPU5_CPT_IP, 0xff, 5005 NPC_IPNH_AH, 5006 0x00ff, 5007 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5008 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5009 0x0000, 5010 0x0000, 5011 }, 5012 { 5013 NPC_S_KPU5_CPT_IP, 0xff, 5014 NPC_IPNH_GRE, 5015 0x00ff, 5016 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5017 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5018 0x0000, 5019 0x0000, 5020 }, 5021 { 5022 NPC_S_KPU5_CPT_IP, 0xff, 5023 NPC_IPNH_IP, 5024 0x00ff, 5025 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5026 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5027 0x0000, 5028 0x0000, 5029 }, 5030 { 5031 NPC_S_KPU5_CPT_IP, 0xff, 5032 NPC_IPNH_IP6, 5033 0x00ff, 5034 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5035 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5036 0x0000, 5037 0x0000, 5038 }, 5039 { 5040 NPC_S_KPU5_CPT_IP, 0xff, 5041 NPC_IPNH_MPLS, 5042 0x00ff, 5043 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5044 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5045 0x0000, 5046 0x0000, 5047 }, 5048 { 5049 NPC_S_KPU5_CPT_IP, 0xff, 5050 0x0000, 5051 0x0000, 5052 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 5053 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 5054 0x0000, 5055 0x0000, 5056 }, 5057 { 5058 NPC_S_KPU5_CPT_IP, 0xff, 5059 NPC_IPNH_TCP, 5060 0x00ff, 5061 NPC_IP_VER_4, 5062 NPC_IP_VER_MASK, 5063 0x0000, 5064 0x0000, 5065 }, 5066 { 5067 NPC_S_KPU5_CPT_IP, 0xff, 5068 NPC_IPNH_UDP, 5069 0x00ff, 5070 NPC_IP_VER_4, 5071 NPC_IP_VER_MASK, 5072 0x0000, 5073 0x0000, 5074 }, 5075 { 5076 NPC_S_KPU5_CPT_IP, 0xff, 5077 NPC_IPNH_SCTP, 5078 0x00ff, 5079 NPC_IP_VER_4, 5080 NPC_IP_VER_MASK, 5081 0x0000, 5082 0x0000, 5083 }, 5084 { 5085 NPC_S_KPU5_CPT_IP, 0xff, 5086 NPC_IPNH_ICMP, 5087 0x00ff, 5088 NPC_IP_VER_4, 5089 NPC_IP_VER_MASK, 5090 0x0000, 5091 0x0000, 5092 }, 5093 { 5094 NPC_S_KPU5_CPT_IP, 0xff, 5095 NPC_IPNH_IGMP, 5096 0x00ff, 5097 NPC_IP_VER_4, 5098 NPC_IP_VER_MASK, 5099 0x0000, 5100 0x0000, 5101 }, 5102 { 5103 NPC_S_KPU5_CPT_IP, 0xff, 5104 NPC_IPNH_ESP, 5105 0x00ff, 5106 NPC_IP_VER_4, 5107 NPC_IP_VER_MASK, 5108 0x0000, 5109 0x0000, 5110 }, 5111 { 5112 NPC_S_KPU5_CPT_IP, 0xff, 5113 NPC_IPNH_AH, 5114 0x00ff, 5115 NPC_IP_VER_4, 5116 NPC_IP_VER_MASK, 5117 0x0000, 5118 0x0000, 5119 }, 5120 { 5121 NPC_S_KPU5_CPT_IP, 0xff, 5122 NPC_IPNH_GRE, 5123 0x00ff, 5124 NPC_IP_VER_4, 5125 NPC_IP_VER_MASK, 5126 0x0000, 5127 0x0000, 5128 }, 5129 { 5130 NPC_S_KPU5_CPT_IP, 0xff, 5131 NPC_IPNH_IP, 5132 0x00ff, 5133 NPC_IP_VER_4, 5134 NPC_IP_VER_MASK, 5135 0x0000, 5136 0x0000, 5137 }, 5138 { 5139 NPC_S_KPU5_CPT_IP, 0xff, 5140 NPC_IPNH_IP6, 5141 0x00ff, 5142 NPC_IP_VER_4, 5143 NPC_IP_VER_MASK, 5144 0x0000, 5145 0x0000, 5146 }, 5147 { 5148 NPC_S_KPU5_CPT_IP, 0xff, 5149 NPC_IPNH_MPLS, 5150 0x00ff, 5151 NPC_IP_VER_4, 5152 NPC_IP_VER_MASK, 5153 0x0000, 5154 0x0000, 5155 }, 5156 { 5157 NPC_S_KPU5_CPT_IP, 0xff, 5158 0x0000, 5159 0x0000, 5160 NPC_IP_VER_4, 5161 NPC_IP_VER_MASK, 5162 0x0000, 5163 0x0000, 5164 }, 5165 { 5166 NPC_S_KPU5_CPT_IP, 0xff, 5167 0x0000, 5168 0x0000, 5169 0x0000, 5170 0x0000, 5171 0x0000, 5172 0x0000, 5173 }, 5174 { 5175 NPC_S_KPU5_CPT_IP6, 0xff, 5176 0x0000, 5177 NPC_IP6_HOP_MASK, 5178 0x0000, 5179 0x0000, 5180 0x0000, 5181 0x0000, 5182 }, 5183 { 5184 NPC_S_KPU5_CPT_IP6, 0xff, 5185 NPC_IPNH_TCP << 8, 5186 0xff00, 5187 NPC_IP_VER_6, 5188 NPC_IP_VER_MASK, 5189 0x0000, 5190 0x0000, 5191 }, 5192 { 5193 NPC_S_KPU5_CPT_IP6, 0xff, 5194 NPC_IPNH_UDP << 8, 5195 0xff00, 5196 NPC_IP_VER_6, 5197 NPC_IP_VER_MASK, 5198 0x0000, 5199 0x0000, 5200 }, 5201 { 5202 NPC_S_KPU5_CPT_IP6, 0xff, 5203 NPC_IPNH_SCTP << 8, 5204 0xff00, 5205 NPC_IP_VER_6, 5206 NPC_IP_VER_MASK, 5207 0x0000, 5208 0x0000, 5209 }, 5210 { 5211 NPC_S_KPU5_CPT_IP6, 0xff, 5212 NPC_IPNH_ICMP << 8, 5213 0xff00, 5214 NPC_IP_VER_6, 5215 NPC_IP_VER_MASK, 5216 0x0000, 5217 0x0000, 5218 }, 5219 { 5220 NPC_S_KPU5_CPT_IP6, 0xff, 5221 NPC_IPNH_ICMP6 << 8, 5222 0xff00, 5223 NPC_IP_VER_6, 5224 NPC_IP_VER_MASK, 5225 0x0000, 5226 0x0000, 5227 }, 5228 { 5229 NPC_S_KPU5_CPT_IP6, 0xff, 5230 NPC_IPNH_GRE << 8, 5231 0xff00, 5232 NPC_IP_VER_6, 5233 NPC_IP_VER_MASK, 5234 0x0000, 5235 0x0000, 5236 }, 5237 { 5238 NPC_S_KPU5_CPT_IP6, 0xff, 5239 NPC_IPNH_IP6 << 8, 5240 0xff00, 5241 NPC_IP_VER_6, 5242 NPC_IP_VER_MASK, 5243 0x0000, 5244 0x0000, 5245 }, 5246 { 5247 NPC_S_KPU5_CPT_IP6, 0xff, 5248 NPC_IPNH_MPLS << 8, 5249 0xff00, 5250 NPC_IP_VER_6, 5251 NPC_IP_VER_MASK, 5252 0x0000, 5253 0x0000, 5254 }, 5255 { 5256 NPC_S_KPU5_CPT_IP6, 0xff, 5257 NPC_IPNH_HOP << 8, 5258 0xff00, 5259 NPC_IP_VER_6, 5260 NPC_IP_VER_MASK, 5261 0x0000, 5262 0x0000, 5263 }, 5264 { 5265 NPC_S_KPU5_CPT_IP6, 0xff, 5266 NPC_IPNH_DEST << 8, 5267 0xff00, 5268 NPC_IP_VER_6, 5269 NPC_IP_VER_MASK, 5270 0x0000, 5271 0x0000, 5272 }, 5273 { 5274 NPC_S_KPU5_CPT_IP6, 0xff, 5275 NPC_IPNH_ROUT << 8, 5276 0xff00, 5277 NPC_IP_VER_6, 5278 NPC_IP_VER_MASK, 5279 0x0000, 5280 0x0000, 5281 }, 5282 { 5283 NPC_S_KPU5_CPT_IP6, 0xff, 5284 NPC_IPNH_FRAG << 8, 5285 0xff00, 5286 NPC_IP_VER_6, 5287 NPC_IP_VER_MASK, 5288 0x0000, 5289 0x0000, 5290 }, 5291 { 5292 NPC_S_KPU5_CPT_IP6, 0xff, 5293 NPC_IPNH_ESP << 8, 5294 0xff00, 5295 NPC_IP_VER_6, 5296 NPC_IP_VER_MASK, 5297 0x0000, 5298 0x0000, 5299 }, 5300 { 5301 NPC_S_KPU5_CPT_IP6, 0xff, 5302 NPC_IPNH_AH << 8, 5303 0xff00, 5304 NPC_IP_VER_6, 5305 NPC_IP_VER_MASK, 5306 0x0000, 5307 0x0000, 5308 }, 5309 { 5310 NPC_S_KPU5_CPT_IP6, 0xff, 5311 NPC_IPNH_MOBILITY << 8, 5312 0xff00, 5313 NPC_IP_VER_6, 5314 NPC_IP_VER_MASK, 5315 0x0000, 5316 0x0000, 5317 }, 5318 { 5319 NPC_S_KPU5_CPT_IP6, 0xff, 5320 NPC_IPNH_HOSTID << 8, 5321 0xff00, 5322 NPC_IP_VER_6, 5323 NPC_IP_VER_MASK, 5324 0x0000, 5325 0x0000, 5326 }, 5327 { 5328 NPC_S_KPU5_CPT_IP6, 0xff, 5329 NPC_IPNH_SHIM6 << 8, 5330 0xff00, 5331 NPC_IP_VER_6, 5332 NPC_IP_VER_MASK, 5333 0x0000, 5334 0x0000, 5335 }, 5336 { 5337 NPC_S_KPU5_CPT_IP6, 0xff, 5338 0x0000, 5339 0x0000, 5340 NPC_IP_VER_6, 5341 NPC_IP_VER_MASK, 5342 0x0000, 5343 0x0000, 5344 }, 5345 { 5346 NPC_S_KPU5_CPT_IP6, 0xff, 5347 0x0000, 5348 0x0000, 5349 0x0000, 5350 0x0000, 5351 0x0000, 5352 0x0000, 5353 }, 5354 { 5355 NPC_S_NA, 0X00, 5356 0x0000, 5357 0x0000, 5358 0x0000, 5359 0x0000, 5360 0x0000, 5361 0x0000, 5362 }, 5363 }; 5364 5365 static struct npc_kpu_profile_cam kpu6_cam_entries[] = { 5366 NPC_KPU_NOP_CAM, 5367 NPC_KPU_NOP_CAM, 5368 { 5369 NPC_S_KPU6_IP6_EXT, 0xff, 5370 0x0000, 5371 0x0000, 5372 0x0000, 5373 0x0000, 5374 0x0000, 5375 0x0000, 5376 }, 5377 { 5378 NPC_S_KPU6_IP6_FRAG, 0xff, 5379 NPC_IPNH_TCP << 8, 5380 0xff00, 5381 0x0000, 5382 NPC_IP6_FRAG_FRAGOFF, 5383 0x0000, 5384 0x0000, 5385 }, 5386 { 5387 NPC_S_KPU6_IP6_FRAG, 0xff, 5388 NPC_IPNH_UDP << 8, 5389 0xff00, 5390 0x0000, 5391 NPC_IP6_FRAG_FRAGOFF, 5392 0x0000, 5393 0x0000, 5394 }, 5395 { 5396 NPC_S_KPU6_IP6_FRAG, 0xff, 5397 NPC_IPNH_SCTP << 8, 5398 0xff00, 5399 0x0000, 5400 NPC_IP6_FRAG_FRAGOFF, 5401 0x0000, 5402 0x0000, 5403 }, 5404 { 5405 NPC_S_KPU6_IP6_FRAG, 0xff, 5406 NPC_IPNH_ICMP << 8, 5407 0xff00, 5408 0x0000, 5409 NPC_IP6_FRAG_FRAGOFF, 5410 0x0000, 5411 0x0000, 5412 }, 5413 { 5414 NPC_S_KPU6_IP6_FRAG, 0xff, 5415 NPC_IPNH_ICMP6 << 8, 5416 0xff00, 5417 0x0000, 5418 NPC_IP6_FRAG_FRAGOFF, 5419 0x0000, 5420 0x0000, 5421 }, 5422 { 5423 NPC_S_KPU6_IP6_FRAG, 0xff, 5424 NPC_IPNH_ESP << 8, 5425 0xff00, 5426 0x0000, 5427 NPC_IP6_FRAG_FRAGOFF, 5428 0x0000, 5429 0x0000, 5430 }, 5431 { 5432 NPC_S_KPU6_IP6_FRAG, 0xff, 5433 NPC_IPNH_AH << 8, 5434 0xff00, 5435 0x0000, 5436 NPC_IP6_FRAG_FRAGOFF, 5437 0x0000, 5438 0x0000, 5439 }, 5440 { 5441 NPC_S_KPU6_IP6_FRAG, 0xff, 5442 NPC_IPNH_GRE << 8, 5443 0xff00, 5444 0x0000, 5445 NPC_IP6_FRAG_FRAGOFF, 5446 0x0000, 5447 0x0000, 5448 }, 5449 { 5450 NPC_S_KPU6_IP6_FRAG, 0xff, 5451 NPC_IPNH_IP6 << 8, 5452 0xff00, 5453 0x0000, 5454 NPC_IP6_FRAG_FRAGOFF, 5455 0x0000, 5456 0x0000, 5457 }, 5458 { 5459 NPC_S_KPU6_IP6_FRAG, 0xff, 5460 NPC_IPNH_MPLS << 8, 5461 0xff00, 5462 0x0000, 5463 NPC_IP6_FRAG_FRAGOFF, 5464 0x0000, 5465 0x0000, 5466 }, 5467 { 5468 NPC_S_KPU6_IP6_FRAG, 0xff, 5469 0x0000, 5470 0x0000, 5471 0x0000, 5472 0x0000, 5473 0x0000, 5474 0x0000, 5475 }, 5476 { 5477 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5478 NPC_IPNH_TCP << 8, 5479 0xff00, 5480 0x0000, 5481 0x0000, 5482 0x0000, 5483 0x0000, 5484 }, 5485 { 5486 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5487 NPC_IPNH_UDP << 8, 5488 0xff00, 5489 0x0000, 5490 0x0000, 5491 0x0000, 5492 0x0000, 5493 }, 5494 { 5495 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5496 NPC_IPNH_SCTP << 8, 5497 0xff00, 5498 0x0000, 5499 0x0000, 5500 0x0000, 5501 0x0000, 5502 }, 5503 { 5504 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5505 NPC_IPNH_ICMP << 8, 5506 0xff00, 5507 0x0000, 5508 0x0000, 5509 0x0000, 5510 0x0000, 5511 }, 5512 { 5513 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5514 NPC_IPNH_ICMP6 << 8, 5515 0xff00, 5516 0x0000, 5517 0x0000, 5518 0x0000, 5519 0x0000, 5520 }, 5521 { 5522 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5523 NPC_IPNH_ESP << 8, 5524 0xff00, 5525 0x0000, 5526 0x0000, 5527 0x0000, 5528 0x0000, 5529 }, 5530 { 5531 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5532 NPC_IPNH_AH << 8, 5533 0xff00, 5534 0x0000, 5535 0x0000, 5536 0x0000, 5537 0x0000, 5538 }, 5539 { 5540 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5541 NPC_IPNH_GRE << 8, 5542 0xff00, 5543 0x0000, 5544 0x0000, 5545 0x0000, 5546 0x0000, 5547 }, 5548 { 5549 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5550 NPC_IPNH_IP6 << 8, 5551 0xff00, 5552 0x0000, 5553 0x0000, 5554 0x0000, 5555 0x0000, 5556 }, 5557 { 5558 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5559 NPC_IPNH_MPLS << 8, 5560 0xff00, 5561 0x0000, 5562 0x0000, 5563 0x0000, 5564 0x0000, 5565 }, 5566 { 5567 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5568 NPC_IPNH_ROUT << 8, 5569 0xff00, 5570 0x0000, 5571 0x0000, 5572 0x0000, 5573 0x0000, 5574 }, 5575 { 5576 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5577 NPC_IPNH_FRAG << 8, 5578 0xff00, 5579 0x0000, 5580 0x0000, 5581 0x0000, 5582 0x0000, 5583 }, 5584 { 5585 NPC_S_KPU6_IP6_HOP_DEST, 0xff, 5586 0x0000, 5587 0x0000, 5588 0x0000, 5589 0x0000, 5590 0x0000, 5591 0x0000, 5592 }, 5593 { 5594 NPC_S_KPU6_IP6_ROUT, 0xff, 5595 NPC_IPNH_TCP << 8, 5596 0xff00, 5597 0x0000, 5598 0x0000, 5599 0x0000, 5600 0x0000, 5601 }, 5602 { 5603 NPC_S_KPU6_IP6_ROUT, 0xff, 5604 NPC_IPNH_UDP << 8, 5605 0xff00, 5606 0x0000, 5607 0x0000, 5608 0x0000, 5609 0x0000, 5610 }, 5611 { 5612 NPC_S_KPU6_IP6_ROUT, 0xff, 5613 NPC_IPNH_SCTP << 8, 5614 0xff00, 5615 0x0000, 5616 0x0000, 5617 0x0000, 5618 0x0000, 5619 }, 5620 { 5621 NPC_S_KPU6_IP6_ROUT, 0xff, 5622 NPC_IPNH_ICMP << 8, 5623 0xff00, 5624 0x0000, 5625 0x0000, 5626 0x0000, 5627 0x0000, 5628 }, 5629 { 5630 NPC_S_KPU6_IP6_ROUT, 0xff, 5631 NPC_IPNH_ICMP6 << 8, 5632 0xff00, 5633 0x0000, 5634 0x0000, 5635 0x0000, 5636 0x0000, 5637 }, 5638 { 5639 NPC_S_KPU6_IP6_ROUT, 0xff, 5640 NPC_IPNH_ESP << 8, 5641 0xff00, 5642 0x0000, 5643 0x0000, 5644 0x0000, 5645 0x0000, 5646 }, 5647 { 5648 NPC_S_KPU6_IP6_ROUT, 0xff, 5649 NPC_IPNH_AH << 8, 5650 0xff00, 5651 0x0000, 5652 0x0000, 5653 0x0000, 5654 0x0000, 5655 }, 5656 { 5657 NPC_S_KPU6_IP6_ROUT, 0xff, 5658 NPC_IPNH_GRE << 8, 5659 0xff00, 5660 0x0000, 5661 0x0000, 5662 0x0000, 5663 0x0000, 5664 }, 5665 { 5666 NPC_S_KPU6_IP6_ROUT, 0xff, 5667 NPC_IPNH_IP6 << 8, 5668 0xff00, 5669 0x0000, 5670 0x0000, 5671 0x0000, 5672 0x0000, 5673 }, 5674 { 5675 NPC_S_KPU6_IP6_ROUT, 0xff, 5676 NPC_IPNH_MPLS << 8, 5677 0xff00, 5678 0x0000, 5679 0x0000, 5680 0x0000, 5681 0x0000, 5682 }, 5683 { 5684 NPC_S_KPU6_IP6_ROUT, 0xff, 5685 NPC_IPNH_FRAG << 8, 5686 0xff00, 5687 0x0000, 5688 0x0000, 5689 0x0000, 5690 0x0000, 5691 }, 5692 { 5693 NPC_S_KPU6_IP6_ROUT, 0xff, 5694 0x0000, 5695 0x0000, 5696 0x0000, 5697 0x0000, 5698 0x0000, 5699 0x0000, 5700 }, 5701 { 5702 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5703 NPC_IPNH_TCP << 8, 5704 0xff00, 5705 0x0000, 5706 0x0000, 5707 0x0000, 5708 0x0000, 5709 }, 5710 { 5711 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5712 NPC_IPNH_UDP << 8, 5713 0xff00, 5714 0x0000, 5715 0x0000, 5716 0x0000, 5717 0x0000, 5718 }, 5719 { 5720 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5721 NPC_IPNH_SCTP << 8, 5722 0xff00, 5723 0x0000, 5724 0x0000, 5725 0x0000, 5726 0x0000, 5727 }, 5728 { 5729 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5730 NPC_IPNH_ICMP << 8, 5731 0xff00, 5732 0x0000, 5733 0x0000, 5734 0x0000, 5735 0x0000, 5736 }, 5737 { 5738 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5739 NPC_IPNH_ICMP6 << 8, 5740 0xff00, 5741 0x0000, 5742 0x0000, 5743 0x0000, 5744 0x0000, 5745 }, 5746 { 5747 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5748 NPC_IPNH_ESP << 8, 5749 0xff00, 5750 0x0000, 5751 0x0000, 5752 0x0000, 5753 0x0000, 5754 }, 5755 { 5756 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5757 NPC_IPNH_AH << 8, 5758 0xff00, 5759 0x0000, 5760 0x0000, 5761 0x0000, 5762 0x0000, 5763 }, 5764 { 5765 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5766 NPC_IPNH_GRE << 8, 5767 0xff00, 5768 0x0000, 5769 0x0000, 5770 0x0000, 5771 0x0000, 5772 }, 5773 { 5774 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5775 NPC_IPNH_IP6 << 8, 5776 0xff00, 5777 0x0000, 5778 0x0000, 5779 0x0000, 5780 0x0000, 5781 }, 5782 { 5783 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5784 NPC_IPNH_MPLS << 8, 5785 0xff00, 5786 0x0000, 5787 0x0000, 5788 0x0000, 5789 0x0000, 5790 }, 5791 { 5792 NPC_S_KPU6_IP6_CPT_FRAG, 0xff, 5793 0x0000, 5794 0x0000, 5795 0x0000, 5796 0x0000, 5797 0x0000, 5798 0x0000, 5799 }, 5800 { 5801 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5802 NPC_IPNH_TCP << 8, 5803 0xff00, 5804 0x0000, 5805 0x0000, 5806 0x0000, 5807 0x0000, 5808 }, 5809 { 5810 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5811 NPC_IPNH_UDP << 8, 5812 0xff00, 5813 0x0000, 5814 0x0000, 5815 0x0000, 5816 0x0000, 5817 }, 5818 { 5819 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5820 NPC_IPNH_SCTP << 8, 5821 0xff00, 5822 0x0000, 5823 0x0000, 5824 0x0000, 5825 0x0000, 5826 }, 5827 { 5828 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5829 NPC_IPNH_ICMP << 8, 5830 0xff00, 5831 0x0000, 5832 0x0000, 5833 0x0000, 5834 0x0000, 5835 }, 5836 { 5837 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5838 NPC_IPNH_ICMP6 << 8, 5839 0xff00, 5840 0x0000, 5841 0x0000, 5842 0x0000, 5843 0x0000, 5844 }, 5845 { 5846 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5847 NPC_IPNH_ESP << 8, 5848 0xff00, 5849 0x0000, 5850 0x0000, 5851 0x0000, 5852 0x0000, 5853 }, 5854 { 5855 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5856 NPC_IPNH_AH << 8, 5857 0xff00, 5858 0x0000, 5859 0x0000, 5860 0x0000, 5861 0x0000, 5862 }, 5863 { 5864 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5865 NPC_IPNH_GRE << 8, 5866 0xff00, 5867 0x0000, 5868 0x0000, 5869 0x0000, 5870 0x0000, 5871 }, 5872 { 5873 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5874 NPC_IPNH_IP6 << 8, 5875 0xff00, 5876 0x0000, 5877 0x0000, 5878 0x0000, 5879 0x0000, 5880 }, 5881 { 5882 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5883 NPC_IPNH_MPLS << 8, 5884 0xff00, 5885 0x0000, 5886 0x0000, 5887 0x0000, 5888 0x0000, 5889 }, 5890 { 5891 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5892 NPC_IPNH_ROUT << 8, 5893 0xff00, 5894 0x0000, 5895 0x0000, 5896 0x0000, 5897 0x0000, 5898 }, 5899 { 5900 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5901 NPC_IPNH_FRAG << 8, 5902 0xff00, 5903 0x0000, 5904 0x0000, 5905 0x0000, 5906 0x0000, 5907 }, 5908 { 5909 NPC_S_KPU6_IP6_CPT_HOP_DEST, 0xff, 5910 0x0000, 5911 0x0000, 5912 0x0000, 5913 0x0000, 5914 0x0000, 5915 0x0000, 5916 }, 5917 { 5918 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5919 NPC_IPNH_TCP << 8, 5920 0xff00, 5921 0x0000, 5922 0x0000, 5923 0x0000, 5924 0x0000, 5925 }, 5926 { 5927 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5928 NPC_IPNH_UDP << 8, 5929 0xff00, 5930 0x0000, 5931 0x0000, 5932 0x0000, 5933 0x0000, 5934 }, 5935 { 5936 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5937 NPC_IPNH_SCTP << 8, 5938 0xff00, 5939 0x0000, 5940 0x0000, 5941 0x0000, 5942 0x0000, 5943 }, 5944 { 5945 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5946 NPC_IPNH_ICMP << 8, 5947 0xff00, 5948 0x0000, 5949 0x0000, 5950 0x0000, 5951 0x0000, 5952 }, 5953 { 5954 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5955 NPC_IPNH_ICMP6 << 8, 5956 0xff00, 5957 0x0000, 5958 0x0000, 5959 0x0000, 5960 0x0000, 5961 }, 5962 { 5963 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5964 NPC_IPNH_ESP << 8, 5965 0xff00, 5966 0x0000, 5967 0x0000, 5968 0x0000, 5969 0x0000, 5970 }, 5971 { 5972 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5973 NPC_IPNH_AH << 8, 5974 0xff00, 5975 0x0000, 5976 0x0000, 5977 0x0000, 5978 0x0000, 5979 }, 5980 { 5981 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5982 NPC_IPNH_GRE << 8, 5983 0xff00, 5984 0x0000, 5985 0x0000, 5986 0x0000, 5987 0x0000, 5988 }, 5989 { 5990 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 5991 NPC_IPNH_IP6 << 8, 5992 0xff00, 5993 0x0000, 5994 0x0000, 5995 0x0000, 5996 0x0000, 5997 }, 5998 { 5999 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 6000 NPC_IPNH_MPLS << 8, 6001 0xff00, 6002 0x0000, 6003 0x0000, 6004 0x0000, 6005 0x0000, 6006 }, 6007 { 6008 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 6009 NPC_IPNH_FRAG << 8, 6010 0xff00, 6011 0x0000, 6012 0x0000, 6013 0x0000, 6014 0x0000, 6015 }, 6016 { 6017 NPC_S_KPU6_IP6_CPT_ROUT, 0xff, 6018 0x0000, 6019 0x0000, 6020 0x0000, 6021 0x0000, 6022 0x0000, 6023 0x0000, 6024 }, 6025 { 6026 NPC_S_NA, 0X00, 6027 0x0000, 6028 0x0000, 6029 0x0000, 6030 0x0000, 6031 0x0000, 6032 0x0000, 6033 }, 6034 }; 6035 6036 static struct npc_kpu_profile_cam kpu7_cam_entries[] = { 6037 NPC_KPU_NOP_CAM, 6038 NPC_KPU_NOP_CAM, 6039 { 6040 NPC_S_KPU7_IP6_EXT, 0xff, 6041 0x0000, 6042 0x0000, 6043 0x0000, 6044 0x0000, 6045 0x0000, 6046 0x0000, 6047 }, 6048 { 6049 NPC_S_KPU7_IP6_ROUT, 0xff, 6050 NPC_IPNH_TCP << 8, 6051 0xff00, 6052 0x0000, 6053 0x0000, 6054 0x0000, 6055 0x0000, 6056 }, 6057 { 6058 NPC_S_KPU7_IP6_ROUT, 0xff, 6059 NPC_IPNH_UDP << 8, 6060 0xff00, 6061 0x0000, 6062 0x0000, 6063 0x0000, 6064 0x0000, 6065 }, 6066 { 6067 NPC_S_KPU7_IP6_ROUT, 0xff, 6068 NPC_IPNH_SCTP << 8, 6069 0xff00, 6070 0x0000, 6071 0x0000, 6072 0x0000, 6073 0x0000, 6074 }, 6075 { 6076 NPC_S_KPU7_IP6_ROUT, 0xff, 6077 NPC_IPNH_ICMP << 8, 6078 0xff00, 6079 0x0000, 6080 0x0000, 6081 0x0000, 6082 0x0000, 6083 }, 6084 { 6085 NPC_S_KPU7_IP6_ROUT, 0xff, 6086 NPC_IPNH_ICMP6 << 8, 6087 0xff00, 6088 0x0000, 6089 0x0000, 6090 0x0000, 6091 0x0000, 6092 }, 6093 { 6094 NPC_S_KPU7_IP6_ROUT, 0xff, 6095 NPC_IPNH_ESP << 8, 6096 0xff00, 6097 0x0000, 6098 0x0000, 6099 0x0000, 6100 0x0000, 6101 }, 6102 { 6103 NPC_S_KPU7_IP6_ROUT, 0xff, 6104 NPC_IPNH_AH << 8, 6105 0xff00, 6106 0x0000, 6107 0x0000, 6108 0x0000, 6109 0x0000, 6110 }, 6111 { 6112 NPC_S_KPU7_IP6_ROUT, 0xff, 6113 NPC_IPNH_GRE << 8, 6114 0xff00, 6115 0x0000, 6116 0x0000, 6117 0x0000, 6118 0x0000, 6119 }, 6120 { 6121 NPC_S_KPU7_IP6_ROUT, 0xff, 6122 NPC_IPNH_IP6 << 8, 6123 0xff00, 6124 0x0000, 6125 0x0000, 6126 0x0000, 6127 0x0000, 6128 }, 6129 { 6130 NPC_S_KPU7_IP6_ROUT, 0xff, 6131 NPC_IPNH_MPLS << 8, 6132 0xff00, 6133 0x0000, 6134 0x0000, 6135 0x0000, 6136 0x0000, 6137 }, 6138 { 6139 NPC_S_KPU7_IP6_ROUT, 0xff, 6140 0x0000, 6141 0x0000, 6142 0x0000, 6143 0x0000, 6144 0x0000, 6145 0x0000, 6146 }, 6147 { 6148 NPC_S_KPU7_IP6_FRAG, 0xff, 6149 NPC_IPNH_TCP << 8, 6150 0xff00, 6151 0x0000, 6152 NPC_IP6_FRAG_FRAGOFF, 6153 0x0000, 6154 0x0000, 6155 }, 6156 { 6157 NPC_S_KPU7_IP6_FRAG, 0xff, 6158 NPC_IPNH_UDP << 8, 6159 0xff00, 6160 0x0000, 6161 NPC_IP6_FRAG_FRAGOFF, 6162 0x0000, 6163 0x0000, 6164 }, 6165 { 6166 NPC_S_KPU7_IP6_FRAG, 0xff, 6167 NPC_IPNH_SCTP << 8, 6168 0xff00, 6169 0x0000, 6170 NPC_IP6_FRAG_FRAGOFF, 6171 0x0000, 6172 0x0000, 6173 }, 6174 { 6175 NPC_S_KPU7_IP6_FRAG, 0xff, 6176 NPC_IPNH_ICMP << 8, 6177 0xff00, 6178 0x0000, 6179 NPC_IP6_FRAG_FRAGOFF, 6180 0x0000, 6181 0x0000, 6182 }, 6183 { 6184 NPC_S_KPU7_IP6_FRAG, 0xff, 6185 NPC_IPNH_ICMP6 << 8, 6186 0xff00, 6187 0x0000, 6188 NPC_IP6_FRAG_FRAGOFF, 6189 0x0000, 6190 0x0000, 6191 }, 6192 { 6193 NPC_S_KPU7_IP6_FRAG, 0xff, 6194 NPC_IPNH_ESP << 8, 6195 0xff00, 6196 0x0000, 6197 NPC_IP6_FRAG_FRAGOFF, 6198 0x0000, 6199 0x0000, 6200 }, 6201 { 6202 NPC_S_KPU7_IP6_FRAG, 0xff, 6203 NPC_IPNH_AH << 8, 6204 0xff00, 6205 0x0000, 6206 NPC_IP6_FRAG_FRAGOFF, 6207 0x0000, 6208 0x0000, 6209 }, 6210 { 6211 NPC_S_KPU7_IP6_FRAG, 0xff, 6212 NPC_IPNH_GRE << 8, 6213 0xff00, 6214 0x0000, 6215 NPC_IP6_FRAG_FRAGOFF, 6216 0x0000, 6217 0x0000, 6218 }, 6219 { 6220 NPC_S_KPU7_IP6_FRAG, 0xff, 6221 NPC_IPNH_IP6 << 8, 6222 0xff00, 6223 0x0000, 6224 NPC_IP6_FRAG_FRAGOFF, 6225 0x0000, 6226 0x0000, 6227 }, 6228 { 6229 NPC_S_KPU7_IP6_FRAG, 0xff, 6230 NPC_IPNH_MPLS << 8, 6231 0xff00, 6232 0x0000, 6233 NPC_IP6_FRAG_FRAGOFF, 6234 0x0000, 6235 0x0000, 6236 }, 6237 { 6238 NPC_S_KPU7_IP6_FRAG, 0xff, 6239 0x0000, 6240 0x0000, 6241 0x0000, 6242 0x0000, 6243 0x0000, 6244 0x0000, 6245 }, 6246 { 6247 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6248 NPC_IPNH_TCP << 8, 6249 0xff00, 6250 0x0000, 6251 0x0000, 6252 0x0000, 6253 0x0000, 6254 }, 6255 { 6256 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6257 NPC_IPNH_UDP << 8, 6258 0xff00, 6259 0x0000, 6260 0x0000, 6261 0x0000, 6262 0x0000, 6263 }, 6264 { 6265 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6266 NPC_IPNH_SCTP << 8, 6267 0xff00, 6268 0x0000, 6269 0x0000, 6270 0x0000, 6271 0x0000, 6272 }, 6273 { 6274 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6275 NPC_IPNH_ICMP << 8, 6276 0xff00, 6277 0x0000, 6278 0x0000, 6279 0x0000, 6280 0x0000, 6281 }, 6282 { 6283 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6284 NPC_IPNH_ICMP6 << 8, 6285 0xff00, 6286 0x0000, 6287 0x0000, 6288 0x0000, 6289 0x0000, 6290 }, 6291 { 6292 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6293 NPC_IPNH_ESP << 8, 6294 0xff00, 6295 0x0000, 6296 0x0000, 6297 0x0000, 6298 0x0000, 6299 }, 6300 { 6301 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6302 NPC_IPNH_AH << 8, 6303 0xff00, 6304 0x0000, 6305 0x0000, 6306 0x0000, 6307 0x0000, 6308 }, 6309 { 6310 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6311 NPC_IPNH_GRE << 8, 6312 0xff00, 6313 0x0000, 6314 0x0000, 6315 0x0000, 6316 0x0000, 6317 }, 6318 { 6319 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6320 NPC_IPNH_IP6 << 8, 6321 0xff00, 6322 0x0000, 6323 0x0000, 6324 0x0000, 6325 0x0000, 6326 }, 6327 { 6328 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6329 NPC_IPNH_MPLS << 8, 6330 0xff00, 6331 0x0000, 6332 0x0000, 6333 0x0000, 6334 0x0000, 6335 }, 6336 { 6337 NPC_S_KPU7_CPT_IP6_FRAG, 0xff, 6338 0x0000, 6339 0x0000, 6340 0x0000, 6341 0x0000, 6342 0x0000, 6343 0x0000, 6344 }, 6345 { 6346 NPC_S_NA, 0X00, 6347 0x0000, 6348 0x0000, 6349 0x0000, 6350 0x0000, 6351 0x0000, 6352 0x0000, 6353 }, 6354 }; 6355 6356 static struct npc_kpu_profile_cam kpu8_cam_entries[] = { 6357 NPC_KPU_NOP_CAM, 6358 NPC_KPU_NOP_CAM, 6359 { 6360 NPC_S_KPU8_TCP, 0xff, 6361 0x0000, 6362 0x0000, 6363 NPC_TCP_FLAGS_FIN, 6364 NPC_TCP_FLAGS_MASK, 6365 0x0000, 6366 0x0000, 6367 }, 6368 { 6369 NPC_S_KPU8_TCP, 0xff, 6370 0x0000, 6371 0x0000, 6372 0x0000, 6373 NPC_TCP_FLAGS_MASK, 6374 0x0000, 6375 0x0000, 6376 }, 6377 { 6378 NPC_S_KPU8_TCP, 0xff, 6379 0x0000, 6380 0x0000, 6381 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_FIN, 6382 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_FIN, 6383 0x0000, 6384 0x0000, 6385 }, 6386 { 6387 NPC_S_KPU8_TCP, 0xff, 6388 0x0000, 6389 0x0000, 6390 NPC_TCP_FLAGS_URG | NPC_TCP_FLAGS_SYN, 6391 NPC_TCP_FLAGS_URG | NPC_TCP_FLAGS_SYN, 6392 0x0000, 6393 0x0000, 6394 }, 6395 { 6396 NPC_S_KPU8_TCP, 0xff, 6397 0x0000, 6398 0x0000, 6399 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_SYN, 6400 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_SYN, 6401 0x0000, 6402 0x0000, 6403 }, 6404 { 6405 NPC_S_KPU8_TCP, 0xff, 6406 0x0000, 6407 0x0000, 6408 NPC_TCP_FLAGS_SYN | NPC_TCP_FLAGS_FIN, 6409 NPC_TCP_FLAGS_SYN | NPC_TCP_FLAGS_FIN, 6410 0x0000, 6411 0x0000, 6412 }, 6413 { 6414 NPC_S_KPU8_TCP, 0xff, 6415 NPC_TCP_PORT_HTTP, 6416 0xffff, 6417 NPC_TCP_DATA_OFFSET_5, 6418 NPC_TCP_DATA_OFFSET_MASK, 6419 0x0000, 6420 0x0000, 6421 }, 6422 { 6423 NPC_S_KPU8_TCP, 0xff, 6424 NPC_TCP_PORT_HTTPS, 6425 0xffff, 6426 NPC_TCP_DATA_OFFSET_5, 6427 NPC_TCP_DATA_OFFSET_MASK, 6428 0x0000, 6429 0x0000, 6430 }, 6431 { 6432 NPC_S_KPU8_TCP, 0xff, 6433 NPC_TCP_PORT_PPTP, 6434 0xffff, 6435 NPC_TCP_DATA_OFFSET_5, 6436 NPC_TCP_DATA_OFFSET_MASK, 6437 0x0000, 6438 0x0000, 6439 }, 6440 { 6441 NPC_S_KPU8_TCP, 0xff, 6442 0x0000, 6443 0x0000, 6444 NPC_TCP_DATA_OFFSET_5, 6445 NPC_TCP_DATA_OFFSET_MASK, 6446 0x0000, 6447 0x0000, 6448 }, 6449 { 6450 NPC_S_KPU8_TCP, 0xff, 6451 NPC_TCP_PORT_HTTP, 6452 0xffff, 6453 0x0000, 6454 0x0000, 6455 0x0000, 6456 0x0000, 6457 }, 6458 { 6459 NPC_S_KPU8_TCP, 0xff, 6460 NPC_TCP_PORT_HTTPS, 6461 0xffff, 6462 0x0000, 6463 0x0000, 6464 0x0000, 6465 0x0000, 6466 }, 6467 { 6468 NPC_S_KPU8_TCP, 0xff, 6469 NPC_TCP_PORT_PPTP, 6470 0xffff, 6471 0x0000, 6472 0x0000, 6473 0x0000, 6474 0x0000, 6475 }, 6476 { 6477 NPC_S_KPU8_TCP, 0xff, 6478 0x0000, 6479 0x0000, 6480 0x0000, 6481 0x0000, 6482 0x0000, 6483 0x0000, 6484 }, 6485 { 6486 NPC_S_KPU8_UDP, 0xff, 6487 NPC_UDP_PORT_VXLAN, 6488 0xffff, 6489 0x0000, 6490 0x0000, 6491 0x0000, 6492 0x0000, 6493 }, 6494 { 6495 NPC_S_KPU8_UDP, 0xff, 6496 NPC_UDP_PORT_VXLANGPE, 6497 0xffff, 6498 0x0000, 6499 0x0000, 6500 0x0000, 6501 0x0000, 6502 }, 6503 { 6504 NPC_S_KPU8_UDP, 0xff, 6505 NPC_UDP_PORT_GENEVE, 6506 0xffff, 6507 0x0000, 6508 0x0000, 6509 0x0000, 6510 0x0000, 6511 }, 6512 { 6513 NPC_S_KPU8_UDP, 0xff, 6514 NPC_UDP_PORT_GTPC, 6515 0xffff, 6516 0x0000, 6517 0x0000, 6518 0x0000, 6519 0x0000, 6520 }, 6521 { 6522 NPC_S_KPU8_UDP, 0xff, 6523 NPC_UDP_PORT_GTPU, 6524 0xffff, 6525 0x0000, 6526 0x0000, 6527 0x0000, 6528 0x0000, 6529 }, 6530 { 6531 NPC_S_KPU8_UDP, 0xff, 6532 NPC_UDP_PORT_PTP_E, 6533 0xffff, 6534 0x0000, 6535 0x0000, 6536 0x0000, 6537 0x0000, 6538 }, 6539 { 6540 NPC_S_KPU8_UDP, 0xff, 6541 NPC_UDP_PORT_PTP_G, 6542 0xffff, 6543 0x0000, 6544 0x0000, 6545 0x0000, 6546 0x0000, 6547 }, 6548 { 6549 NPC_S_KPU8_UDP, 0xff, 6550 NPC_UDP_PORT_MPLS, 6551 0xffff, 6552 0x0000, 6553 0x0000, 6554 0x0000, 6555 0x0000, 6556 }, 6557 { 6558 NPC_S_KPU8_UDP, 0xff, 6559 NPC_UDP_PORT_ESP, 6560 0xffff, 6561 0x0000, 6562 0x0000, 6563 0x0000, 6564 0x0000, 6565 }, 6566 { 6567 NPC_S_KPU8_UDP, 0xff, 6568 0x0000, 6569 0x0000, 6570 NPC_UDP_PORT_ESP, 6571 0xffff, 6572 0x0000, 6573 0x0000, 6574 }, 6575 { 6576 NPC_S_KPU8_UDP, 0xff, 6577 0x0000, 6578 0x0000, 6579 0x0000, 6580 0x0000, 6581 0x0000, 6582 0x0000, 6583 }, 6584 { 6585 NPC_S_KPU8_SCTP, 0xff, 6586 0x0000, 6587 0x0000, 6588 0x0000, 6589 0x0000, 6590 0x0000, 6591 0x0000, 6592 }, 6593 { 6594 NPC_S_KPU8_ICMP, 0xff, 6595 0x0000, 6596 0x0000, 6597 0x0000, 6598 0x0000, 6599 0x0000, 6600 0x0000, 6601 }, 6602 { 6603 NPC_S_KPU8_IGMP, 0xff, 6604 0x0000, 6605 0x0000, 6606 0x0000, 6607 0x0000, 6608 0x0000, 6609 0x0000, 6610 }, 6611 { 6612 NPC_S_KPU8_ICMP6, 0xff, 6613 0x0000, 6614 0x0000, 6615 0x0000, 6616 0x0000, 6617 0x0000, 6618 0x0000, 6619 }, 6620 { 6621 NPC_S_KPU8_AH, 0xff, 6622 0x0000, 6623 0x0000, 6624 0x0000, 6625 0x0000, 6626 0x0000, 6627 0x0000, 6628 }, 6629 { 6630 NPC_S_KPU8_GRE, 0xff, 6631 NPC_ETYPE_TRANS_ETH_BR, 6632 0xffff, 6633 NPC_GRE_F_KEY, 6634 0xffff, 6635 0x0000, 6636 0x0000, 6637 }, 6638 { 6639 NPC_S_KPU8_GRE, 0xff, 6640 NPC_ETYPE_TRANS_ETH_BR, 6641 0xffff, 6642 0x0000, 6643 0x0000, 6644 0x0000, 6645 0x0000, 6646 }, 6647 { 6648 NPC_S_KPU8_GRE, 0xff, 6649 NPC_ETYPE_MPLSU, 6650 0xffff, 6651 0x0000, 6652 0xffff, 6653 0x0000, 6654 0x0000, 6655 }, 6656 { 6657 NPC_S_KPU8_GRE, 0xff, 6658 NPC_ETYPE_MPLSU, 6659 0xffff, 6660 NPC_GRE_F_CSUM, 6661 0xffff, 6662 0x0000, 6663 0x0000, 6664 }, 6665 { 6666 NPC_S_KPU8_GRE, 0xff, 6667 NPC_ETYPE_MPLSU, 6668 0xffff, 6669 NPC_GRE_F_KEY, 6670 0xffff, 6671 0x0000, 6672 0x0000, 6673 }, 6674 { 6675 NPC_S_KPU8_GRE, 0xff, 6676 NPC_ETYPE_MPLSU, 6677 0xffff, 6678 NPC_GRE_F_SEQ, 6679 0xffff, 6680 0x0000, 6681 0x0000, 6682 }, 6683 { 6684 NPC_S_KPU8_GRE, 0xff, 6685 NPC_ETYPE_MPLSU, 6686 0xffff, 6687 NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 6688 0xffff, 6689 0x0000, 6690 0x0000, 6691 }, 6692 { 6693 NPC_S_KPU8_GRE, 0xff, 6694 NPC_ETYPE_MPLSU, 6695 0xffff, 6696 NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 6697 0xffff, 6698 0x0000, 6699 0x0000, 6700 }, 6701 { 6702 NPC_S_KPU8_GRE, 0xff, 6703 NPC_ETYPE_MPLSU, 6704 0xffff, 6705 NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6706 0xffff, 6707 0x0000, 6708 0x0000, 6709 }, 6710 { 6711 NPC_S_KPU8_GRE, 0xff, 6712 NPC_ETYPE_MPLSU, 6713 0xffff, 6714 NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6715 0xffff, 6716 0x0000, 6717 0x0000, 6718 }, 6719 { 6720 NPC_S_KPU8_GRE, 0xff, 6721 NPC_ETYPE_MPLSM, 6722 0xffff, 6723 0x0000, 6724 0xffff, 6725 0x0000, 6726 0x0000, 6727 }, 6728 { 6729 NPC_S_KPU8_GRE, 0xff, 6730 NPC_ETYPE_MPLSM, 6731 0xffff, 6732 NPC_GRE_F_CSUM, 6733 0xffff, 6734 0x0000, 6735 0x0000, 6736 }, 6737 { 6738 NPC_S_KPU8_GRE, 0xff, 6739 NPC_ETYPE_MPLSM, 6740 0xffff, 6741 NPC_GRE_F_KEY, 6742 0xffff, 6743 0x0000, 6744 0x0000, 6745 }, 6746 { 6747 NPC_S_KPU8_GRE, 0xff, 6748 NPC_ETYPE_MPLSM, 6749 0xffff, 6750 NPC_GRE_F_SEQ, 6751 0xffff, 6752 0x0000, 6753 0x0000, 6754 }, 6755 { 6756 NPC_S_KPU8_GRE, 0xff, 6757 NPC_ETYPE_MPLSM, 6758 0xffff, 6759 NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 6760 0xffff, 6761 0x0000, 6762 0x0000, 6763 }, 6764 { 6765 NPC_S_KPU8_GRE, 0xff, 6766 NPC_ETYPE_MPLSM, 6767 0xffff, 6768 NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 6769 0xffff, 6770 0x0000, 6771 0x0000, 6772 }, 6773 { 6774 NPC_S_KPU8_GRE, 0xff, 6775 NPC_ETYPE_MPLSM, 6776 0xffff, 6777 NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6778 0xffff, 6779 0x0000, 6780 0x0000, 6781 }, 6782 { 6783 NPC_S_KPU8_GRE, 0xff, 6784 NPC_ETYPE_MPLSM, 6785 0xffff, 6786 NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6787 0xffff, 6788 0x0000, 6789 0x0000, 6790 }, 6791 { 6792 NPC_S_KPU8_GRE, 0xff, 6793 NPC_ETYPE_NSH, 6794 0xffff, 6795 0x0000, 6796 0xffff, 6797 0x0000, 6798 0x0000, 6799 }, 6800 { 6801 NPC_S_KPU8_GRE, 0xff, 6802 NPC_ETYPE_NSH, 6803 0xffff, 6804 NPC_GRE_F_CSUM, 6805 0xffff, 6806 0x0000, 6807 0x0000, 6808 }, 6809 { 6810 NPC_S_KPU8_GRE, 0xff, 6811 NPC_ETYPE_NSH, 6812 0xffff, 6813 NPC_GRE_F_KEY, 6814 0xffff, 6815 0x0000, 6816 0x0000, 6817 }, 6818 { 6819 NPC_S_KPU8_GRE, 0xff, 6820 NPC_ETYPE_NSH, 6821 0xffff, 6822 NPC_GRE_F_SEQ, 6823 0xffff, 6824 0x0000, 6825 0x0000, 6826 }, 6827 { 6828 NPC_S_KPU8_GRE, 0xff, 6829 NPC_ETYPE_NSH, 6830 0xffff, 6831 NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 6832 0xffff, 6833 0x0000, 6834 0x0000, 6835 }, 6836 { 6837 NPC_S_KPU8_GRE, 0xff, 6838 NPC_ETYPE_NSH, 6839 0xffff, 6840 NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 6841 0xffff, 6842 0x0000, 6843 0x0000, 6844 }, 6845 { 6846 NPC_S_KPU8_GRE, 0xff, 6847 NPC_ETYPE_NSH, 6848 0xffff, 6849 NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6850 0xffff, 6851 0x0000, 6852 0x0000, 6853 }, 6854 { 6855 NPC_S_KPU8_GRE, 0xff, 6856 NPC_ETYPE_NSH, 6857 0xffff, 6858 NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6859 0xffff, 6860 0x0000, 6861 0x0000, 6862 }, 6863 { 6864 NPC_S_KPU8_GRE, 0xff, 6865 NPC_ETYPE_IP, 6866 0xffff, 6867 0x0000, 6868 0xffff, 6869 0x0000, 6870 0x0000, 6871 }, 6872 { 6873 NPC_S_KPU8_GRE, 0xff, 6874 NPC_ETYPE_IP, 6875 0xffff, 6876 NPC_GRE_F_CSUM, 6877 0xffff, 6878 0x0000, 6879 0x0000, 6880 }, 6881 { 6882 NPC_S_KPU8_GRE, 0xff, 6883 NPC_ETYPE_IP, 6884 0xffff, 6885 NPC_GRE_F_KEY, 6886 0xffff, 6887 0x0000, 6888 0x0000, 6889 }, 6890 { 6891 NPC_S_KPU8_GRE, 0xff, 6892 NPC_ETYPE_IP, 6893 0xffff, 6894 NPC_GRE_F_SEQ, 6895 0xffff, 6896 0x0000, 6897 0x0000, 6898 }, 6899 { 6900 NPC_S_KPU8_GRE, 0xff, 6901 NPC_ETYPE_IP, 6902 0xffff, 6903 NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 6904 0xffff, 6905 0x0000, 6906 0x0000, 6907 }, 6908 { 6909 NPC_S_KPU8_GRE, 0xff, 6910 NPC_ETYPE_IP, 6911 0xffff, 6912 NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 6913 0xffff, 6914 0x0000, 6915 0x0000, 6916 }, 6917 { 6918 NPC_S_KPU8_GRE, 0xff, 6919 NPC_ETYPE_IP, 6920 0xffff, 6921 NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6922 0xffff, 6923 0x0000, 6924 0x0000, 6925 }, 6926 { 6927 NPC_S_KPU8_GRE, 0xff, 6928 NPC_ETYPE_IP, 6929 0xffff, 6930 NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6931 0xffff, 6932 0x0000, 6933 0x0000, 6934 }, 6935 { 6936 NPC_S_KPU8_GRE, 0xff, 6937 NPC_ETYPE_IP6, 6938 0xffff, 6939 0x0000, 6940 0xffff, 6941 0x0000, 6942 0x0000, 6943 }, 6944 { 6945 NPC_S_KPU8_GRE, 0xff, 6946 NPC_ETYPE_IP6, 6947 0xffff, 6948 NPC_GRE_F_CSUM, 6949 0xffff, 6950 0x0000, 6951 0x0000, 6952 }, 6953 { 6954 NPC_S_KPU8_GRE, 0xff, 6955 NPC_ETYPE_IP6, 6956 0xffff, 6957 NPC_GRE_F_KEY, 6958 0xffff, 6959 0x0000, 6960 0x0000, 6961 }, 6962 { 6963 NPC_S_KPU8_GRE, 0xff, 6964 NPC_ETYPE_IP6, 6965 0xffff, 6966 NPC_GRE_F_SEQ, 6967 0xffff, 6968 0x0000, 6969 0x0000, 6970 }, 6971 { 6972 NPC_S_KPU8_GRE, 0xff, 6973 NPC_ETYPE_IP6, 6974 0xffff, 6975 NPC_GRE_F_CSUM | NPC_GRE_F_KEY, 6976 0xffff, 6977 0x0000, 6978 0x0000, 6979 }, 6980 { 6981 NPC_S_KPU8_GRE, 0xff, 6982 NPC_ETYPE_IP6, 6983 0xffff, 6984 NPC_GRE_F_CSUM | NPC_GRE_F_SEQ, 6985 0xffff, 6986 0x0000, 6987 0x0000, 6988 }, 6989 { 6990 NPC_S_KPU8_GRE, 0xff, 6991 NPC_ETYPE_IP6, 6992 0xffff, 6993 NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 6994 0xffff, 6995 0x0000, 6996 0x0000, 6997 }, 6998 { 6999 NPC_S_KPU8_GRE, 0xff, 7000 NPC_ETYPE_IP6, 7001 0xffff, 7002 NPC_GRE_F_CSUM | NPC_GRE_F_KEY | NPC_GRE_F_SEQ, 7003 0xffff, 7004 0x0000, 7005 0x0000, 7006 }, 7007 { 7008 NPC_S_KPU8_GRE, 0xff, 7009 0x0000, 7010 0xffff, 7011 NPC_GRE_F_ROUTE, 7012 0x4fff, 7013 0x0000, 7014 0x0000, 7015 }, 7016 { 7017 NPC_S_KPU8_GRE, 0xff, 7018 0x0000, 7019 0xffff, 7020 0x0000, 7021 0x4fff, 7022 0x0000, 7023 0x0000, 7024 }, 7025 { 7026 NPC_S_KPU8_GRE, 0xff, 7027 0x0000, 7028 0xffff, 7029 0x0000, 7030 0x0003, 7031 0x0000, 7032 0x0000, 7033 }, 7034 { 7035 NPC_S_KPU8_GRE, 0xff, 7036 NPC_ETYPE_PPP, 7037 0xffff, 7038 NPC_GRE_F_KEY | NPC_GRE_VER_1, 7039 0xffff, 7040 0x0000, 7041 0x0000, 7042 }, 7043 { 7044 NPC_S_KPU8_GRE, 0xff, 7045 NPC_ETYPE_PPP, 7046 0xffff, 7047 NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_VER_1, 7048 0xffff, 7049 0x0000, 7050 0x0000, 7051 }, 7052 { 7053 NPC_S_KPU8_GRE, 0xff, 7054 NPC_ETYPE_PPP, 7055 0xffff, 7056 NPC_GRE_F_KEY | NPC_GRE_F_ACK | NPC_GRE_VER_1, 7057 0xffff, 7058 0x0000, 7059 0x0000, 7060 }, 7061 { 7062 NPC_S_KPU8_GRE, 0xff, 7063 NPC_ETYPE_PPP, 7064 0xffff, 7065 NPC_GRE_F_KEY | NPC_GRE_F_SEQ | NPC_GRE_F_ACK | NPC_GRE_VER_1, 7066 0xffff, 7067 0x0000, 7068 0x0000, 7069 }, 7070 { 7071 NPC_S_KPU8_GRE, 0xff, 7072 0x0000, 7073 0xffff, 7074 0x2001, 7075 0xef7f, 7076 0x0000, 7077 0x0000, 7078 }, 7079 { 7080 NPC_S_KPU8_GRE, 0xff, 7081 0x0000, 7082 0xffff, 7083 0x0001, 7084 0x0003, 7085 0x0000, 7086 0x0000, 7087 }, 7088 { 7089 NPC_S_NA, 0X00, 7090 0x0000, 7091 0x0000, 7092 0x0000, 7093 0x0000, 7094 0x0000, 7095 0x0000, 7096 }, 7097 }; 7098 7099 static struct npc_kpu_profile_cam kpu9_cam_entries[] = { 7100 NPC_KPU_NOP_CAM, 7101 NPC_KPU_NOP_CAM, 7102 { 7103 NPC_S_KPU9_TU_MPLS_IN_GRE, 0xff, 7104 NPC_MPLS_S, 7105 NPC_MPLS_S, 7106 0x0000, 7107 0x0000, 7108 0x0000, 7109 0x0000, 7110 }, 7111 { 7112 NPC_S_KPU9_TU_MPLS_IN_GRE, 0xff, 7113 0x0000, 7114 NPC_MPLS_S, 7115 NPC_MPLS_S, 7116 NPC_MPLS_S, 7117 0x0000, 7118 0x0000, 7119 }, 7120 { 7121 NPC_S_KPU9_TU_MPLS_IN_GRE, 0xff, 7122 0x0000, 7123 NPC_MPLS_S, 7124 0x0000, 7125 NPC_MPLS_S, 7126 NPC_MPLS_S, 7127 NPC_MPLS_S, 7128 }, 7129 { 7130 NPC_S_KPU9_TU_MPLS_IN_GRE, 0xff, 7131 0x0000, 7132 NPC_MPLS_S, 7133 0x0000, 7134 NPC_MPLS_S, 7135 0x0000, 7136 NPC_MPLS_S, 7137 }, 7138 { 7139 NPC_S_KPU9_TU_MPLS_IN_NSH, 0xff, 7140 NPC_MPLS_S, 7141 NPC_MPLS_S, 7142 0x0000, 7143 0x0000, 7144 0x0000, 7145 0x0000, 7146 }, 7147 { 7148 NPC_S_KPU9_TU_MPLS_IN_NSH, 0xff, 7149 0x0000, 7150 NPC_MPLS_S, 7151 NPC_MPLS_S, 7152 NPC_MPLS_S, 7153 0x0000, 7154 0x0000, 7155 }, 7156 { 7157 NPC_S_KPU9_TU_MPLS_IN_NSH, 0xff, 7158 0x0000, 7159 NPC_MPLS_S, 7160 0x0000, 7161 NPC_MPLS_S, 7162 NPC_MPLS_S, 7163 NPC_MPLS_S, 7164 }, 7165 { 7166 NPC_S_KPU9_TU_MPLS_IN_NSH, 0xff, 7167 0x0000, 7168 NPC_MPLS_S, 7169 0x0000, 7170 NPC_MPLS_S, 7171 0x0000, 7172 NPC_MPLS_S, 7173 }, 7174 { 7175 NPC_S_KPU9_TU_MPLS_IN_IP, 0xff, 7176 NPC_MPLS_S, 7177 NPC_MPLS_S, 7178 0x0000, 7179 0x0000, 7180 0x0000, 7181 0x0000, 7182 }, 7183 { 7184 NPC_S_KPU9_TU_MPLS_IN_IP, 0xff, 7185 0x0000, 7186 NPC_MPLS_S, 7187 NPC_MPLS_S, 7188 NPC_MPLS_S, 7189 0x0000, 7190 0x0000, 7191 }, 7192 { 7193 NPC_S_KPU9_TU_MPLS_IN_IP, 0xff, 7194 0x0000, 7195 NPC_MPLS_S, 7196 0x0000, 7197 NPC_MPLS_S, 7198 NPC_MPLS_S, 7199 NPC_MPLS_S, 7200 }, 7201 { 7202 NPC_S_KPU9_TU_MPLS_IN_IP, 0xff, 7203 0x0000, 7204 NPC_MPLS_S, 7205 0x0000, 7206 NPC_MPLS_S, 7207 0x0000, 7208 NPC_MPLS_S, 7209 }, 7210 { 7211 NPC_S_KPU9_TU_NSH_IN_GRE, 0xff, 7212 NPC_NSH_NP_IP, 7213 NPC_NSH_NP_MASK, 7214 0x0000, 7215 0x0000, 7216 0x0000, 7217 0x0000, 7218 }, 7219 { 7220 NPC_S_KPU9_TU_NSH_IN_GRE, 0xff, 7221 NPC_NSH_NP_IP6, 7222 NPC_NSH_NP_MASK, 7223 0x0000, 7224 0x0000, 7225 0x0000, 7226 0x0000, 7227 }, 7228 { 7229 NPC_S_KPU9_TU_NSH_IN_GRE, 0xff, 7230 NPC_NSH_NP_ETH, 7231 NPC_NSH_NP_MASK, 7232 0x0000, 7233 0x0000, 7234 0x0000, 7235 0x0000, 7236 }, 7237 { 7238 NPC_S_KPU9_TU_NSH_IN_GRE, 0xff, 7239 0x0000, 7240 0x0000, 7241 0x0000, 7242 0x0000, 7243 0x0000, 7244 0x0000, 7245 }, 7246 { 7247 NPC_S_KPU9_VXLAN, 0xff, 7248 0x0000, 7249 0x0000, 7250 NPC_VXLAN_I, 7251 NPC_VXLAN_I, 7252 0x0000, 7253 0xffff, 7254 }, 7255 { 7256 NPC_S_KPU9_VXLAN, 0xff, 7257 0x0000, 7258 0x0000, 7259 0x0000, 7260 0xffff, 7261 0x0000, 7262 0xffff, 7263 }, 7264 { 7265 NPC_S_KPU9_VXLAN, 0xff, 7266 0x0000, 7267 0x0000, 7268 0x0000, 7269 0x0000, 7270 0x0000, 7271 0x0000, 7272 }, 7273 { 7274 NPC_S_KPU9_VXLANGPE, 0xff, 7275 0x0000, 7276 0x0000, 7277 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7278 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7279 NPC_VXLANGPE_NP_IP, 7280 NPC_VXLANGPE_NP_MASK, 7281 }, 7282 { 7283 NPC_S_KPU9_VXLANGPE, 0xff, 7284 0x0000, 7285 0x0000, 7286 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7287 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7288 NPC_VXLANGPE_NP_IP6, 7289 NPC_VXLANGPE_NP_MASK, 7290 }, 7291 { 7292 NPC_S_KPU9_VXLANGPE, 0xff, 7293 0x0000, 7294 0x0000, 7295 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7296 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7297 NPC_VXLANGPE_NP_ETH, 7298 NPC_VXLANGPE_NP_MASK, 7299 }, 7300 { 7301 NPC_S_KPU9_VXLANGPE, 0xff, 7302 0x0000, 7303 0x0000, 7304 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7305 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7306 NPC_VXLANGPE_NP_NSH, 7307 NPC_VXLANGPE_NP_MASK, 7308 }, 7309 { 7310 NPC_S_KPU9_VXLANGPE, 0xff, 7311 0x0000, 7312 0x0000, 7313 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7314 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7315 NPC_VXLANGPE_NP_MPLS, 7316 NPC_VXLANGPE_NP_MASK, 7317 }, 7318 { 7319 NPC_S_KPU9_VXLANGPE, 0xff, 7320 0x0000, 7321 0x0000, 7322 NPC_VXLANGPE_P, 7323 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7324 NPC_VXLANGPE_NP_IP, 7325 NPC_VXLANGPE_NP_MASK, 7326 }, 7327 { 7328 NPC_S_KPU9_VXLANGPE, 0xff, 7329 0x0000, 7330 0x0000, 7331 NPC_VXLANGPE_P, 7332 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7333 NPC_VXLANGPE_NP_IP6, 7334 NPC_VXLANGPE_NP_MASK, 7335 }, 7336 { 7337 NPC_S_KPU9_VXLANGPE, 0xff, 7338 0x0000, 7339 0x0000, 7340 NPC_VXLANGPE_P, 7341 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7342 NPC_VXLANGPE_NP_ETH, 7343 NPC_VXLANGPE_NP_MASK, 7344 }, 7345 { 7346 NPC_S_KPU9_VXLANGPE, 0xff, 7347 0x0000, 7348 0x0000, 7349 NPC_VXLANGPE_P, 7350 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7351 NPC_VXLANGPE_NP_NSH, 7352 NPC_VXLANGPE_NP_MASK, 7353 }, 7354 { 7355 NPC_S_KPU9_VXLANGPE, 0xff, 7356 0x0000, 7357 0x0000, 7358 NPC_VXLANGPE_P, 7359 NPC_VXLANGPE_P | NPC_VXLANGPE_I, 7360 NPC_VXLANGPE_NP_MPLS, 7361 NPC_VXLANGPE_NP_MASK, 7362 }, 7363 { 7364 NPC_S_KPU9_VXLANGPE, 0xff, 7365 0x0000, 7366 0x0000, 7367 NPC_VXLANGPE_P, 7368 NPC_VXLANGPE_P, 7369 0x0000, 7370 0x0000, 7371 }, 7372 { 7373 NPC_S_KPU9_VXLANGPE, 0xff, 7374 0x0000, 7375 0x0000, 7376 0x0000, 7377 NPC_VXLANGPE_P, 7378 0x0000, 7379 0x0000, 7380 }, 7381 { 7382 NPC_S_KPU9_GENEVE, 0xff, 7383 0x0000, 7384 0x0000, 7385 0x0000, 7386 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7387 NPC_ETYPE_TRANS_ETH_BR, 7388 0xffff, 7389 }, 7390 { 7391 NPC_S_KPU9_GENEVE, 0xff, 7392 0x0000, 7393 0x0000, 7394 NPC_GENEVE_F_OAM, 7395 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7396 NPC_ETYPE_TRANS_ETH_BR, 7397 0xffff, 7398 }, 7399 { 7400 NPC_S_KPU9_GENEVE, 0xff, 7401 0x0000, 7402 0x0000, 7403 NPC_GENEVE_F_CRI_OPT, 7404 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7405 NPC_ETYPE_TRANS_ETH_BR, 7406 0xffff, 7407 }, 7408 { 7409 NPC_S_KPU9_GENEVE, 0xff, 7410 0x0000, 7411 0x0000, 7412 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7413 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7414 NPC_ETYPE_TRANS_ETH_BR, 7415 0xffff, 7416 }, 7417 { 7418 NPC_S_KPU9_GENEVE, 0xff, 7419 0x0000, 7420 0x0000, 7421 0x0000, 7422 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7423 NPC_ETYPE_IP, 7424 0xffff, 7425 }, 7426 { 7427 NPC_S_KPU9_GENEVE, 0xff, 7428 0x0000, 7429 0x0000, 7430 NPC_GENEVE_F_OAM, 7431 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7432 NPC_ETYPE_IP, 7433 0xffff, 7434 }, 7435 { 7436 NPC_S_KPU9_GENEVE, 0xff, 7437 0x0000, 7438 0x0000, 7439 NPC_GENEVE_F_CRI_OPT, 7440 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7441 NPC_ETYPE_IP, 7442 0xffff, 7443 }, 7444 { 7445 NPC_S_KPU9_GENEVE, 0xff, 7446 0x0000, 7447 0x0000, 7448 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7449 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7450 NPC_ETYPE_IP, 7451 0xffff, 7452 }, 7453 { 7454 NPC_S_KPU9_GENEVE, 0xff, 7455 0x0000, 7456 0x0000, 7457 0x0000, 7458 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7459 NPC_ETYPE_IP6, 7460 0xffff, 7461 }, 7462 { 7463 NPC_S_KPU9_GENEVE, 0xff, 7464 0x0000, 7465 0x0000, 7466 NPC_GENEVE_F_OAM, 7467 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7468 NPC_ETYPE_IP6, 7469 0xffff, 7470 }, 7471 { 7472 NPC_S_KPU9_GENEVE, 0xff, 7473 0x0000, 7474 0x0000, 7475 NPC_GENEVE_F_CRI_OPT, 7476 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7477 NPC_ETYPE_IP6, 7478 0xffff, 7479 }, 7480 { 7481 NPC_S_KPU9_GENEVE, 0xff, 7482 0x0000, 7483 0x0000, 7484 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7485 NPC_GENEVE_F_OAM | NPC_GENEVE_F_CRI_OPT, 7486 NPC_ETYPE_IP6, 7487 0xffff, 7488 }, 7489 { 7490 NPC_S_KPU9_GTPC, 0xff, 7491 0x0000, 7492 0x0000, 7493 0x0000, 7494 0x0000, 7495 0x0000, 7496 0x0000, 7497 }, 7498 { 7499 NPC_S_KPU9_GTPU, 0xff, 7500 0x0000, 7501 0x0000, 7502 NPC_GTP_PT_GTP | NPC_GTP_VER1 | NPC_GTP_MT_G_PDU, 7503 NPC_GTP_PT_MASK | NPC_GTP_VER_MASK | NPC_GTP_MT_MASK, 7504 0x0000, 7505 0x0000, 7506 }, 7507 { 7508 NPC_S_KPU9_GTPU, 0xff, 7509 0x0000, 7510 0x0000, 7511 NPC_GTP_PT_GTP | NPC_GTP_VER1, 7512 NPC_GTP_PT_MASK | NPC_GTP_VER_MASK, 7513 0x0000, 7514 0x0000, 7515 }, 7516 { 7517 NPC_S_KPU9_TU_MPLS_IN_UDP, 0xff, 7518 NPC_MPLS_S, 7519 NPC_MPLS_S, 7520 0x0000, 7521 0x0000, 7522 0x0000, 7523 0x0000, 7524 }, 7525 { 7526 NPC_S_KPU9_TU_MPLS_IN_UDP, 0xff, 7527 0x0000, 7528 NPC_MPLS_S, 7529 NPC_MPLS_S, 7530 NPC_MPLS_S, 7531 0x0000, 7532 0x0000, 7533 }, 7534 { 7535 NPC_S_KPU9_TU_MPLS_IN_UDP, 0xff, 7536 0x0000, 7537 NPC_MPLS_S, 7538 0x0000, 7539 NPC_MPLS_S, 7540 NPC_MPLS_S, 7541 NPC_MPLS_S, 7542 }, 7543 { 7544 NPC_S_KPU9_TU_MPLS_IN_UDP, 0xff, 7545 0x0000, 7546 NPC_MPLS_S, 7547 0x0000, 7548 NPC_MPLS_S, 7549 0x0000, 7550 NPC_MPLS_S, 7551 }, 7552 { 7553 NPC_S_KPU9_ESP, 0xff, 7554 0x0000, 7555 0x0000, 7556 0x0000, 7557 0x0000, 7558 0x0000, 7559 0x0000, 7560 }, 7561 { 7562 NPC_S_NA, 0X00, 7563 0x0000, 7564 0x0000, 7565 0x0000, 7566 0x0000, 7567 0x0000, 7568 0x0000, 7569 }, 7570 }; 7571 7572 static struct npc_kpu_profile_cam kpu10_cam_entries[] = { 7573 NPC_KPU_NOP_CAM, 7574 NPC_KPU_NOP_CAM, 7575 { 7576 NPC_S_KPU10_TU_MPLS, 0xff, 7577 NPC_MPLS_S, 7578 NPC_MPLS_S, 7579 NPC_IP_VER_4, 7580 NPC_IP_VER_MASK, 7581 0x0000, 7582 0x0000, 7583 }, 7584 { 7585 NPC_S_KPU10_TU_MPLS, 0xff, 7586 NPC_MPLS_S, 7587 NPC_MPLS_S, 7588 NPC_IP_VER_6, 7589 NPC_IP_VER_MASK, 7590 0x0000, 7591 0x0000, 7592 }, 7593 { 7594 NPC_S_KPU10_TU_MPLS, 0xff, 7595 NPC_MPLS_S, 7596 NPC_MPLS_S, 7597 0x0000, 7598 0xffff, 7599 0x0000, 7600 0x0000, 7601 }, 7602 { 7603 NPC_S_KPU10_TU_MPLS, 0xff, 7604 NPC_MPLS_S, 7605 NPC_MPLS_S, 7606 0x0000, 7607 0x0000, 7608 0x0000, 7609 0x0000, 7610 }, 7611 { 7612 NPC_S_KPU10_TU_MPLS, 0xff, 7613 0x0000, 7614 NPC_MPLS_S, 7615 0x0000, 7616 0x0000, 7617 0x0000, 7618 0x0000, 7619 }, 7620 { 7621 NPC_S_KPU10_TU_MPLS_PL, 0xff, 7622 NPC_IP_VER_4, 7623 NPC_IP_VER_MASK, 7624 0x0000, 7625 0x0000, 7626 0x0000, 7627 0x0000, 7628 }, 7629 { 7630 NPC_S_KPU10_TU_MPLS_PL, 0xff, 7631 NPC_IP_VER_6, 7632 NPC_IP_VER_MASK, 7633 0x0000, 7634 0x0000, 7635 0x0000, 7636 0x0000, 7637 }, 7638 { 7639 NPC_S_KPU10_TU_MPLS_PL, 0xff, 7640 0x0000, 7641 0xffff, 7642 0x0000, 7643 0x0000, 7644 0x0000, 7645 0x0000, 7646 }, 7647 { 7648 NPC_S_KPU10_TU_MPLS_PL, 0xff, 7649 0x0000, 7650 0x0000, 7651 0x0000, 7652 0x0000, 7653 0x0000, 7654 0x0000, 7655 }, 7656 { 7657 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 0xff, 7658 NPC_MPLS_S, 7659 NPC_MPLS_S, 7660 0x0000, 7661 0x0000, 7662 0x0000, 7663 0x0000, 7664 }, 7665 { 7666 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 0xff, 7667 0x0000, 7668 NPC_MPLS_S, 7669 NPC_MPLS_S, 7670 NPC_MPLS_S, 7671 0x0000, 7672 0x0000, 7673 }, 7674 { 7675 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 0xff, 7676 0x0000, 7677 NPC_MPLS_S, 7678 0x0000, 7679 NPC_MPLS_S, 7680 NPC_MPLS_S, 7681 NPC_MPLS_S, 7682 }, 7683 { 7684 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 0xff, 7685 0x0000, 7686 NPC_MPLS_S, 7687 0x0000, 7688 NPC_MPLS_S, 7689 0x0000, 7690 NPC_MPLS_S, 7691 }, 7692 { 7693 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 0xff, 7694 NPC_NSH_NP_IP, 7695 NPC_NSH_NP_MASK, 7696 0x0000, 7697 0x0000, 7698 0x0000, 7699 0x0000, 7700 }, 7701 { 7702 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 0xff, 7703 NPC_NSH_NP_IP6, 7704 NPC_NSH_NP_MASK, 7705 0x0000, 7706 0x0000, 7707 0x0000, 7708 0x0000, 7709 }, 7710 { 7711 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 0xff, 7712 NPC_NSH_NP_ETH, 7713 NPC_NSH_NP_MASK, 7714 0x0000, 7715 0x0000, 7716 0x0000, 7717 0x0000, 7718 }, 7719 { 7720 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 0xff, 7721 0x0000, 7722 0x0000, 7723 0x0000, 7724 0x0000, 7725 0x0000, 7726 0x0000, 7727 }, 7728 { 7729 NPC_S_NA, 0X00, 7730 0x0000, 7731 0x0000, 7732 0x0000, 7733 0x0000, 7734 0x0000, 7735 0x0000, 7736 }, 7737 }; 7738 7739 static struct npc_kpu_profile_cam kpu11_cam_entries[] = { 7740 NPC_KPU_NOP_CAM, 7741 NPC_KPU_NOP_CAM, 7742 { 7743 NPC_S_KPU11_TU_ETHER, 0xff, 7744 NPC_ETYPE_IP, 7745 0xffff, 7746 0x0000, 7747 0x0000, 7748 0x0000, 7749 0x0000, 7750 }, 7751 { 7752 NPC_S_KPU11_TU_ETHER, 0xff, 7753 NPC_ETYPE_IP6, 7754 0xffff, 7755 0x0000, 7756 0x0000, 7757 0x0000, 7758 0x0000, 7759 }, 7760 { 7761 NPC_S_KPU11_TU_ETHER, 0xff, 7762 NPC_ETYPE_ARP, 7763 0xffff, 7764 0x0000, 7765 0x0000, 7766 0x0000, 7767 0x0000, 7768 }, 7769 { 7770 NPC_S_KPU11_TU_ETHER, 0xff, 7771 NPC_ETYPE_CTAG, 7772 0xffff, 7773 NPC_ETYPE_IP, 7774 0xffff, 7775 0x0000, 7776 0x0000, 7777 }, 7778 { 7779 NPC_S_KPU11_TU_ETHER, 0xff, 7780 NPC_ETYPE_CTAG, 7781 0xffff, 7782 NPC_ETYPE_IP6, 7783 0xffff, 7784 0x0000, 7785 0x0000, 7786 }, 7787 { 7788 NPC_S_KPU11_TU_ETHER, 0xff, 7789 NPC_ETYPE_CTAG, 7790 0xffff, 7791 NPC_ETYPE_ARP, 7792 0xffff, 7793 0x0000, 7794 0x0000, 7795 }, 7796 { 7797 NPC_S_KPU11_TU_ETHER, 0xff, 7798 NPC_ETYPE_CTAG, 7799 0xffff, 7800 0x0000, 7801 0x0000, 7802 0x0000, 7803 0x0000, 7804 }, 7805 { 7806 NPC_S_KPU11_TU_ETHER, 0xff, 7807 NPC_ETYPE_SBTAG, 7808 0xffff, 7809 NPC_ETYPE_CTAG, 7810 0xffff, 7811 NPC_ETYPE_IP, 7812 0xffff, 7813 }, 7814 { 7815 NPC_S_KPU11_TU_ETHER, 0xff, 7816 NPC_ETYPE_SBTAG, 7817 0xffff, 7818 NPC_ETYPE_CTAG, 7819 0xffff, 7820 NPC_ETYPE_IP6, 7821 0xffff, 7822 }, 7823 { 7824 NPC_S_KPU11_TU_ETHER, 0xff, 7825 NPC_ETYPE_SBTAG, 7826 0xffff, 7827 NPC_ETYPE_CTAG, 7828 0xffff, 7829 NPC_ETYPE_ARP, 7830 0xffff, 7831 }, 7832 { 7833 NPC_S_KPU11_TU_ETHER, 0xff, 7834 NPC_ETYPE_SBTAG, 7835 0xffff, 7836 NPC_ETYPE_CTAG, 7837 0xffff, 7838 0x0000, 7839 0x0000, 7840 }, 7841 { 7842 NPC_S_KPU11_TU_ETHER, 0xff, 7843 NPC_ETYPE_SBTAG, 7844 0xffff, 7845 NPC_ETYPE_IP, 7846 0xffff, 7847 0x0000, 7848 0x0000, 7849 }, 7850 { 7851 NPC_S_KPU11_TU_ETHER, 0xff, 7852 NPC_ETYPE_SBTAG, 7853 0xffff, 7854 NPC_ETYPE_IP6, 7855 0xffff, 7856 0x0000, 7857 0x0000, 7858 }, 7859 { 7860 NPC_S_KPU11_TU_ETHER, 0xff, 7861 NPC_ETYPE_SBTAG, 7862 0xffff, 7863 NPC_ETYPE_ARP, 7864 0xffff, 7865 0x0000, 7866 0x0000, 7867 }, 7868 { 7869 NPC_S_KPU11_TU_ETHER, 0xff, 7870 NPC_ETYPE_SBTAG, 7871 0xffff, 7872 0x0000, 7873 0x0000, 7874 0x0000, 7875 0x0000, 7876 }, 7877 { 7878 NPC_S_KPU11_TU_ETHER, 0xff, 7879 NPC_ETYPE_QINQ, 7880 0xffff, 7881 NPC_ETYPE_CTAG, 7882 0xffff, 7883 NPC_ETYPE_IP, 7884 0xffff, 7885 }, 7886 { 7887 NPC_S_KPU11_TU_ETHER, 0xff, 7888 NPC_ETYPE_QINQ, 7889 0xffff, 7890 NPC_ETYPE_CTAG, 7891 0xffff, 7892 NPC_ETYPE_IP6, 7893 0xffff, 7894 }, 7895 { 7896 NPC_S_KPU11_TU_ETHER, 0xff, 7897 NPC_ETYPE_QINQ, 7898 0xffff, 7899 NPC_ETYPE_CTAG, 7900 0xffff, 7901 NPC_ETYPE_ARP, 7902 0xffff, 7903 }, 7904 { 7905 NPC_S_KPU11_TU_ETHER, 0xff, 7906 NPC_ETYPE_QINQ, 7907 0xffff, 7908 NPC_ETYPE_CTAG, 7909 0xffff, 7910 0x0000, 7911 0x0000, 7912 }, 7913 { 7914 NPC_S_KPU11_TU_ETHER, 0xff, 7915 NPC_ETYPE_QINQ, 7916 0xffff, 7917 NPC_ETYPE_IP, 7918 0xffff, 7919 0x0000, 7920 0x0000, 7921 }, 7922 { 7923 NPC_S_KPU11_TU_ETHER, 0xff, 7924 NPC_ETYPE_QINQ, 7925 0xffff, 7926 NPC_ETYPE_IP6, 7927 0xffff, 7928 0x0000, 7929 0x0000, 7930 }, 7931 { 7932 NPC_S_KPU11_TU_ETHER, 0xff, 7933 NPC_ETYPE_QINQ, 7934 0xffff, 7935 NPC_ETYPE_ARP, 7936 0xffff, 7937 0x0000, 7938 0x0000, 7939 }, 7940 { 7941 NPC_S_KPU11_TU_ETHER, 0xff, 7942 NPC_ETYPE_QINQ, 7943 0xffff, 7944 0x0000, 7945 0x0000, 7946 0x0000, 7947 0x0000, 7948 }, 7949 { 7950 NPC_S_KPU11_TU_ETHER, 0xff, 7951 0x0000, 7952 0x0000, 7953 0x0000, 7954 0x0000, 7955 0x0000, 7956 0x0000, 7957 }, 7958 { 7959 NPC_S_KPU11_TU_PPP, 0xff, 7960 0x0000, 7961 0x0000, 7962 0x0000, 7963 0x0000, 7964 0x0000, 7965 0x0000, 7966 }, 7967 { 7968 NPC_S_KPU11_TU_MPLS, 0xff, 7969 NPC_MPLS_S, 7970 NPC_MPLS_S, 7971 NPC_IP_VER_4, 7972 NPC_IP_VER_MASK, 7973 0x0000, 7974 0x0000, 7975 }, 7976 { 7977 NPC_S_KPU11_TU_MPLS, 0xff, 7978 NPC_MPLS_S, 7979 NPC_MPLS_S, 7980 NPC_IP_VER_6, 7981 NPC_IP_VER_MASK, 7982 0x0000, 7983 0x0000, 7984 }, 7985 { 7986 NPC_S_KPU11_TU_MPLS, 0xff, 7987 NPC_MPLS_S, 7988 NPC_MPLS_S, 7989 0x0000, 7990 0x0000, 7991 0x0000, 7992 0x0000, 7993 }, 7994 { 7995 NPC_S_KPU11_TU_MPLS, 0xff, 7996 0x0000, 7997 NPC_MPLS_S, 7998 0x0000, 7999 0x0000, 8000 0x0000, 8001 0x0000, 8002 }, 8003 { 8004 NPC_S_KPU11_TU_MPLS_PL, 0xff, 8005 NPC_IP_VER_4, 8006 NPC_IP_VER_MASK, 8007 0x0000, 8008 0x0000, 8009 0x0000, 8010 0x0000, 8011 }, 8012 { 8013 NPC_S_KPU11_TU_MPLS_PL, 0xff, 8014 NPC_IP_VER_6, 8015 NPC_IP_VER_MASK, 8016 0x0000, 8017 0x0000, 8018 0x0000, 8019 0x0000, 8020 }, 8021 { 8022 NPC_S_KPU11_TU_MPLS_PL, 0xff, 8023 0x0000, 8024 0x0000, 8025 0x0000, 8026 0x0000, 8027 0x0000, 8028 0x0000, 8029 }, 8030 { 8031 NPC_S_KPU11_TU_ETHER_IN_NSH, 0xff, 8032 0x0000, 8033 0x0000, 8034 0x0000, 8035 0x0000, 8036 0x0000, 8037 0x0000, 8038 }, 8039 { 8040 NPC_S_NA, 0X00, 8041 0x0000, 8042 0x0000, 8043 0x0000, 8044 0x0000, 8045 0x0000, 8046 0x0000, 8047 }, 8048 }; 8049 8050 static struct npc_kpu_profile_cam kpu12_cam_entries[] = { 8051 NPC_KPU_NOP_CAM, 8052 NPC_KPU_NOP_CAM, 8053 { 8054 NPC_S_KPU12_TU_IP, 0xff, 8055 NPC_IPNH_TCP, 8056 0x00ff, 8057 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8058 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8059 0x0000, 8060 0x0000, 8061 }, 8062 { 8063 NPC_S_KPU12_TU_IP, 0xff, 8064 NPC_IPNH_UDP, 8065 0x00ff, 8066 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8067 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8068 0x0000, 8069 0x0000, 8070 }, 8071 { 8072 NPC_S_KPU12_TU_IP, 0xff, 8073 NPC_IPNH_SCTP, 8074 0x00ff, 8075 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8076 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8077 0x0000, 8078 0x0000, 8079 }, 8080 { 8081 NPC_S_KPU12_TU_IP, 0xff, 8082 NPC_IPNH_ICMP, 8083 0x00ff, 8084 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8085 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8086 0x0000, 8087 0x0000, 8088 }, 8089 { 8090 NPC_S_KPU12_TU_IP, 0xff, 8091 NPC_IPNH_IGMP, 8092 0x00ff, 8093 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8094 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8095 0x0000, 8096 0x0000, 8097 }, 8098 { 8099 NPC_S_KPU12_TU_IP, 0xff, 8100 NPC_IPNH_ESP, 8101 0x00ff, 8102 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8103 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8104 0x0000, 8105 0x0000, 8106 }, 8107 { 8108 NPC_S_KPU12_TU_IP, 0xff, 8109 NPC_IPNH_AH, 8110 0x00ff, 8111 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8112 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8113 0x0000, 8114 0x0000, 8115 }, 8116 { 8117 NPC_S_KPU12_TU_IP, 0xff, 8118 0x0000, 8119 0x0000, 8120 NPC_IP_VER_4 | NPC_IP_HDR_LEN_5, 8121 NPC_IP_VER_MASK | NPC_IP_HDR_LEN_MASK, 8122 0x0000, 8123 0x0000, 8124 }, 8125 { 8126 NPC_S_KPU12_TU_IP, 0xff, 8127 NPC_IPNH_TCP, 8128 0x00ff, 8129 NPC_IP_VER_4, 8130 NPC_IP_VER_MASK, 8131 0x0000, 8132 0x0000, 8133 }, 8134 { 8135 NPC_S_KPU12_TU_IP, 0xff, 8136 NPC_IPNH_UDP, 8137 0x00ff, 8138 NPC_IP_VER_4, 8139 NPC_IP_VER_MASK, 8140 0x0000, 8141 0x0000, 8142 }, 8143 { 8144 NPC_S_KPU12_TU_IP, 0xff, 8145 NPC_IPNH_SCTP, 8146 0x00ff, 8147 NPC_IP_VER_4, 8148 NPC_IP_VER_MASK, 8149 0x0000, 8150 0x0000, 8151 }, 8152 { 8153 NPC_S_KPU12_TU_IP, 0xff, 8154 NPC_IPNH_ICMP, 8155 0x00ff, 8156 NPC_IP_VER_4, 8157 NPC_IP_VER_MASK, 8158 0x0000, 8159 0x0000, 8160 }, 8161 { 8162 NPC_S_KPU12_TU_IP, 0xff, 8163 NPC_IPNH_IGMP, 8164 0x00ff, 8165 NPC_IP_VER_4, 8166 NPC_IP_VER_MASK, 8167 0x0000, 8168 0x0000, 8169 }, 8170 { 8171 NPC_S_KPU12_TU_IP, 0xff, 8172 NPC_IPNH_ESP, 8173 0x00ff, 8174 NPC_IP_VER_4, 8175 NPC_IP_VER_MASK, 8176 0x0000, 8177 0x0000, 8178 }, 8179 { 8180 NPC_S_KPU12_TU_IP, 0xff, 8181 NPC_IPNH_AH, 8182 0x00ff, 8183 NPC_IP_VER_4, 8184 NPC_IP_VER_MASK, 8185 0x0000, 8186 0x0000, 8187 }, 8188 { 8189 NPC_S_KPU12_TU_IP, 0xff, 8190 0x0000, 8191 0x0000, 8192 NPC_IP_VER_4, 8193 NPC_IP_VER_MASK, 8194 0x0000, 8195 0x0000, 8196 }, 8197 { 8198 NPC_S_KPU12_TU_IP, 0xff, 8199 0x0000, 8200 0x0000, 8201 0x0000, 8202 0x0000, 8203 0x0000, 8204 0x0000, 8205 }, 8206 { 8207 NPC_S_KPU12_TU_ARP, 0xff, 8208 0x0000, 8209 0x0000, 8210 0x0000, 8211 0x0000, 8212 0x0000, 8213 0x0000, 8214 }, 8215 { 8216 NPC_S_KPU12_TU_IP6, 0xff, 8217 NPC_IPNH_TCP << 8, 8218 0xff00, 8219 NPC_IP_VER_6, 8220 NPC_IP_VER_MASK, 8221 0x0000, 8222 0x0000, 8223 }, 8224 { 8225 NPC_S_KPU12_TU_IP6, 0xff, 8226 NPC_IPNH_UDP << 8, 8227 0xff00, 8228 NPC_IP_VER_6, 8229 NPC_IP_VER_MASK, 8230 0x0000, 8231 0x0000, 8232 }, 8233 { 8234 NPC_S_KPU12_TU_IP6, 0xff, 8235 NPC_IPNH_SCTP << 8, 8236 0xff00, 8237 NPC_IP_VER_6, 8238 NPC_IP_VER_MASK, 8239 0x0000, 8240 0x0000, 8241 }, 8242 { 8243 NPC_S_KPU12_TU_IP6, 0xff, 8244 NPC_IPNH_ICMP << 8, 8245 0xff00, 8246 NPC_IP_VER_6, 8247 NPC_IP_VER_MASK, 8248 0x0000, 8249 0x0000, 8250 }, 8251 { 8252 NPC_S_KPU12_TU_IP6, 0xff, 8253 NPC_IPNH_ICMP6 << 8, 8254 0xff00, 8255 NPC_IP_VER_6, 8256 NPC_IP_VER_MASK, 8257 0x0000, 8258 0x0000, 8259 }, 8260 { 8261 NPC_S_KPU12_TU_IP6, 0xff, 8262 NPC_IPNH_ESP << 8, 8263 0xff00, 8264 NPC_IP_VER_6, 8265 NPC_IP_VER_MASK, 8266 0x0000, 8267 0x0000, 8268 }, 8269 { 8270 NPC_S_KPU12_TU_IP6, 0xff, 8271 NPC_IPNH_AH << 8, 8272 0xff00, 8273 NPC_IP_VER_6, 8274 NPC_IP_VER_MASK, 8275 0x0000, 8276 0x0000, 8277 }, 8278 { 8279 NPC_S_KPU12_TU_IP6, 0xff, 8280 0x0000, 8281 0x0000, 8282 NPC_IP_VER_6, 8283 NPC_IP_VER_MASK, 8284 0x0000, 8285 0x0000, 8286 }, 8287 { 8288 NPC_S_KPU12_TU_IP6, 0xff, 8289 0x0000, 8290 0x0000, 8291 0x0000, 8292 0x0000, 8293 0x0000, 8294 0x0000, 8295 }, 8296 { 8297 NPC_S_NA, 0X00, 8298 0x0000, 8299 0x0000, 8300 0x0000, 8301 0x0000, 8302 0x0000, 8303 0x0000, 8304 }, 8305 }; 8306 8307 static struct npc_kpu_profile_cam kpu13_cam_entries[] = { 8308 NPC_KPU_NOP_CAM, 8309 NPC_KPU_NOP_CAM, 8310 { 8311 NPC_S_KPU13_TU_IP6_EXT, 0xff, 8312 0x0000, 8313 0x0000, 8314 0x0000, 8315 0x0000, 8316 0x0000, 8317 0x0000, 8318 }, 8319 }; 8320 8321 static struct npc_kpu_profile_cam kpu14_cam_entries[] = { 8322 NPC_KPU_NOP_CAM, 8323 NPC_KPU_NOP_CAM, 8324 { 8325 NPC_S_KPU14_TU_IP6_EXT, 0xff, 8326 0x0000, 8327 0x0000, 8328 0x0000, 8329 0x0000, 8330 0x0000, 8331 0x0000, 8332 }, 8333 }; 8334 8335 static struct npc_kpu_profile_cam kpu15_cam_entries[] = { 8336 NPC_KPU_NOP_CAM, 8337 NPC_KPU_NOP_CAM, 8338 { 8339 NPC_S_KPU15_TU_TCP, 0xff, 8340 0x0000, 8341 0x0000, 8342 NPC_TCP_FLAGS_FIN, 8343 NPC_TCP_FLAGS_MASK, 8344 0x0000, 8345 0x0000, 8346 }, 8347 { 8348 NPC_S_KPU15_TU_TCP, 0xff, 8349 0x0000, 8350 0x0000, 8351 0x0000, 8352 NPC_TCP_FLAGS_MASK, 8353 0x0000, 8354 0x0000, 8355 }, 8356 { 8357 NPC_S_KPU15_TU_TCP, 0xff, 8358 0x0000, 8359 0x0000, 8360 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_FIN, 8361 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_FIN, 8362 0x0000, 8363 0x0000, 8364 }, 8365 { 8366 NPC_S_KPU15_TU_TCP, 0xff, 8367 0x0000, 8368 0x0000, 8369 NPC_TCP_FLAGS_URG | NPC_TCP_FLAGS_SYN, 8370 NPC_TCP_FLAGS_URG | NPC_TCP_FLAGS_SYN, 8371 0x0000, 8372 0x0000, 8373 }, 8374 { 8375 NPC_S_KPU15_TU_TCP, 0xff, 8376 0x0000, 8377 0x0000, 8378 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_SYN, 8379 NPC_TCP_FLAGS_RST | NPC_TCP_FLAGS_SYN, 8380 0x0000, 8381 0x0000, 8382 }, 8383 { 8384 NPC_S_KPU15_TU_TCP, 0xff, 8385 0x0000, 8386 0x0000, 8387 NPC_TCP_FLAGS_SYN | NPC_TCP_FLAGS_FIN, 8388 NPC_TCP_FLAGS_SYN | NPC_TCP_FLAGS_FIN, 8389 0x0000, 8390 0x0000, 8391 }, 8392 { 8393 NPC_S_KPU15_TU_TCP, 0xff, 8394 NPC_TCP_PORT_HTTP, 8395 0xffff, 8396 NPC_TCP_DATA_OFFSET_5, 8397 NPC_TCP_DATA_OFFSET_MASK, 8398 0x0000, 8399 0x0000, 8400 }, 8401 { 8402 NPC_S_KPU15_TU_TCP, 0xff, 8403 NPC_TCP_PORT_HTTPS, 8404 0xffff, 8405 NPC_TCP_DATA_OFFSET_5, 8406 NPC_TCP_DATA_OFFSET_MASK, 8407 0x0000, 8408 0x0000, 8409 }, 8410 { 8411 NPC_S_KPU15_TU_TCP, 0xff, 8412 NPC_TCP_PORT_PPTP, 8413 0xffff, 8414 NPC_TCP_DATA_OFFSET_5, 8415 NPC_TCP_DATA_OFFSET_MASK, 8416 0x0000, 8417 0x0000, 8418 }, 8419 { 8420 NPC_S_KPU15_TU_TCP, 0xff, 8421 0x0000, 8422 0x0000, 8423 NPC_TCP_DATA_OFFSET_5, 8424 NPC_TCP_DATA_OFFSET_MASK, 8425 0x0000, 8426 0x0000, 8427 }, 8428 { 8429 NPC_S_KPU15_TU_TCP, 0xff, 8430 NPC_TCP_PORT_HTTP, 8431 0xffff, 8432 0x0000, 8433 0x0000, 8434 0x0000, 8435 0x0000, 8436 }, 8437 { 8438 NPC_S_KPU15_TU_TCP, 0xff, 8439 NPC_TCP_PORT_HTTPS, 8440 0xffff, 8441 0x0000, 8442 0x0000, 8443 0x0000, 8444 0x0000, 8445 }, 8446 { 8447 NPC_S_KPU15_TU_TCP, 0xff, 8448 NPC_TCP_PORT_PPTP, 8449 0xffff, 8450 0x0000, 8451 0x0000, 8452 0x0000, 8453 0x0000, 8454 }, 8455 { 8456 NPC_S_KPU15_TU_TCP, 0xff, 8457 0x0000, 8458 0x0000, 8459 0x0000, 8460 0x0000, 8461 0x0000, 8462 0x0000, 8463 }, 8464 { 8465 NPC_S_KPU15_TU_UDP, 0xff, 8466 0x0000, 8467 0x0000, 8468 0x0000, 8469 0x0000, 8470 0x0000, 8471 0x0000, 8472 }, 8473 { 8474 NPC_S_KPU15_TU_SCTP, 0xff, 8475 0x0000, 8476 0x0000, 8477 0x0000, 8478 0x0000, 8479 0x0000, 8480 0x0000, 8481 }, 8482 { 8483 NPC_S_KPU15_TU_ICMP, 0xff, 8484 0x0000, 8485 0x0000, 8486 0x0000, 8487 0x0000, 8488 0x0000, 8489 0x0000, 8490 }, 8491 { 8492 NPC_S_KPU15_TU_IGMP, 0xff, 8493 0x0000, 8494 0x0000, 8495 0x0000, 8496 0x0000, 8497 0x0000, 8498 0x0000, 8499 }, 8500 { 8501 NPC_S_KPU15_TU_ICMP6, 0xff, 8502 0x0000, 8503 0x0000, 8504 0x0000, 8505 0x0000, 8506 0x0000, 8507 0x0000, 8508 }, 8509 { 8510 NPC_S_KPU15_TU_ESP, 0xff, 8511 0x0000, 8512 0x0000, 8513 0x0000, 8514 0x0000, 8515 0x0000, 8516 0x0000, 8517 }, 8518 { 8519 NPC_S_KPU15_TU_AH, 0xff, 8520 0x0000, 8521 0x0000, 8522 0x0000, 8523 0x0000, 8524 0x0000, 8525 0x0000, 8526 }, 8527 { 8528 NPC_S_NA, 0X00, 8529 0x0000, 8530 0x0000, 8531 0x0000, 8532 0x0000, 8533 0x0000, 8534 0x0000, 8535 }, 8536 }; 8537 8538 static struct npc_kpu_profile_cam kpu16_cam_entries[] = { 8539 NPC_KPU_NOP_CAM, 8540 NPC_KPU_NOP_CAM, 8541 { 8542 NPC_S_KPU16_TCP_DATA, 0xff, 8543 0x0000, 8544 0x0000, 8545 0x0000, 8546 0x0000, 8547 0x0000, 8548 0x0000, 8549 }, 8550 { 8551 NPC_S_KPU16_HTTP_DATA, 0xff, 8552 0x0000, 8553 0x0000, 8554 0x0000, 8555 0x0000, 8556 0x0000, 8557 0x0000, 8558 }, 8559 { 8560 NPC_S_KPU16_HTTPS_DATA, 0xff, 8561 0x0000, 8562 0x0000, 8563 0x0000, 8564 0x0000, 8565 0x0000, 8566 0x0000, 8567 }, 8568 { 8569 NPC_S_KPU16_PPTP_DATA, 0xff, 8570 0x0000, 8571 0x0000, 8572 0x0000, 8573 0x0000, 8574 0x0000, 8575 0x0000, 8576 }, 8577 { 8578 NPC_S_KPU16_UDP_DATA, 0xff, 8579 0x0000, 8580 0x0000, 8581 0x0000, 8582 0x0000, 8583 0x0000, 8584 0x0000, 8585 }, 8586 { 8587 NPC_S_KPU16_UDP_PTP, 0xff, 8588 0x0000, 8589 0x0000, 8590 0x0000, 8591 0x0000, 8592 0x0000, 8593 0x0000, 8594 }, 8595 }; 8596 8597 static struct npc_kpu_profile_action kpu1_action_entries[] = { 8598 NPC_KPU_NOP_ACTION, 8599 NPC_KPU_NOP_ACTION, 8600 { 8601 NPC_ERRLEV_RE, NPC_EC_NOERR, 8602 8, 0, 6, 3, 0, 8603 NPC_S_KPU5_IP, 14, 1, 8604 NPC_LID_LA, NPC_LT_LA_ETHER, 8605 0, 8606 0, 0, 0, 0, 8607 }, 8608 { 8609 NPC_ERRLEV_RE, NPC_EC_NOERR, 8610 6, 0, 0, 3, 0, 8611 NPC_S_KPU5_IP6, 14, 1, 8612 NPC_LID_LA, NPC_LT_LA_ETHER, 8613 0, 8614 0, 0, 0, 0, 8615 }, 8616 { 8617 NPC_ERRLEV_RE, NPC_EC_NOERR, 8618 0, 0, 0, 3, 0, 8619 NPC_S_KPU5_ARP, 14, 1, 8620 NPC_LID_LA, NPC_LT_LA_ETHER, 8621 0, 8622 0, 0, 0, 0, 8623 }, 8624 { 8625 NPC_ERRLEV_RE, NPC_EC_NOERR, 8626 0, 0, 0, 3, 0, 8627 NPC_S_KPU5_RARP, 14, 1, 8628 NPC_LID_LA, NPC_LT_LA_ETHER, 8629 0, 8630 0, 0, 0, 0, 8631 }, 8632 { 8633 NPC_ERRLEV_RE, NPC_EC_NOERR, 8634 0, 0, 0, 3, 0, 8635 NPC_S_KPU5_PTP, 14, 1, 8636 NPC_LID_LA, NPC_LT_LA_ETHER, 8637 0, 8638 0, 0, 0, 0, 8639 }, 8640 { 8641 NPC_ERRLEV_RE, NPC_EC_NOERR, 8642 0, 0, 0, 3, 0, 8643 NPC_S_KPU5_FCOE, 14, 1, 8644 NPC_LID_LA, NPC_LT_LA_ETHER, 8645 0, 8646 0, 0, 0, 0, 8647 }, 8648 { 8649 NPC_ERRLEV_RE, NPC_EC_NOERR, 8650 8, 12, 0, 0, 0, 8651 NPC_S_KPU2_NGIO, 12, 1, 8652 NPC_LID_LA, NPC_LT_LA_ETHER, 8653 0, 8654 0, 0, 0, 0, 8655 }, 8656 { 8657 NPC_ERRLEV_RE, NPC_EC_NOERR, 8658 8, 12, 0, 0, 0, 8659 NPC_S_KPU2_CTAG2, 12, 1, 8660 NPC_LID_LA, NPC_LT_LA_ETHER, 8661 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 8662 0, 0, 0, 0, 8663 }, 8664 { 8665 NPC_ERRLEV_RE, NPC_EC_NOERR, 8666 4, 8, 12, 0, 0, 8667 NPC_S_KPU2_CTAG, 12, 1, 8668 NPC_LID_LA, NPC_LT_LA_ETHER, 8669 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 8670 0, 0, 0, 0, 8671 }, 8672 { 8673 NPC_ERRLEV_RE, NPC_EC_NOERR, 8674 4, 8, 22, 0, 0, 8675 NPC_S_KPU2_SBTAG, 12, 1, 8676 NPC_LID_LA, NPC_LT_LA_ETHER, 8677 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 8678 0, 0, 0, 0, 8679 }, 8680 { 8681 NPC_ERRLEV_RE, NPC_EC_NOERR, 8682 4, 8, 0, 0, 0, 8683 NPC_S_KPU2_QINQ, 12, 1, 8684 NPC_LID_LA, NPC_LT_LA_ETHER, 8685 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 8686 0, 0, 0, 0, 8687 }, 8688 { 8689 NPC_ERRLEV_RE, NPC_EC_NOERR, 8690 8, 12, 26, 0, 0, 8691 NPC_S_KPU2_ETAG, 12, 1, 8692 NPC_LID_LA, NPC_LT_LA_ETHER, 8693 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_ETAG, 8694 0, 0, 0, 0, 8695 }, 8696 { 8697 NPC_ERRLEV_RE, NPC_EC_NOERR, 8698 2, 6, 10, 2, 0, 8699 NPC_S_KPU4_MPLS, 14, 1, 8700 NPC_LID_LA, NPC_LT_LA_ETHER, 8701 NPC_F_LA_L_WITH_MPLS, 8702 0, 0, 0, 0, 8703 }, 8704 { 8705 NPC_ERRLEV_RE, NPC_EC_NOERR, 8706 2, 6, 10, 2, 0, 8707 NPC_S_KPU4_MPLS, 14, 1, 8708 NPC_LID_LA, NPC_LT_LA_ETHER, 8709 NPC_F_LA_L_WITH_MPLS, 8710 0, 0, 0, 0, 8711 }, 8712 { 8713 NPC_ERRLEV_RE, NPC_EC_NOERR, 8714 2, 0, 0, 2, 0, 8715 NPC_S_KPU4_NSH, 14, 1, 8716 NPC_LID_LA, NPC_LT_LA_ETHER, 8717 NPC_F_LA_L_WITH_NSH, 8718 0, 0, 0, 0, 8719 }, 8720 { 8721 NPC_ERRLEV_RE, NPC_EC_NOERR, 8722 8, 12, 0, 1, 0, 8723 NPC_S_KPU3_DSA, 12, 1, 8724 NPC_LID_LA, NPC_LT_LA_ETHER, 8725 0, 8726 0, 0, 0, 0, 8727 }, 8728 { 8729 NPC_ERRLEV_RE, NPC_EC_NOERR, 8730 8, 12, 0, 2, 0, 8731 NPC_S_KPU4_PPPOE, 12, 1, 8732 NPC_LID_LA, NPC_LT_LA_ETHER, 8733 0, 8734 0, 0, 0, 0, 8735 }, 8736 { 8737 NPC_ERRLEV_RE, NPC_EC_NOERR, 8738 0, 0, 0, 0, 1, 8739 NPC_S_NA, 0, 1, 8740 NPC_LID_LA, NPC_LT_LA_8023, 8741 0, 8742 0, 0, 0, 0, 8743 }, 8744 { 8745 NPC_ERRLEV_RE, NPC_EC_NOERR, 8746 0, 0, 0, 0, 1, 8747 NPC_S_NA, 0, 1, 8748 NPC_LID_LA, NPC_LT_LA_8023, 8749 0, 8750 0, 0, 0, 0, 8751 }, 8752 { 8753 NPC_ERRLEV_RE, NPC_EC_NOERR, 8754 0, 0, 0, 0, 1, 8755 NPC_S_NA, 0, 1, 8756 NPC_LID_LA, NPC_LT_LA_ETHER, 8757 NPC_F_LA_L_UNK_ETYPE, 8758 0, 0, 0, 0, 8759 }, 8760 { 8761 NPC_ERRLEV_RE, NPC_EC_NOERR, 8762 8, 0, 6, 3, 0, 8763 NPC_S_KPU5_IP, 22, 1, 8764 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8765 NPC_F_LA_U_HAS_IH_NIX, 8766 0, 0, 0, 0, 8767 }, 8768 { 8769 NPC_ERRLEV_RE, NPC_EC_NOERR, 8770 6, 0, 0, 3, 0, 8771 NPC_S_KPU5_IP6, 22, 1, 8772 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8773 NPC_F_LA_U_HAS_IH_NIX, 8774 0, 0, 0, 0, 8775 }, 8776 { 8777 NPC_ERRLEV_RE, NPC_EC_NOERR, 8778 0, 0, 0, 3, 0, 8779 NPC_S_KPU5_ARP, 22, 1, 8780 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8781 NPC_F_LA_U_HAS_IH_NIX, 8782 0, 0, 0, 0, 8783 }, 8784 { 8785 NPC_ERRLEV_RE, NPC_EC_NOERR, 8786 0, 0, 0, 3, 0, 8787 NPC_S_KPU5_RARP, 22, 1, 8788 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8789 NPC_F_LA_U_HAS_IH_NIX, 8790 0, 0, 0, 0, 8791 }, 8792 { 8793 NPC_ERRLEV_RE, NPC_EC_NOERR, 8794 0, 0, 0, 3, 0, 8795 NPC_S_KPU5_PTP, 22, 1, 8796 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8797 NPC_F_LA_U_HAS_IH_NIX, 8798 0, 0, 0, 0, 8799 }, 8800 { 8801 NPC_ERRLEV_RE, NPC_EC_NOERR, 8802 0, 0, 0, 3, 0, 8803 NPC_S_KPU5_FCOE, 22, 1, 8804 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8805 NPC_F_LA_U_HAS_IH_NIX, 8806 0, 0, 0, 0, 8807 }, 8808 { 8809 NPC_ERRLEV_RE, NPC_EC_NOERR, 8810 8, 12, 0, 0, 0, 8811 NPC_S_KPU2_CTAG2, 20, 1, 8812 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8813 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_TAG 8814 | NPC_F_LA_L_WITH_VLAN, 8815 0, 0, 0, 0, 8816 }, 8817 { 8818 NPC_ERRLEV_RE, NPC_EC_NOERR, 8819 4, 8, 0, 0, 0, 8820 NPC_S_KPU2_CTAG, 20, 1, 8821 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8822 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_TAG 8823 | NPC_F_LA_L_WITH_VLAN, 8824 0, 0, 0, 0, 8825 }, 8826 { 8827 NPC_ERRLEV_RE, NPC_EC_NOERR, 8828 4, 8, 22, 0, 0, 8829 NPC_S_KPU2_SBTAG, 20, 1, 8830 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8831 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_TAG 8832 | NPC_F_LA_L_WITH_VLAN, 8833 0, 0, 0, 0, 8834 }, 8835 { 8836 NPC_ERRLEV_RE, NPC_EC_NOERR, 8837 4, 8, 0, 0, 0, 8838 NPC_S_KPU2_QINQ, 20, 1, 8839 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8840 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_TAG 8841 | NPC_F_LA_L_WITH_VLAN, 8842 0, 0, 0, 0, 8843 }, 8844 { 8845 NPC_ERRLEV_RE, NPC_EC_NOERR, 8846 8, 12, 26, 0, 0, 8847 NPC_S_KPU2_ETAG, 20, 1, 8848 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8849 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_TAG 8850 | NPC_F_LA_L_WITH_ETAG, 8851 0, 0, 0, 0, 8852 }, 8853 { 8854 NPC_ERRLEV_RE, NPC_EC_NOERR, 8855 2, 6, 10, 2, 0, 8856 NPC_S_KPU4_MPLS, 22, 1, 8857 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8858 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_L_WITH_MPLS, 8859 0, 0, 0, 0, 8860 }, 8861 { 8862 NPC_ERRLEV_RE, NPC_EC_NOERR, 8863 2, 6, 10, 2, 0, 8864 NPC_S_KPU4_MPLS, 22, 1, 8865 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8866 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_L_WITH_MPLS, 8867 0, 0, 0, 0, 8868 }, 8869 { 8870 NPC_ERRLEV_RE, NPC_EC_NOERR, 8871 2, 0, 0, 2, 0, 8872 NPC_S_KPU4_NSH, 22, 1, 8873 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8874 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_L_WITH_NSH, 8875 0, 0, 0, 0, 8876 }, 8877 { 8878 NPC_ERRLEV_RE, NPC_EC_NOERR, 8879 0, 0, 0, 0, 1, 8880 NPC_S_NA, 0, 1, 8881 NPC_LID_LA, NPC_LT_LA_IH_NIX_ETHER, 8882 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_L_UNK_ETYPE, 8883 0, 0, 0, 0, 8884 }, 8885 { 8886 NPC_ERRLEV_RE, NPC_EC_NOERR, 8887 12, 14, 16, 0, 0, 8888 NPC_S_KPU2_PREHEADER, 8, 1, 8889 NPC_LID_LA, NPC_LT_LA_IH_8_ETHER, 8890 0, 8891 1, 0xff, 0, 0, 8892 }, 8893 { 8894 NPC_ERRLEV_RE, NPC_EC_NOERR, 8895 12, 14, 16, 0, 0, 8896 NPC_S_KPU2_PREHEADER, 4, 1, 8897 NPC_LID_LA, NPC_LT_LA_IH_4_ETHER, 8898 0, 8899 1, 0xff, 0, 0, 8900 }, 8901 { 8902 NPC_ERRLEV_RE, NPC_EC_NOERR, 8903 12, 14, 16, 0, 0, 8904 NPC_S_KPU2_PREHEADER, 2, 1, 8905 NPC_LID_LA, NPC_LT_LA_IH_2_ETHER, 8906 0, 8907 1, 0xff, 0, 0, 8908 }, 8909 { 8910 NPC_ERRLEV_LA, NPC_EC_IH_LENGTH, 8911 0, 0, 0, 0, 1, 8912 NPC_S_NA, 0, 1, 8913 NPC_LID_LA, NPC_LT_LA_ETHER, 8914 NPC_F_LA_L_UNK_ETYPE, 8915 0, 0, 0, 0, 8916 }, 8917 { 8918 NPC_ERRLEV_RE, NPC_EC_NOERR, 8919 4, 8, 16, 0, 0, 8920 NPC_S_KPU2_EXDSA, 12, 1, 8921 NPC_LID_LA, NPC_LT_LA_ETHER, 8922 0, 8923 0, 0, 0, 0, 8924 }, 8925 { 8926 NPC_ERRLEV_RE, NPC_EC_NOERR, 8927 4, 8, 12, 2, 0, 8928 NPC_S_KPU4_FDSA, 12, 1, 8929 NPC_LID_LA, NPC_LT_LA_ETHER, 8930 0, 8931 0, 0, 0, 0, 8932 }, 8933 { 8934 NPC_ERRLEV_LA, NPC_EC_EDSA_UNK, 8935 0, 0, 0, 0, 1, 8936 NPC_S_NA, 0, 1, 8937 NPC_LID_LA, NPC_LT_LA_ETHER, 8938 0, 8939 0, 0, 0, 0, 8940 }, 8941 { 8942 NPC_ERRLEV_RE, NPC_EC_NOERR, 8943 8, 0, 6, 3, 0, 8944 NPC_S_KPU5_IP, 30, 1, 8945 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8946 NPC_F_LA_U_HAS_HIGIG2, 8947 0, 0, 0, 0, 8948 }, 8949 { 8950 NPC_ERRLEV_RE, NPC_EC_NOERR, 8951 6, 0, 0, 3, 0, 8952 NPC_S_KPU5_IP6, 30, 1, 8953 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8954 NPC_F_LA_U_HAS_HIGIG2, 8955 0, 0, 0, 0, 8956 }, 8957 { 8958 NPC_ERRLEV_RE, NPC_EC_NOERR, 8959 0, 0, 0, 3, 0, 8960 NPC_S_KPU5_ARP, 30, 1, 8961 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8962 NPC_F_LA_U_HAS_HIGIG2, 8963 0, 0, 0, 0, 8964 }, 8965 { 8966 NPC_ERRLEV_RE, NPC_EC_NOERR, 8967 0, 0, 0, 3, 0, 8968 NPC_S_KPU5_RARP, 30, 1, 8969 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8970 NPC_F_LA_U_HAS_HIGIG2, 8971 0, 0, 0, 0, 8972 }, 8973 { 8974 NPC_ERRLEV_RE, NPC_EC_NOERR, 8975 0, 0, 0, 3, 0, 8976 NPC_S_KPU5_PTP, 30, 1, 8977 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8978 NPC_F_LA_U_HAS_HIGIG2, 8979 0, 0, 0, 0, 8980 }, 8981 { 8982 NPC_ERRLEV_RE, NPC_EC_NOERR, 8983 0, 0, 0, 3, 0, 8984 NPC_S_KPU5_FCOE, 30, 1, 8985 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8986 NPC_F_LA_U_HAS_HIGIG2, 8987 0, 0, 0, 0, 8988 }, 8989 { 8990 NPC_ERRLEV_RE, NPC_EC_NOERR, 8991 8, 12, 0, 0, 0, 8992 NPC_S_KPU2_CTAG2, 28, 1, 8993 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 8994 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_U_HAS_TAG 8995 | NPC_F_LA_L_WITH_VLAN, 8996 0, 0, 0, 0, 8997 }, 8998 { 8999 NPC_ERRLEV_RE, NPC_EC_NOERR, 9000 4, 8, 0, 0, 0, 9001 NPC_S_KPU2_CTAG, 28, 1, 9002 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9003 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_U_HAS_TAG 9004 | NPC_F_LA_L_WITH_VLAN, 9005 0, 0, 0, 0, 9006 }, 9007 { 9008 NPC_ERRLEV_RE, NPC_EC_NOERR, 9009 4, 8, 22, 0, 0, 9010 NPC_S_KPU2_SBTAG, 28, 1, 9011 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9012 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_U_HAS_TAG 9013 | NPC_F_LA_L_WITH_VLAN, 9014 0, 0, 0, 0, 9015 }, 9016 { 9017 NPC_ERRLEV_RE, NPC_EC_NOERR, 9018 4, 8, 0, 0, 0, 9019 NPC_S_KPU2_QINQ, 28, 1, 9020 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9021 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_U_HAS_TAG 9022 | NPC_F_LA_L_WITH_VLAN, 9023 0, 0, 0, 0, 9024 }, 9025 { 9026 NPC_ERRLEV_RE, NPC_EC_NOERR, 9027 8, 12, 26, 0, 0, 9028 NPC_S_KPU2_ETAG, 28, 1, 9029 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9030 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_U_HAS_TAG 9031 | NPC_F_LA_L_WITH_ETAG, 9032 0, 0, 0, 0, 9033 }, 9034 { 9035 NPC_ERRLEV_RE, NPC_EC_NOERR, 9036 2, 6, 10, 2, 0, 9037 NPC_S_KPU4_MPLS, 30, 1, 9038 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9039 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_L_WITH_MPLS, 9040 0, 0, 0, 0, 9041 }, 9042 { 9043 NPC_ERRLEV_RE, NPC_EC_NOERR, 9044 2, 6, 10, 2, 0, 9045 NPC_S_KPU4_MPLS, 30, 1, 9046 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9047 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_L_WITH_MPLS, 9048 0, 0, 0, 0, 9049 }, 9050 { 9051 NPC_ERRLEV_RE, NPC_EC_NOERR, 9052 2, 0, 0, 2, 0, 9053 NPC_S_KPU4_NSH, 30, 1, 9054 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9055 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_L_WITH_NSH, 9056 0, 0, 0, 0, 9057 }, 9058 { 9059 NPC_ERRLEV_RE, NPC_EC_NOERR, 9060 0, 0, 0, 0, 1, 9061 NPC_S_NA, 0, 1, 9062 NPC_LID_LA, NPC_LT_LA_HIGIG2_ETHER, 9063 NPC_F_LA_U_HAS_HIGIG2 | NPC_F_LA_L_UNK_ETYPE, 9064 0, 0, 0, 0, 9065 }, 9066 { 9067 NPC_ERRLEV_RE, NPC_EC_NOERR, 9068 8, 0, 6, 3, 0, 9069 NPC_S_KPU5_IP, 38, 1, 9070 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9071 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9072 0, 0, 0, 0, 9073 }, 9074 { 9075 NPC_ERRLEV_RE, NPC_EC_NOERR, 9076 6, 0, 0, 3, 0, 9077 NPC_S_KPU5_IP6, 38, 1, 9078 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9079 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9080 0, 0, 0, 0, 9081 }, 9082 { 9083 NPC_ERRLEV_RE, NPC_EC_NOERR, 9084 0, 0, 0, 3, 0, 9085 NPC_S_KPU5_ARP, 38, 1, 9086 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9087 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9088 0, 0, 0, 0, 9089 }, 9090 { 9091 NPC_ERRLEV_RE, NPC_EC_NOERR, 9092 0, 0, 0, 3, 0, 9093 NPC_S_KPU5_RARP, 38, 1, 9094 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9095 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9096 0, 0, 0, 0, 9097 }, 9098 { 9099 NPC_ERRLEV_RE, NPC_EC_NOERR, 9100 0, 0, 0, 3, 0, 9101 NPC_S_KPU5_PTP, 38, 1, 9102 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9103 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9104 0, 0, 0, 0, 9105 }, 9106 { 9107 NPC_ERRLEV_RE, NPC_EC_NOERR, 9108 0, 0, 0, 3, 0, 9109 NPC_S_KPU5_FCOE, 38, 1, 9110 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9111 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2, 9112 0, 0, 0, 0, 9113 }, 9114 { 9115 NPC_ERRLEV_RE, NPC_EC_NOERR, 9116 8, 12, 0, 0, 0, 9117 NPC_S_KPU2_CTAG2, 36, 1, 9118 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9119 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9120 | NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9121 0, 0, 0, 0, 9122 }, 9123 { 9124 NPC_ERRLEV_RE, NPC_EC_NOERR, 9125 4, 8, 0, 0, 0, 9126 NPC_S_KPU2_CTAG, 36, 1, 9127 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9128 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9129 | NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9130 0, 0, 0, 0, 9131 }, 9132 { 9133 NPC_ERRLEV_RE, NPC_EC_NOERR, 9134 4, 8, 22, 0, 0, 9135 NPC_S_KPU2_SBTAG, 36, 1, 9136 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9137 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9138 | NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9139 0, 0, 0, 0, 9140 }, 9141 { 9142 NPC_ERRLEV_RE, NPC_EC_NOERR, 9143 4, 8, 0, 0, 0, 9144 NPC_S_KPU2_QINQ, 36, 1, 9145 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9146 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9147 | NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9148 0, 0, 0, 0, 9149 }, 9150 { 9151 NPC_ERRLEV_RE, NPC_EC_NOERR, 9152 8, 12, 26, 0, 0, 9153 NPC_S_KPU2_ETAG, 36, 1, 9154 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9155 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9156 | NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_ETAG, 9157 0, 0, 0, 0, 9158 }, 9159 { 9160 NPC_ERRLEV_RE, NPC_EC_NOERR, 9161 2, 6, 10, 2, 0, 9162 NPC_S_KPU4_MPLS, 38, 1, 9163 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9164 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9165 | NPC_F_LA_L_WITH_MPLS, 9166 0, 0, 0, 0, 9167 }, 9168 { 9169 NPC_ERRLEV_RE, NPC_EC_NOERR, 9170 2, 6, 10, 2, 0, 9171 NPC_S_KPU4_MPLS, 38, 1, 9172 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9173 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9174 | NPC_F_LA_L_WITH_MPLS, 9175 0, 0, 0, 0, 9176 }, 9177 { 9178 NPC_ERRLEV_RE, NPC_EC_NOERR, 9179 2, 0, 0, 2, 0, 9180 NPC_S_KPU4_NSH, 38, 1, 9181 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9182 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9183 | NPC_F_LA_L_WITH_NSH, 9184 0, 0, 0, 0, 9185 }, 9186 { 9187 NPC_ERRLEV_RE, NPC_EC_NOERR, 9188 0, 0, 0, 0, 1, 9189 NPC_S_NA, 0, 1, 9190 NPC_LID_LA, NPC_LT_LA_IH_NIX_HIGIG2_ETHER, 9191 NPC_F_LA_U_HAS_IH_NIX | NPC_F_LA_U_HAS_HIGIG2 9192 | NPC_F_LA_L_UNK_ETYPE, 9193 0, 0, 0, 0, 9194 }, 9195 { 9196 NPC_ERRLEV_RE, NPC_EC_NOERR, 9197 8, 0, 6, 3, 0, 9198 NPC_S_KPU5_IP, 104, 1, 9199 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9200 0, 9201 0, 0, 0, 0, 9202 }, 9203 { 9204 NPC_ERRLEV_RE, NPC_EC_NOERR, 9205 6, 0, 0, 3, 0, 9206 NPC_S_KPU5_IP6, 104, 1, 9207 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9208 0, 9209 0, 0, 0, 0, 9210 }, 9211 { 9212 NPC_ERRLEV_RE, NPC_EC_NOERR, 9213 0, 0, 0, 3, 0, 9214 NPC_S_KPU5_ARP, 104, 1, 9215 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9216 0, 9217 0, 0, 0, 0, 9218 }, 9219 { 9220 NPC_ERRLEV_RE, NPC_EC_NOERR, 9221 0, 0, 0, 3, 0, 9222 NPC_S_KPU5_RARP, 104, 1, 9223 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9224 0, 9225 0, 0, 0, 0, 9226 }, 9227 { 9228 NPC_ERRLEV_RE, NPC_EC_NOERR, 9229 0, 0, 0, 3, 0, 9230 NPC_S_KPU5_PTP, 104, 1, 9231 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9232 0, 9233 0, 0, 0, 0, 9234 }, 9235 { 9236 NPC_ERRLEV_RE, NPC_EC_NOERR, 9237 0, 0, 0, 3, 0, 9238 NPC_S_KPU5_FCOE, 104, 1, 9239 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9240 0, 9241 0, 0, 0, 0, 9242 }, 9243 { 9244 NPC_ERRLEV_RE, NPC_EC_NOERR, 9245 8, 12, 0, 0, 0, 9246 NPC_S_KPU2_CTAG2, 102, 1, 9247 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9248 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9249 0, 0, 0, 0, 9250 }, 9251 { 9252 NPC_ERRLEV_RE, NPC_EC_NOERR, 9253 4, 8, 0, 0, 0, 9254 NPC_S_KPU2_CTAG, 102, 1, 9255 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9256 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9257 0, 0, 0, 0, 9258 }, 9259 { 9260 NPC_ERRLEV_RE, NPC_EC_NOERR, 9261 4, 8, 22, 0, 0, 9262 NPC_S_KPU2_SBTAG, 102, 1, 9263 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9264 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9265 0, 0, 0, 0, 9266 }, 9267 { 9268 NPC_ERRLEV_RE, NPC_EC_NOERR, 9269 4, 8, 0, 0, 0, 9270 NPC_S_KPU2_QINQ, 102, 1, 9271 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9272 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9273 0, 0, 0, 0, 9274 }, 9275 { 9276 NPC_ERRLEV_RE, NPC_EC_NOERR, 9277 8, 12, 26, 0, 0, 9278 NPC_S_KPU2_ETAG, 102, 1, 9279 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9280 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_ETAG, 9281 0, 0, 0, 0, 9282 }, 9283 { 9284 NPC_ERRLEV_RE, NPC_EC_NOERR, 9285 2, 6, 10, 2, 0, 9286 NPC_S_KPU4_MPLS, 104, 1, 9287 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9288 NPC_F_LA_L_WITH_MPLS, 9289 0, 0, 0, 0, 9290 }, 9291 { 9292 NPC_ERRLEV_RE, NPC_EC_NOERR, 9293 2, 6, 10, 2, 0, 9294 NPC_S_KPU4_MPLS, 104, 1, 9295 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9296 NPC_F_LA_L_WITH_MPLS, 9297 0, 0, 0, 0, 9298 }, 9299 { 9300 NPC_ERRLEV_RE, NPC_EC_NOERR, 9301 2, 0, 0, 2, 0, 9302 NPC_S_KPU4_NSH, 104, 1, 9303 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9304 NPC_F_LA_L_WITH_NSH, 9305 0, 0, 0, 0, 9306 }, 9307 { 9308 NPC_ERRLEV_RE, NPC_EC_NOERR, 9309 0, 0, 0, 0, 1, 9310 NPC_S_NA, 0, 1, 9311 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_90B_ETHER, 9312 NPC_F_LA_L_UNK_ETYPE, 9313 0, 0, 0, 0, 9314 }, 9315 { 9316 NPC_ERRLEV_RE, NPC_EC_NOERR, 9317 8, 0, 6, 3, 0, 9318 NPC_S_KPU5_CPT_IP, 56, 1, 9319 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9320 0, 9321 0, 0, 0, 0, 9322 }, 9323 { 9324 NPC_ERRLEV_RE, NPC_EC_NOERR, 9325 6, 0, 0, 3, 0, 9326 NPC_S_KPU5_CPT_IP6, 56, 1, 9327 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9328 0, 9329 0, 0, 0, 0, 9330 }, 9331 { 9332 NPC_ERRLEV_RE, NPC_EC_NOERR, 9333 4, 8, 0, 0, 0, 9334 NPC_S_KPU2_CTAG, 54, 1, 9335 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9336 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9337 0, 0, 0, 0, 9338 }, 9339 { 9340 NPC_ERRLEV_RE, NPC_EC_NOERR, 9341 4, 8, 0, 0, 0, 9342 NPC_S_KPU2_QINQ, 54, 1, 9343 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9344 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9345 0, 0, 0, 0, 9346 }, 9347 { 9348 NPC_ERRLEV_RE, NPC_EC_NOERR, 9349 8, 0, 6, 3, 0, 9350 NPC_S_KPU5_CPT_IP, 60, 1, 9351 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9352 0, 9353 0, 0, 0, 0, 9354 }, 9355 { 9356 NPC_ERRLEV_RE, NPC_EC_NOERR, 9357 6, 0, 0, 3, 0, 9358 NPC_S_KPU5_CPT_IP6, 60, 1, 9359 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9360 0, 9361 0, 0, 0, 0, 9362 }, 9363 { 9364 NPC_ERRLEV_RE, NPC_EC_NOERR, 9365 4, 8, 0, 0, 0, 9366 NPC_S_KPU2_CTAG, 58, 1, 9367 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9368 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9369 0, 0, 0, 0, 9370 }, 9371 { 9372 NPC_ERRLEV_RE, NPC_EC_NOERR, 9373 4, 8, 0, 0, 0, 9374 NPC_S_KPU2_QINQ, 58, 1, 9375 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9376 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9377 0, 0, 0, 0, 9378 }, 9379 { 9380 NPC_ERRLEV_RE, NPC_EC_NOERR, 9381 0, 0, 0, 0, 1, 9382 NPC_S_NA, 0, 1, 9383 NPC_LID_LA, NPC_LT_LA_CPT_HDR, 9384 NPC_F_LA_L_UNK_ETYPE, 9385 0, 0, 0, 0, 9386 }, 9387 { 9388 NPC_ERRLEV_RE, NPC_EC_NOERR, 9389 8, 0, 6, 3, 0, 9390 NPC_S_KPU5_IP, 38, 1, 9391 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9392 0, 9393 0, 0, 0, 0, 9394 }, 9395 { 9396 NPC_ERRLEV_RE, NPC_EC_NOERR, 9397 6, 0, 0, 3, 0, 9398 NPC_S_KPU5_IP6, 38, 1, 9399 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9400 0, 9401 0, 0, 0, 0, 9402 }, 9403 { 9404 NPC_ERRLEV_RE, NPC_EC_NOERR, 9405 0, 0, 0, 3, 0, 9406 NPC_S_KPU5_ARP, 38, 1, 9407 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9408 0, 9409 0, 0, 0, 0, 9410 }, 9411 { 9412 NPC_ERRLEV_RE, NPC_EC_NOERR, 9413 0, 0, 0, 3, 0, 9414 NPC_S_KPU5_RARP, 38, 1, 9415 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9416 0, 9417 0, 0, 0, 0, 9418 }, 9419 { 9420 NPC_ERRLEV_RE, NPC_EC_NOERR, 9421 0, 0, 0, 3, 0, 9422 NPC_S_KPU5_PTP, 38, 1, 9423 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9424 0, 9425 0, 0, 0, 0, 9426 }, 9427 { 9428 NPC_ERRLEV_RE, NPC_EC_NOERR, 9429 0, 0, 0, 3, 0, 9430 NPC_S_KPU5_FCOE, 38, 1, 9431 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9432 0, 9433 0, 0, 0, 0, 9434 }, 9435 { 9436 NPC_ERRLEV_RE, NPC_EC_NOERR, 9437 8, 12, 0, 0, 0, 9438 NPC_S_KPU2_CTAG2, 36, 1, 9439 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9440 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9441 0, 0, 0, 0, 9442 }, 9443 { 9444 NPC_ERRLEV_RE, NPC_EC_NOERR, 9445 4, 8, 0, 0, 0, 9446 NPC_S_KPU2_CTAG, 36, 1, 9447 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9448 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9449 0, 0, 0, 0, 9450 }, 9451 { 9452 NPC_ERRLEV_RE, NPC_EC_NOERR, 9453 4, 8, 22, 0, 0, 9454 NPC_S_KPU2_SBTAG, 36, 1, 9455 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9456 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9457 0, 0, 0, 0, 9458 }, 9459 { 9460 NPC_ERRLEV_RE, NPC_EC_NOERR, 9461 4, 8, 0, 0, 0, 9462 NPC_S_KPU2_QINQ, 36, 1, 9463 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9464 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_VLAN, 9465 0, 0, 0, 0, 9466 }, 9467 { 9468 NPC_ERRLEV_RE, NPC_EC_NOERR, 9469 8, 12, 26, 0, 0, 9470 NPC_S_KPU2_ETAG, 36, 1, 9471 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9472 NPC_F_LA_U_HAS_TAG | NPC_F_LA_L_WITH_ETAG, 9473 0, 0, 0, 0, 9474 }, 9475 { 9476 NPC_ERRLEV_RE, NPC_EC_NOERR, 9477 2, 6, 10, 2, 0, 9478 NPC_S_KPU4_MPLS, 38, 1, 9479 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9480 NPC_F_LA_L_WITH_MPLS, 9481 0, 0, 0, 0, 9482 }, 9483 { 9484 NPC_ERRLEV_RE, NPC_EC_NOERR, 9485 2, 6, 10, 2, 0, 9486 NPC_S_KPU4_MPLS, 38, 1, 9487 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9488 NPC_F_LA_L_WITH_MPLS, 9489 0, 0, 0, 0, 9490 }, 9491 { 9492 NPC_ERRLEV_RE, NPC_EC_NOERR, 9493 2, 0, 0, 2, 0, 9494 NPC_S_KPU4_NSH, 38, 1, 9495 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9496 NPC_F_LA_L_WITH_NSH, 9497 0, 0, 0, 0, 9498 }, 9499 { 9500 NPC_ERRLEV_RE, NPC_EC_NOERR, 9501 0, 0, 0, 0, 1, 9502 NPC_S_NA, 0, 1, 9503 NPC_LID_LA, NPC_LT_LA_CUSTOM_L2_24B_ETHER, 9504 NPC_F_LA_L_UNK_ETYPE, 9505 0, 0, 0, 0, 9506 }, 9507 { 9508 NPC_ERRLEV_RE, NPC_EC_NOERR, 9509 12, 0, 0, 1, 0, 9510 NPC_S_KPU3_VLAN_EXDSA, 12, 1, 9511 NPC_LID_LA, NPC_LT_LA_ETHER, 9512 0, 9513 0, 0, 0, 0, 9514 }, 9515 { 9516 NPC_ERRLEV_LA, NPC_EC_L2_K1, 9517 0, 0, 0, 0, 1, 9518 NPC_S_NA, 0, 0, 9519 NPC_LID_LA, NPC_LT_NA, 9520 0, 9521 0, 0, 0, 0, 9522 }, 9523 }; 9524 9525 static struct npc_kpu_profile_action kpu2_action_entries[] = { 9526 NPC_KPU_NOP_ACTION, 9527 NPC_KPU_NOP_ACTION, 9528 { 9529 NPC_ERRLEV_RE, NPC_EC_NOERR, 9530 8, 0, 6, 2, 0, 9531 NPC_S_KPU5_IP, 6, 1, 9532 NPC_LID_LB, NPC_LT_LB_CTAG, 9533 0, 9534 0, 0, 0, 0, 9535 }, 9536 { 9537 NPC_ERRLEV_RE, NPC_EC_NOERR, 9538 6, 0, 0, 2, 0, 9539 NPC_S_KPU5_IP6, 6, 1, 9540 NPC_LID_LB, NPC_LT_LB_CTAG, 9541 0, 9542 0, 0, 0, 0, 9543 }, 9544 { 9545 NPC_ERRLEV_RE, NPC_EC_NOERR, 9546 0, 0, 0, 2, 0, 9547 NPC_S_KPU5_ARP, 6, 1, 9548 NPC_LID_LB, NPC_LT_LB_CTAG, 9549 0, 9550 0, 0, 0, 0, 9551 }, 9552 { 9553 NPC_ERRLEV_RE, NPC_EC_NOERR, 9554 0, 0, 0, 2, 0, 9555 NPC_S_KPU5_RARP, 6, 1, 9556 NPC_LID_LB, NPC_LT_LB_CTAG, 9557 0, 9558 0, 0, 0, 0, 9559 }, 9560 { 9561 NPC_ERRLEV_RE, NPC_EC_NOERR, 9562 0, 0, 0, 2, 0, 9563 NPC_S_KPU5_PTP, 6, 1, 9564 NPC_LID_LB, NPC_LT_LB_CTAG, 9565 0, 9566 0, 0, 0, 0, 9567 }, 9568 { 9569 NPC_ERRLEV_RE, NPC_EC_NOERR, 9570 0, 0, 0, 2, 0, 9571 NPC_S_KPU5_FCOE, 6, 1, 9572 NPC_LID_LB, NPC_LT_LB_CTAG, 9573 0, 9574 0, 0, 0, 0, 9575 }, 9576 { 9577 NPC_ERRLEV_RE, NPC_EC_NOERR, 9578 2, 6, 10, 1, 0, 9579 NPC_S_KPU4_MPLS, 6, 1, 9580 NPC_LID_LB, NPC_LT_LB_CTAG, 9581 0, 9582 0, 0, 0, 0, 9583 }, 9584 { 9585 NPC_ERRLEV_RE, NPC_EC_NOERR, 9586 2, 6, 10, 1, 0, 9587 NPC_S_KPU4_MPLS, 6, 1, 9588 NPC_LID_LB, NPC_LT_LB_CTAG, 9589 0, 9590 0, 0, 0, 0, 9591 }, 9592 { 9593 NPC_ERRLEV_RE, NPC_EC_NOERR, 9594 2, 0, 0, 1, 0, 9595 NPC_S_KPU4_NSH, 6, 1, 9596 NPC_LID_LB, NPC_LT_LB_CTAG, 9597 0, 9598 0, 0, 0, 0, 9599 }, 9600 { 9601 NPC_ERRLEV_RE, NPC_EC_NOERR, 9602 8, 0, 6, 2, 0, 9603 NPC_S_KPU5_IP, 14, 1, 9604 NPC_LID_LB, NPC_LT_LB_PPPOE, 9605 0, 9606 0, 0, 0, 0, 9607 }, 9608 { 9609 NPC_ERRLEV_RE, NPC_EC_NOERR, 9610 6, 0, 0, 2, 0, 9611 NPC_S_KPU5_IP6, 14, 1, 9612 NPC_LID_LB, NPC_LT_LB_PPPOE, 9613 0, 9614 0, 0, 0, 0, 9615 }, 9616 { 9617 NPC_ERRLEV_RE, NPC_EC_NOERR, 9618 0, 0, 0, 0, 1, 9619 NPC_S_NA, 0, 1, 9620 NPC_LID_LB, NPC_LT_LB_CTAG, 9621 NPC_F_LB_U_UNK_ETYPE, 9622 0, 0, 0, 0, 9623 }, 9624 { 9625 NPC_ERRLEV_RE, NPC_EC_NOERR, 9626 8, 0, 6, 2, 0, 9627 NPC_S_KPU5_IP, 10, 1, 9628 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9629 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9630 0, 0, 0, 0, 9631 }, 9632 { 9633 NPC_ERRLEV_RE, NPC_EC_NOERR, 9634 6, 0, 0, 2, 0, 9635 NPC_S_KPU5_IP6, 10, 1, 9636 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9637 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9638 0, 0, 0, 0, 9639 }, 9640 { 9641 NPC_ERRLEV_RE, NPC_EC_NOERR, 9642 0, 0, 0, 2, 0, 9643 NPC_S_KPU5_ARP, 10, 1, 9644 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9645 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9646 0, 0, 0, 0, 9647 }, 9648 { 9649 NPC_ERRLEV_RE, NPC_EC_NOERR, 9650 0, 0, 0, 2, 0, 9651 NPC_S_KPU5_RARP, 10, 1, 9652 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9653 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9654 0, 0, 0, 0, 9655 }, 9656 { 9657 NPC_ERRLEV_RE, NPC_EC_NOERR, 9658 0, 0, 0, 2, 0, 9659 NPC_S_KPU5_PTP, 10, 1, 9660 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9661 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9662 0, 0, 0, 0, 9663 }, 9664 { 9665 NPC_ERRLEV_RE, NPC_EC_NOERR, 9666 0, 0, 0, 2, 0, 9667 NPC_S_KPU5_FCOE, 10, 1, 9668 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9669 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9670 0, 0, 0, 0, 9671 }, 9672 { 9673 NPC_ERRLEV_RE, NPC_EC_NOERR, 9674 2, 6, 10, 1, 0, 9675 NPC_S_KPU4_MPLS, 10, 1, 9676 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9677 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9678 0, 0, 0, 0, 9679 }, 9680 { 9681 NPC_ERRLEV_RE, NPC_EC_NOERR, 9682 2, 6, 10, 1, 0, 9683 NPC_S_KPU4_MPLS, 10, 1, 9684 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9685 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9686 0, 0, 0, 0, 9687 }, 9688 { 9689 NPC_ERRLEV_RE, NPC_EC_NOERR, 9690 2, 0, 0, 1, 0, 9691 NPC_S_KPU4_NSH, 10, 1, 9692 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9693 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9694 0, 0, 0, 0, 9695 }, 9696 { 9697 NPC_ERRLEV_RE, NPC_EC_NOERR, 9698 0, 0, 0, 0, 1, 9699 NPC_S_NA, 0, 1, 9700 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9701 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG_UNK, 9702 0, 0, 0, 0, 9703 }, 9704 { 9705 NPC_ERRLEV_RE, NPC_EC_NOERR, 9706 2, 6, 0, 0, 0, 9707 NPC_S_KPU3_CTAG, 10, 1, 9708 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9709 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_STAG_CTAG, 9710 0, 0, 0, 0, 9711 }, 9712 { 9713 NPC_ERRLEV_RE, NPC_EC_NOERR, 9714 2, 6, 0, 0, 0, 9715 NPC_S_KPU3_STAG, 10, 1, 9716 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9717 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_STAG_STAG, 9718 0, 0, 0, 0, 9719 }, 9720 { 9721 NPC_ERRLEV_RE, NPC_EC_NOERR, 9722 8, 0, 6, 2, 0, 9723 NPC_S_KPU5_IP, 24, 1, 9724 NPC_LID_LB, NPC_LT_LB_BTAG, 9725 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9726 0, 0, 0, 0, 9727 }, 9728 { 9729 NPC_ERRLEV_RE, NPC_EC_NOERR, 9730 6, 0, 0, 2, 0, 9731 NPC_S_KPU5_IP6, 24, 1, 9732 NPC_LID_LB, NPC_LT_LB_BTAG, 9733 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9734 0, 0, 0, 0, 9735 }, 9736 { 9737 NPC_ERRLEV_RE, NPC_EC_NOERR, 9738 0, 0, 0, 2, 0, 9739 NPC_S_KPU5_ARP, 24, 1, 9740 NPC_LID_LB, NPC_LT_LB_BTAG, 9741 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9742 0, 0, 0, 0, 9743 }, 9744 { 9745 NPC_ERRLEV_RE, NPC_EC_NOERR, 9746 0, 0, 0, 2, 0, 9747 NPC_S_KPU5_RARP, 24, 1, 9748 NPC_LID_LB, NPC_LT_LB_BTAG, 9749 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9750 0, 0, 0, 0, 9751 }, 9752 { 9753 NPC_ERRLEV_RE, NPC_EC_NOERR, 9754 0, 0, 0, 2, 0, 9755 NPC_S_KPU5_PTP, 24, 1, 9756 NPC_LID_LB, NPC_LT_LB_BTAG, 9757 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9758 0, 0, 0, 0, 9759 }, 9760 { 9761 NPC_ERRLEV_RE, NPC_EC_NOERR, 9762 0, 0, 0, 2, 0, 9763 NPC_S_KPU5_FCOE, 24, 1, 9764 NPC_LID_LB, NPC_LT_LB_BTAG, 9765 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9766 0, 0, 0, 0, 9767 }, 9768 { 9769 NPC_ERRLEV_RE, NPC_EC_NOERR, 9770 2, 6, 10, 1, 0, 9771 NPC_S_KPU4_MPLS, 24, 1, 9772 NPC_LID_LB, NPC_LT_LB_BTAG, 9773 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9774 0, 0, 0, 0, 9775 }, 9776 { 9777 NPC_ERRLEV_RE, NPC_EC_NOERR, 9778 2, 6, 10, 1, 0, 9779 NPC_S_KPU4_MPLS, 24, 1, 9780 NPC_LID_LB, NPC_LT_LB_BTAG, 9781 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9782 0, 0, 0, 0, 9783 }, 9784 { 9785 NPC_ERRLEV_RE, NPC_EC_NOERR, 9786 2, 0, 0, 1, 0, 9787 NPC_S_KPU4_NSH, 24, 1, 9788 NPC_LID_LB, NPC_LT_LB_BTAG, 9789 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 9790 0, 0, 0, 0, 9791 }, 9792 { 9793 NPC_ERRLEV_RE, NPC_EC_NOERR, 9794 2, 0, 0, 0, 0, 9795 NPC_S_KPU3_STAG, 24, 1, 9796 NPC_LID_LB, NPC_LT_LB_BTAG, 9797 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_STAG, 9798 0, 0, 0, 0, 9799 }, 9800 { 9801 NPC_ERRLEV_RE, NPC_EC_NOERR, 9802 2, 0, 0, 0, 0, 9803 NPC_S_KPU3_CTAG, 24, 1, 9804 NPC_LID_LB, NPC_LT_LB_BTAG, 9805 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_CTAG, 9806 0, 0, 0, 0, 9807 }, 9808 { 9809 NPC_ERRLEV_RE, NPC_EC_NOERR, 9810 0, 0, 0, 0, 1, 9811 NPC_S_NA, 0, 1, 9812 NPC_LID_LB, NPC_LT_LB_BTAG, 9813 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_UNK, 9814 0, 0, 0, 0, 9815 }, 9816 { 9817 NPC_ERRLEV_RE, NPC_EC_NOERR, 9818 0, 0, 0, 0, 1, 9819 NPC_S_NA, 0, 1, 9820 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9821 NPC_F_LB_U_UNK_ETYPE, 9822 0, 0, 0, 0, 9823 }, 9824 { 9825 NPC_ERRLEV_RE, NPC_EC_NOERR, 9826 8, 0, 6, 2, 0, 9827 NPC_S_KPU5_IP, 10, 1, 9828 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9829 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9830 0, 0, 0, 0, 9831 }, 9832 { 9833 NPC_ERRLEV_RE, NPC_EC_NOERR, 9834 6, 0, 0, 2, 0, 9835 NPC_S_KPU5_IP6, 10, 1, 9836 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9837 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9838 0, 0, 0, 0, 9839 }, 9840 { 9841 NPC_ERRLEV_RE, NPC_EC_NOERR, 9842 0, 0, 0, 2, 0, 9843 NPC_S_KPU5_ARP, 10, 1, 9844 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9845 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9846 0, 0, 0, 0, 9847 }, 9848 { 9849 NPC_ERRLEV_RE, NPC_EC_NOERR, 9850 0, 0, 0, 2, 0, 9851 NPC_S_KPU5_RARP, 10, 1, 9852 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9853 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9854 0, 0, 0, 0, 9855 }, 9856 { 9857 NPC_ERRLEV_RE, NPC_EC_NOERR, 9858 0, 0, 0, 2, 0, 9859 NPC_S_KPU5_PTP, 10, 1, 9860 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9861 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9862 0, 0, 0, 0, 9863 }, 9864 { 9865 NPC_ERRLEV_RE, NPC_EC_NOERR, 9866 0, 0, 0, 2, 0, 9867 NPC_S_KPU5_FCOE, 10, 1, 9868 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9869 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9870 0, 0, 0, 0, 9871 }, 9872 { 9873 NPC_ERRLEV_RE, NPC_EC_NOERR, 9874 2, 6, 10, 1, 0, 9875 NPC_S_KPU4_MPLS, 10, 1, 9876 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9877 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9878 0, 0, 0, 0, 9879 }, 9880 { 9881 NPC_ERRLEV_RE, NPC_EC_NOERR, 9882 2, 6, 10, 1, 0, 9883 NPC_S_KPU4_MPLS, 10, 1, 9884 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9885 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9886 0, 0, 0, 0, 9887 }, 9888 { 9889 NPC_ERRLEV_RE, NPC_EC_NOERR, 9890 2, 0, 0, 1, 0, 9891 NPC_S_KPU4_NSH, 10, 1, 9892 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9893 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 9894 0, 0, 0, 0, 9895 }, 9896 { 9897 NPC_ERRLEV_RE, NPC_EC_NOERR, 9898 0, 0, 0, 0, 1, 9899 NPC_S_NA, 0, 1, 9900 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9901 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG_UNK, 9902 0, 0, 0, 0, 9903 }, 9904 { 9905 NPC_ERRLEV_RE, NPC_EC_NOERR, 9906 2, 6, 0, 0, 0, 9907 NPC_S_KPU3_CTAG, 10, 1, 9908 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9909 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_QINQ_CTAG, 9910 0, 0, 0, 0, 9911 }, 9912 { 9913 NPC_ERRLEV_RE, NPC_EC_NOERR, 9914 2, 6, 0, 0, 0, 9915 NPC_S_KPU3_QINQ, 10, 1, 9916 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9917 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_QINQ_QINQ, 9918 0, 0, 0, 0, 9919 }, 9920 { 9921 NPC_ERRLEV_RE, NPC_EC_NOERR, 9922 0, 0, 0, 0, 1, 9923 NPC_S_NA, 0, 1, 9924 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 9925 NPC_F_LB_U_UNK_ETYPE, 9926 0, 0, 0, 0, 9927 }, 9928 { 9929 NPC_ERRLEV_RE, NPC_EC_NOERR, 9930 8, 0, 6, 2, 0, 9931 NPC_S_KPU5_IP, 10, 1, 9932 NPC_LID_LB, NPC_LT_LB_ETAG, 9933 0, 9934 0, 0, 0, 0, 9935 }, 9936 { 9937 NPC_ERRLEV_RE, NPC_EC_NOERR, 9938 6, 0, 0, 2, 0, 9939 NPC_S_KPU5_IP6, 10, 1, 9940 NPC_LID_LB, NPC_LT_LB_ETAG, 9941 0, 9942 0, 0, 0, 0, 9943 }, 9944 { 9945 NPC_ERRLEV_RE, NPC_EC_NOERR, 9946 0, 0, 0, 2, 0, 9947 NPC_S_KPU5_ARP, 10, 1, 9948 NPC_LID_LB, NPC_LT_LB_ETAG, 9949 0, 9950 0, 0, 0, 0, 9951 }, 9952 { 9953 NPC_ERRLEV_RE, NPC_EC_NOERR, 9954 0, 0, 0, 2, 0, 9955 NPC_S_KPU5_RARP, 10, 1, 9956 NPC_LID_LB, NPC_LT_LB_ETAG, 9957 0, 9958 0, 0, 0, 0, 9959 }, 9960 { 9961 NPC_ERRLEV_RE, NPC_EC_NOERR, 9962 0, 0, 0, 2, 0, 9963 NPC_S_KPU5_PTP, 10, 1, 9964 NPC_LID_LB, NPC_LT_LB_ETAG, 9965 0, 9966 0, 0, 0, 0, 9967 }, 9968 { 9969 NPC_ERRLEV_RE, NPC_EC_NOERR, 9970 0, 0, 0, 2, 0, 9971 NPC_S_KPU5_FCOE, 10, 1, 9972 NPC_LID_LB, NPC_LT_LB_ETAG, 9973 0, 9974 0, 0, 0, 0, 9975 }, 9976 { 9977 NPC_ERRLEV_RE, NPC_EC_NOERR, 9978 2, 6, 10, 1, 0, 9979 NPC_S_KPU4_MPLS, 10, 1, 9980 NPC_LID_LB, NPC_LT_LB_ETAG, 9981 1, 9982 0, 0, 0, 0, 9983 }, 9984 { 9985 NPC_ERRLEV_RE, NPC_EC_NOERR, 9986 2, 6, 10, 1, 0, 9987 NPC_S_KPU4_MPLS, 10, 1, 9988 NPC_LID_LB, NPC_LT_LB_ETAG, 9989 2, 9990 0, 0, 0, 0, 9991 }, 9992 { 9993 NPC_ERRLEV_RE, NPC_EC_NOERR, 9994 2, 6, 10, 1, 0, 9995 NPC_S_KPU4_NSH, 10, 1, 9996 NPC_LID_LB, NPC_LT_LB_ETAG, 9997 2, 9998 0, 0, 0, 0, 9999 }, 10000 { 10001 NPC_ERRLEV_RE, NPC_EC_NOERR, 10002 2, 0, 0, 0, 0, 10003 NPC_S_KPU3_CTAG, 10, 1, 10004 NPC_LID_LB, NPC_LT_LB_ETAG, 10005 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_CTAG, 10006 0, 0, 0, 0, 10007 }, 10008 { 10009 NPC_ERRLEV_RE, NPC_EC_NOERR, 10010 2, 6, 0, 0, 0, 10011 NPC_S_KPU3_STAG, 10, 1, 10012 NPC_LID_LB, NPC_LT_LB_ETAG, 10013 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_STAG, 10014 0, 0, 0, 0, 10015 }, 10016 { 10017 NPC_ERRLEV_RE, NPC_EC_NOERR, 10018 2, 6, 0, 0, 0, 10019 NPC_S_KPU3_QINQ, 10, 1, 10020 NPC_LID_LB, NPC_LT_LB_ETAG, 10021 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_QINQ, 10022 0, 0, 0, 0, 10023 }, 10024 { 10025 NPC_ERRLEV_RE, NPC_EC_NOERR, 10026 8, 0, 6, 2, 0, 10027 NPC_S_KPU5_IP, 28, 1, 10028 NPC_LID_LB, NPC_LT_LB_ETAG, 10029 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 10030 0, 0, 0, 0, 10031 }, 10032 { 10033 NPC_ERRLEV_RE, NPC_EC_NOERR, 10034 6, 0, 0, 2, 0, 10035 NPC_S_KPU5_IP6, 28, 1, 10036 NPC_LID_LB, NPC_LT_LB_ETAG, 10037 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 10038 0, 0, 0, 0, 10039 }, 10040 { 10041 NPC_ERRLEV_RE, NPC_EC_NOERR, 10042 0, 0, 0, 2, 0, 10043 NPC_S_KPU5_ARP, 28, 1, 10044 NPC_LID_LB, NPC_LT_LB_ETAG, 10045 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG, 10046 0, 0, 0, 0, 10047 }, 10048 { 10049 NPC_ERRLEV_RE, NPC_EC_NOERR, 10050 2, 0, 0, 0, 0, 10051 NPC_S_KPU3_STAG, 28, 1, 10052 NPC_LID_LB, NPC_LT_LB_ETAG, 10053 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_STAG, 10054 0, 0, 0, 0, 10055 }, 10056 { 10057 NPC_ERRLEV_RE, NPC_EC_NOERR, 10058 2, 0, 0, 0, 0, 10059 NPC_S_KPU3_CTAG, 28, 1, 10060 NPC_LID_LB, NPC_LT_LB_ETAG, 10061 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_CTAG, 10062 0, 0, 0, 0, 10063 }, 10064 { 10065 NPC_ERRLEV_RE, NPC_EC_NOERR, 10066 0, 0, 0, 0, 1, 10067 NPC_S_NA, 0, 1, 10068 NPC_LID_LB, NPC_LT_LB_ETAG, 10069 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_ITAG_UNK, 10070 0, 0, 0, 0, 10071 }, 10072 { 10073 NPC_ERRLEV_RE, NPC_EC_NOERR, 10074 0, 0, 0, 0, 1, 10075 NPC_S_NA, 0, 1, 10076 NPC_LID_LB, NPC_LT_LB_ETAG, 10077 NPC_F_LB_U_UNK_ETYPE, 10078 0, 0, 0, 0, 10079 }, 10080 { 10081 NPC_ERRLEV_RE, NPC_EC_NOERR, 10082 8, 0, 6, 2, 0, 10083 NPC_S_KPU5_IP, 10, 1, 10084 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10085 0, 10086 0, 0, 0, 0, 10087 }, 10088 { 10089 NPC_ERRLEV_RE, NPC_EC_NOERR, 10090 6, 0, 0, 2, 0, 10091 NPC_S_KPU5_IP6, 10, 1, 10092 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10093 0, 10094 0, 0, 0, 0, 10095 }, 10096 { 10097 NPC_ERRLEV_RE, NPC_EC_NOERR, 10098 0, 0, 0, 2, 0, 10099 NPC_S_KPU5_ARP, 10, 1, 10100 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10101 0, 10102 0, 0, 0, 0, 10103 }, 10104 { 10105 NPC_ERRLEV_RE, NPC_EC_NOERR, 10106 0, 0, 0, 2, 0, 10107 NPC_S_KPU5_RARP, 10, 1, 10108 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10109 0, 10110 0, 0, 0, 0, 10111 }, 10112 { 10113 NPC_ERRLEV_RE, NPC_EC_NOERR, 10114 0, 0, 0, 2, 0, 10115 NPC_S_KPU5_PTP, 10, 1, 10116 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10117 0, 10118 0, 0, 0, 0, 10119 }, 10120 { 10121 NPC_ERRLEV_RE, NPC_EC_NOERR, 10122 0, 0, 0, 2, 0, 10123 NPC_S_KPU5_FCOE, 10, 1, 10124 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10125 0, 10126 0, 0, 0, 0, 10127 }, 10128 { 10129 NPC_ERRLEV_RE, NPC_EC_NOERR, 10130 2, 6, 10, 1, 0, 10131 NPC_S_KPU4_MPLS, 10, 1, 10132 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10133 0, 10134 0, 0, 0, 0, 10135 }, 10136 { 10137 NPC_ERRLEV_RE, NPC_EC_NOERR, 10138 2, 6, 10, 1, 0, 10139 NPC_S_KPU4_MPLS, 10, 1, 10140 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10141 0, 10142 0, 0, 0, 0, 10143 }, 10144 { 10145 NPC_ERRLEV_RE, NPC_EC_NOERR, 10146 2, 0, 0, 1, 0, 10147 NPC_S_KPU4_NSH, 10, 1, 10148 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10149 0, 10150 0, 0, 0, 0, 10151 }, 10152 { 10153 NPC_ERRLEV_RE, NPC_EC_NOERR, 10154 2, 6, 0, 0, 0, 10155 NPC_S_KPU3_QINQ, 10, 1, 10156 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10157 NPC_F_LB_U_MORE_TAG | NPC_F_LB_L_WITH_QINQ_QINQ, 10158 0, 0, 0, 0, 10159 }, 10160 { 10161 NPC_ERRLEV_RE, NPC_EC_NOERR, 10162 0, 0, 0, 0, 1, 10163 NPC_S_NA, 0, 1, 10164 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10165 NPC_F_LB_U_UNK_ETYPE, 10166 0, 0, 0, 0, 10167 }, 10168 { 10169 NPC_ERRLEV_RE, NPC_EC_NOERR, 10170 8, 0, 6, 2, 0, 10171 NPC_S_KPU5_IP, 14, 0, 10172 NPC_LID_LB, NPC_LT_NA, 10173 0, 10174 0, 0, 0, 0, 10175 }, 10176 { 10177 NPC_ERRLEV_RE, NPC_EC_NOERR, 10178 6, 0, 0, 2, 0, 10179 NPC_S_KPU5_IP6, 14, 0, 10180 NPC_LID_LB, NPC_LT_NA, 10181 0, 10182 0, 0, 0, 0, 10183 }, 10184 { 10185 NPC_ERRLEV_RE, NPC_EC_NOERR, 10186 0, 0, 0, 2, 0, 10187 NPC_S_KPU5_ARP, 14, 0, 10188 NPC_LID_LB, NPC_LT_NA, 10189 0, 10190 0, 0, 0, 0, 10191 }, 10192 { 10193 NPC_ERRLEV_RE, NPC_EC_NOERR, 10194 0, 0, 0, 2, 0, 10195 NPC_S_KPU5_RARP, 14, 0, 10196 NPC_LID_LB, NPC_LT_NA, 10197 0, 10198 0, 0, 0, 0, 10199 }, 10200 { 10201 NPC_ERRLEV_RE, NPC_EC_NOERR, 10202 0, 0, 0, 2, 0, 10203 NPC_S_KPU5_PTP, 14, 0, 10204 NPC_LID_LB, NPC_LT_NA, 10205 0, 10206 0, 0, 0, 0, 10207 }, 10208 { 10209 NPC_ERRLEV_RE, NPC_EC_NOERR, 10210 0, 0, 0, 2, 0, 10211 NPC_S_KPU5_FCOE, 14, 0, 10212 NPC_LID_LB, NPC_LT_NA, 10213 0, 10214 0, 0, 0, 0, 10215 }, 10216 { 10217 NPC_ERRLEV_RE, NPC_EC_NOERR, 10218 2, 6, 0, 0, 0, 10219 NPC_S_KPU3_CTAG_C, 14, 0, 10220 NPC_LID_LB, NPC_LT_NA, 10221 0, 10222 0, 0, 0, 0, 10223 }, 10224 { 10225 NPC_ERRLEV_RE, NPC_EC_NOERR, 10226 2, 6, 20, 0, 0, 10227 NPC_S_KPU3_STAG_C, 14, 0, 10228 NPC_LID_LB, NPC_LT_NA, 10229 0, 10230 0, 0, 0, 0, 10231 }, 10232 { 10233 NPC_ERRLEV_RE, NPC_EC_NOERR, 10234 2, 6, 0, 0, 0, 10235 NPC_S_KPU3_QINQ_C, 14, 0, 10236 NPC_LID_LB, NPC_LT_NA, 10237 0, 10238 0, 0, 0, 0, 10239 }, 10240 { 10241 NPC_ERRLEV_RE, NPC_EC_NOERR, 10242 2, 6, 10, 1, 0, 10243 NPC_S_KPU4_MPLS, 14, 0, 10244 NPC_LID_LB, NPC_LT_NA, 10245 0, 10246 0, 0, 0, 0, 10247 }, 10248 { 10249 NPC_ERRLEV_RE, NPC_EC_NOERR, 10250 2, 6, 10, 1, 0, 10251 NPC_S_KPU4_MPLS, 14, 0, 10252 NPC_LID_LB, NPC_LT_NA, 10253 0, 10254 0, 0, 0, 0, 10255 }, 10256 { 10257 NPC_ERRLEV_RE, NPC_EC_NOERR, 10258 2, 0, 0, 1, 0, 10259 NPC_S_KPU4_NSH, 14, 0, 10260 NPC_LID_LB, NPC_LT_NA, 10261 0, 10262 0, 0, 0, 0, 10263 }, 10264 { 10265 NPC_ERRLEV_RE, NPC_EC_NOERR, 10266 8, 0, 6, 2, 0, 10267 NPC_S_KPU5_IP, 18, 1, 10268 NPC_LID_LB, NPC_LT_LB_EDSA, 10269 NPC_F_LB_L_EDSA, 10270 0, 0, 0, 0, 10271 }, 10272 { 10273 NPC_ERRLEV_RE, NPC_EC_NOERR, 10274 6, 0, 0, 2, 0, 10275 NPC_S_KPU5_IP6, 18, 1, 10276 NPC_LID_LB, NPC_LT_LB_EDSA, 10277 NPC_F_LB_L_EDSA, 10278 0, 0, 0, 0, 10279 }, 10280 { 10281 NPC_ERRLEV_RE, NPC_EC_NOERR, 10282 0, 0, 0, 2, 0, 10283 NPC_S_KPU5_ARP, 18, 1, 10284 NPC_LID_LB, NPC_LT_LB_EDSA, 10285 NPC_F_LB_L_EDSA, 10286 0, 0, 0, 0, 10287 }, 10288 { 10289 NPC_ERRLEV_RE, NPC_EC_NOERR, 10290 8, 0, 6, 2, 0, 10291 NPC_S_KPU5_RARP, 18, 1, 10292 NPC_LID_LB, NPC_LT_LB_EDSA, 10293 NPC_F_LB_L_EDSA, 10294 0, 0, 0, 0, 10295 }, 10296 { 10297 NPC_ERRLEV_RE, NPC_EC_NOERR, 10298 6, 0, 0, 2, 0, 10299 NPC_S_KPU5_PTP, 18, 1, 10300 NPC_LID_LB, NPC_LT_LB_EDSA, 10301 NPC_F_LB_L_EDSA, 10302 0, 0, 0, 0, 10303 }, 10304 { 10305 NPC_ERRLEV_RE, NPC_EC_NOERR, 10306 0, 0, 0, 2, 0, 10307 NPC_S_KPU5_FCOE, 18, 1, 10308 NPC_LID_LB, NPC_LT_LB_EDSA, 10309 NPC_F_LB_L_EDSA, 10310 0, 0, 0, 0, 10311 }, 10312 { 10313 NPC_ERRLEV_RE, NPC_EC_NOERR, 10314 4, 8, 0, 0, 0, 10315 NPC_S_KPU3_CTAG, 16, 1, 10316 NPC_LID_LB, NPC_LT_LB_EDSA_VLAN, 10317 NPC_F_LB_L_EDSA_VLAN, 10318 0, 0, 0, 0, 10319 }, 10320 { 10321 NPC_ERRLEV_RE, NPC_EC_NOERR, 10322 0, 0, 0, 0, 1, 10323 NPC_S_NA, 0, 1, 10324 NPC_LID_LB, NPC_LT_LB_EDSA, 10325 NPC_F_LB_U_UNK_ETYPE | NPC_F_LB_L_EDSA, 10326 0, 0, 0, 0, 10327 }, 10328 { 10329 NPC_ERRLEV_RE, NPC_EC_NOERR, 10330 8, 0, 6, 2, 0, 10331 NPC_S_KPU5_IP, 10, 1, 10332 NPC_LID_LB, NPC_LT_LB_EXDSA, 10333 NPC_F_LB_L_EXDSA, 10334 0, 0, 0, 0, 10335 }, 10336 { 10337 NPC_ERRLEV_RE, NPC_EC_NOERR, 10338 6, 0, 0, 2, 0, 10339 NPC_S_KPU5_IP6, 10, 1, 10340 NPC_LID_LB, NPC_LT_LB_EXDSA, 10341 NPC_F_LB_L_EXDSA, 10342 0, 0, 0, 0, 10343 }, 10344 { 10345 NPC_ERRLEV_RE, NPC_EC_NOERR, 10346 0, 0, 0, 2, 0, 10347 NPC_S_KPU5_ARP, 10, 1, 10348 NPC_LID_LB, NPC_LT_LB_EXDSA, 10349 NPC_F_LB_L_EXDSA, 10350 0, 0, 0, 0, 10351 }, 10352 { 10353 NPC_ERRLEV_RE, NPC_EC_NOERR, 10354 8, 0, 6, 2, 0, 10355 NPC_S_KPU5_RARP, 10, 1, 10356 NPC_LID_LB, NPC_LT_LB_EXDSA, 10357 NPC_F_LB_L_EXDSA, 10358 0, 0, 0, 0, 10359 }, 10360 { 10361 NPC_ERRLEV_RE, NPC_EC_NOERR, 10362 6, 0, 0, 2, 0, 10363 NPC_S_KPU5_PTP, 10, 1, 10364 NPC_LID_LB, NPC_LT_LB_EXDSA, 10365 NPC_F_LB_L_EXDSA, 10366 0, 0, 0, 0, 10367 }, 10368 { 10369 NPC_ERRLEV_RE, NPC_EC_NOERR, 10370 0, 0, 0, 2, 0, 10371 NPC_S_KPU5_FCOE, 10, 1, 10372 NPC_LID_LB, NPC_LT_LB_EXDSA, 10373 NPC_F_LB_L_EXDSA, 10374 0, 0, 0, 0, 10375 }, 10376 { 10377 NPC_ERRLEV_RE, NPC_EC_NOERR, 10378 4, 8, 0, 0, 0, 10379 NPC_S_KPU3_CTAG, 8, 1, 10380 NPC_LID_LB, NPC_LT_LB_EXDSA_VLAN, 10381 NPC_F_LB_L_EXDSA_VLAN, 10382 0, 0, 0, 0, 10383 }, 10384 { 10385 NPC_ERRLEV_RE, NPC_EC_NOERR, 10386 0, 0, 0, 0, 1, 10387 NPC_S_NA, 0, 1, 10388 NPC_LID_LB, NPC_LT_LB_EXDSA, 10389 NPC_F_LB_U_UNK_ETYPE | NPC_F_LB_L_EXDSA, 10390 0, 0, 0, 0, 10391 }, 10392 { 10393 NPC_ERRLEV_RE, NPC_EC_NOERR, 10394 0, 0, 0, 0, 1, 10395 NPC_S_NA, 0, 1, 10396 NPC_LID_LC, NPC_LT_LC_NGIO, 10397 0, 10398 0, 0, 0, 0, 10399 }, 10400 { 10401 NPC_ERRLEV_LB, NPC_EC_L2_K3, 10402 0, 0, 0, 0, 1, 10403 NPC_S_NA, 0, 0, 10404 NPC_LID_LB, NPC_LT_NA, 10405 0, 10406 0, 0, 0, 0, 10407 }, 10408 }; 10409 10410 static struct npc_kpu_profile_action kpu3_action_entries[] = { 10411 NPC_KPU_NOP_ACTION, 10412 NPC_KPU_NOP_ACTION, 10413 { 10414 NPC_ERRLEV_RE, NPC_EC_NOERR, 10415 8, 0, 6, 1, 0, 10416 NPC_S_KPU5_IP, 6, 0, 10417 NPC_LID_LB, NPC_LT_NA, 10418 0, 10419 0, 0, 0, 0, 10420 }, 10421 { 10422 NPC_ERRLEV_RE, NPC_EC_NOERR, 10423 6, 0, 0, 1, 0, 10424 NPC_S_KPU5_IP6, 6, 0, 10425 NPC_LID_LB, NPC_LT_NA, 10426 0, 10427 0, 0, 0, 0, 10428 }, 10429 { 10430 NPC_ERRLEV_RE, NPC_EC_NOERR, 10431 0, 0, 0, 1, 0, 10432 NPC_S_KPU5_ARP, 6, 0, 10433 NPC_LID_LB, NPC_LT_NA, 10434 0, 10435 0, 0, 0, 0, 10436 }, 10437 { 10438 NPC_ERRLEV_RE, NPC_EC_NOERR, 10439 0, 0, 0, 1, 0, 10440 NPC_S_KPU5_RARP, 6, 0, 10441 NPC_LID_LB, NPC_LT_NA, 10442 0, 10443 0, 0, 0, 0, 10444 }, 10445 { 10446 NPC_ERRLEV_RE, NPC_EC_NOERR, 10447 0, 0, 0, 1, 0, 10448 NPC_S_KPU5_PTP, 6, 0, 10449 NPC_LID_LB, NPC_LT_NA, 10450 0, 10451 0, 0, 0, 0, 10452 }, 10453 { 10454 NPC_ERRLEV_RE, NPC_EC_NOERR, 10455 0, 0, 0, 1, 0, 10456 NPC_S_KPU5_FCOE, 6, 0, 10457 NPC_LID_LB, NPC_LT_NA, 10458 0, 10459 0, 0, 0, 0, 10460 }, 10461 { 10462 NPC_ERRLEV_RE, NPC_EC_NOERR, 10463 2, 6, 10, 0, 0, 10464 NPC_S_KPU4_MPLS, 6, 0, 10465 NPC_LID_LB, NPC_LT_NA, 10466 0, 10467 0, 0, 0, 0, 10468 }, 10469 { 10470 NPC_ERRLEV_RE, NPC_EC_NOERR, 10471 2, 6, 10, 0, 0, 10472 NPC_S_KPU4_MPLS, 6, 0, 10473 NPC_LID_LB, NPC_LT_NA, 10474 0, 10475 0, 0, 0, 0, 10476 }, 10477 { 10478 NPC_ERRLEV_RE, NPC_EC_NOERR, 10479 2, 0, 0, 0, 0, 10480 NPC_S_KPU4_NSH, 6, 0, 10481 NPC_LID_LB, NPC_LT_NA, 10482 0, 10483 0, 0, 0, 0, 10484 }, 10485 { 10486 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 10487 0, 0, 0, 0, 1, 10488 NPC_S_NA, 0, 0, 10489 NPC_LID_LB, NPC_LT_NA, 10490 0, 10491 0, 0, 0, 0, 10492 }, 10493 { 10494 NPC_ERRLEV_RE, NPC_EC_NOERR, 10495 8, 0, 6, 1, 0, 10496 NPC_S_KPU5_IP, 8, 0, 10497 NPC_LID_LB, NPC_LT_NA, 10498 0, 10499 0, 0, 0, 0, 10500 }, 10501 { 10502 NPC_ERRLEV_RE, NPC_EC_NOERR, 10503 6, 0, 0, 1, 0, 10504 NPC_S_KPU5_IP6, 8, 0, 10505 NPC_LID_LB, NPC_LT_NA, 10506 0, 10507 0, 0, 0, 0, 10508 }, 10509 { 10510 NPC_ERRLEV_RE, NPC_EC_NOERR, 10511 0, 0, 0, 1, 0, 10512 NPC_S_KPU5_ARP, 8, 0, 10513 NPC_LID_LB, NPC_LT_NA, 10514 0, 10515 0, 0, 0, 0, 10516 }, 10517 { 10518 NPC_ERRLEV_RE, NPC_EC_NOERR, 10519 0, 0, 0, 1, 0, 10520 NPC_S_KPU5_RARP, 8, 0, 10521 NPC_LID_LB, NPC_LT_NA, 10522 0, 10523 0, 0, 0, 0, 10524 }, 10525 { 10526 NPC_ERRLEV_RE, NPC_EC_NOERR, 10527 0, 0, 0, 1, 0, 10528 NPC_S_KPU5_PTP, 8, 0, 10529 NPC_LID_LB, NPC_LT_NA, 10530 0, 10531 0, 0, 0, 0, 10532 }, 10533 { 10534 NPC_ERRLEV_RE, NPC_EC_NOERR, 10535 0, 0, 0, 1, 0, 10536 NPC_S_KPU5_FCOE, 8, 0, 10537 NPC_LID_LB, NPC_LT_NA, 10538 0, 10539 0, 0, 0, 0, 10540 }, 10541 { 10542 NPC_ERRLEV_RE, NPC_EC_NOERR, 10543 2, 6, 10, 0, 0, 10544 NPC_S_KPU4_MPLS, 8, 0, 10545 NPC_LID_LB, NPC_LT_NA, 10546 0, 10547 0, 0, 0, 0, 10548 }, 10549 { 10550 NPC_ERRLEV_RE, NPC_EC_NOERR, 10551 2, 6, 10, 0, 0, 10552 NPC_S_KPU4_MPLS, 8, 0, 10553 NPC_LID_LB, NPC_LT_NA, 10554 0, 10555 0, 0, 0, 0, 10556 }, 10557 { 10558 NPC_ERRLEV_RE, NPC_EC_NOERR, 10559 2, 0, 0, 0, 0, 10560 NPC_S_KPU4_NSH, 8, 0, 10561 NPC_LID_LB, NPC_LT_NA, 10562 0, 10563 0, 0, 0, 0, 10564 }, 10565 { 10566 NPC_ERRLEV_RE, NPC_EC_NOERR, 10567 8, 0, 6, 1, 0, 10568 NPC_S_KPU5_IP, 4, 0, 10569 NPC_LID_LB, NPC_LT_NA, 10570 0, 10571 0, 0, 0, 0, 10572 }, 10573 { 10574 NPC_ERRLEV_RE, NPC_EC_NOERR, 10575 6, 0, 0, 1, 0, 10576 NPC_S_KPU5_IP6, 4, 0, 10577 NPC_LID_LB, NPC_LT_NA, 10578 0, 10579 0, 0, 0, 0, 10580 }, 10581 { 10582 NPC_ERRLEV_RE, NPC_EC_NOERR, 10583 0, 0, 0, 1, 0, 10584 NPC_S_KPU5_ARP, 4, 0, 10585 NPC_LID_LB, NPC_LT_NA, 10586 0, 10587 0, 0, 0, 0, 10588 }, 10589 { 10590 NPC_ERRLEV_RE, NPC_EC_NOERR, 10591 0, 0, 0, 1, 0, 10592 NPC_S_KPU5_RARP, 4, 0, 10593 NPC_LID_LB, NPC_LT_NA, 10594 0, 10595 0, 0, 0, 0, 10596 }, 10597 { 10598 NPC_ERRLEV_RE, NPC_EC_NOERR, 10599 2, 6, 10, 0, 0, 10600 NPC_S_KPU4_MPLS, 4, 0, 10601 NPC_LID_LB, NPC_LT_NA, 10602 0, 10603 0, 0, 0, 0, 10604 }, 10605 { 10606 NPC_ERRLEV_RE, NPC_EC_NOERR, 10607 2, 6, 10, 0, 0, 10608 NPC_S_KPU4_MPLS, 4, 0, 10609 NPC_LID_LB, NPC_LT_NA, 10610 0, 10611 0, 0, 0, 0, 10612 }, 10613 { 10614 NPC_ERRLEV_RE, NPC_EC_NOERR, 10615 2, 0, 0, 0, 0, 10616 NPC_S_KPU4_NSH, 4, 0, 10617 NPC_LID_LB, NPC_LT_NA, 10618 0, 10619 0, 0, 0, 0, 10620 }, 10621 { 10622 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 10623 0, 0, 0, 0, 1, 10624 NPC_S_NA, 0, 0, 10625 NPC_LID_LB, NPC_LT_NA, 10626 0, 10627 0, 0, 0, 0, 10628 }, 10629 { 10630 NPC_ERRLEV_RE, NPC_EC_NOERR, 10631 8, 0, 6, 1, 0, 10632 NPC_S_KPU5_IP, 8, 0, 10633 NPC_LID_LB, NPC_LT_NA, 10634 0, 10635 0, 0, 0, 0, 10636 }, 10637 { 10638 NPC_ERRLEV_RE, NPC_EC_NOERR, 10639 6, 0, 0, 1, 0, 10640 NPC_S_KPU5_IP6, 8, 0, 10641 NPC_LID_LB, NPC_LT_NA, 10642 0, 10643 0, 0, 0, 0, 10644 }, 10645 { 10646 NPC_ERRLEV_RE, NPC_EC_NOERR, 10647 0, 0, 0, 1, 0, 10648 NPC_S_KPU5_ARP, 8, 0, 10649 NPC_LID_LB, NPC_LT_NA, 10650 0, 10651 0, 0, 0, 0, 10652 }, 10653 { 10654 NPC_ERRLEV_RE, NPC_EC_NOERR, 10655 0, 0, 0, 1, 0, 10656 NPC_S_KPU5_RARP, 8, 0, 10657 NPC_LID_LB, NPC_LT_NA, 10658 0, 10659 0, 0, 0, 0, 10660 }, 10661 { 10662 NPC_ERRLEV_RE, NPC_EC_NOERR, 10663 0, 0, 0, 1, 0, 10664 NPC_S_KPU5_PTP, 8, 0, 10665 NPC_LID_LB, NPC_LT_NA, 10666 0, 10667 0, 0, 0, 0, 10668 }, 10669 { 10670 NPC_ERRLEV_RE, NPC_EC_NOERR, 10671 0, 0, 0, 1, 0, 10672 NPC_S_KPU5_FCOE, 8, 0, 10673 NPC_LID_LB, NPC_LT_NA, 10674 0, 10675 0, 0, 0, 0, 10676 }, 10677 { 10678 NPC_ERRLEV_RE, NPC_EC_NOERR, 10679 2, 6, 10, 0, 0, 10680 NPC_S_KPU4_MPLS, 8, 0, 10681 NPC_LID_LB, NPC_LT_NA, 10682 0, 10683 0, 0, 0, 0, 10684 }, 10685 { 10686 NPC_ERRLEV_RE, NPC_EC_NOERR, 10687 2, 6, 10, 0, 0, 10688 NPC_S_KPU4_MPLS, 8, 0, 10689 NPC_LID_LB, NPC_LT_NA, 10690 0, 10691 0, 0, 0, 0, 10692 }, 10693 { 10694 NPC_ERRLEV_RE, NPC_EC_NOERR, 10695 2, 0, 0, 0, 0, 10696 NPC_S_KPU4_NSH, 8, 0, 10697 NPC_LID_LB, NPC_LT_NA, 10698 0, 10699 0, 0, 0, 0, 10700 }, 10701 { 10702 NPC_ERRLEV_RE, NPC_EC_NOERR, 10703 8, 0, 6, 1, 0, 10704 NPC_S_KPU5_IP, 4, 0, 10705 NPC_LID_LB, NPC_LT_NA, 10706 0, 10707 0, 0, 0, 0, 10708 }, 10709 { 10710 NPC_ERRLEV_RE, NPC_EC_NOERR, 10711 6, 0, 0, 1, 0, 10712 NPC_S_KPU5_IP6, 4, 0, 10713 NPC_LID_LB, NPC_LT_NA, 10714 0, 10715 0, 0, 0, 0, 10716 }, 10717 { 10718 NPC_ERRLEV_RE, NPC_EC_NOERR, 10719 0, 0, 0, 1, 0, 10720 NPC_S_KPU5_ARP, 4, 0, 10721 NPC_LID_LB, NPC_LT_NA, 10722 0, 10723 0, 0, 0, 0, 10724 }, 10725 { 10726 NPC_ERRLEV_RE, NPC_EC_NOERR, 10727 0, 0, 0, 1, 0, 10728 NPC_S_KPU5_RARP, 4, 0, 10729 NPC_LID_LB, NPC_LT_NA, 10730 0, 10731 0, 0, 0, 0, 10732 }, 10733 { 10734 NPC_ERRLEV_RE, NPC_EC_NOERR, 10735 0, 0, 0, 1, 0, 10736 NPC_S_KPU5_PTP, 4, 0, 10737 NPC_LID_LB, NPC_LT_NA, 10738 0, 10739 0, 0, 0, 0, 10740 }, 10741 { 10742 NPC_ERRLEV_RE, NPC_EC_NOERR, 10743 0, 0, 0, 1, 0, 10744 NPC_S_KPU5_FCOE, 4, 0, 10745 NPC_LID_LB, NPC_LT_NA, 10746 0, 10747 0, 0, 0, 0, 10748 }, 10749 { 10750 NPC_ERRLEV_RE, NPC_EC_NOERR, 10751 2, 6, 10, 0, 0, 10752 NPC_S_KPU4_MPLS, 4, 0, 10753 NPC_LID_LB, NPC_LT_NA, 10754 0, 10755 0, 0, 0, 0, 10756 }, 10757 { 10758 NPC_ERRLEV_RE, NPC_EC_NOERR, 10759 2, 6, 10, 0, 0, 10760 NPC_S_KPU4_MPLS, 4, 0, 10761 NPC_LID_LB, NPC_LT_NA, 10762 0, 10763 0, 0, 0, 0, 10764 }, 10765 { 10766 NPC_ERRLEV_RE, NPC_EC_NOERR, 10767 2, 0, 0, 0, 0, 10768 NPC_S_KPU4_NSH, 4, 0, 10769 NPC_LID_LB, NPC_LT_NA, 10770 0, 10771 0, 0, 0, 0, 10772 }, 10773 { 10774 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 10775 0, 0, 0, 0, 1, 10776 NPC_S_NA, 0, 0, 10777 NPC_LID_LB, NPC_LT_NA, 10778 0, 10779 0, 0, 0, 0, 10780 }, 10781 { 10782 NPC_ERRLEV_RE, NPC_EC_NOERR, 10783 8, 0, 6, 1, 0, 10784 NPC_S_KPU5_IP, 4, 1, 10785 NPC_LID_LB, NPC_LT_LB_CTAG, 10786 0, 10787 0, 0, 0, 0, 10788 }, 10789 { 10790 NPC_ERRLEV_RE, NPC_EC_NOERR, 10791 6, 0, 0, 1, 0, 10792 NPC_S_KPU5_IP6, 4, 1, 10793 NPC_LID_LB, NPC_LT_LB_CTAG, 10794 0, 10795 0, 0, 0, 0, 10796 }, 10797 { 10798 NPC_ERRLEV_RE, NPC_EC_NOERR, 10799 0, 0, 0, 1, 0, 10800 NPC_S_KPU5_ARP, 4, 1, 10801 NPC_LID_LB, NPC_LT_LB_CTAG, 10802 0, 10803 0, 0, 0, 0, 10804 }, 10805 { 10806 NPC_ERRLEV_RE, NPC_EC_NOERR, 10807 0, 0, 0, 1, 0, 10808 NPC_S_KPU5_RARP, 4, 1, 10809 NPC_LID_LB, NPC_LT_LB_CTAG, 10810 0, 10811 0, 0, 0, 0, 10812 }, 10813 { 10814 NPC_ERRLEV_RE, NPC_EC_NOERR, 10815 0, 0, 0, 1, 0, 10816 NPC_S_KPU5_PTP, 4, 1, 10817 NPC_LID_LB, NPC_LT_LB_CTAG, 10818 0, 10819 0, 0, 0, 0, 10820 }, 10821 { 10822 NPC_ERRLEV_RE, NPC_EC_NOERR, 10823 0, 0, 0, 1, 0, 10824 NPC_S_KPU5_FCOE, 4, 1, 10825 NPC_LID_LB, NPC_LT_LB_CTAG, 10826 0, 10827 0, 0, 0, 0, 10828 }, 10829 { 10830 NPC_ERRLEV_RE, NPC_EC_NOERR, 10831 2, 6, 10, 0, 0, 10832 NPC_S_KPU4_MPLS, 4, 1, 10833 NPC_LID_LB, NPC_LT_LB_CTAG, 10834 0, 10835 0, 0, 0, 0, 10836 }, 10837 { 10838 NPC_ERRLEV_RE, NPC_EC_NOERR, 10839 2, 6, 10, 0, 0, 10840 NPC_S_KPU4_MPLS, 4, 1, 10841 NPC_LID_LB, NPC_LT_LB_CTAG, 10842 0, 10843 0, 0, 0, 0, 10844 }, 10845 { 10846 NPC_ERRLEV_RE, NPC_EC_NOERR, 10847 2, 0, 0, 0, 0, 10848 NPC_S_KPU4_NSH, 4, 1, 10849 NPC_LID_LB, NPC_LT_LB_CTAG, 10850 0, 10851 0, 0, 0, 0, 10852 }, 10853 { 10854 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 10855 0, 0, 0, 0, 1, 10856 NPC_S_NA, 0, 1, 10857 NPC_LID_LB, NPC_LT_LB_CTAG, 10858 0, 10859 0, 0, 0, 0, 10860 }, 10861 { 10862 NPC_ERRLEV_RE, NPC_EC_NOERR, 10863 8, 0, 6, 1, 0, 10864 NPC_S_KPU5_IP, 8, 1, 10865 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10866 0, 10867 0, 0, 0, 0, 10868 }, 10869 { 10870 NPC_ERRLEV_RE, NPC_EC_NOERR, 10871 6, 0, 0, 1, 0, 10872 NPC_S_KPU5_IP6, 8, 1, 10873 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10874 0, 10875 0, 0, 0, 0, 10876 }, 10877 { 10878 NPC_ERRLEV_RE, NPC_EC_NOERR, 10879 0, 0, 0, 1, 0, 10880 NPC_S_KPU5_ARP, 8, 1, 10881 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10882 0, 10883 0, 0, 0, 0, 10884 }, 10885 { 10886 NPC_ERRLEV_RE, NPC_EC_NOERR, 10887 0, 0, 0, 1, 0, 10888 NPC_S_KPU5_RARP, 8, 1, 10889 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10890 0, 10891 0, 0, 0, 0, 10892 }, 10893 { 10894 NPC_ERRLEV_RE, NPC_EC_NOERR, 10895 0, 0, 0, 1, 0, 10896 NPC_S_KPU5_PTP, 8, 1, 10897 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10898 0, 10899 0, 0, 0, 0, 10900 }, 10901 { 10902 NPC_ERRLEV_RE, NPC_EC_NOERR, 10903 0, 0, 0, 1, 0, 10904 NPC_S_KPU5_FCOE, 8, 1, 10905 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10906 0, 10907 0, 0, 0, 0, 10908 }, 10909 { 10910 NPC_ERRLEV_RE, NPC_EC_NOERR, 10911 2, 6, 10, 0, 0, 10912 NPC_S_KPU4_MPLS, 8, 1, 10913 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10914 0, 10915 0, 0, 0, 0, 10916 }, 10917 { 10918 NPC_ERRLEV_RE, NPC_EC_NOERR, 10919 2, 6, 10, 0, 0, 10920 NPC_S_KPU4_MPLS, 8, 1, 10921 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10922 0, 10923 0, 0, 0, 0, 10924 }, 10925 { 10926 NPC_ERRLEV_RE, NPC_EC_NOERR, 10927 2, 0, 0, 0, 0, 10928 NPC_S_KPU4_NSH, 8, 1, 10929 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10930 0, 10931 0, 0, 0, 0, 10932 }, 10933 { 10934 NPC_ERRLEV_RE, NPC_EC_NOERR, 10935 8, 0, 6, 1, 0, 10936 NPC_S_KPU5_IP, 4, 1, 10937 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10938 0, 10939 0, 0, 0, 0, 10940 }, 10941 { 10942 NPC_ERRLEV_RE, NPC_EC_NOERR, 10943 6, 0, 0, 1, 0, 10944 NPC_S_KPU5_IP6, 4, 1, 10945 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10946 0, 10947 0, 0, 0, 0, 10948 }, 10949 { 10950 NPC_ERRLEV_RE, NPC_EC_NOERR, 10951 0, 0, 0, 1, 0, 10952 NPC_S_KPU5_ARP, 4, 1, 10953 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10954 0, 10955 0, 0, 0, 0, 10956 }, 10957 { 10958 NPC_ERRLEV_RE, NPC_EC_NOERR, 10959 0, 0, 0, 1, 0, 10960 NPC_S_KPU5_RARP, 4, 1, 10961 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10962 0, 10963 0, 0, 0, 0, 10964 }, 10965 { 10966 NPC_ERRLEV_RE, NPC_EC_NOERR, 10967 2, 6, 10, 0, 0, 10968 NPC_S_KPU4_MPLS, 4, 1, 10969 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10970 0, 10971 0, 0, 0, 0, 10972 }, 10973 { 10974 NPC_ERRLEV_RE, NPC_EC_NOERR, 10975 2, 6, 10, 0, 0, 10976 NPC_S_KPU4_MPLS, 4, 1, 10977 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10978 0, 10979 0, 0, 0, 0, 10980 }, 10981 { 10982 NPC_ERRLEV_RE, NPC_EC_NOERR, 10983 2, 0, 0, 0, 0, 10984 NPC_S_KPU4_NSH, 4, 1, 10985 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10986 0, 10987 0, 0, 0, 0, 10988 }, 10989 { 10990 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 10991 0, 0, 0, 0, 1, 10992 NPC_S_NA, 0, 1, 10993 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 10994 0, 10995 0, 0, 0, 0, 10996 }, 10997 { 10998 NPC_ERRLEV_RE, NPC_EC_NOERR, 10999 8, 0, 6, 1, 0, 11000 NPC_S_KPU5_IP, 8, 1, 11001 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11002 0, 11003 0, 0, 0, 0, 11004 }, 11005 { 11006 NPC_ERRLEV_RE, NPC_EC_NOERR, 11007 6, 0, 0, 1, 0, 11008 NPC_S_KPU5_IP6, 8, 1, 11009 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11010 0, 11011 0, 0, 0, 0, 11012 }, 11013 { 11014 NPC_ERRLEV_RE, NPC_EC_NOERR, 11015 0, 0, 0, 1, 0, 11016 NPC_S_KPU5_ARP, 8, 1, 11017 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11018 0, 11019 0, 0, 0, 0, 11020 }, 11021 { 11022 NPC_ERRLEV_RE, NPC_EC_NOERR, 11023 0, 0, 0, 1, 0, 11024 NPC_S_KPU5_RARP, 8, 1, 11025 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11026 0, 11027 0, 0, 0, 0, 11028 }, 11029 { 11030 NPC_ERRLEV_RE, NPC_EC_NOERR, 11031 0, 0, 0, 1, 0, 11032 NPC_S_KPU5_PTP, 8, 1, 11033 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11034 0, 11035 0, 0, 0, 0, 11036 }, 11037 { 11038 NPC_ERRLEV_RE, NPC_EC_NOERR, 11039 0, 0, 0, 1, 0, 11040 NPC_S_KPU5_FCOE, 8, 1, 11041 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11042 0, 11043 0, 0, 0, 0, 11044 }, 11045 { 11046 NPC_ERRLEV_RE, NPC_EC_NOERR, 11047 2, 6, 10, 0, 0, 11048 NPC_S_KPU4_MPLS, 8, 1, 11049 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11050 0, 11051 0, 0, 0, 0, 11052 }, 11053 { 11054 NPC_ERRLEV_RE, NPC_EC_NOERR, 11055 2, 6, 10, 0, 0, 11056 NPC_S_KPU4_MPLS, 8, 1, 11057 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11058 0, 11059 0, 0, 0, 0, 11060 }, 11061 { 11062 NPC_ERRLEV_RE, NPC_EC_NOERR, 11063 2, 0, 0, 0, 0, 11064 NPC_S_KPU4_NSH, 8, 1, 11065 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11066 0, 11067 0, 0, 0, 0, 11068 }, 11069 { 11070 NPC_ERRLEV_RE, NPC_EC_NOERR, 11071 8, 0, 6, 1, 0, 11072 NPC_S_KPU5_IP, 4, 1, 11073 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11074 0, 11075 0, 0, 0, 0, 11076 }, 11077 { 11078 NPC_ERRLEV_RE, NPC_EC_NOERR, 11079 6, 0, 0, 1, 0, 11080 NPC_S_KPU5_IP6, 4, 1, 11081 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11082 0, 11083 0, 0, 0, 0, 11084 }, 11085 { 11086 NPC_ERRLEV_RE, NPC_EC_NOERR, 11087 0, 0, 0, 1, 0, 11088 NPC_S_KPU5_ARP, 4, 1, 11089 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11090 0, 11091 0, 0, 0, 0, 11092 }, 11093 { 11094 NPC_ERRLEV_RE, NPC_EC_NOERR, 11095 0, 0, 0, 1, 0, 11096 NPC_S_KPU5_RARP, 4, 1, 11097 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11098 0, 11099 0, 0, 0, 0, 11100 }, 11101 { 11102 NPC_ERRLEV_RE, NPC_EC_NOERR, 11103 0, 0, 0, 1, 0, 11104 NPC_S_KPU5_PTP, 4, 1, 11105 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11106 0, 11107 0, 0, 0, 0, 11108 }, 11109 { 11110 NPC_ERRLEV_RE, NPC_EC_NOERR, 11111 0, 0, 0, 1, 0, 11112 NPC_S_KPU5_FCOE, 4, 1, 11113 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11114 0, 11115 0, 0, 0, 0, 11116 }, 11117 { 11118 NPC_ERRLEV_RE, NPC_EC_NOERR, 11119 2, 6, 10, 0, 0, 11120 NPC_S_KPU4_MPLS, 4, 1, 11121 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11122 0, 11123 0, 0, 0, 0, 11124 }, 11125 { 11126 NPC_ERRLEV_RE, NPC_EC_NOERR, 11127 2, 6, 10, 0, 0, 11128 NPC_S_KPU4_MPLS, 4, 1, 11129 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11130 0, 11131 0, 0, 0, 0, 11132 }, 11133 { 11134 NPC_ERRLEV_RE, NPC_EC_NOERR, 11135 2, 0, 0, 0, 0, 11136 NPC_S_KPU4_NSH, 4, 1, 11137 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11138 0, 11139 0, 0, 0, 0, 11140 }, 11141 { 11142 NPC_ERRLEV_LB, NPC_EC_L2_K3_ETYPE_UNK, 11143 0, 0, 0, 0, 1, 11144 NPC_S_NA, 0, 1, 11145 NPC_LID_LB, NPC_LT_LB_STAG_QINQ, 11146 0, 11147 0, 0, 0, 0, 11148 }, 11149 { 11150 NPC_ERRLEV_RE, NPC_EC_NOERR, 11151 8, 0, 6, 1, 0, 11152 NPC_S_KPU5_IP, 10, 1, 11153 NPC_LID_LB, NPC_LT_LB_DSA, 11154 NPC_F_LB_L_DSA, 11155 0, 0, 0, 0, 11156 }, 11157 { 11158 NPC_ERRLEV_RE, NPC_EC_NOERR, 11159 6, 0, 0, 1, 0, 11160 NPC_S_KPU5_IP6, 10, 1, 11161 NPC_LID_LB, NPC_LT_LB_DSA, 11162 NPC_F_LB_L_DSA, 11163 0, 0, 0, 0, 11164 }, 11165 { 11166 NPC_ERRLEV_RE, NPC_EC_NOERR, 11167 0, 0, 0, 1, 0, 11168 NPC_S_KPU5_ARP, 10, 1, 11169 NPC_LID_LB, NPC_LT_LB_DSA, 11170 NPC_F_LB_L_DSA, 11171 0, 0, 0, 0, 11172 }, 11173 { 11174 NPC_ERRLEV_RE, NPC_EC_NOERR, 11175 0, 0, 0, 1, 0, 11176 NPC_S_KPU5_RARP, 10, 1, 11177 NPC_LID_LB, NPC_LT_LB_DSA, 11178 NPC_F_LB_L_DSA, 11179 0, 0, 0, 0, 11180 }, 11181 { 11182 NPC_ERRLEV_RE, NPC_EC_NOERR, 11183 0, 0, 0, 1, 0, 11184 NPC_S_KPU5_PTP, 10, 1, 11185 NPC_LID_LB, NPC_LT_LB_DSA, 11186 NPC_F_LB_L_DSA, 11187 0, 0, 0, 0, 11188 }, 11189 { 11190 NPC_ERRLEV_RE, NPC_EC_NOERR, 11191 0, 0, 0, 1, 0, 11192 NPC_S_KPU5_FCOE, 10, 1, 11193 NPC_LID_LB, NPC_LT_LB_DSA, 11194 NPC_F_LB_L_DSA, 11195 0, 0, 0, 0, 11196 }, 11197 { 11198 NPC_ERRLEV_RE, NPC_EC_NOERR, 11199 8, 0, 6, 1, 0, 11200 NPC_S_KPU5_IP, 14, 1, 11201 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11202 NPC_F_LB_L_DSA_VLAN, 11203 0, 0, 0, 0, 11204 }, 11205 { 11206 NPC_ERRLEV_RE, NPC_EC_NOERR, 11207 6, 0, 0, 1, 0, 11208 NPC_S_KPU5_IP6, 14, 1, 11209 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11210 NPC_F_LB_L_DSA_VLAN, 11211 0, 0, 0, 0, 11212 }, 11213 { 11214 NPC_ERRLEV_RE, NPC_EC_NOERR, 11215 0, 0, 0, 1, 0, 11216 NPC_S_KPU5_ARP, 14, 1, 11217 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11218 NPC_F_LB_L_DSA_VLAN, 11219 0, 0, 0, 0, 11220 }, 11221 { 11222 NPC_ERRLEV_RE, NPC_EC_NOERR, 11223 0, 0, 0, 1, 0, 11224 NPC_S_KPU5_RARP, 14, 1, 11225 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11226 NPC_F_LB_L_DSA_VLAN, 11227 0, 0, 0, 0, 11228 }, 11229 { 11230 NPC_ERRLEV_RE, NPC_EC_NOERR, 11231 0, 0, 0, 1, 0, 11232 NPC_S_KPU5_PTP, 14, 1, 11233 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11234 NPC_F_LB_L_DSA_VLAN, 11235 0, 0, 0, 0, 11236 }, 11237 { 11238 NPC_ERRLEV_RE, NPC_EC_NOERR, 11239 0, 0, 0, 1, 0, 11240 NPC_S_KPU5_FCOE, 14, 1, 11241 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11242 NPC_F_LB_L_DSA_VLAN, 11243 0, 0, 0, 0, 11244 }, 11245 { 11246 NPC_ERRLEV_RE, NPC_EC_NOERR, 11247 0, 0, 0, 0, 1, 11248 NPC_S_NA, 0, 1, 11249 NPC_LID_LB, NPC_LT_LB_DSA_VLAN, 11250 NPC_F_LB_U_UNK_ETYPE | NPC_F_LB_L_DSA, 11251 0, 0, 0, 0, 11252 }, 11253 { 11254 NPC_ERRLEV_RE, NPC_EC_NOERR, 11255 0, 0, 0, 0, 1, 11256 NPC_S_NA, 0, 1, 11257 NPC_LID_LB, NPC_LT_LB_DSA, 11258 NPC_F_LB_U_UNK_ETYPE | NPC_F_LB_L_DSA_VLAN, 11259 0, 0, 0, 0, 11260 }, 11261 { 11262 NPC_ERRLEV_RE, NPC_EC_NOERR, 11263 0, 0, 0, 0, 0, 11264 NPC_S_KPU4_VLAN_EXDSA, 12, 1, 11265 NPC_LID_LB, NPC_LT_LB_VLAN_EXDSA, 11266 0, 11267 0, 0, 0, 0, 11268 }, 11269 { 11270 NPC_ERRLEV_LB, NPC_EC_L2_K3, 11271 0, 0, 0, 0, 1, 11272 NPC_S_NA, 0, 0, 11273 NPC_LID_LB, NPC_LT_NA, 11274 0, 11275 0, 0, 0, 0, 11276 }, 11277 }; 11278 11279 static struct npc_kpu_profile_action kpu4_action_entries[] = { 11280 NPC_KPU_NOP_ACTION, 11281 NPC_KPU_NOP_ACTION, 11282 { 11283 NPC_ERRLEV_RE, NPC_EC_NOERR, 11284 0, 0, 0, 0, 0, 11285 NPC_S_KPU5_MPLS_PL, 4, 1, 11286 NPC_LID_LC, NPC_LT_LC_MPLS, 11287 0, 11288 0, 0, 0, 0, 11289 }, 11290 { 11291 NPC_ERRLEV_RE, NPC_EC_NOERR, 11292 0, 0, 0, 0, 0, 11293 NPC_S_KPU5_MPLS_PL, 8, 1, 11294 NPC_LID_LC, NPC_LT_LC_MPLS, 11295 NPC_F_LC_L_MPLS_2_LABELS, 11296 0, 0, 0, 0, 11297 }, 11298 { 11299 NPC_ERRLEV_RE, NPC_EC_NOERR, 11300 0, 0, 0, 0, 0, 11301 NPC_S_KPU5_MPLS_PL, 12, 1, 11302 NPC_LID_LC, NPC_LT_LC_MPLS, 11303 NPC_F_LC_L_MPLS_3_LABELS, 11304 0, 0, 0, 0, 11305 }, 11306 { 11307 NPC_ERRLEV_RE, NPC_EC_NOERR, 11308 2, 4, 0, 0, 0, 11309 NPC_S_KPU5_MPLS, 12, 1, 11310 NPC_LID_LC, NPC_LT_LC_MPLS, 11311 NPC_F_LC_L_MPLS_4_LABELS, 11312 0, 0, 0, 0, 11313 }, 11314 { 11315 NPC_ERRLEV_RE, NPC_EC_NOERR, 11316 8, 0, 6, 7, 0, 11317 NPC_S_KPU12_TU_IP, 0, 1, 11318 NPC_LID_LC, NPC_LT_LC_NSH, 11319 0, 11320 1, 0x3f, 0, 2, 11321 }, 11322 { 11323 NPC_ERRLEV_RE, NPC_EC_NOERR, 11324 6, 0, 0, 7, 0, 11325 NPC_S_KPU12_TU_IP6, 0, 1, 11326 NPC_LID_LC, NPC_LT_LC_NSH, 11327 0, 11328 1, 0x3f, 0, 2, 11329 }, 11330 { 11331 NPC_ERRLEV_RE, NPC_EC_NOERR, 11332 12, 16, 20, 6, 0, 11333 NPC_S_KPU11_TU_ETHER, 0, 1, 11334 NPC_LID_LC, NPC_LT_LC_NSH, 11335 0, 11336 1, 0x3f, 0, 2, 11337 }, 11338 { 11339 NPC_ERRLEV_RE, NPC_EC_NOERR, 11340 0, 0, 0, 4, 0, 11341 NPC_S_KPU9_TU_MPLS_IN_NSH, 0, 1, 11342 NPC_LID_LC, NPC_LT_LC_NSH, 11343 0, 11344 1, 0x3f, 0, 2, 11345 }, 11346 { 11347 NPC_ERRLEV_LC, NPC_EC_NSH_UNK, 11348 0, 0, 0, 0, 1, 11349 NPC_S_NA, 0, 1, 11350 NPC_LID_LC, NPC_LT_LC_NSH, 11351 0, 11352 0, 0, 0, 0, 11353 }, 11354 { 11355 NPC_ERRLEV_RE, NPC_EC_NOERR, 11356 8, 0, 6, 0, 0, 11357 NPC_S_KPU5_IP, 6, 1, 11358 NPC_LID_LB, NPC_LT_LB_FDSA, 11359 NPC_F_LB_L_FDSA, 11360 0, 0, 0, 0, 11361 }, 11362 { 11363 NPC_ERRLEV_RE, NPC_EC_NOERR, 11364 6, 0, 0, 0, 0, 11365 NPC_S_KPU5_IP6, 6, 1, 11366 NPC_LID_LB, NPC_LT_LB_FDSA, 11367 NPC_F_LB_L_FDSA, 11368 0, 0, 0, 0, 11369 }, 11370 { 11371 NPC_ERRLEV_RE, NPC_EC_NOERR, 11372 0, 0, 0, 0, 0, 11373 NPC_S_KPU5_ARP, 6, 1, 11374 NPC_LID_LB, NPC_LT_LB_FDSA, 11375 NPC_F_LB_L_FDSA, 11376 0, 0, 0, 0, 11377 }, 11378 { 11379 NPC_ERRLEV_RE, NPC_EC_NOERR, 11380 8, 0, 6, 0, 0, 11381 NPC_S_KPU5_RARP, 6, 1, 11382 NPC_LID_LB, NPC_LT_LB_FDSA, 11383 NPC_F_LB_L_FDSA, 11384 0, 0, 0, 0, 11385 }, 11386 { 11387 NPC_ERRLEV_RE, NPC_EC_NOERR, 11388 6, 0, 0, 0, 0, 11389 NPC_S_KPU5_PTP, 6, 1, 11390 NPC_LID_LB, NPC_LT_LB_FDSA, 11391 NPC_F_LB_L_FDSA, 11392 0, 0, 0, 0, 11393 }, 11394 { 11395 NPC_ERRLEV_RE, NPC_EC_NOERR, 11396 0, 0, 0, 0, 0, 11397 NPC_S_KPU5_FCOE, 6, 1, 11398 NPC_LID_LB, NPC_LT_LB_FDSA, 11399 NPC_F_LB_L_FDSA, 11400 0, 0, 0, 0, 11401 }, 11402 { 11403 NPC_ERRLEV_RE, NPC_EC_NOERR, 11404 8, 0, 6, 0, 0, 11405 NPC_S_KPU5_IP, 10, 1, 11406 NPC_LID_LB, NPC_LT_LB_FDSA, 11407 NPC_F_LB_L_FDSA, 11408 0, 0, 0, 0, 11409 }, 11410 { 11411 NPC_ERRLEV_RE, NPC_EC_NOERR, 11412 6, 0, 0, 0, 0, 11413 NPC_S_KPU5_IP6, 10, 1, 11414 NPC_LID_LB, NPC_LT_LB_FDSA, 11415 NPC_F_LB_L_FDSA, 11416 0, 0, 0, 0, 11417 }, 11418 { 11419 NPC_ERRLEV_RE, NPC_EC_NOERR, 11420 0, 0, 0, 0, 0, 11421 NPC_S_KPU5_ARP, 10, 1, 11422 NPC_LID_LB, NPC_LT_LB_FDSA, 11423 NPC_F_LB_L_FDSA, 11424 0, 0, 0, 0, 11425 }, 11426 { 11427 NPC_ERRLEV_RE, NPC_EC_NOERR, 11428 8, 0, 6, 0, 0, 11429 NPC_S_KPU5_RARP, 10, 1, 11430 NPC_LID_LB, NPC_LT_LB_FDSA, 11431 NPC_F_LB_L_FDSA, 11432 0, 0, 0, 0, 11433 }, 11434 { 11435 NPC_ERRLEV_RE, NPC_EC_NOERR, 11436 6, 0, 0, 0, 0, 11437 NPC_S_KPU5_PTP, 10, 1, 11438 NPC_LID_LB, NPC_LT_LB_FDSA, 11439 NPC_F_LB_L_FDSA, 11440 0, 0, 0, 0, 11441 }, 11442 { 11443 NPC_ERRLEV_RE, NPC_EC_NOERR, 11444 0, 0, 0, 0, 0, 11445 NPC_S_KPU5_FCOE, 10, 1, 11446 NPC_LID_LB, NPC_LT_LB_FDSA, 11447 NPC_F_LB_L_FDSA, 11448 0, 0, 0, 0, 11449 }, 11450 { 11451 NPC_ERRLEV_RE, NPC_EC_NOERR, 11452 8, 0, 6, 0, 0, 11453 NPC_S_KPU5_IP, 14, 1, 11454 NPC_LID_LB, NPC_LT_LB_PPPOE, 11455 0, 11456 0, 0, 0, 0, 11457 }, 11458 { 11459 NPC_ERRLEV_RE, NPC_EC_NOERR, 11460 6, 0, 0, 0, 0, 11461 NPC_S_KPU5_IP6, 14, 1, 11462 NPC_LID_LB, NPC_LT_LB_PPPOE, 11463 0, 11464 0, 0, 0, 0, 11465 }, 11466 { 11467 NPC_ERRLEV_RE, NPC_EC_NOERR, 11468 0, 0, 0, 0, 1, 11469 NPC_S_NA, 0, 1, 11470 NPC_LID_LB, NPC_LT_LB_FDSA, 11471 NPC_F_LB_U_UNK_ETYPE | NPC_F_LB_L_FDSA, 11472 0, 0, 0, 0, 11473 }, 11474 { 11475 NPC_ERRLEV_RE, NPC_EC_NOERR, 11476 8, 0, 6, 0, 0, 11477 NPC_S_KPU5_IP, 2, 0, 11478 NPC_LID_LC, NPC_LT_NA, 11479 0, 11480 0, 0, 0, 0, 11481 }, 11482 { 11483 NPC_ERRLEV_RE, NPC_EC_NOERR, 11484 6, 0, 0, 0, 0, 11485 NPC_S_KPU5_IP6, 2, 0, 11486 NPC_LID_LC, NPC_LT_NA, 11487 0, 11488 0, 0, 0, 0, 11489 }, 11490 { 11491 NPC_ERRLEV_RE, NPC_EC_NOERR, 11492 0, 0, 0, 0, 0, 11493 NPC_S_KPU5_ARP, 2, 0, 11494 NPC_LID_LC, NPC_LT_NA, 11495 0, 11496 0, 0, 0, 0, 11497 }, 11498 { 11499 NPC_ERRLEV_RE, NPC_EC_NOERR, 11500 8, 0, 6, 0, 0, 11501 NPC_S_KPU5_RARP, 2, 0, 11502 NPC_LID_LC, NPC_LT_NA, 11503 0, 11504 0, 0, 0, 0, 11505 }, 11506 { 11507 NPC_ERRLEV_RE, NPC_EC_NOERR, 11508 6, 0, 0, 0, 0, 11509 NPC_S_KPU5_PTP, 2, 0, 11510 NPC_LID_LC, NPC_LT_NA, 11511 0, 11512 0, 0, 0, 0, 11513 }, 11514 { 11515 NPC_ERRLEV_RE, NPC_EC_NOERR, 11516 0, 0, 0, 0, 0, 11517 NPC_S_KPU5_FCOE, 2, 0, 11518 NPC_LID_LC, NPC_LT_NA, 11519 0, 11520 0, 0, 0, 0, 11521 }, 11522 { 11523 NPC_ERRLEV_RE, NPC_EC_NOERR, 11524 0, 0, 0, 0, 1, 11525 NPC_S_NA, 0, 0, 11526 NPC_LID_LC, NPC_LT_NA, 11527 0, 11528 0, 0, 0, 0, 11529 }, 11530 { 11531 NPC_ERRLEV_RE, NPC_EC_NOERR, 11532 8, 0, 6, 0, 0, 11533 NPC_S_KPU5_IP, 10, 0, 11534 NPC_LID_LB, NPC_LT_LB_PPPOE, 11535 0, 11536 0, 0, 0, 0, 11537 }, 11538 { 11539 NPC_ERRLEV_RE, NPC_EC_NOERR, 11540 6, 0, 0, 0, 0, 11541 NPC_S_KPU5_IP6, 10, 0, 11542 NPC_LID_LB, NPC_LT_LB_PPPOE, 11543 0, 11544 0, 0, 0, 0, 11545 }, 11546 { 11547 NPC_ERRLEV_LB, NPC_EC_L2_K4, 11548 0, 0, 0, 0, 1, 11549 NPC_S_NA, 0, 0, 11550 NPC_LID_LC, NPC_LT_NA, 11551 0, 11552 0, 0, 0, 0, 11553 }, 11554 }; 11555 11556 static struct npc_kpu_profile_action kpu5_action_entries[] = { 11557 NPC_KPU_NOP_ACTION, 11558 NPC_KPU_NOP_ACTION, 11559 { 11560 NPC_ERRLEV_LC, NPC_EC_IP_TTL_0, 11561 0, 0, 0, 0, 1, 11562 NPC_S_NA, 0, 1, 11563 NPC_LID_LC, NPC_LT_LC_IP, 11564 0, 11565 0, 0, 0, 0, 11566 }, 11567 { 11568 NPC_ERRLEV_LC, NPC_EC_IP_FRAG_OFFSET_1, 11569 0, 0, 0, 0, 1, 11570 NPC_S_NA, 0, 1, 11571 NPC_LID_LC, NPC_LT_LC_IP, 11572 NPC_F_LC_U_IP_FRAG, 11573 0, 0, 0, 0, 11574 }, 11575 { 11576 NPC_ERRLEV_RE, NPC_EC_NOERR, 11577 2, 12, 0, 2, 0, 11578 NPC_S_KPU8_TCP, 20, 1, 11579 NPC_LID_LC, NPC_LT_LC_IP, 11580 0, 11581 0, 0, 0, 0, 11582 }, 11583 { 11584 NPC_ERRLEV_RE, NPC_EC_NOERR, 11585 2, 0, 0, 2, 0, 11586 NPC_S_KPU8_UDP, 20, 1, 11587 NPC_LID_LC, NPC_LT_LC_IP, 11588 0, 11589 0, 0, 0, 0, 11590 }, 11591 { 11592 NPC_ERRLEV_RE, NPC_EC_NOERR, 11593 0, 0, 0, 2, 0, 11594 NPC_S_KPU8_SCTP, 20, 1, 11595 NPC_LID_LC, NPC_LT_LC_IP, 11596 0, 11597 0, 0, 0, 0, 11598 }, 11599 { 11600 NPC_ERRLEV_RE, NPC_EC_NOERR, 11601 0, 0, 0, 2, 0, 11602 NPC_S_KPU8_ICMP, 20, 1, 11603 NPC_LID_LC, NPC_LT_LC_IP, 11604 0, 11605 0, 0, 0, 0, 11606 }, 11607 { 11608 NPC_ERRLEV_RE, NPC_EC_NOERR, 11609 0, 0, 0, 2, 0, 11610 NPC_S_KPU8_IGMP, 20, 1, 11611 NPC_LID_LC, NPC_LT_LC_IP, 11612 0, 11613 0, 0, 0, 0, 11614 }, 11615 { 11616 NPC_ERRLEV_RE, NPC_EC_NOERR, 11617 0, 0, 0, 3, 0, 11618 NPC_S_KPU9_ESP, 20, 1, 11619 NPC_LID_LC, NPC_LT_LC_IP, 11620 0, 11621 0, 0, 0, 0, 11622 }, 11623 { 11624 NPC_ERRLEV_RE, NPC_EC_NOERR, 11625 0, 0, 0, 2, 0, 11626 NPC_S_KPU8_AH, 20, 1, 11627 NPC_LID_LC, NPC_LT_LC_IP, 11628 0, 11629 0, 0, 0, 0, 11630 }, 11631 { 11632 NPC_ERRLEV_RE, NPC_EC_NOERR, 11633 2, 0, 0, 2, 0, 11634 NPC_S_KPU8_GRE, 20, 1, 11635 NPC_LID_LC, NPC_LT_LC_IP, 11636 0, 11637 0, 0, 0, 0, 11638 }, 11639 { 11640 NPC_ERRLEV_RE, NPC_EC_NOERR, 11641 8, 0, 6, 6, 0, 11642 NPC_S_KPU12_TU_IP, 20, 1, 11643 NPC_LID_LC, NPC_LT_LC_IP, 11644 NPC_F_LC_L_IP_IN_IP, 11645 0, 0, 0, 0, 11646 }, 11647 { 11648 NPC_ERRLEV_RE, NPC_EC_NOERR, 11649 6, 0, 0, 6, 0, 11650 NPC_S_KPU12_TU_IP6, 20, 1, 11651 NPC_LID_LC, NPC_LT_LC_IP, 11652 NPC_F_LC_L_6TO4, 11653 0, 0, 0, 0, 11654 }, 11655 { 11656 NPC_ERRLEV_RE, NPC_EC_NOERR, 11657 2, 6, 10, 3, 0, 11658 NPC_S_KPU9_TU_MPLS_IN_IP, 20, 1, 11659 NPC_LID_LC, NPC_LT_LC_IP, 11660 NPC_F_LC_L_MPLS_IN_IP, 11661 0, 0, 0, 0, 11662 }, 11663 { 11664 NPC_ERRLEV_RE, NPC_EC_NOERR, 11665 0, 0, 0, 0, 1, 11666 NPC_S_NA, 0, 1, 11667 NPC_LID_LC, NPC_LT_LC_IP, 11668 NPC_F_LC_U_UNK_PROTO, 11669 0, 0, 0, 0, 11670 }, 11671 { 11672 NPC_ERRLEV_RE, NPC_EC_NOERR, 11673 0, 0, 0, 0, 1, 11674 NPC_S_NA, 0, 1, 11675 NPC_LID_LC, NPC_LT_LC_IP, 11676 NPC_F_LC_U_IP_FRAG, 11677 0, 0, 0, 0, 11678 }, 11679 { 11680 NPC_ERRLEV_RE, NPC_EC_NOERR, 11681 2, 12, 0, 2, 0, 11682 NPC_S_KPU8_TCP, 0, 1, 11683 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11684 0, 11685 0, 0xf, 0, 2, 11686 }, 11687 { 11688 NPC_ERRLEV_RE, NPC_EC_NOERR, 11689 2, 8, 10, 2, 0, 11690 NPC_S_KPU8_UDP, 0, 1, 11691 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11692 0, 11693 0, 0xf, 0, 2, 11694 }, 11695 { 11696 NPC_ERRLEV_RE, NPC_EC_NOERR, 11697 0, 0, 0, 2, 0, 11698 NPC_S_KPU8_SCTP, 0, 1, 11699 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11700 0, 11701 0, 0xf, 0, 2, 11702 }, 11703 { 11704 NPC_ERRLEV_RE, NPC_EC_NOERR, 11705 0, 0, 0, 2, 0, 11706 NPC_S_KPU8_ICMP, 0, 1, 11707 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11708 0, 11709 0, 0xf, 0, 2, 11710 }, 11711 { 11712 NPC_ERRLEV_RE, NPC_EC_NOERR, 11713 0, 0, 0, 2, 0, 11714 NPC_S_KPU8_IGMP, 0, 1, 11715 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11716 0, 11717 0, 0xf, 0, 2, 11718 }, 11719 { 11720 NPC_ERRLEV_RE, NPC_EC_NOERR, 11721 0, 0, 0, 3, 0, 11722 NPC_S_KPU9_ESP, 0, 1, 11723 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11724 0, 11725 0, 0xf, 0, 2, 11726 }, 11727 { 11728 NPC_ERRLEV_RE, NPC_EC_NOERR, 11729 0, 0, 0, 2, 0, 11730 NPC_S_KPU8_AH, 0, 1, 11731 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11732 0, 11733 0, 0xf, 0, 2, 11734 }, 11735 { 11736 NPC_ERRLEV_RE, NPC_EC_NOERR, 11737 2, 0, 0, 2, 0, 11738 NPC_S_KPU8_GRE, 0, 1, 11739 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11740 0, 11741 0, 0xf, 0, 2, 11742 }, 11743 { 11744 NPC_ERRLEV_RE, NPC_EC_NOERR, 11745 8, 0, 6, 6, 0, 11746 NPC_S_KPU12_TU_IP, 0, 1, 11747 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11748 NPC_F_LC_L_IP_IN_IP, 11749 0, 0xf, 0, 2, 11750 }, 11751 { 11752 NPC_ERRLEV_RE, NPC_EC_NOERR, 11753 6, 0, 0, 6, 0, 11754 NPC_S_KPU12_TU_IP6, 0, 1, 11755 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11756 NPC_F_LC_L_6TO4, 11757 0, 0xf, 0, 2, 11758 }, 11759 { 11760 NPC_ERRLEV_RE, NPC_EC_NOERR, 11761 2, 6, 10, 3, 0, 11762 NPC_S_KPU9_TU_MPLS_IN_IP, 20, 1, 11763 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11764 NPC_F_LC_L_MPLS_IN_IP, 11765 0, 0xf, 0, 2, 11766 }, 11767 { 11768 NPC_ERRLEV_RE, NPC_EC_NOERR, 11769 0, 0, 0, 0, 1, 11770 NPC_S_NA, 0, 1, 11771 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11772 NPC_F_LC_U_UNK_PROTO, 11773 0, 0, 0, 0, 11774 }, 11775 { 11776 NPC_ERRLEV_RE, NPC_EC_NOERR, 11777 0, 0, 0, 0, 1, 11778 NPC_S_NA, 0, 1, 11779 NPC_LID_LC, NPC_LT_LC_IP_OPT, 11780 NPC_F_LC_U_IP_FRAG, 11781 0, 0, 0, 0, 11782 }, 11783 { 11784 NPC_ERRLEV_LC, NPC_EC_IP_VER, 11785 0, 0, 0, 0, 1, 11786 NPC_S_NA, 0, 1, 11787 NPC_LID_LC, NPC_LT_LC_IP, 11788 0, 11789 0, 0, 0, 0, 11790 }, 11791 { 11792 NPC_ERRLEV_RE, NPC_EC_NOERR, 11793 0, 0, 0, 0, 1, 11794 NPC_S_NA, 0, 1, 11795 NPC_LID_LC, NPC_LT_LC_ARP, 11796 0, 11797 0, 0, 0, 0, 11798 }, 11799 { 11800 NPC_ERRLEV_RE, NPC_EC_NOERR, 11801 0, 0, 0, 0, 1, 11802 NPC_S_NA, 0, 1, 11803 NPC_LID_LC, NPC_LT_LC_RARP, 11804 0, 11805 0, 0, 0, 0, 11806 }, 11807 { 11808 NPC_ERRLEV_RE, NPC_EC_NOERR, 11809 0, 0, 0, 0, 1, 11810 NPC_S_NA, 0, 1, 11811 NPC_LID_LC, NPC_LT_LC_PTP, 11812 0, 11813 0, 0, 0, 0, 11814 }, 11815 { 11816 NPC_ERRLEV_RE, NPC_EC_NOERR, 11817 0, 0, 0, 0, 1, 11818 NPC_S_NA, 0, 1, 11819 NPC_LID_LC, NPC_LT_LC_FCOE, 11820 0, 11821 0, 0, 0, 0, 11822 }, 11823 { 11824 NPC_ERRLEV_LC, NPC_EC_IP6_HOP_0, 11825 0, 0, 0, 0, 1, 11826 NPC_S_NA, 0, 1, 11827 NPC_LID_LC, NPC_LT_LC_IP6, 11828 0, 11829 0, 0, 0, 0, 11830 }, 11831 { 11832 NPC_ERRLEV_RE, NPC_EC_NOERR, 11833 2, 12, 0, 2, 0, 11834 NPC_S_KPU8_TCP, 40, 1, 11835 NPC_LID_LC, NPC_LT_LC_IP6, 11836 0, 11837 0, 0, 0, 0, 11838 }, 11839 { 11840 NPC_ERRLEV_RE, NPC_EC_NOERR, 11841 2, 0, 0, 2, 0, 11842 NPC_S_KPU8_UDP, 40, 1, 11843 NPC_LID_LC, NPC_LT_LC_IP6, 11844 0, 11845 0, 0, 0, 0, 11846 }, 11847 { 11848 NPC_ERRLEV_RE, NPC_EC_NOERR, 11849 0, 0, 0, 2, 0, 11850 NPC_S_KPU8_SCTP, 40, 1, 11851 NPC_LID_LC, NPC_LT_LC_IP6, 11852 0, 11853 0, 0, 0, 0, 11854 }, 11855 { 11856 NPC_ERRLEV_RE, NPC_EC_NOERR, 11857 0, 0, 0, 2, 0, 11858 NPC_S_KPU8_ICMP, 40, 1, 11859 NPC_LID_LC, NPC_LT_LC_IP6, 11860 0, 11861 0, 0, 0, 0, 11862 }, 11863 { 11864 NPC_ERRLEV_RE, NPC_EC_NOERR, 11865 0, 0, 0, 2, 0, 11866 NPC_S_KPU8_ICMP6, 40, 1, 11867 NPC_LID_LC, NPC_LT_LC_IP6, 11868 0, 11869 0, 0, 0, 0, 11870 }, 11871 { 11872 NPC_ERRLEV_RE, NPC_EC_NOERR, 11873 0, 0, 0, 2, 0, 11874 NPC_S_KPU8_GRE, 40, 1, 11875 NPC_LID_LC, NPC_LT_LC_IP6, 11876 0, 11877 0, 0, 0, 0, 11878 }, 11879 { 11880 NPC_ERRLEV_RE, NPC_EC_NOERR, 11881 6, 0, 0, 6, 0, 11882 NPC_S_KPU12_TU_IP6, 40, 1, 11883 NPC_LID_LC, NPC_LT_LC_IP6, 11884 NPC_F_LC_L_IP6_TUN_IP6, 11885 0, 0, 0, 0, 11886 }, 11887 { 11888 NPC_ERRLEV_RE, NPC_EC_NOERR, 11889 2, 6, 10, 3, 0, 11890 NPC_S_KPU9_TU_MPLS_IN_IP, 40, 1, 11891 NPC_LID_LC, NPC_LT_LC_IP6, 11892 NPC_F_LC_L_IP6_MPLS_IN_IP, 11893 0, 0, 0, 0, 11894 }, 11895 { 11896 NPC_ERRLEV_RE, NPC_EC_NOERR, 11897 0, 0, 0, 0, 0, 11898 NPC_S_KPU6_IP6_HOP_DEST, 40, 1, 11899 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11900 NPC_F_LC_L_EXT_HOP, 11901 0, 0, 0, 0, 11902 }, 11903 { 11904 NPC_ERRLEV_RE, NPC_EC_NOERR, 11905 0, 0, 0, 0, 0, 11906 NPC_S_KPU6_IP6_HOP_DEST, 40, 1, 11907 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11908 NPC_F_LC_L_EXT_DEST, 11909 0, 0, 0, 0, 11910 }, 11911 { 11912 NPC_ERRLEV_RE, NPC_EC_NOERR, 11913 0, 0, 0, 0, 0, 11914 NPC_S_KPU6_IP6_ROUT, 40, 1, 11915 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11916 NPC_F_LC_L_EXT_ROUT, 11917 0, 0, 0, 0, 11918 }, 11919 { 11920 NPC_ERRLEV_RE, NPC_EC_NOERR, 11921 0, 2, 0, 0, 0, 11922 NPC_S_KPU6_IP6_FRAG, 40, 1, 11923 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11924 NPC_F_LC_U_IP6_FRAG, 11925 0, 0, 0, 0, 11926 }, 11927 { 11928 NPC_ERRLEV_RE, NPC_EC_NOERR, 11929 0, 0, 0, 3, 0, 11930 NPC_S_KPU9_ESP, 40, 1, 11931 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11932 0, 11933 0, 0, 0, 0, 11934 }, 11935 { 11936 NPC_ERRLEV_RE, NPC_EC_NOERR, 11937 0, 0, 0, 2, 0, 11938 NPC_S_KPU8_AH, 40, 1, 11939 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11940 0, 11941 0, 0, 0, 0, 11942 }, 11943 { 11944 NPC_ERRLEV_RE, NPC_EC_NOERR, 11945 0, 0, 0, 0, 1, 11946 NPC_S_NA, 0, 1, 11947 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11948 NPC_F_LC_L_EXT_MOBILITY, 11949 0, 0, 0, 0, 11950 }, 11951 { 11952 NPC_ERRLEV_RE, NPC_EC_NOERR, 11953 0, 0, 0, 0, 1, 11954 NPC_S_NA, 0, 1, 11955 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11956 NPC_F_LC_L_EXT_HOSTID, 11957 0, 0, 0, 0, 11958 }, 11959 { 11960 NPC_ERRLEV_RE, NPC_EC_NOERR, 11961 0, 0, 0, 0, 1, 11962 NPC_S_NA, 0, 1, 11963 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 11964 NPC_F_LC_L_EXT_SHIM6, 11965 0, 0, 0, 0, 11966 }, 11967 { 11968 NPC_ERRLEV_RE, NPC_EC_NOERR, 11969 0, 0, 0, 0, 1, 11970 NPC_S_NA, 0, 1, 11971 NPC_LID_LC, NPC_LT_LC_IP6, 11972 NPC_F_LC_U_UNK_PROTO, 11973 0, 0, 0, 0, 11974 }, 11975 { 11976 NPC_ERRLEV_LC, NPC_EC_IP6_VER, 11977 0, 0, 0, 0, 1, 11978 NPC_S_NA, 0, 1, 11979 NPC_LID_LC, NPC_LT_LC_IP6, 11980 0, 11981 0, 0, 0, 0, 11982 }, 11983 { 11984 NPC_ERRLEV_RE, NPC_EC_NOERR, 11985 8, 0, 6, 6, 0, 11986 NPC_S_KPU12_TU_IP, 4, 0, 11987 NPC_LID_LB, NPC_LT_NA, 11988 0, 11989 0, 0, 0, 0, 11990 }, 11991 { 11992 NPC_ERRLEV_RE, NPC_EC_NOERR, 11993 6, 0, 0, 6, 0, 11994 NPC_S_KPU12_TU_IP6, 4, 0, 11995 NPC_LID_LB, NPC_LT_NA, 11996 0, 11997 0, 0, 0, 0, 11998 }, 11999 { 12000 NPC_ERRLEV_RE, NPC_EC_NOERR, 12001 12, 16, 20, 5, 0, 12002 NPC_S_KPU11_TU_ETHER, 8, 0, 12003 NPC_LID_LB, NPC_LT_NA, 12004 0, 12005 0, 0, 0, 0, 12006 }, 12007 { 12008 NPC_ERRLEV_RE, NPC_EC_NOERR, 12009 12, 16, 20, 5, 0, 12010 NPC_S_KPU11_TU_ETHER, 4, 0, 12011 NPC_LID_LB, NPC_LT_NA, 12012 0, 12013 0, 0, 0, 0, 12014 }, 12015 { 12016 NPC_ERRLEV_LB, NPC_EC_MPLS_2MANY, 12017 0, 0, 0, 0, 1, 12018 NPC_S_NA, 0, 0, 12019 NPC_LID_LB, NPC_LT_NA, 12020 0, 12021 0, 0, 0, 0, 12022 }, 12023 { 12024 NPC_ERRLEV_RE, NPC_EC_NOERR, 12025 8, 0, 6, 6, 0, 12026 NPC_S_KPU12_TU_IP, 0, 0, 12027 NPC_LID_LB, NPC_LT_NA, 12028 0, 12029 0, 0, 0, 0, 12030 }, 12031 { 12032 NPC_ERRLEV_RE, NPC_EC_NOERR, 12033 6, 0, 0, 6, 0, 12034 NPC_S_KPU12_TU_IP6, 0, 0, 12035 NPC_LID_LB, NPC_LT_NA, 12036 0, 12037 0, 0, 0, 0, 12038 }, 12039 { 12040 NPC_ERRLEV_RE, NPC_EC_NOERR, 12041 12, 16, 20, 5, 0, 12042 NPC_S_KPU11_TU_ETHER, 4, 0, 12043 NPC_LID_LB, NPC_LT_NA, 12044 0, 12045 0, 0, 0, 0, 12046 }, 12047 { 12048 NPC_ERRLEV_RE, NPC_EC_NOERR, 12049 12, 16, 20, 5, 0, 12050 NPC_S_KPU11_TU_ETHER, 0, 0, 12051 NPC_LID_LB, NPC_LT_NA, 12052 0, 12053 0, 0, 0, 0, 12054 }, 12055 { 12056 NPC_ERRLEV_LC, NPC_EC_IP_TTL_0, 12057 0, 0, 0, 0, 1, 12058 NPC_S_NA, 0, 1, 12059 NPC_LID_LC, NPC_LT_LC_IP, 12060 0, 12061 0, 0, 0, 0, 12062 }, 12063 { 12064 NPC_ERRLEV_LC, NPC_EC_IP_FRAG_OFFSET_1, 12065 0, 0, 0, 0, 1, 12066 NPC_S_NA, 0, 1, 12067 NPC_LID_LC, NPC_LT_LC_IP, 12068 NPC_F_LC_U_IP_FRAG, 12069 0, 0, 0, 0, 12070 }, 12071 { 12072 NPC_ERRLEV_RE, NPC_EC_NOERR, 12073 2, 12, 0, 2, 0, 12074 NPC_S_KPU8_TCP, 20, 1, 12075 NPC_LID_LC, NPC_LT_LC_IP, 12076 0, 12077 0, 0, 0, 0, 12078 }, 12079 { 12080 NPC_ERRLEV_RE, NPC_EC_NOERR, 12081 2, 0, 0, 2, 0, 12082 NPC_S_KPU8_UDP, 20, 1, 12083 NPC_LID_LC, NPC_LT_LC_IP, 12084 0, 12085 0, 0, 0, 0, 12086 }, 12087 { 12088 NPC_ERRLEV_RE, NPC_EC_NOERR, 12089 0, 0, 0, 2, 0, 12090 NPC_S_KPU8_SCTP, 20, 1, 12091 NPC_LID_LC, NPC_LT_LC_IP, 12092 0, 12093 0, 0, 0, 0, 12094 }, 12095 { 12096 NPC_ERRLEV_RE, NPC_EC_NOERR, 12097 0, 0, 0, 2, 0, 12098 NPC_S_KPU8_ICMP, 20, 1, 12099 NPC_LID_LC, NPC_LT_LC_IP, 12100 0, 12101 0, 0, 0, 0, 12102 }, 12103 { 12104 NPC_ERRLEV_RE, NPC_EC_NOERR, 12105 0, 0, 0, 2, 0, 12106 NPC_S_KPU8_IGMP, 20, 1, 12107 NPC_LID_LC, NPC_LT_LC_IP, 12108 0, 12109 0, 0, 0, 0, 12110 }, 12111 { 12112 NPC_ERRLEV_RE, NPC_EC_NOERR, 12113 0, 0, 0, 3, 0, 12114 NPC_S_KPU9_ESP, 20, 1, 12115 NPC_LID_LC, NPC_LT_LC_IP, 12116 0, 12117 0, 0, 0, 0, 12118 }, 12119 { 12120 NPC_ERRLEV_RE, NPC_EC_NOERR, 12121 0, 0, 0, 2, 0, 12122 NPC_S_KPU8_AH, 20, 1, 12123 NPC_LID_LC, NPC_LT_LC_IP, 12124 0, 12125 0, 0, 0, 0, 12126 }, 12127 { 12128 NPC_ERRLEV_RE, NPC_EC_NOERR, 12129 2, 0, 0, 2, 0, 12130 NPC_S_KPU8_GRE, 20, 1, 12131 NPC_LID_LC, NPC_LT_LC_IP, 12132 0, 12133 0, 0, 0, 0, 12134 }, 12135 { 12136 NPC_ERRLEV_RE, NPC_EC_NOERR, 12137 8, 0, 6, 6, 0, 12138 NPC_S_KPU12_TU_IP, 20, 1, 12139 NPC_LID_LC, NPC_LT_LC_IP, 12140 NPC_F_LC_L_IP_IN_IP, 12141 0, 0, 0, 0, 12142 }, 12143 { 12144 NPC_ERRLEV_RE, NPC_EC_NOERR, 12145 6, 0, 0, 6, 0, 12146 NPC_S_KPU12_TU_IP6, 20, 1, 12147 NPC_LID_LC, NPC_LT_LC_IP, 12148 NPC_F_LC_L_6TO4, 12149 0, 0, 0, 0, 12150 }, 12151 { 12152 NPC_ERRLEV_RE, NPC_EC_NOERR, 12153 2, 6, 10, 3, 0, 12154 NPC_S_KPU9_TU_MPLS_IN_IP, 20, 1, 12155 NPC_LID_LC, NPC_LT_LC_IP, 12156 NPC_F_LC_L_MPLS_IN_IP, 12157 0, 0, 0, 0, 12158 }, 12159 { 12160 NPC_ERRLEV_RE, NPC_EC_NOERR, 12161 0, 0, 0, 0, 1, 12162 NPC_S_NA, 0, 1, 12163 NPC_LID_LC, NPC_LT_LC_IP, 12164 NPC_F_LC_U_UNK_PROTO, 12165 0, 0, 0, 0, 12166 }, 12167 { 12168 NPC_ERRLEV_RE, NPC_EC_NOERR, 12169 2, 12, 0, 2, 0, 12170 NPC_S_KPU8_TCP, 0, 1, 12171 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12172 0, 12173 0, 0xf, 0, 2, 12174 }, 12175 { 12176 NPC_ERRLEV_RE, NPC_EC_NOERR, 12177 2, 8, 10, 2, 0, 12178 NPC_S_KPU8_UDP, 0, 1, 12179 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12180 0, 12181 0, 0xf, 0, 2, 12182 }, 12183 { 12184 NPC_ERRLEV_RE, NPC_EC_NOERR, 12185 0, 0, 0, 2, 0, 12186 NPC_S_KPU8_SCTP, 0, 1, 12187 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12188 0, 12189 0, 0xf, 0, 2, 12190 }, 12191 { 12192 NPC_ERRLEV_RE, NPC_EC_NOERR, 12193 0, 0, 0, 2, 0, 12194 NPC_S_KPU8_ICMP, 0, 1, 12195 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12196 0, 12197 0, 0xf, 0, 2, 12198 }, 12199 { 12200 NPC_ERRLEV_RE, NPC_EC_NOERR, 12201 0, 0, 0, 2, 0, 12202 NPC_S_KPU8_IGMP, 0, 1, 12203 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12204 0, 12205 0, 0xf, 0, 2, 12206 }, 12207 { 12208 NPC_ERRLEV_RE, NPC_EC_NOERR, 12209 0, 0, 0, 3, 0, 12210 NPC_S_KPU9_ESP, 0, 1, 12211 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12212 0, 12213 0, 0xf, 0, 2, 12214 }, 12215 { 12216 NPC_ERRLEV_RE, NPC_EC_NOERR, 12217 0, 0, 0, 2, 0, 12218 NPC_S_KPU8_AH, 0, 1, 12219 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12220 0, 12221 0, 0xf, 0, 2, 12222 }, 12223 { 12224 NPC_ERRLEV_RE, NPC_EC_NOERR, 12225 2, 0, 0, 2, 0, 12226 NPC_S_KPU8_GRE, 0, 1, 12227 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12228 0, 12229 0, 0xf, 0, 2, 12230 }, 12231 { 12232 NPC_ERRLEV_RE, NPC_EC_NOERR, 12233 8, 0, 6, 6, 0, 12234 NPC_S_KPU12_TU_IP, 0, 1, 12235 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12236 NPC_F_LC_L_IP_IN_IP, 12237 0, 0xf, 0, 2, 12238 }, 12239 { 12240 NPC_ERRLEV_RE, NPC_EC_NOERR, 12241 6, 0, 0, 6, 0, 12242 NPC_S_KPU12_TU_IP6, 0, 1, 12243 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12244 NPC_F_LC_L_6TO4, 12245 0, 0xf, 0, 2, 12246 }, 12247 { 12248 NPC_ERRLEV_RE, NPC_EC_NOERR, 12249 2, 6, 10, 3, 0, 12250 NPC_S_KPU9_TU_MPLS_IN_IP, 20, 1, 12251 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12252 NPC_F_LC_L_MPLS_IN_IP, 12253 0, 0xf, 0, 2, 12254 }, 12255 { 12256 NPC_ERRLEV_RE, NPC_EC_NOERR, 12257 0, 0, 0, 0, 1, 12258 NPC_S_NA, 0, 1, 12259 NPC_LID_LC, NPC_LT_LC_IP_OPT, 12260 NPC_F_LC_U_UNK_PROTO, 12261 0, 0, 0, 0, 12262 }, 12263 { 12264 NPC_ERRLEV_LC, NPC_EC_IP_VER, 12265 0, 0, 0, 0, 1, 12266 NPC_S_NA, 0, 1, 12267 NPC_LID_LC, NPC_LT_LC_IP, 12268 0, 12269 0, 0, 0, 0, 12270 }, 12271 { 12272 NPC_ERRLEV_LC, NPC_EC_IP6_HOP_0, 12273 0, 0, 0, 0, 1, 12274 NPC_S_NA, 0, 1, 12275 NPC_LID_LC, NPC_LT_LC_IP6, 12276 0, 12277 0, 0, 0, 0, 12278 }, 12279 { 12280 NPC_ERRLEV_RE, NPC_EC_NOERR, 12281 2, 12, 0, 2, 0, 12282 NPC_S_KPU8_TCP, 40, 1, 12283 NPC_LID_LC, NPC_LT_LC_IP6, 12284 0, 12285 0, 0, 0, 0, 12286 }, 12287 { 12288 NPC_ERRLEV_RE, NPC_EC_NOERR, 12289 2, 0, 0, 2, 0, 12290 NPC_S_KPU8_UDP, 40, 1, 12291 NPC_LID_LC, NPC_LT_LC_IP6, 12292 0, 12293 0, 0, 0, 0, 12294 }, 12295 { 12296 NPC_ERRLEV_RE, NPC_EC_NOERR, 12297 0, 0, 0, 2, 0, 12298 NPC_S_KPU8_SCTP, 40, 1, 12299 NPC_LID_LC, NPC_LT_LC_IP6, 12300 0, 12301 0, 0, 0, 0, 12302 }, 12303 { 12304 NPC_ERRLEV_RE, NPC_EC_NOERR, 12305 0, 0, 0, 2, 0, 12306 NPC_S_KPU8_ICMP, 40, 1, 12307 NPC_LID_LC, NPC_LT_LC_IP6, 12308 0, 12309 0, 0, 0, 0, 12310 }, 12311 { 12312 NPC_ERRLEV_RE, NPC_EC_NOERR, 12313 0, 0, 0, 2, 0, 12314 NPC_S_KPU8_ICMP6, 40, 1, 12315 NPC_LID_LC, NPC_LT_LC_IP6, 12316 0, 12317 0, 0, 0, 0, 12318 }, 12319 { 12320 NPC_ERRLEV_RE, NPC_EC_NOERR, 12321 0, 0, 0, 2, 0, 12322 NPC_S_KPU8_GRE, 40, 1, 12323 NPC_LID_LC, NPC_LT_LC_IP6, 12324 0, 12325 0, 0, 0, 0, 12326 }, 12327 { 12328 NPC_ERRLEV_RE, NPC_EC_NOERR, 12329 6, 0, 0, 6, 0, 12330 NPC_S_KPU12_TU_IP6, 40, 1, 12331 NPC_LID_LC, NPC_LT_LC_IP6, 12332 NPC_F_LC_L_IP6_TUN_IP6, 12333 0, 0, 0, 0, 12334 }, 12335 { 12336 NPC_ERRLEV_RE, NPC_EC_NOERR, 12337 2, 6, 10, 3, 0, 12338 NPC_S_KPU9_TU_MPLS_IN_IP, 40, 1, 12339 NPC_LID_LC, NPC_LT_LC_IP6, 12340 NPC_F_LC_L_IP6_MPLS_IN_IP, 12341 0, 0, 0, 0, 12342 }, 12343 { 12344 NPC_ERRLEV_RE, NPC_EC_NOERR, 12345 0, 0, 0, 0, 0, 12346 NPC_S_KPU6_IP6_CPT_HOP_DEST, 40, 1, 12347 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12348 NPC_F_LC_L_EXT_HOP, 12349 0, 0, 0, 0, 12350 }, 12351 { 12352 NPC_ERRLEV_RE, NPC_EC_NOERR, 12353 0, 0, 0, 0, 0, 12354 NPC_S_KPU6_IP6_CPT_HOP_DEST, 40, 1, 12355 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12356 NPC_F_LC_L_EXT_DEST, 12357 0, 0, 0, 0, 12358 }, 12359 { 12360 NPC_ERRLEV_RE, NPC_EC_NOERR, 12361 0, 0, 0, 0, 0, 12362 NPC_S_KPU6_IP6_CPT_ROUT, 40, 1, 12363 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12364 NPC_F_LC_L_EXT_ROUT, 12365 0, 0, 0, 0, 12366 }, 12367 { 12368 NPC_ERRLEV_RE, NPC_EC_NOERR, 12369 0, 2, 0, 0, 0, 12370 NPC_S_KPU6_IP6_CPT_FRAG, 40, 1, 12371 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12372 NPC_F_LC_U_IP6_FRAG, 12373 0, 0, 0, 0, 12374 }, 12375 { 12376 NPC_ERRLEV_RE, NPC_EC_NOERR, 12377 0, 0, 0, 3, 0, 12378 NPC_S_KPU9_ESP, 40, 1, 12379 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12380 0, 12381 0, 0, 0, 0, 12382 }, 12383 { 12384 NPC_ERRLEV_RE, NPC_EC_NOERR, 12385 0, 0, 0, 2, 0, 12386 NPC_S_KPU8_AH, 40, 1, 12387 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12388 0, 12389 0, 0, 0, 0, 12390 }, 12391 { 12392 NPC_ERRLEV_RE, NPC_EC_NOERR, 12393 0, 0, 0, 0, 1, 12394 NPC_S_NA, 0, 1, 12395 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12396 NPC_F_LC_L_EXT_MOBILITY, 12397 0, 0, 0, 0, 12398 }, 12399 { 12400 NPC_ERRLEV_RE, NPC_EC_NOERR, 12401 0, 0, 0, 0, 1, 12402 NPC_S_NA, 0, 1, 12403 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12404 NPC_F_LC_L_EXT_HOSTID, 12405 0, 0, 0, 0, 12406 }, 12407 { 12408 NPC_ERRLEV_RE, NPC_EC_NOERR, 12409 0, 0, 0, 0, 1, 12410 NPC_S_NA, 0, 1, 12411 NPC_LID_LC, NPC_LT_LC_IP6_EXT, 12412 NPC_F_LC_L_EXT_SHIM6, 12413 0, 0, 0, 0, 12414 }, 12415 { 12416 NPC_ERRLEV_RE, NPC_EC_NOERR, 12417 0, 0, 0, 0, 1, 12418 NPC_S_NA, 0, 1, 12419 NPC_LID_LC, NPC_LT_LC_IP6, 12420 NPC_F_LC_U_UNK_PROTO, 12421 0, 0, 0, 0, 12422 }, 12423 { 12424 NPC_ERRLEV_LC, NPC_EC_IP6_VER, 12425 0, 0, 0, 0, 1, 12426 NPC_S_NA, 0, 1, 12427 NPC_LID_LC, NPC_LT_LC_IP6, 12428 0, 12429 0, 0, 0, 0, 12430 }, 12431 { 12432 NPC_ERRLEV_LC, NPC_EC_UNK, 12433 0, 0, 0, 0, 1, 12434 NPC_S_NA, 0, 0, 12435 NPC_LID_LC, NPC_LT_NA, 12436 0, 12437 0, 0, 0, 0, 12438 }, 12439 }; 12440 12441 static struct npc_kpu_profile_action kpu6_action_entries[] = { 12442 NPC_KPU_NOP_ACTION, 12443 NPC_KPU_NOP_ACTION, 12444 { 12445 NPC_ERRLEV_RE, NPC_EC_NOERR, 12446 0, 0, 0, 0, 1, 12447 NPC_S_NA, 0, 0, 12448 NPC_LID_LC, NPC_LT_NA, 12449 0, 12450 0, 0, 0, 0, 12451 }, 12452 { 12453 NPC_ERRLEV_RE, NPC_EC_NOERR, 12454 0, 0, 0, 0, 1, 12455 NPC_S_NA, 0, 0, 12456 NPC_LID_LC, NPC_LT_NA, 12457 0, 12458 0, 0, 0, 0, 12459 }, 12460 { 12461 NPC_ERRLEV_RE, NPC_EC_NOERR, 12462 0, 0, 0, 0, 1, 12463 NPC_S_NA, 0, 0, 12464 NPC_LID_LC, NPC_LT_NA, 12465 0, 12466 0, 0, 0, 0, 12467 }, 12468 { 12469 NPC_ERRLEV_RE, NPC_EC_NOERR, 12470 0, 0, 0, 0, 1, 12471 NPC_S_NA, 0, 0, 12472 NPC_LID_LC, NPC_LT_NA, 12473 0, 12474 0, 0, 0, 0, 12475 }, 12476 { 12477 NPC_ERRLEV_RE, NPC_EC_NOERR, 12478 0, 0, 0, 0, 1, 12479 NPC_S_NA, 0, 0, 12480 NPC_LID_LC, NPC_LT_NA, 12481 0, 12482 0, 0, 0, 0, 12483 }, 12484 { 12485 NPC_ERRLEV_RE, NPC_EC_NOERR, 12486 0, 0, 0, 0, 1, 12487 NPC_S_NA, 0, 0, 12488 NPC_LID_LC, NPC_LT_NA, 12489 0, 12490 0, 0, 0, 0, 12491 }, 12492 { 12493 NPC_ERRLEV_RE, NPC_EC_NOERR, 12494 0, 0, 0, 0, 1, 12495 NPC_S_NA, 0, 0, 12496 NPC_LID_LC, NPC_LT_NA, 12497 0, 12498 0, 0, 0, 0, 12499 }, 12500 { 12501 NPC_ERRLEV_RE, NPC_EC_NOERR, 12502 0, 0, 0, 0, 1, 12503 NPC_S_NA, 0, 0, 12504 NPC_LID_LC, NPC_LT_NA, 12505 0, 12506 0, 0, 0, 0, 12507 }, 12508 { 12509 NPC_ERRLEV_RE, NPC_EC_NOERR, 12510 0, 0, 0, 0, 1, 12511 NPC_S_NA, 0, 0, 12512 NPC_LID_LC, NPC_LT_NA, 12513 0, 12514 0, 0, 0, 0, 12515 }, 12516 { 12517 NPC_ERRLEV_RE, NPC_EC_NOERR, 12518 0, 0, 0, 0, 1, 12519 NPC_S_NA, 0, 0, 12520 NPC_LID_LC, NPC_LT_NA, 12521 0, 12522 0, 0, 0, 0, 12523 }, 12524 { 12525 NPC_ERRLEV_RE, NPC_EC_NOERR, 12526 0, 0, 0, 0, 1, 12527 NPC_S_NA, 0, 0, 12528 NPC_LID_LC, NPC_LT_NA, 12529 0, 12530 0, 0, 0, 0, 12531 }, 12532 { 12533 NPC_ERRLEV_RE, NPC_EC_NOERR, 12534 0, 0, 0, 0, 1, 12535 NPC_S_NA, 0, 0, 12536 NPC_LID_LC, NPC_LT_NA, 12537 0, 12538 0, 0, 0, 0, 12539 }, 12540 { 12541 NPC_ERRLEV_RE, NPC_EC_NOERR, 12542 2, 12, 0, 1, 0, 12543 NPC_S_KPU8_TCP, 8, 0, 12544 NPC_LID_LC, NPC_LT_NA, 12545 0, 12546 1, 0xff, 0, 3, 12547 }, 12548 { 12549 NPC_ERRLEV_RE, NPC_EC_NOERR, 12550 2, 8, 10, 1, 0, 12551 NPC_S_KPU8_UDP, 8, 0, 12552 NPC_LID_LC, NPC_LT_NA, 12553 0, 12554 1, 0xff, 0, 3, 12555 }, 12556 { 12557 NPC_ERRLEV_RE, NPC_EC_NOERR, 12558 0, 0, 0, 1, 0, 12559 NPC_S_KPU8_SCTP, 8, 0, 12560 NPC_LID_LC, NPC_LT_NA, 12561 0, 12562 1, 0xff, 0, 3, 12563 }, 12564 { 12565 NPC_ERRLEV_RE, NPC_EC_NOERR, 12566 0, 0, 0, 1, 0, 12567 NPC_S_KPU8_ICMP, 8, 0, 12568 NPC_LID_LC, NPC_LT_NA, 12569 0, 12570 1, 0xff, 0, 3, 12571 }, 12572 { 12573 NPC_ERRLEV_RE, NPC_EC_NOERR, 12574 0, 0, 0, 1, 0, 12575 NPC_S_KPU8_ICMP6, 8, 0, 12576 NPC_LID_LC, NPC_LT_NA, 12577 0, 12578 1, 0xff, 0, 3, 12579 }, 12580 { 12581 NPC_ERRLEV_RE, NPC_EC_NOERR, 12582 0, 0, 0, 2, 0, 12583 NPC_S_KPU9_ESP, 8, 0, 12584 NPC_LID_LC, NPC_LT_NA, 12585 0, 12586 1, 0xff, 0, 3, 12587 }, 12588 { 12589 NPC_ERRLEV_RE, NPC_EC_NOERR, 12590 0, 0, 0, 1, 0, 12591 NPC_S_KPU8_AH, 8, 0, 12592 NPC_LID_LC, NPC_LT_NA, 12593 0, 12594 1, 0xff, 0, 3, 12595 }, 12596 { 12597 NPC_ERRLEV_RE, NPC_EC_NOERR, 12598 0, 0, 0, 1, 0, 12599 NPC_S_KPU8_GRE, 8, 0, 12600 NPC_LID_LC, NPC_LT_NA, 12601 0, 12602 1, 0xff, 0, 3, 12603 }, 12604 { 12605 NPC_ERRLEV_RE, NPC_EC_NOERR, 12606 6, 0, 0, 5, 0, 12607 NPC_S_KPU12_TU_IP6, 8, 0, 12608 NPC_LID_LC, NPC_LT_NA, 12609 0, 12610 1, 0xff, 0, 3, 12611 }, 12612 { 12613 NPC_ERRLEV_RE, NPC_EC_NOERR, 12614 2, 6, 10, 2, 0, 12615 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 12616 NPC_LID_LC, NPC_LT_NA, 12617 0, 12618 1, 0xff, 0, 3, 12619 }, 12620 { 12621 NPC_ERRLEV_RE, NPC_EC_NOERR, 12622 0, 0, 0, 0, 0, 12623 NPC_S_KPU7_IP6_ROUT, 8, 0, 12624 NPC_LID_LC, NPC_LT_NA, 12625 0, 12626 1, 0xff, 0, 3, 12627 }, 12628 { 12629 NPC_ERRLEV_RE, NPC_EC_NOERR, 12630 0, 2, 0, 0, 0, 12631 NPC_S_KPU7_IP6_FRAG, 8, 0, 12632 NPC_LID_LC, NPC_LT_NA, 12633 0, 12634 1, 0xff, 0, 3, 12635 }, 12636 { 12637 NPC_ERRLEV_RE, NPC_EC_NOERR, 12638 0, 0, 0, 0, 1, 12639 NPC_S_NA, 0, 0, 12640 NPC_LID_LC, NPC_LT_NA, 12641 0, 12642 0, 0, 0, 0, 12643 }, 12644 { 12645 NPC_ERRLEV_RE, NPC_EC_NOERR, 12646 2, 12, 0, 1, 0, 12647 NPC_S_KPU8_TCP, 8, 0, 12648 NPC_LID_LC, NPC_LT_NA, 12649 0, 12650 1, 0xff, 0, 3, 12651 }, 12652 { 12653 NPC_ERRLEV_RE, NPC_EC_NOERR, 12654 2, 8, 10, 1, 0, 12655 NPC_S_KPU8_UDP, 8, 0, 12656 NPC_LID_LC, NPC_LT_NA, 12657 0, 12658 1, 0xff, 0, 3, 12659 }, 12660 { 12661 NPC_ERRLEV_RE, NPC_EC_NOERR, 12662 0, 0, 0, 1, 0, 12663 NPC_S_KPU8_SCTP, 8, 0, 12664 NPC_LID_LC, NPC_LT_NA, 12665 0, 12666 1, 0xff, 0, 3, 12667 }, 12668 { 12669 NPC_ERRLEV_RE, NPC_EC_NOERR, 12670 0, 0, 0, 1, 0, 12671 NPC_S_KPU8_ICMP, 8, 0, 12672 NPC_LID_LC, NPC_LT_NA, 12673 0, 12674 1, 0xff, 0, 3, 12675 }, 12676 { 12677 NPC_ERRLEV_RE, NPC_EC_NOERR, 12678 0, 0, 0, 1, 0, 12679 NPC_S_KPU8_ICMP6, 8, 0, 12680 NPC_LID_LC, NPC_LT_NA, 12681 0, 12682 1, 0xff, 0, 3, 12683 }, 12684 { 12685 NPC_ERRLEV_RE, NPC_EC_NOERR, 12686 0, 0, 0, 2, 0, 12687 NPC_S_KPU9_ESP, 8, 0, 12688 NPC_LID_LC, NPC_LT_NA, 12689 0, 12690 1, 0xff, 0, 3, 12691 }, 12692 { 12693 NPC_ERRLEV_RE, NPC_EC_NOERR, 12694 0, 0, 0, 1, 0, 12695 NPC_S_KPU8_AH, 8, 0, 12696 NPC_LID_LC, NPC_LT_NA, 12697 0, 12698 1, 0xff, 0, 3, 12699 }, 12700 { 12701 NPC_ERRLEV_RE, NPC_EC_NOERR, 12702 0, 0, 0, 1, 0, 12703 NPC_S_KPU8_GRE, 8, 0, 12704 NPC_LID_LC, NPC_LT_NA, 12705 0, 12706 1, 0xff, 0, 3, 12707 }, 12708 { 12709 NPC_ERRLEV_RE, NPC_EC_NOERR, 12710 6, 0, 0, 5, 0, 12711 NPC_S_KPU12_TU_IP6, 8, 0, 12712 NPC_LID_LC, NPC_LT_NA, 12713 0, 12714 1, 0xff, 0, 3, 12715 }, 12716 { 12717 NPC_ERRLEV_RE, NPC_EC_NOERR, 12718 2, 6, 10, 2, 0, 12719 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 12720 NPC_LID_LC, NPC_LT_NA, 12721 0, 12722 1, 0xff, 0, 3, 12723 }, 12724 { 12725 NPC_ERRLEV_RE, NPC_EC_NOERR, 12726 0, 2, 0, 0, 0, 12727 NPC_S_KPU7_IP6_FRAG, 8, 0, 12728 NPC_LID_LC, NPC_LT_NA, 12729 0, 12730 1, 0xff, 0, 3, 12731 }, 12732 { 12733 NPC_ERRLEV_RE, NPC_EC_NOERR, 12734 0, 0, 0, 0, 1, 12735 NPC_S_NA, 0, 0, 12736 NPC_LID_LC, NPC_LT_NA, 12737 0, 12738 0, 0, 0, 0, 12739 }, 12740 { 12741 NPC_ERRLEV_RE, NPC_EC_NOERR, 12742 2, 12, 0, 1, 0, 12743 NPC_S_KPU8_TCP, 8, 0, 12744 NPC_LID_LC, NPC_LT_NA, 12745 0, 12746 0, 0, 0, 0, 12747 }, 12748 { 12749 NPC_ERRLEV_RE, NPC_EC_NOERR, 12750 2, 8, 10, 1, 0, 12751 NPC_S_KPU8_UDP, 8, 0, 12752 NPC_LID_LC, NPC_LT_NA, 12753 0, 12754 0, 0, 0, 0, 12755 }, 12756 { 12757 NPC_ERRLEV_RE, NPC_EC_NOERR, 12758 0, 0, 0, 1, 0, 12759 NPC_S_KPU8_SCTP, 8, 0, 12760 NPC_LID_LC, NPC_LT_NA, 12761 0, 12762 0, 0, 0, 0, 12763 }, 12764 { 12765 NPC_ERRLEV_RE, NPC_EC_NOERR, 12766 0, 0, 0, 1, 0, 12767 NPC_S_KPU8_ICMP, 8, 0, 12768 NPC_LID_LC, NPC_LT_NA, 12769 0, 12770 0, 0, 0, 0, 12771 }, 12772 { 12773 NPC_ERRLEV_RE, NPC_EC_NOERR, 12774 0, 0, 0, 1, 0, 12775 NPC_S_KPU8_ICMP6, 8, 0, 12776 NPC_LID_LC, NPC_LT_NA, 12777 0, 12778 0, 0, 0, 0, 12779 }, 12780 { 12781 NPC_ERRLEV_RE, NPC_EC_NOERR, 12782 0, 0, 0, 2, 0, 12783 NPC_S_KPU9_ESP, 8, 0, 12784 NPC_LID_LC, NPC_LT_NA, 12785 0, 12786 0, 0, 0, 0, 12787 }, 12788 { 12789 NPC_ERRLEV_RE, NPC_EC_NOERR, 12790 0, 0, 0, 1, 0, 12791 NPC_S_KPU8_AH, 8, 0, 12792 NPC_LID_LC, NPC_LT_NA, 12793 0, 12794 0, 0, 0, 0, 12795 }, 12796 { 12797 NPC_ERRLEV_RE, NPC_EC_NOERR, 12798 0, 0, 0, 1, 0, 12799 NPC_S_KPU8_GRE, 8, 0, 12800 NPC_LID_LC, NPC_LT_NA, 12801 0, 12802 0, 0, 0, 0, 12803 }, 12804 { 12805 NPC_ERRLEV_RE, NPC_EC_NOERR, 12806 6, 0, 0, 5, 0, 12807 NPC_S_KPU12_TU_IP6, 8, 0, 12808 NPC_LID_LC, NPC_LT_NA, 12809 0, 12810 0, 0, 0, 0, 12811 }, 12812 { 12813 NPC_ERRLEV_RE, NPC_EC_NOERR, 12814 2, 6, 10, 2, 0, 12815 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 12816 NPC_LID_LC, NPC_LT_NA, 12817 0, 12818 0, 0, 0, 0, 12819 }, 12820 { 12821 NPC_ERRLEV_RE, NPC_EC_NOERR, 12822 0, 0, 0, 0, 1, 12823 NPC_S_NA, 0, 0, 12824 NPC_LID_LC, NPC_LT_NA, 12825 0, 12826 0, 0, 0, 0, 12827 }, 12828 { 12829 NPC_ERRLEV_RE, NPC_EC_NOERR, 12830 2, 12, 0, 1, 0, 12831 NPC_S_KPU8_TCP, 8, 0, 12832 NPC_LID_LC, NPC_LT_NA, 12833 0, 12834 1, 0xff, 0, 3, 12835 }, 12836 { 12837 NPC_ERRLEV_RE, NPC_EC_NOERR, 12838 2, 8, 10, 1, 0, 12839 NPC_S_KPU8_UDP, 8, 0, 12840 NPC_LID_LC, NPC_LT_NA, 12841 0, 12842 1, 0xff, 0, 3, 12843 }, 12844 { 12845 NPC_ERRLEV_RE, NPC_EC_NOERR, 12846 0, 0, 0, 1, 0, 12847 NPC_S_KPU8_SCTP, 8, 0, 12848 NPC_LID_LC, NPC_LT_NA, 12849 0, 12850 1, 0xff, 0, 3, 12851 }, 12852 { 12853 NPC_ERRLEV_RE, NPC_EC_NOERR, 12854 0, 0, 0, 1, 0, 12855 NPC_S_KPU8_ICMP, 8, 0, 12856 NPC_LID_LC, NPC_LT_NA, 12857 0, 12858 1, 0xff, 0, 3, 12859 }, 12860 { 12861 NPC_ERRLEV_RE, NPC_EC_NOERR, 12862 0, 0, 0, 1, 0, 12863 NPC_S_KPU8_ICMP6, 8, 0, 12864 NPC_LID_LC, NPC_LT_NA, 12865 0, 12866 1, 0xff, 0, 3, 12867 }, 12868 { 12869 NPC_ERRLEV_RE, NPC_EC_NOERR, 12870 0, 0, 0, 2, 0, 12871 NPC_S_KPU9_ESP, 8, 0, 12872 NPC_LID_LC, NPC_LT_NA, 12873 0, 12874 1, 0xff, 0, 3, 12875 }, 12876 { 12877 NPC_ERRLEV_RE, NPC_EC_NOERR, 12878 0, 0, 0, 1, 0, 12879 NPC_S_KPU8_AH, 8, 0, 12880 NPC_LID_LC, NPC_LT_NA, 12881 0, 12882 1, 0xff, 0, 3, 12883 }, 12884 { 12885 NPC_ERRLEV_RE, NPC_EC_NOERR, 12886 0, 0, 0, 1, 0, 12887 NPC_S_KPU8_GRE, 8, 0, 12888 NPC_LID_LC, NPC_LT_NA, 12889 0, 12890 1, 0xff, 0, 3, 12891 }, 12892 { 12893 NPC_ERRLEV_RE, NPC_EC_NOERR, 12894 6, 0, 0, 5, 0, 12895 NPC_S_KPU12_TU_IP6, 8, 0, 12896 NPC_LID_LC, NPC_LT_NA, 12897 0, 12898 1, 0xff, 0, 3, 12899 }, 12900 { 12901 NPC_ERRLEV_RE, NPC_EC_NOERR, 12902 2, 6, 10, 2, 0, 12903 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 12904 NPC_LID_LC, NPC_LT_NA, 12905 0, 12906 1, 0xff, 0, 3, 12907 }, 12908 { 12909 NPC_ERRLEV_RE, NPC_EC_NOERR, 12910 0, 0, 0, 0, 0, 12911 NPC_S_KPU7_IP6_ROUT, 8, 0, 12912 NPC_LID_LC, NPC_LT_NA, 12913 0, 12914 1, 0xff, 0, 3, 12915 }, 12916 { 12917 NPC_ERRLEV_RE, NPC_EC_NOERR, 12918 0, 2, 0, 0, 0, 12919 NPC_S_KPU7_CPT_IP6_FRAG, 8, 0, 12920 NPC_LID_LC, NPC_LT_NA, 12921 0, 12922 1, 0xff, 0, 3, 12923 }, 12924 { 12925 NPC_ERRLEV_RE, NPC_EC_NOERR, 12926 0, 0, 0, 0, 1, 12927 NPC_S_NA, 0, 0, 12928 NPC_LID_LC, NPC_LT_NA, 12929 0, 12930 0, 0, 0, 0, 12931 }, 12932 { 12933 NPC_ERRLEV_RE, NPC_EC_NOERR, 12934 2, 12, 0, 1, 0, 12935 NPC_S_KPU8_TCP, 8, 0, 12936 NPC_LID_LC, NPC_LT_NA, 12937 0, 12938 1, 0xff, 0, 3, 12939 }, 12940 { 12941 NPC_ERRLEV_RE, NPC_EC_NOERR, 12942 2, 8, 10, 1, 0, 12943 NPC_S_KPU8_UDP, 8, 0, 12944 NPC_LID_LC, NPC_LT_NA, 12945 0, 12946 1, 0xff, 0, 3, 12947 }, 12948 { 12949 NPC_ERRLEV_RE, NPC_EC_NOERR, 12950 0, 0, 0, 1, 0, 12951 NPC_S_KPU8_SCTP, 8, 0, 12952 NPC_LID_LC, NPC_LT_NA, 12953 0, 12954 1, 0xff, 0, 3, 12955 }, 12956 { 12957 NPC_ERRLEV_RE, NPC_EC_NOERR, 12958 0, 0, 0, 1, 0, 12959 NPC_S_KPU8_ICMP, 8, 0, 12960 NPC_LID_LC, NPC_LT_NA, 12961 0, 12962 1, 0xff, 0, 3, 12963 }, 12964 { 12965 NPC_ERRLEV_RE, NPC_EC_NOERR, 12966 0, 0, 0, 1, 0, 12967 NPC_S_KPU8_ICMP6, 8, 0, 12968 NPC_LID_LC, NPC_LT_NA, 12969 0, 12970 1, 0xff, 0, 3, 12971 }, 12972 { 12973 NPC_ERRLEV_RE, NPC_EC_NOERR, 12974 0, 0, 0, 2, 0, 12975 NPC_S_KPU9_ESP, 8, 0, 12976 NPC_LID_LC, NPC_LT_NA, 12977 0, 12978 1, 0xff, 0, 3, 12979 }, 12980 { 12981 NPC_ERRLEV_RE, NPC_EC_NOERR, 12982 0, 0, 0, 1, 0, 12983 NPC_S_KPU8_AH, 8, 0, 12984 NPC_LID_LC, NPC_LT_NA, 12985 0, 12986 1, 0xff, 0, 3, 12987 }, 12988 { 12989 NPC_ERRLEV_RE, NPC_EC_NOERR, 12990 0, 0, 0, 1, 0, 12991 NPC_S_KPU8_GRE, 8, 0, 12992 NPC_LID_LC, NPC_LT_NA, 12993 0, 12994 1, 0xff, 0, 3, 12995 }, 12996 { 12997 NPC_ERRLEV_RE, NPC_EC_NOERR, 12998 6, 0, 0, 5, 0, 12999 NPC_S_KPU12_TU_IP6, 8, 0, 13000 NPC_LID_LC, NPC_LT_NA, 13001 0, 13002 1, 0xff, 0, 3, 13003 }, 13004 { 13005 NPC_ERRLEV_RE, NPC_EC_NOERR, 13006 2, 6, 10, 2, 0, 13007 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 13008 NPC_LID_LC, NPC_LT_NA, 13009 0, 13010 1, 0xff, 0, 3, 13011 }, 13012 { 13013 NPC_ERRLEV_RE, NPC_EC_NOERR, 13014 0, 2, 0, 0, 0, 13015 NPC_S_KPU7_CPT_IP6_FRAG, 8, 0, 13016 NPC_LID_LC, NPC_LT_NA, 13017 0, 13018 1, 0xff, 0, 3, 13019 }, 13020 { 13021 NPC_ERRLEV_RE, NPC_EC_NOERR, 13022 0, 0, 0, 0, 1, 13023 NPC_S_NA, 0, 0, 13024 NPC_LID_LC, NPC_LT_NA, 13025 0, 13026 0, 0, 0, 0, 13027 }, 13028 { 13029 NPC_ERRLEV_LC, NPC_EC_UNK, 13030 0, 0, 0, 0, 1, 13031 NPC_S_NA, 0, 0, 13032 NPC_LID_LC, NPC_LT_NA, 13033 0, 13034 0, 0, 0, 0, 13035 }, 13036 }; 13037 13038 static struct npc_kpu_profile_action kpu7_action_entries[] = { 13039 NPC_KPU_NOP_ACTION, 13040 NPC_KPU_NOP_ACTION, 13041 { 13042 NPC_ERRLEV_RE, NPC_EC_NOERR, 13043 0, 0, 0, 0, 1, 13044 NPC_S_NA, 0, 0, 13045 NPC_LID_LC, NPC_LT_NA, 13046 0, 13047 0, 0, 0, 0, 13048 }, 13049 { 13050 NPC_ERRLEV_RE, NPC_EC_NOERR, 13051 2, 12, 0, 0, 0, 13052 NPC_S_KPU8_TCP, 8, 0, 13053 NPC_LID_LC, NPC_LT_NA, 13054 0, 13055 1, 0xff, 0, 3, 13056 }, 13057 { 13058 NPC_ERRLEV_RE, NPC_EC_NOERR, 13059 2, 8, 10, 0, 0, 13060 NPC_S_KPU8_UDP, 8, 0, 13061 NPC_LID_LC, NPC_LT_NA, 13062 0, 13063 1, 0xff, 0, 3, 13064 }, 13065 { 13066 NPC_ERRLEV_RE, NPC_EC_NOERR, 13067 0, 0, 0, 0, 0, 13068 NPC_S_KPU8_SCTP, 8, 0, 13069 NPC_LID_LC, NPC_LT_NA, 13070 0, 13071 1, 0xff, 0, 3, 13072 }, 13073 { 13074 NPC_ERRLEV_RE, NPC_EC_NOERR, 13075 0, 0, 0, 0, 0, 13076 NPC_S_KPU8_ICMP, 8, 0, 13077 NPC_LID_LC, NPC_LT_NA, 13078 0, 13079 1, 0xff, 0, 3, 13080 }, 13081 { 13082 NPC_ERRLEV_RE, NPC_EC_NOERR, 13083 0, 0, 0, 0, 0, 13084 NPC_S_KPU8_ICMP6, 8, 0, 13085 NPC_LID_LC, NPC_LT_NA, 13086 0, 13087 1, 0xff, 0, 3, 13088 }, 13089 { 13090 NPC_ERRLEV_RE, NPC_EC_NOERR, 13091 0, 0, 0, 1, 0, 13092 NPC_S_KPU9_ESP, 8, 0, 13093 NPC_LID_LC, NPC_LT_NA, 13094 0, 13095 1, 0xff, 0, 3, 13096 }, 13097 { 13098 NPC_ERRLEV_RE, NPC_EC_NOERR, 13099 0, 0, 0, 0, 0, 13100 NPC_S_KPU8_AH, 8, 0, 13101 NPC_LID_LC, NPC_LT_NA, 13102 0, 13103 1, 0xff, 0, 3, 13104 }, 13105 { 13106 NPC_ERRLEV_RE, NPC_EC_NOERR, 13107 0, 0, 0, 0, 0, 13108 NPC_S_KPU8_GRE, 8, 0, 13109 NPC_LID_LC, NPC_LT_NA, 13110 0, 13111 1, 0xff, 0, 3, 13112 }, 13113 { 13114 NPC_ERRLEV_RE, NPC_EC_NOERR, 13115 6, 0, 0, 4, 0, 13116 NPC_S_KPU12_TU_IP6, 8, 0, 13117 NPC_LID_LC, NPC_LT_NA, 13118 0, 13119 1, 0xff, 0, 3, 13120 }, 13121 { 13122 NPC_ERRLEV_RE, NPC_EC_NOERR, 13123 2, 6, 10, 1, 0, 13124 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 13125 NPC_LID_LC, NPC_LT_NA, 13126 0, 13127 1, 0xff, 0, 3, 13128 }, 13129 { 13130 NPC_ERRLEV_RE, NPC_EC_NOERR, 13131 0, 0, 0, 0, 1, 13132 NPC_S_NA, 0, 0, 13133 NPC_LID_LC, NPC_LT_NA, 13134 0, 13135 0, 0, 0, 0, 13136 }, 13137 { 13138 NPC_ERRLEV_RE, NPC_EC_NOERR, 13139 0, 0, 0, 0, 1, 13140 NPC_S_NA, 0, 0, 13141 NPC_LID_LC, NPC_LT_NA, 13142 0, 13143 0, 0, 0, 0, 13144 }, 13145 { 13146 NPC_ERRLEV_RE, NPC_EC_NOERR, 13147 0, 0, 0, 0, 1, 13148 NPC_S_NA, 0, 0, 13149 NPC_LID_LC, NPC_LT_NA, 13150 0, 13151 0, 0, 0, 0, 13152 }, 13153 { 13154 NPC_ERRLEV_RE, NPC_EC_NOERR, 13155 0, 0, 0, 0, 1, 13156 NPC_S_NA, 0, 0, 13157 NPC_LID_LC, NPC_LT_NA, 13158 0, 13159 0, 0, 0, 0, 13160 }, 13161 { 13162 NPC_ERRLEV_RE, NPC_EC_NOERR, 13163 0, 0, 0, 0, 1, 13164 NPC_S_NA, 0, 0, 13165 NPC_LID_LC, NPC_LT_NA, 13166 0, 13167 0, 0, 0, 0, 13168 }, 13169 { 13170 NPC_ERRLEV_RE, NPC_EC_NOERR, 13171 0, 0, 0, 0, 1, 13172 NPC_S_NA, 0, 0, 13173 NPC_LID_LC, NPC_LT_NA, 13174 0, 13175 0, 0, 0, 0, 13176 }, 13177 { 13178 NPC_ERRLEV_RE, NPC_EC_NOERR, 13179 0, 0, 0, 0, 1, 13180 NPC_S_NA, 0, 0, 13181 NPC_LID_LC, NPC_LT_NA, 13182 0, 13183 0, 0, 0, 0, 13184 }, 13185 { 13186 NPC_ERRLEV_RE, NPC_EC_NOERR, 13187 0, 0, 0, 0, 1, 13188 NPC_S_NA, 0, 0, 13189 NPC_LID_LC, NPC_LT_NA, 13190 0, 13191 0, 0, 0, 0, 13192 }, 13193 { 13194 NPC_ERRLEV_RE, NPC_EC_NOERR, 13195 0, 0, 0, 0, 1, 13196 NPC_S_NA, 0, 0, 13197 NPC_LID_LC, NPC_LT_NA, 13198 0, 13199 0, 0, 0, 0, 13200 }, 13201 { 13202 NPC_ERRLEV_RE, NPC_EC_NOERR, 13203 0, 0, 0, 0, 1, 13204 NPC_S_NA, 0, 0, 13205 NPC_LID_LC, NPC_LT_NA, 13206 0, 13207 0, 0, 0, 0, 13208 }, 13209 { 13210 NPC_ERRLEV_RE, NPC_EC_NOERR, 13211 0, 0, 0, 0, 1, 13212 NPC_S_NA, 0, 0, 13213 NPC_LID_LC, NPC_LT_NA, 13214 0, 13215 0, 0, 0, 0, 13216 }, 13217 { 13218 NPC_ERRLEV_RE, NPC_EC_NOERR, 13219 0, 0, 0, 0, 1, 13220 NPC_S_NA, 0, 0, 13221 NPC_LID_LC, NPC_LT_NA, 13222 0, 13223 0, 0, 0, 0, 13224 }, 13225 { 13226 NPC_ERRLEV_RE, NPC_EC_NOERR, 13227 2, 12, 0, 0, 0, 13228 NPC_S_KPU8_TCP, 8, 0, 13229 NPC_LID_LC, NPC_LT_NA, 13230 0, 13231 0, 0, 0, 0, 13232 }, 13233 { 13234 NPC_ERRLEV_RE, NPC_EC_NOERR, 13235 2, 8, 10, 0, 0, 13236 NPC_S_KPU8_UDP, 8, 0, 13237 NPC_LID_LC, NPC_LT_NA, 13238 0, 13239 0, 0, 0, 0, 13240 }, 13241 { 13242 NPC_ERRLEV_RE, NPC_EC_NOERR, 13243 0, 0, 0, 0, 0, 13244 NPC_S_KPU8_SCTP, 8, 0, 13245 NPC_LID_LC, NPC_LT_NA, 13246 0, 13247 0, 0, 0, 0, 13248 }, 13249 { 13250 NPC_ERRLEV_RE, NPC_EC_NOERR, 13251 0, 0, 0, 0, 0, 13252 NPC_S_KPU8_ICMP, 8, 0, 13253 NPC_LID_LC, NPC_LT_NA, 13254 0, 13255 0, 0, 0, 0, 13256 }, 13257 { 13258 NPC_ERRLEV_RE, NPC_EC_NOERR, 13259 0, 0, 0, 0, 0, 13260 NPC_S_KPU8_ICMP6, 8, 0, 13261 NPC_LID_LC, NPC_LT_NA, 13262 0, 13263 0, 0, 0, 0, 13264 }, 13265 { 13266 NPC_ERRLEV_RE, NPC_EC_NOERR, 13267 0, 0, 0, 1, 0, 13268 NPC_S_KPU9_ESP, 8, 0, 13269 NPC_LID_LC, NPC_LT_NA, 13270 0, 13271 0, 0, 0, 0, 13272 }, 13273 { 13274 NPC_ERRLEV_RE, NPC_EC_NOERR, 13275 0, 0, 0, 0, 0, 13276 NPC_S_KPU8_AH, 8, 0, 13277 NPC_LID_LC, NPC_LT_NA, 13278 0, 13279 0, 0, 0, 0, 13280 }, 13281 { 13282 NPC_ERRLEV_RE, NPC_EC_NOERR, 13283 0, 0, 0, 0, 0, 13284 NPC_S_KPU8_GRE, 8, 0, 13285 NPC_LID_LC, NPC_LT_NA, 13286 0, 13287 0, 0, 0, 0, 13288 }, 13289 { 13290 NPC_ERRLEV_RE, NPC_EC_NOERR, 13291 6, 0, 0, 4, 0, 13292 NPC_S_KPU12_TU_IP6, 8, 0, 13293 NPC_LID_LC, NPC_LT_NA, 13294 0, 13295 0, 0, 0, 0, 13296 }, 13297 { 13298 NPC_ERRLEV_RE, NPC_EC_NOERR, 13299 2, 6, 10, 1, 0, 13300 NPC_S_KPU9_TU_MPLS_IN_IP, 8, 0, 13301 NPC_LID_LC, NPC_LT_NA, 13302 0, 13303 0, 0, 0, 0, 13304 }, 13305 { 13306 NPC_ERRLEV_RE, NPC_EC_NOERR, 13307 0, 0, 0, 0, 1, 13308 NPC_S_NA, 0, 0, 13309 NPC_LID_LC, NPC_LT_NA, 13310 0, 13311 0, 0, 0, 0, 13312 }, 13313 { 13314 NPC_ERRLEV_LC, NPC_EC_UNK, 13315 0, 0, 0, 0, 1, 13316 NPC_S_NA, 0, 0, 13317 NPC_LID_LC, NPC_LT_NA, 13318 0, 13319 0, 0, 0, 0, 13320 }, 13321 }; 13322 13323 static struct npc_kpu_profile_action kpu8_action_entries[] = { 13324 NPC_KPU_NOP_ACTION, 13325 NPC_KPU_NOP_ACTION, 13326 { 13327 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_FIN_ONLY, 13328 0, 0, 0, 0, 1, 13329 NPC_S_NA, 0, 1, 13330 NPC_LID_LD, NPC_LT_LD_TCP, 13331 0, 13332 0, 0, 0, 0, 13333 }, 13334 { 13335 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_ZERO, 13336 0, 0, 0, 0, 1, 13337 NPC_S_NA, 0, 1, 13338 NPC_LID_LD, NPC_LT_LD_TCP, 13339 0, 13340 0, 0, 0, 0, 13341 }, 13342 { 13343 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_RST_FIN, 13344 0, 0, 0, 0, 1, 13345 NPC_S_NA, 0, 1, 13346 NPC_LID_LD, NPC_LT_LD_TCP, 13347 0, 13348 0, 0, 0, 0, 13349 }, 13350 { 13351 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_URG_SYN, 13352 0, 0, 0, 0, 1, 13353 NPC_S_NA, 0, 1, 13354 NPC_LID_LD, NPC_LT_LD_TCP, 13355 0, 13356 0, 0, 0, 0, 13357 }, 13358 { 13359 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_RST_SYN, 13360 0, 0, 0, 0, 1, 13361 NPC_S_NA, 0, 1, 13362 NPC_LID_LD, NPC_LT_LD_TCP, 13363 0, 13364 0, 0, 0, 0, 13365 }, 13366 { 13367 NPC_ERRLEV_LD, NPC_EC_TCP_FLAGS_SYN_FIN, 13368 0, 0, 0, 0, 1, 13369 NPC_S_NA, 0, 1, 13370 NPC_LID_LD, NPC_LT_LD_TCP, 13371 0, 13372 0, 0, 0, 0, 13373 }, 13374 { 13375 NPC_ERRLEV_RE, NPC_EC_NOERR, 13376 0, 0, 0, 7, 0, 13377 NPC_S_KPU16_HTTP_DATA, 20, 1, 13378 NPC_LID_LD, NPC_LT_LD_TCP, 13379 0, 13380 0, 0, 0, 0, 13381 }, 13382 { 13383 NPC_ERRLEV_RE, NPC_EC_NOERR, 13384 0, 0, 0, 7, 0, 13385 NPC_S_KPU16_HTTPS_DATA, 20, 1, 13386 NPC_LID_LD, NPC_LT_LD_TCP, 13387 0, 13388 0, 0, 0, 0, 13389 }, 13390 { 13391 NPC_ERRLEV_RE, NPC_EC_NOERR, 13392 0, 0, 0, 7, 0, 13393 NPC_S_KPU16_PPTP_DATA, 20, 1, 13394 NPC_LID_LD, NPC_LT_LD_TCP, 13395 0, 13396 0, 0, 0, 0, 13397 }, 13398 { 13399 NPC_ERRLEV_RE, NPC_EC_NOERR, 13400 0, 0, 0, 7, 0, 13401 NPC_S_KPU16_TCP_DATA, 20, 1, 13402 NPC_LID_LD, NPC_LT_LD_TCP, 13403 NPC_F_LD_L_TCP_UNK_PORT, 13404 0, 0, 0, 0, 13405 }, 13406 { 13407 NPC_ERRLEV_RE, NPC_EC_NOERR, 13408 0, 0, 0, 7, 0, 13409 NPC_S_KPU16_HTTP_DATA, 0, 1, 13410 NPC_LID_LD, NPC_LT_LD_TCP, 13411 NPC_F_LD_L_TCP_HAS_OPTIONS, 13412 12, 0xf0, 1, 2, 13413 }, 13414 { 13415 NPC_ERRLEV_RE, NPC_EC_NOERR, 13416 0, 0, 0, 7, 0, 13417 NPC_S_KPU16_HTTPS_DATA, 0, 1, 13418 NPC_LID_LD, NPC_LT_LD_TCP, 13419 NPC_F_LD_L_TCP_HAS_OPTIONS, 13420 12, 0xf0, 1, 2, 13421 }, 13422 { 13423 NPC_ERRLEV_RE, NPC_EC_NOERR, 13424 0, 0, 0, 7, 0, 13425 NPC_S_KPU16_PPTP_DATA, 0, 1, 13426 NPC_LID_LD, NPC_LT_LD_TCP, 13427 NPC_F_LD_L_TCP_HAS_OPTIONS, 13428 12, 0xf0, 1, 2, 13429 }, 13430 { 13431 NPC_ERRLEV_RE, NPC_EC_NOERR, 13432 0, 0, 0, 7, 0, 13433 NPC_S_KPU16_TCP_DATA, 0, 1, 13434 NPC_LID_LD, NPC_LT_LD_TCP, 13435 NPC_F_LD_L_TCP_UNK_PORT_HAS_OPTIONS, 13436 12, 0xf0, 1, 2, 13437 }, 13438 { 13439 NPC_ERRLEV_RE, NPC_EC_NOERR, 13440 0, 0, 2, 0, 0, 13441 NPC_S_KPU9_VXLAN, 8, 1, 13442 NPC_LID_LD, NPC_LT_LD_UDP, 13443 0, 13444 0, 0, 0, 0, 13445 }, 13446 { 13447 NPC_ERRLEV_RE, NPC_EC_NOERR, 13448 0, 0, 2, 0, 0, 13449 NPC_S_KPU9_VXLANGPE, 8, 1, 13450 NPC_LID_LD, NPC_LT_LD_UDP, 13451 0, 13452 0, 0, 0, 0, 13453 }, 13454 { 13455 NPC_ERRLEV_RE, NPC_EC_NOERR, 13456 0, 0, 2, 0, 0, 13457 NPC_S_KPU9_GENEVE, 8, 1, 13458 NPC_LID_LD, NPC_LT_LD_UDP, 13459 0, 13460 0, 0, 0, 0, 13461 }, 13462 { 13463 NPC_ERRLEV_RE, NPC_EC_NOERR, 13464 0, 0, 2, 0, 0, 13465 NPC_S_KPU9_GTPC, 8, 1, 13466 NPC_LID_LD, NPC_LT_LD_UDP, 13467 0, 13468 0, 0, 0, 0, 13469 }, 13470 { 13471 NPC_ERRLEV_RE, NPC_EC_NOERR, 13472 0, 0, 2, 0, 0, 13473 NPC_S_KPU9_GTPU, 8, 1, 13474 NPC_LID_LD, NPC_LT_LD_UDP, 13475 0, 13476 0, 0, 0, 0, 13477 }, 13478 { 13479 NPC_ERRLEV_RE, NPC_EC_NOERR, 13480 0, 0, 0, 0, 1, 13481 NPC_S_KPU16_UDP_PTP, 0, 1, 13482 NPC_LID_LD, NPC_LT_LD_UDP, 13483 0, 13484 0, 0, 0, 0, 13485 }, 13486 { 13487 NPC_ERRLEV_RE, NPC_EC_NOERR, 13488 0, 0, 0, 0, 1, 13489 NPC_S_KPU16_UDP_PTP, 0, 1, 13490 NPC_LID_LD, NPC_LT_LD_UDP, 13491 0, 13492 0, 0, 0, 0, 13493 }, 13494 { 13495 NPC_ERRLEV_RE, NPC_EC_NOERR, 13496 2, 6, 10, 0, 0, 13497 NPC_S_KPU9_TU_MPLS_IN_UDP, 8, 1, 13498 NPC_LID_LD, NPC_LT_LD_UDP, 13499 0, 13500 0, 0, 0, 0, 13501 }, 13502 { 13503 NPC_ERRLEV_RE, NPC_EC_NOERR, 13504 0, 0, 0, 0, 0, 13505 NPC_S_KPU9_ESP, 8, 1, 13506 NPC_LID_LD, NPC_LT_LD_UDP, 13507 0, 13508 0, 0, 0, 0, 13509 }, 13510 { 13511 NPC_ERRLEV_RE, NPC_EC_NOERR, 13512 0, 0, 0, 0, 0, 13513 NPC_S_KPU9_ESP, 8, 1, 13514 NPC_LID_LD, NPC_LT_LD_UDP, 13515 0, 13516 0, 0, 0, 0, 13517 }, 13518 { 13519 NPC_ERRLEV_RE, NPC_EC_NOERR, 13520 0, 0, 0, 7, 0, 13521 NPC_S_KPU16_UDP_DATA, 8, 1, 13522 NPC_LID_LD, NPC_LT_LD_UDP, 13523 0, 13524 0, 0, 0, 0, 13525 }, 13526 { 13527 NPC_ERRLEV_RE, NPC_EC_NOERR, 13528 0, 0, 0, 0, 1, 13529 NPC_S_NA, 0, 1, 13530 NPC_LID_LD, NPC_LT_LD_SCTP, 13531 0, 13532 0, 0, 0, 0, 13533 }, 13534 { 13535 NPC_ERRLEV_RE, NPC_EC_NOERR, 13536 0, 0, 0, 0, 1, 13537 NPC_S_NA, 0, 1, 13538 NPC_LID_LD, NPC_LT_LD_ICMP, 13539 0, 13540 0, 0, 0, 0, 13541 }, 13542 { 13543 NPC_ERRLEV_RE, NPC_EC_NOERR, 13544 0, 0, 0, 0, 1, 13545 NPC_S_NA, 0, 1, 13546 NPC_LID_LD, NPC_LT_LD_IGMP, 13547 0, 13548 0, 0, 0, 0, 13549 }, 13550 { 13551 NPC_ERRLEV_RE, NPC_EC_NOERR, 13552 0, 0, 0, 0, 1, 13553 NPC_S_NA, 0, 1, 13554 NPC_LID_LD, NPC_LT_LD_ICMP6, 13555 0, 13556 0, 0, 0, 0, 13557 }, 13558 { 13559 NPC_ERRLEV_RE, NPC_EC_NOERR, 13560 0, 0, 0, 0, 1, 13561 NPC_S_NA, 0, 1, 13562 NPC_LID_LD, NPC_LT_LD_AH, 13563 0, 13564 0, 0, 0, 0, 13565 }, 13566 { 13567 NPC_ERRLEV_RE, NPC_EC_NOERR, 13568 12, 16, 20, 2, 0, 13569 NPC_S_KPU11_TU_ETHER, 8, 1, 13570 NPC_LID_LD, NPC_LT_LD_NVGRE, 13571 NPC_F_LD_L_GRE_NVGRE, 13572 0, 0, 0, 0, 13573 }, 13574 { 13575 NPC_ERRLEV_LD, NPC_EC_NVGRE, 13576 0, 0, 0, 0, 1, 13577 NPC_S_NA, 0, 0, 13578 NPC_LID_LD, NPC_LT_NA, 13579 0, 13580 0, 0, 0, 0, 13581 }, 13582 { 13583 NPC_ERRLEV_RE, NPC_EC_NOERR, 13584 2, 6, 10, 0, 0, 13585 NPC_S_KPU9_TU_MPLS_IN_GRE, 4, 1, 13586 NPC_LID_LD, NPC_LT_LD_GRE, 13587 0, 13588 0, 0, 0, 0, 13589 }, 13590 { 13591 NPC_ERRLEV_RE, NPC_EC_NOERR, 13592 2, 6, 10, 0, 0, 13593 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13594 NPC_LID_LD, NPC_LT_LD_GRE, 13595 NPC_F_LD_L_GRE_HAS_CSUM, 13596 0, 0, 0, 0, 13597 }, 13598 { 13599 NPC_ERRLEV_RE, NPC_EC_NOERR, 13600 2, 6, 10, 0, 0, 13601 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13602 NPC_LID_LD, NPC_LT_LD_GRE, 13603 NPC_F_LD_L_GRE_HAS_KEY, 13604 0, 0, 0, 0, 13605 }, 13606 { 13607 NPC_ERRLEV_RE, NPC_EC_NOERR, 13608 2, 6, 10, 0, 0, 13609 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13610 NPC_LID_LD, NPC_LT_LD_GRE, 13611 NPC_F_LD_L_GRE_HAS_SEQ, 13612 0, 0, 0, 0, 13613 }, 13614 { 13615 NPC_ERRLEV_RE, NPC_EC_NOERR, 13616 2, 6, 10, 0, 0, 13617 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13618 NPC_LID_LD, NPC_LT_LD_GRE, 13619 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 13620 0, 0, 0, 0, 13621 }, 13622 { 13623 NPC_ERRLEV_RE, NPC_EC_NOERR, 13624 2, 6, 10, 0, 0, 13625 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13626 NPC_LID_LD, NPC_LT_LD_GRE, 13627 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 13628 0, 0, 0, 0, 13629 }, 13630 { 13631 NPC_ERRLEV_RE, NPC_EC_NOERR, 13632 2, 6, 10, 0, 0, 13633 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13634 NPC_LID_LD, NPC_LT_LD_GRE, 13635 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 13636 0, 0, 0, 0, 13637 }, 13638 { 13639 NPC_ERRLEV_RE, NPC_EC_NOERR, 13640 2, 6, 10, 0, 0, 13641 NPC_S_KPU9_TU_MPLS_IN_GRE, 16, 1, 13642 NPC_LID_LD, NPC_LT_LD_GRE, 13643 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 13644 0, 0, 0, 0, 13645 }, 13646 { 13647 NPC_ERRLEV_RE, NPC_EC_NOERR, 13648 2, 6, 10, 0, 0, 13649 NPC_S_KPU9_TU_MPLS_IN_GRE, 4, 1, 13650 NPC_LID_LD, NPC_LT_LD_GRE, 13651 0, 13652 0, 0, 0, 0, 13653 }, 13654 { 13655 NPC_ERRLEV_RE, NPC_EC_NOERR, 13656 2, 6, 10, 0, 0, 13657 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13658 NPC_LID_LD, NPC_LT_LD_GRE, 13659 NPC_F_LD_L_GRE_HAS_CSUM, 13660 0, 0, 0, 0, 13661 }, 13662 { 13663 NPC_ERRLEV_RE, NPC_EC_NOERR, 13664 2, 6, 10, 0, 0, 13665 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13666 NPC_LID_LD, NPC_LT_LD_GRE, 13667 NPC_F_LD_L_GRE_HAS_KEY, 13668 0, 0, 0, 0, 13669 }, 13670 { 13671 NPC_ERRLEV_RE, NPC_EC_NOERR, 13672 2, 6, 10, 0, 0, 13673 NPC_S_KPU9_TU_MPLS_IN_GRE, 8, 1, 13674 NPC_LID_LD, NPC_LT_LD_GRE, 13675 NPC_F_LD_L_GRE_HAS_SEQ, 13676 0, 0, 0, 0, 13677 }, 13678 { 13679 NPC_ERRLEV_RE, NPC_EC_NOERR, 13680 2, 6, 10, 0, 0, 13681 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13682 NPC_LID_LD, NPC_LT_LD_GRE, 13683 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 13684 0, 0, 0, 0, 13685 }, 13686 { 13687 NPC_ERRLEV_RE, NPC_EC_NOERR, 13688 2, 6, 10, 0, 0, 13689 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13690 NPC_LID_LD, NPC_LT_LD_GRE, 13691 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 13692 0, 0, 0, 0, 13693 }, 13694 { 13695 NPC_ERRLEV_RE, NPC_EC_NOERR, 13696 2, 6, 10, 0, 0, 13697 NPC_S_KPU9_TU_MPLS_IN_GRE, 12, 1, 13698 NPC_LID_LD, NPC_LT_LD_GRE, 13699 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 13700 0, 0, 0, 0, 13701 }, 13702 { 13703 NPC_ERRLEV_RE, NPC_EC_NOERR, 13704 2, 6, 10, 0, 0, 13705 NPC_S_KPU9_TU_MPLS_IN_GRE, 16, 1, 13706 NPC_LID_LD, NPC_LT_LD_GRE, 13707 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 13708 0, 0, 0, 0, 13709 }, 13710 { 13711 NPC_ERRLEV_RE, NPC_EC_NOERR, 13712 2, 0, 0, 0, 0, 13713 NPC_S_KPU9_TU_NSH_IN_GRE, 4, 1, 13714 NPC_LID_LD, NPC_LT_LD_GRE, 13715 0, 13716 0, 0, 0, 0, 13717 }, 13718 { 13719 NPC_ERRLEV_RE, NPC_EC_NOERR, 13720 2, 0, 0, 0, 0, 13721 NPC_S_KPU9_TU_NSH_IN_GRE, 8, 1, 13722 NPC_LID_LD, NPC_LT_LD_GRE, 13723 NPC_F_LD_L_GRE_HAS_CSUM, 13724 0, 0, 0, 0, 13725 }, 13726 { 13727 NPC_ERRLEV_RE, NPC_EC_NOERR, 13728 2, 0, 0, 0, 0, 13729 NPC_S_KPU9_TU_NSH_IN_GRE, 8, 1, 13730 NPC_LID_LD, NPC_LT_LD_GRE, 13731 NPC_F_LD_L_GRE_HAS_KEY, 13732 0, 0, 0, 0, 13733 }, 13734 { 13735 NPC_ERRLEV_RE, NPC_EC_NOERR, 13736 2, 0, 0, 0, 0, 13737 NPC_S_KPU9_TU_NSH_IN_GRE, 8, 1, 13738 NPC_LID_LD, NPC_LT_LD_GRE, 13739 NPC_F_LD_L_GRE_HAS_SEQ, 13740 0, 0, 0, 0, 13741 }, 13742 { 13743 NPC_ERRLEV_RE, NPC_EC_NOERR, 13744 2, 0, 0, 0, 0, 13745 NPC_S_KPU9_TU_NSH_IN_GRE, 12, 1, 13746 NPC_LID_LD, NPC_LT_LD_GRE, 13747 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 13748 0, 0, 0, 0, 13749 }, 13750 { 13751 NPC_ERRLEV_RE, NPC_EC_NOERR, 13752 2, 0, 0, 0, 0, 13753 NPC_S_KPU9_TU_NSH_IN_GRE, 12, 1, 13754 NPC_LID_LD, NPC_LT_LD_GRE, 13755 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 13756 0, 0, 0, 0, 13757 }, 13758 { 13759 NPC_ERRLEV_RE, NPC_EC_NOERR, 13760 2, 0, 0, 0, 0, 13761 NPC_S_KPU9_TU_NSH_IN_GRE, 12, 1, 13762 NPC_LID_LD, NPC_LT_LD_GRE, 13763 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 13764 0, 0, 0, 0, 13765 }, 13766 { 13767 NPC_ERRLEV_RE, NPC_EC_NOERR, 13768 2, 0, 0, 0, 0, 13769 NPC_S_KPU9_TU_NSH_IN_GRE, 16, 1, 13770 NPC_LID_LD, NPC_LT_LD_GRE, 13771 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 13772 0, 0, 0, 0, 13773 }, 13774 { 13775 NPC_ERRLEV_RE, NPC_EC_NOERR, 13776 8, 0, 6, 3, 0, 13777 NPC_S_KPU12_TU_IP, 4, 1, 13778 NPC_LID_LD, NPC_LT_LD_GRE, 13779 0, 13780 0, 0, 0, 0, 13781 }, 13782 { 13783 NPC_ERRLEV_RE, NPC_EC_NOERR, 13784 8, 0, 6, 3, 0, 13785 NPC_S_KPU12_TU_IP, 8, 1, 13786 NPC_LID_LD, NPC_LT_LD_GRE, 13787 NPC_F_LD_L_GRE_HAS_CSUM, 13788 0, 0, 0, 0, 13789 }, 13790 { 13791 NPC_ERRLEV_RE, NPC_EC_NOERR, 13792 8, 0, 6, 3, 0, 13793 NPC_S_KPU12_TU_IP, 8, 1, 13794 NPC_LID_LD, NPC_LT_LD_GRE, 13795 NPC_F_LD_L_GRE_HAS_KEY, 13796 0, 0, 0, 0, 13797 }, 13798 { 13799 NPC_ERRLEV_RE, NPC_EC_NOERR, 13800 8, 0, 6, 3, 0, 13801 NPC_S_KPU12_TU_IP, 8, 1, 13802 NPC_LID_LD, NPC_LT_LD_GRE, 13803 NPC_F_LD_L_GRE_HAS_SEQ, 13804 0, 0, 0, 0, 13805 }, 13806 { 13807 NPC_ERRLEV_RE, NPC_EC_NOERR, 13808 8, 0, 6, 3, 0, 13809 NPC_S_KPU12_TU_IP, 12, 1, 13810 NPC_LID_LD, NPC_LT_LD_GRE, 13811 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 13812 0, 0, 0, 0, 13813 }, 13814 { 13815 NPC_ERRLEV_RE, NPC_EC_NOERR, 13816 8, 0, 6, 3, 0, 13817 NPC_S_KPU12_TU_IP, 12, 1, 13818 NPC_LID_LD, NPC_LT_LD_GRE, 13819 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 13820 0, 0, 0, 0, 13821 }, 13822 { 13823 NPC_ERRLEV_RE, NPC_EC_NOERR, 13824 8, 0, 6, 3, 0, 13825 NPC_S_KPU12_TU_IP, 12, 1, 13826 NPC_LID_LD, NPC_LT_LD_GRE, 13827 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 13828 0, 0, 0, 0, 13829 }, 13830 { 13831 NPC_ERRLEV_RE, NPC_EC_NOERR, 13832 8, 0, 6, 3, 0, 13833 NPC_S_KPU12_TU_IP, 16, 1, 13834 NPC_LID_LD, NPC_LT_LD_GRE, 13835 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 13836 0, 0, 0, 0, 13837 }, 13838 { 13839 NPC_ERRLEV_RE, NPC_EC_NOERR, 13840 6, 0, 0, 3, 0, 13841 NPC_S_KPU12_TU_IP6, 4, 1, 13842 NPC_LID_LD, NPC_LT_LD_GRE, 13843 0, 13844 0, 0, 0, 0, 13845 }, 13846 { 13847 NPC_ERRLEV_RE, NPC_EC_NOERR, 13848 6, 0, 0, 3, 0, 13849 NPC_S_KPU12_TU_IP6, 8, 1, 13850 NPC_LID_LD, NPC_LT_LD_GRE, 13851 NPC_F_LD_L_GRE_HAS_CSUM, 13852 0, 0, 0, 0, 13853 }, 13854 { 13855 NPC_ERRLEV_RE, NPC_EC_NOERR, 13856 6, 0, 0, 3, 0, 13857 NPC_S_KPU12_TU_IP6, 8, 1, 13858 NPC_LID_LD, NPC_LT_LD_GRE, 13859 NPC_F_LD_L_GRE_HAS_KEY, 13860 0, 0, 0, 0, 13861 }, 13862 { 13863 NPC_ERRLEV_RE, NPC_EC_NOERR, 13864 6, 0, 0, 3, 0, 13865 NPC_S_KPU12_TU_IP6, 8, 1, 13866 NPC_LID_LD, NPC_LT_LD_GRE, 13867 NPC_F_LD_L_GRE_HAS_SEQ, 13868 0, 0, 0, 0, 13869 }, 13870 { 13871 NPC_ERRLEV_RE, NPC_EC_NOERR, 13872 6, 0, 0, 3, 0, 13873 NPC_S_KPU12_TU_IP6, 12, 1, 13874 NPC_LID_LD, NPC_LT_LD_GRE, 13875 NPC_F_LD_L_GRE_HAS_CSUM_KEY, 13876 0, 0, 0, 0, 13877 }, 13878 { 13879 NPC_ERRLEV_RE, NPC_EC_NOERR, 13880 6, 0, 0, 3, 0, 13881 NPC_S_KPU12_TU_IP6, 12, 1, 13882 NPC_LID_LD, NPC_LT_LD_GRE, 13883 NPC_F_LD_L_GRE_HAS_CSUM_SEQ, 13884 0, 0, 0, 0, 13885 }, 13886 { 13887 NPC_ERRLEV_RE, NPC_EC_NOERR, 13888 6, 0, 0, 3, 0, 13889 NPC_S_KPU12_TU_IP6, 12, 1, 13890 NPC_LID_LD, NPC_LT_LD_GRE, 13891 NPC_F_LD_L_GRE_HAS_KEY_SEQ, 13892 0, 0, 0, 0, 13893 }, 13894 { 13895 NPC_ERRLEV_RE, NPC_EC_NOERR, 13896 6, 0, 0, 3, 0, 13897 NPC_S_KPU12_TU_IP6, 16, 1, 13898 NPC_LID_LD, NPC_LT_LD_GRE, 13899 NPC_F_LD_L_GRE_HAS_CSUM_KEY_SEQ, 13900 0, 0, 0, 0, 13901 }, 13902 { 13903 NPC_ERRLEV_RE, NPC_EC_NOERR, 13904 0, 0, 0, 0, 1, 13905 NPC_S_NA, 0, 1, 13906 NPC_LID_LD, NPC_LT_LD_GRE, 13907 NPC_F_LD_L_GRE_HAS_ROUTE, 13908 0, 0, 0, 0, 13909 }, 13910 { 13911 NPC_ERRLEV_RE, NPC_EC_NOERR, 13912 0, 0, 0, 0, 1, 13913 NPC_S_NA, 0, 1, 13914 NPC_LID_LD, NPC_LT_LD_GRE, 13915 NPC_F_LD_L_GRE_UNK_PROTO, 13916 0, 0, 0, 0, 13917 }, 13918 { 13919 NPC_ERRLEV_LD, NPC_EC_GRE, 13920 0, 0, 0, 0, 1, 13921 NPC_S_NA, 0, 0, 13922 NPC_LID_LD, NPC_LT_NA, 13923 0, 13924 0, 0, 0, 0, 13925 }, 13926 { 13927 NPC_ERRLEV_RE, NPC_EC_NOERR, 13928 0, 0, 0, 2, 0, 13929 NPC_S_KPU11_TU_PPP, 8, 1, 13930 NPC_LID_LD, NPC_LT_LD_GRE, 13931 NPC_F_LD_L_GRE_VER1, 13932 0, 0, 0, 0, 13933 }, 13934 { 13935 NPC_ERRLEV_RE, NPC_EC_NOERR, 13936 0, 0, 0, 2, 0, 13937 NPC_S_KPU11_TU_PPP, 12, 1, 13938 NPC_LID_LD, NPC_LT_LD_GRE, 13939 NPC_F_LD_L_GRE_VER1_HAS_SEQ, 13940 0, 0, 0, 0, 13941 }, 13942 { 13943 NPC_ERRLEV_RE, NPC_EC_NOERR, 13944 0, 0, 0, 2, 0, 13945 NPC_S_KPU11_TU_PPP, 12, 1, 13946 NPC_LID_LD, NPC_LT_LD_GRE, 13947 NPC_F_LD_L_GRE_VER1_HAS_ACK, 13948 0, 0, 0, 0, 13949 }, 13950 { 13951 NPC_ERRLEV_RE, NPC_EC_NOERR, 13952 0, 0, 0, 2, 0, 13953 NPC_S_KPU11_TU_PPP, 16, 1, 13954 NPC_LID_LD, NPC_LT_LD_GRE, 13955 NPC_F_LD_L_GRE_VER1_HAS_SEQ_ACK, 13956 0, 0, 0, 0, 13957 }, 13958 { 13959 NPC_ERRLEV_RE, NPC_EC_NOERR, 13960 0, 0, 0, 0, 1, 13961 NPC_S_NA, 0, 1, 13962 NPC_LID_LD, NPC_LT_LD_GRE, 13963 NPC_F_LD_L_GRE_VER1_UNK_PROTO, 13964 0, 0, 0, 0, 13965 }, 13966 { 13967 NPC_ERRLEV_LD, NPC_EC_GRE_VER1, 13968 0, 0, 0, 0, 1, 13969 NPC_S_NA, 0, 0, 13970 NPC_LID_LD, NPC_LT_NA, 13971 0, 13972 0, 0, 0, 0, 13973 }, 13974 { 13975 NPC_ERRLEV_LD, NPC_EC_UNK, 13976 0, 0, 0, 0, 1, 13977 NPC_S_NA, 0, 0, 13978 NPC_LID_LD, NPC_LT_NA, 13979 0, 13980 0, 0, 0, 0, 13981 }, 13982 }; 13983 13984 static struct npc_kpu_profile_action kpu9_action_entries[] = { 13985 NPC_KPU_NOP_ACTION, 13986 NPC_KPU_NOP_ACTION, 13987 { 13988 NPC_ERRLEV_RE, NPC_EC_NOERR, 13989 0, 0, 0, 0, 0, 13990 NPC_S_KPU10_TU_MPLS_PL, 4, 1, 13991 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_GRE, 13992 0, 13993 0, 0, 0, 0, 13994 }, 13995 { 13996 NPC_ERRLEV_RE, NPC_EC_NOERR, 13997 0, 0, 0, 0, 0, 13998 NPC_S_KPU10_TU_MPLS_PL, 8, 1, 13999 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_GRE, 14000 0, 14001 0, 0, 0, 0, 14002 }, 14003 { 14004 NPC_ERRLEV_RE, NPC_EC_NOERR, 14005 0, 0, 0, 0, 0, 14006 NPC_S_KPU10_TU_MPLS_PL, 12, 1, 14007 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_GRE, 14008 0, 14009 0, 0, 0, 0, 14010 }, 14011 { 14012 NPC_ERRLEV_RE, NPC_EC_NOERR, 14013 2, 4, 0, 0, 0, 14014 NPC_S_KPU10_TU_MPLS, 12, 1, 14015 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_GRE, 14016 0, 14017 0, 0, 0, 0, 14018 }, 14019 { 14020 NPC_ERRLEV_RE, NPC_EC_NOERR, 14021 0, 0, 0, 0, 0, 14022 NPC_S_KPU10_TU_MPLS_PL, 4, 1, 14023 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_NSH, 14024 0, 14025 0, 0, 0, 0, 14026 }, 14027 { 14028 NPC_ERRLEV_RE, NPC_EC_NOERR, 14029 0, 0, 0, 0, 0, 14030 NPC_S_KPU10_TU_MPLS_PL, 8, 1, 14031 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_NSH, 14032 NPC_F_LD_L_MPLS_2_LABELS, 14033 0, 0, 0, 0, 14034 }, 14035 { 14036 NPC_ERRLEV_RE, NPC_EC_NOERR, 14037 0, 0, 0, 0, 0, 14038 NPC_S_KPU10_TU_MPLS_PL, 12, 1, 14039 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_NSH, 14040 NPC_F_LD_L_MPLS_3_LABELS, 14041 0, 0, 0, 0, 14042 }, 14043 { 14044 NPC_ERRLEV_RE, NPC_EC_NOERR, 14045 2, 4, 0, 0, 0, 14046 NPC_S_KPU10_TU_MPLS, 12, 1, 14047 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_NSH, 14048 NPC_F_LD_L_MPLS_4_LABELS, 14049 0, 0, 0, 0, 14050 }, 14051 { 14052 NPC_ERRLEV_RE, NPC_EC_NOERR, 14053 0, 0, 0, 0, 0, 14054 NPC_S_KPU10_TU_MPLS_PL, 4, 1, 14055 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_IP, 14056 0, 14057 0, 0, 0, 0, 14058 }, 14059 { 14060 NPC_ERRLEV_RE, NPC_EC_NOERR, 14061 0, 0, 0, 0, 0, 14062 NPC_S_KPU10_TU_MPLS_PL, 8, 1, 14063 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_IP, 14064 NPC_F_LD_L_MPLS_2_LABELS, 14065 0, 0, 0, 0, 14066 }, 14067 { 14068 NPC_ERRLEV_RE, NPC_EC_NOERR, 14069 0, 0, 0, 0, 0, 14070 NPC_S_KPU10_TU_MPLS_PL, 12, 1, 14071 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_IP, 14072 NPC_F_LD_L_MPLS_3_LABELS, 14073 0, 0, 0, 0, 14074 }, 14075 { 14076 NPC_ERRLEV_RE, NPC_EC_NOERR, 14077 2, 4, 0, 0, 0, 14078 NPC_S_KPU10_TU_MPLS, 12, 1, 14079 NPC_LID_LD, NPC_LT_LD_TU_MPLS_IN_IP, 14080 NPC_F_LD_L_MPLS_4_LABELS, 14081 0, 0, 0, 0, 14082 }, 14083 { 14084 NPC_ERRLEV_RE, NPC_EC_NOERR, 14085 8, 0, 6, 2, 0, 14086 NPC_S_KPU12_TU_IP, 0, 1, 14087 NPC_LID_LE, NPC_LT_LE_TU_NSH_IN_GRE, 14088 0, 14089 1, 0x3f, 0, 2, 14090 }, 14091 { 14092 NPC_ERRLEV_RE, NPC_EC_NOERR, 14093 6, 0, 0, 2, 0, 14094 NPC_S_KPU12_TU_IP6, 0, 1, 14095 NPC_LID_LE, NPC_LT_LE_TU_NSH_IN_GRE, 14096 0, 14097 1, 0x3f, 0, 2, 14098 }, 14099 { 14100 NPC_ERRLEV_RE, NPC_EC_NOERR, 14101 12, 16, 20, 1, 0, 14102 NPC_S_KPU11_TU_ETHER, 0, 1, 14103 NPC_LID_LE, NPC_LT_LE_TU_NSH_IN_GRE, 14104 0, 14105 1, 0x3f, 0, 2, 14106 }, 14107 { 14108 NPC_ERRLEV_LE, NPC_EC_NSH_UNK, 14109 0, 0, 0, 0, 1, 14110 NPC_S_NA, 0, 1, 14111 NPC_LID_LE, NPC_LT_LE_TU_NSH_IN_GRE, 14112 0, 14113 0, 0, 0, 0, 14114 }, 14115 { 14116 NPC_ERRLEV_RE, NPC_EC_NOERR, 14117 12, 16, 20, 1, 0, 14118 NPC_S_KPU11_TU_ETHER, 8, 1, 14119 NPC_LID_LE, NPC_LT_LE_VXLAN, 14120 0, 14121 0, 0, 0, 0, 14122 }, 14123 { 14124 NPC_ERRLEV_RE, NPC_EC_NOERR, 14125 12, 16, 20, 1, 0, 14126 NPC_S_KPU11_TU_ETHER, 8, 1, 14127 NPC_LID_LE, NPC_LT_LE_VXLAN, 14128 NPC_F_LE_L_VXLAN_NOVNI, 14129 0, 0, 0, 0, 14130 }, 14131 { 14132 NPC_ERRLEV_LE, NPC_EC_VXLAN, 14133 0, 0, 0, 0, 1, 14134 NPC_S_NA, 0, 0, 14135 NPC_LID_LE, NPC_LT_NA, 14136 0, 14137 0, 0, 0, 0, 14138 }, 14139 { 14140 NPC_ERRLEV_RE, NPC_EC_NOERR, 14141 8, 0, 6, 2, 0, 14142 NPC_S_KPU12_TU_IP, 8, 1, 14143 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14144 0, 14145 0, 0, 0, 0, 14146 }, 14147 { 14148 NPC_ERRLEV_RE, NPC_EC_NOERR, 14149 6, 0, 0, 2, 0, 14150 NPC_S_KPU12_TU_IP6, 8, 1, 14151 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14152 0, 14153 0, 0, 0, 0, 14154 }, 14155 { 14156 NPC_ERRLEV_RE, NPC_EC_NOERR, 14157 12, 16, 20, 1, 0, 14158 NPC_S_KPU11_TU_ETHER, 8, 1, 14159 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14160 0, 14161 0, 0, 0, 0, 14162 }, 14163 { 14164 NPC_ERRLEV_RE, NPC_EC_NOERR, 14165 2, 0, 0, 0, 0, 14166 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 8, 1, 14167 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14168 0, 14169 0, 0, 0, 0, 14170 }, 14171 { 14172 NPC_ERRLEV_RE, NPC_EC_NOERR, 14173 2, 6, 10, 0, 0, 14174 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 8, 1, 14175 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14176 0, 14177 0, 0, 0, 0, 14178 }, 14179 { 14180 NPC_ERRLEV_RE, NPC_EC_NOERR, 14181 8, 0, 6, 2, 0, 14182 NPC_S_KPU12_TU_IP, 8, 1, 14183 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14184 NPC_F_LE_L_VXLANGPE_NOVNI, 14185 0, 0, 0, 0, 14186 }, 14187 { 14188 NPC_ERRLEV_RE, NPC_EC_NOERR, 14189 6, 0, 0, 2, 0, 14190 NPC_S_KPU12_TU_IP6, 8, 1, 14191 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14192 NPC_F_LE_L_VXLANGPE_NOVNI, 14193 0, 0, 0, 0, 14194 }, 14195 { 14196 NPC_ERRLEV_RE, NPC_EC_NOERR, 14197 12, 16, 20, 1, 0, 14198 NPC_S_KPU11_TU_ETHER, 8, 1, 14199 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14200 NPC_F_LE_L_VXLANGPE_NOVNI, 14201 0, 0, 0, 0, 14202 }, 14203 { 14204 NPC_ERRLEV_RE, NPC_EC_NOERR, 14205 2, 0, 0, 0, 0, 14206 NPC_S_KPU10_TU_NSH_IN_VXLANGPE, 8, 1, 14207 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14208 NPC_F_LE_L_VXLANGPE_NOVNI, 14209 0, 0, 0, 0, 14210 }, 14211 { 14212 NPC_ERRLEV_RE, NPC_EC_NOERR, 14213 2, 6, 10, 0, 0, 14214 NPC_S_KPU10_TU_MPLS_IN_VXLANGPE, 8, 1, 14215 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14216 NPC_F_LE_L_VXLANGPE_NOVNI, 14217 0, 0, 0, 0, 14218 }, 14219 { 14220 NPC_ERRLEV_RE, NPC_EC_NOERR, 14221 0, 0, 0, 0, 1, 14222 NPC_S_NA, 0, 1, 14223 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14224 NPC_F_LE_L_VXLANGPE_UNK, 14225 0, 0, 0, 0, 14226 }, 14227 { 14228 NPC_ERRLEV_RE, NPC_EC_NOERR, 14229 0, 0, 0, 0, 1, 14230 NPC_S_NA, 0, 1, 14231 NPC_LID_LE, NPC_LT_LE_VXLANGPE, 14232 NPC_F_LE_L_VXLANGPE_NONP, 14233 0, 0, 0, 0, 14234 }, 14235 { 14236 NPC_ERRLEV_RE, NPC_EC_NOERR, 14237 12, 16, 20, 1, 0, 14238 NPC_S_KPU11_TU_ETHER, 8, 1, 14239 NPC_LID_LE, NPC_LT_LE_GENEVE, 14240 0, 14241 0, 0x3f, 0, 2, 14242 }, 14243 { 14244 NPC_ERRLEV_RE, NPC_EC_NOERR, 14245 12, 16, 20, 1, 0, 14246 NPC_S_KPU11_TU_ETHER, 8, 1, 14247 NPC_LID_LE, NPC_LT_LE_GENEVE, 14248 NPC_F_LE_L_GENEVE_OAM, 14249 0, 0x3f, 0, 2, 14250 }, 14251 { 14252 NPC_ERRLEV_RE, NPC_EC_NOERR, 14253 12, 16, 20, 1, 0, 14254 NPC_S_KPU11_TU_ETHER, 8, 1, 14255 NPC_LID_LE, NPC_LT_LE_GENEVE, 14256 NPC_F_LE_L_GENEVE_CRI_OPT, 14257 0, 0x3f, 0, 2, 14258 }, 14259 { 14260 NPC_ERRLEV_RE, NPC_EC_NOERR, 14261 12, 16, 20, 1, 0, 14262 NPC_S_KPU11_TU_ETHER, 8, 1, 14263 NPC_LID_LE, NPC_LT_LE_GENEVE, 14264 NPC_F_LE_L_GENEVE_OAM_CRI_OPT, 14265 0, 0x3f, 0, 2, 14266 }, 14267 { 14268 NPC_ERRLEV_RE, NPC_EC_NOERR, 14269 8, 0, 6, 2, 0, 14270 NPC_S_KPU12_TU_IP, 8, 1, 14271 NPC_LID_LE, NPC_LT_LE_GENEVE, 14272 0, 14273 0, 0x3f, 0, 2, 14274 }, 14275 { 14276 NPC_ERRLEV_RE, NPC_EC_NOERR, 14277 8, 0, 6, 2, 0, 14278 NPC_S_KPU12_TU_IP, 8, 1, 14279 NPC_LID_LE, NPC_LT_LE_GENEVE, 14280 NPC_F_LE_L_GENEVE_OAM, 14281 0, 0x3f, 0, 2, 14282 }, 14283 { 14284 NPC_ERRLEV_RE, NPC_EC_NOERR, 14285 8, 0, 6, 2, 0, 14286 NPC_S_KPU12_TU_IP, 8, 1, 14287 NPC_LID_LE, NPC_LT_LE_GENEVE, 14288 NPC_F_LE_L_GENEVE_CRI_OPT, 14289 0, 0x3f, 0, 2, 14290 }, 14291 { 14292 NPC_ERRLEV_RE, NPC_EC_NOERR, 14293 8, 0, 6, 2, 0, 14294 NPC_S_KPU12_TU_IP, 8, 1, 14295 NPC_LID_LE, NPC_LT_LE_GENEVE, 14296 NPC_F_LE_L_GENEVE_OAM_CRI_OPT, 14297 0, 0x3f, 0, 2, 14298 }, 14299 { 14300 NPC_ERRLEV_RE, NPC_EC_NOERR, 14301 6, 0, 0, 2, 0, 14302 NPC_S_KPU12_TU_IP6, 8, 1, 14303 NPC_LID_LE, NPC_LT_LE_GENEVE, 14304 0, 14305 0, 0x3f, 0, 2, 14306 }, 14307 { 14308 NPC_ERRLEV_RE, NPC_EC_NOERR, 14309 6, 0, 0, 2, 0, 14310 NPC_S_KPU12_TU_IP6, 8, 1, 14311 NPC_LID_LE, NPC_LT_LE_GENEVE, 14312 NPC_F_LE_L_GENEVE_OAM, 14313 0, 0x3f, 0, 2, 14314 }, 14315 { 14316 NPC_ERRLEV_RE, NPC_EC_NOERR, 14317 6, 0, 0, 2, 0, 14318 NPC_S_KPU12_TU_IP6, 8, 1, 14319 NPC_LID_LE, NPC_LT_LE_GENEVE, 14320 NPC_F_LE_L_GENEVE_CRI_OPT, 14321 0, 0x3f, 0, 2, 14322 }, 14323 { 14324 NPC_ERRLEV_RE, NPC_EC_NOERR, 14325 6, 0, 0, 2, 0, 14326 NPC_S_KPU12_TU_IP6, 8, 1, 14327 NPC_LID_LE, NPC_LT_LE_GENEVE, 14328 NPC_F_LE_L_GENEVE_OAM_CRI_OPT, 14329 0, 0x3f, 0, 2, 14330 }, 14331 { 14332 NPC_ERRLEV_RE, NPC_EC_NOERR, 14333 0, 0, 0, 0, 1, 14334 NPC_S_NA, 0, 1, 14335 NPC_LID_LE, NPC_LT_LE_GTPC, 14336 0, 14337 0, 0, 0, 0, 14338 }, 14339 { 14340 NPC_ERRLEV_RE, NPC_EC_NOERR, 14341 8, 0, 6, 2, 0, 14342 NPC_S_KPU12_TU_IP, 8, 1, 14343 NPC_LID_LE, NPC_LT_LE_GTPU, 14344 NPC_F_LE_L_GTPU_G_PDU, 14345 0, 0, 0, 0, 14346 }, 14347 { 14348 NPC_ERRLEV_RE, NPC_EC_NOERR, 14349 8, 0, 6, 2, 0, 14350 NPC_S_KPU12_TU_IP, 8, 1, 14351 NPC_LID_LE, NPC_LT_LE_GTPU, 14352 0, 14353 0, 0, 0, 0, 14354 }, 14355 { 14356 NPC_ERRLEV_RE, NPC_EC_NOERR, 14357 0, 0, 0, 0, 0, 14358 NPC_S_KPU10_TU_MPLS_PL, 4, 1, 14359 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_UDP, 14360 0, 14361 0, 0, 0, 0, 14362 }, 14363 { 14364 NPC_ERRLEV_RE, NPC_EC_NOERR, 14365 0, 0, 0, 0, 0, 14366 NPC_S_KPU10_TU_MPLS_PL, 8, 1, 14367 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_UDP, 14368 0, 14369 0, 0, 0, 0, 14370 }, 14371 { 14372 NPC_ERRLEV_RE, NPC_EC_NOERR, 14373 0, 0, 0, 0, 0, 14374 NPC_S_KPU10_TU_MPLS_PL, 12, 1, 14375 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_UDP, 14376 0, 14377 0, 0, 0, 0, 14378 }, 14379 { 14380 NPC_ERRLEV_RE, NPC_EC_NOERR, 14381 2, 4, 0, 0, 0, 14382 NPC_S_KPU10_TU_MPLS, 12, 1, 14383 NPC_LID_LE, NPC_LT_LE_TU_MPLS_IN_UDP, 14384 0, 14385 0, 0, 0, 0, 14386 }, 14387 { 14388 NPC_ERRLEV_RE, NPC_EC_NOERR, 14389 0, 0, 0, 0, 1, 14390 NPC_S_NA, 0, 1, 14391 NPC_LID_LE, NPC_LT_LE_ESP, 14392 0, 14393 0, 0, 0, 0, 14394 }, 14395 { 14396 NPC_ERRLEV_LE, NPC_EC_UNK, 14397 0, 0, 0, 0, 1, 14398 NPC_S_NA, 0, 0, 14399 NPC_LID_LE, NPC_LT_NA, 14400 0, 14401 0, 0, 0, 0, 14402 }, 14403 }; 14404 14405 static struct npc_kpu_profile_action kpu10_action_entries[] = { 14406 NPC_KPU_NOP_ACTION, 14407 NPC_KPU_NOP_ACTION, 14408 { 14409 NPC_ERRLEV_RE, NPC_EC_NOERR, 14410 8, 0, 6, 1, 0, 14411 NPC_S_KPU12_TU_IP, 4, 0, 14412 NPC_LID_LF, NPC_LT_NA, 14413 0, 14414 0, 0, 0, 0, 14415 }, 14416 { 14417 NPC_ERRLEV_RE, NPC_EC_NOERR, 14418 6, 0, 0, 1, 0, 14419 NPC_S_KPU12_TU_IP6, 4, 0, 14420 NPC_LID_LF, NPC_LT_NA, 14421 0, 14422 0, 0, 0, 0, 14423 }, 14424 { 14425 NPC_ERRLEV_RE, NPC_EC_NOERR, 14426 12, 16, 20, 0, 0, 14427 NPC_S_KPU11_TU_ETHER, 8, 0, 14428 NPC_LID_LF, NPC_LT_NA, 14429 0, 14430 0, 0, 0, 0, 14431 }, 14432 { 14433 NPC_ERRLEV_RE, NPC_EC_NOERR, 14434 12, 16, 20, 0, 0, 14435 NPC_S_KPU11_TU_ETHER, 4, 0, 14436 NPC_LID_LF, NPC_LT_NA, 14437 0, 14438 0, 0, 0, 0, 14439 }, 14440 { 14441 NPC_ERRLEV_LE, NPC_EC_MPLS_2MANY, 14442 0, 0, 0, 0, 1, 14443 NPC_S_NA, 0, 0, 14444 NPC_LID_LF, NPC_LT_NA, 14445 0, 14446 0, 0, 0, 0, 14447 }, 14448 { 14449 NPC_ERRLEV_RE, NPC_EC_NOERR, 14450 8, 0, 6, 1, 0, 14451 NPC_S_KPU12_TU_IP, 0, 0, 14452 NPC_LID_LF, NPC_LT_NA, 14453 0, 14454 0, 0, 0, 0, 14455 }, 14456 { 14457 NPC_ERRLEV_RE, NPC_EC_NOERR, 14458 6, 0, 0, 1, 0, 14459 NPC_S_KPU12_TU_IP6, 0, 0, 14460 NPC_LID_LF, NPC_LT_NA, 14461 0, 14462 0, 0, 0, 0, 14463 }, 14464 { 14465 NPC_ERRLEV_RE, NPC_EC_NOERR, 14466 12, 16, 20, 0, 0, 14467 NPC_S_KPU11_TU_ETHER, 4, 0, 14468 NPC_LID_LF, NPC_LT_NA, 14469 0, 14470 0, 0, 0, 0, 14471 }, 14472 { 14473 NPC_ERRLEV_RE, NPC_EC_NOERR, 14474 12, 16, 20, 0, 0, 14475 NPC_S_KPU11_TU_ETHER, 0, 0, 14476 NPC_LID_LF, NPC_LT_NA, 14477 0, 14478 0, 0, 0, 0, 14479 }, 14480 { 14481 NPC_ERRLEV_RE, NPC_EC_NOERR, 14482 0, 0, 0, 0, 0, 14483 NPC_S_KPU11_TU_MPLS_PL, 4, 1, 14484 NPC_LID_LF, NPC_LT_LF_TU_MPLS_IN_VXLANGPE, 14485 0, 14486 0, 0, 0, 0, 14487 }, 14488 { 14489 NPC_ERRLEV_RE, NPC_EC_NOERR, 14490 0, 0, 0, 0, 0, 14491 NPC_S_KPU11_TU_MPLS_PL, 8, 1, 14492 NPC_LID_LF, NPC_LT_LF_TU_MPLS_IN_VXLANGPE, 14493 0, 14494 0, 0, 0, 0, 14495 }, 14496 { 14497 NPC_ERRLEV_RE, NPC_EC_NOERR, 14498 0, 0, 0, 0, 0, 14499 NPC_S_KPU11_TU_MPLS_PL, 12, 1, 14500 NPC_LID_LF, NPC_LT_LF_TU_MPLS_IN_VXLANGPE, 14501 0, 14502 0, 0, 0, 0, 14503 }, 14504 { 14505 NPC_ERRLEV_RE, NPC_EC_NOERR, 14506 2, 4, 0, 0, 0, 14507 NPC_S_KPU11_TU_MPLS, 12, 1, 14508 NPC_LID_LF, NPC_LT_LF_TU_MPLS_IN_VXLANGPE, 14509 0, 14510 0, 0, 0, 0, 14511 }, 14512 { 14513 NPC_ERRLEV_RE, NPC_EC_NOERR, 14514 8, 0, 6, 1, 0, 14515 NPC_S_KPU12_TU_IP, 0, 1, 14516 NPC_LID_LF, NPC_LT_LF_TU_NSH_IN_VXLANGPE, 14517 0, 14518 1, 0x3f, 0, 2, 14519 }, 14520 { 14521 NPC_ERRLEV_RE, NPC_EC_NOERR, 14522 6, 0, 0, 1, 0, 14523 NPC_S_KPU12_TU_IP6, 0, 1, 14524 NPC_LID_LF, NPC_LT_LF_TU_NSH_IN_VXLANGPE, 14525 0, 14526 1, 0x3f, 0, 2, 14527 }, 14528 { 14529 NPC_ERRLEV_RE, NPC_EC_NOERR, 14530 6, 0, 0, 0, 0, 14531 NPC_S_KPU11_TU_ETHER_IN_NSH, 0, 1, 14532 NPC_LID_LF, NPC_LT_LF_TU_NSH_IN_VXLANGPE, 14533 0, 14534 1, 0x3f, 0, 2, 14535 }, 14536 { 14537 NPC_ERRLEV_LF, NPC_EC_NSH_UNK, 14538 6, 0, 0, 0, 1, 14539 NPC_S_NA, 0, 1, 14540 NPC_LID_LF, NPC_LT_LF_TU_NSH_IN_VXLANGPE, 14541 0, 14542 0, 0, 0, 0, 14543 }, 14544 { 14545 NPC_ERRLEV_LE, NPC_EC_UNK, 14546 0, 0, 0, 0, 1, 14547 NPC_S_NA, 0, 0, 14548 NPC_LID_LF, NPC_LT_NA, 14549 0, 14550 0, 0, 0, 0, 14551 }, 14552 }; 14553 14554 static struct npc_kpu_profile_action kpu11_action_entries[] = { 14555 NPC_KPU_NOP_ACTION, 14556 NPC_KPU_NOP_ACTION, 14557 { 14558 NPC_ERRLEV_RE, NPC_EC_NOERR, 14559 8, 0, 6, 0, 0, 14560 NPC_S_KPU12_TU_IP, 14, 1, 14561 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14562 0, 14563 0, 0, 0, 0, 14564 }, 14565 { 14566 NPC_ERRLEV_RE, NPC_EC_NOERR, 14567 6, 0, 0, 0, 0, 14568 NPC_S_KPU12_TU_IP6, 14, 1, 14569 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14570 0, 14571 0, 0, 0, 0, 14572 }, 14573 { 14574 NPC_ERRLEV_RE, NPC_EC_NOERR, 14575 0, 0, 0, 0, 0, 14576 NPC_S_KPU12_TU_ARP, 14, 1, 14577 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14578 0, 14579 0, 0, 0, 0, 14580 }, 14581 { 14582 NPC_ERRLEV_RE, NPC_EC_NOERR, 14583 8, 0, 6, 0, 0, 14584 NPC_S_KPU12_TU_IP, 18, 1, 14585 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14586 NPC_F_LF_L_WITH_CTAG, 14587 0, 0, 0, 0, 14588 }, 14589 { 14590 NPC_ERRLEV_RE, NPC_EC_NOERR, 14591 6, 0, 0, 0, 0, 14592 NPC_S_KPU12_TU_IP6, 18, 1, 14593 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14594 NPC_F_LF_L_WITH_CTAG, 14595 0, 0, 0, 0, 14596 }, 14597 { 14598 NPC_ERRLEV_RE, NPC_EC_NOERR, 14599 0, 0, 0, 0, 0, 14600 NPC_S_KPU12_TU_ARP, 18, 1, 14601 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14602 NPC_F_LF_L_WITH_CTAG, 14603 0, 0, 0, 0, 14604 }, 14605 { 14606 NPC_ERRLEV_RE, NPC_EC_NOERR, 14607 0, 0, 0, 0, 1, 14608 NPC_S_NA, 0, 1, 14609 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14610 NPC_F_LF_U_UNK_ETYPE | NPC_F_LF_L_WITH_CTAG, 14611 0, 0, 0, 0, 14612 }, 14613 { 14614 NPC_ERRLEV_RE, NPC_EC_NOERR, 14615 8, 0, 6, 0, 0, 14616 NPC_S_KPU12_TU_IP, 22, 1, 14617 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14618 NPC_F_LF_L_WITH_STAG_CTAG, 14619 0, 0, 0, 0, 14620 }, 14621 { 14622 NPC_ERRLEV_RE, NPC_EC_NOERR, 14623 6, 0, 0, 0, 0, 14624 NPC_S_KPU12_TU_IP6, 22, 1, 14625 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14626 NPC_F_LF_L_WITH_STAG_CTAG, 14627 0, 0, 0, 0, 14628 }, 14629 { 14630 NPC_ERRLEV_RE, NPC_EC_NOERR, 14631 0, 0, 0, 0, 0, 14632 NPC_S_KPU12_TU_ARP, 22, 1, 14633 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14634 NPC_F_LF_L_WITH_STAG_CTAG, 14635 0, 0, 0, 0, 14636 }, 14637 { 14638 NPC_ERRLEV_RE, NPC_EC_NOERR, 14639 0, 0, 0, 0, 1, 14640 NPC_S_NA, 0, 1, 14641 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14642 NPC_F_LF_U_UNK_ETYPE | NPC_F_LF_L_WITH_STAG_CTAG, 14643 0, 0, 0, 0, 14644 }, 14645 { 14646 NPC_ERRLEV_RE, NPC_EC_NOERR, 14647 8, 0, 6, 0, 0, 14648 NPC_S_KPU12_TU_IP, 18, 1, 14649 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14650 NPC_F_LF_L_WITH_CTAG, 14651 0, 0, 0, 0, 14652 }, 14653 { 14654 NPC_ERRLEV_RE, NPC_EC_NOERR, 14655 6, 0, 0, 0, 0, 14656 NPC_S_KPU12_TU_IP6, 18, 1, 14657 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14658 NPC_F_LF_L_WITH_CTAG, 14659 0, 0, 0, 0, 14660 }, 14661 { 14662 NPC_ERRLEV_RE, NPC_EC_NOERR, 14663 0, 0, 0, 0, 0, 14664 NPC_S_KPU12_TU_ARP, 18, 1, 14665 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14666 NPC_F_LF_L_WITH_CTAG, 14667 0, 0, 0, 0, 14668 }, 14669 { 14670 NPC_ERRLEV_RE, NPC_EC_NOERR, 14671 0, 0, 0, 0, 1, 14672 NPC_S_NA, 0, 1, 14673 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14674 NPC_F_LF_U_UNK_ETYPE | NPC_F_LF_L_WITH_CTAG, 14675 0, 0, 0, 0, 14676 }, 14677 { 14678 NPC_ERRLEV_RE, NPC_EC_NOERR, 14679 8, 0, 6, 0, 0, 14680 NPC_S_KPU12_TU_IP, 22, 1, 14681 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14682 NPC_F_LF_L_WITH_QINQ_CTAG, 14683 0, 0, 0, 0, 14684 }, 14685 { 14686 NPC_ERRLEV_RE, NPC_EC_NOERR, 14687 6, 0, 0, 0, 0, 14688 NPC_S_KPU12_TU_IP6, 22, 1, 14689 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14690 NPC_F_LF_L_WITH_QINQ_CTAG, 14691 0, 0, 0, 0, 14692 }, 14693 { 14694 NPC_ERRLEV_RE, NPC_EC_NOERR, 14695 0, 0, 0, 0, 0, 14696 NPC_S_KPU12_TU_ARP, 22, 1, 14697 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14698 NPC_F_LF_L_WITH_QINQ_CTAG, 14699 0, 0, 0, 0, 14700 }, 14701 { 14702 NPC_ERRLEV_RE, NPC_EC_NOERR, 14703 0, 0, 0, 0, 1, 14704 NPC_S_NA, 0, 1, 14705 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14706 NPC_F_LF_U_UNK_ETYPE | NPC_F_LF_L_WITH_QINQ_CTAG, 14707 0, 0, 0, 0, 14708 }, 14709 { 14710 NPC_ERRLEV_RE, NPC_EC_NOERR, 14711 8, 0, 6, 0, 0, 14712 NPC_S_KPU12_TU_IP, 18, 1, 14713 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14714 NPC_F_LF_L_WITH_QINQ, 14715 0, 0, 0, 0, 14716 }, 14717 { 14718 NPC_ERRLEV_RE, NPC_EC_NOERR, 14719 6, 0, 0, 0, 0, 14720 NPC_S_KPU12_TU_IP6, 18, 1, 14721 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14722 NPC_F_LF_L_WITH_QINQ, 14723 0, 0, 0, 0, 14724 }, 14725 { 14726 NPC_ERRLEV_RE, NPC_EC_NOERR, 14727 0, 0, 0, 0, 0, 14728 NPC_S_KPU12_TU_ARP, 18, 1, 14729 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14730 NPC_F_LF_L_WITH_QINQ, 14731 0, 0, 0, 0, 14732 }, 14733 { 14734 NPC_ERRLEV_RE, NPC_EC_NOERR, 14735 0, 0, 0, 0, 1, 14736 NPC_S_NA, 0, 1, 14737 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14738 NPC_F_LF_U_UNK_ETYPE | NPC_F_LF_L_WITH_QINQ, 14739 0, 0, 0, 0, 14740 }, 14741 { 14742 NPC_ERRLEV_RE, NPC_EC_NOERR, 14743 0, 0, 0, 0, 1, 14744 NPC_S_NA, 0, 1, 14745 NPC_LID_LF, NPC_LT_LF_TU_ETHER, 14746 NPC_F_LF_U_UNK_ETYPE, 14747 0, 0, 0, 0, 14748 }, 14749 { 14750 NPC_ERRLEV_RE, NPC_EC_NOERR, 14751 0, 0, 0, 0, 1, 14752 NPC_S_NA, 0, 1, 14753 NPC_LID_LF, NPC_LT_LF_TU_PPP, 14754 0, 14755 0, 0, 0, 0, 14756 }, 14757 { 14758 NPC_ERRLEV_RE, NPC_EC_NOERR, 14759 8, 0, 6, 0, 0, 14760 NPC_S_KPU12_TU_IP, 4, 0, 14761 NPC_LID_LF, NPC_LT_NA, 14762 0, 14763 0, 0, 0, 0, 14764 }, 14765 { 14766 NPC_ERRLEV_RE, NPC_EC_NOERR, 14767 6, 0, 0, 0, 0, 14768 NPC_S_KPU12_TU_IP6, 4, 0, 14769 NPC_LID_LF, NPC_LT_NA, 14770 0, 14771 0, 0, 0, 0, 14772 }, 14773 { 14774 NPC_ERRLEV_LF, NPC_EC_MPLS_UNK, 14775 0, 0, 0, 0, 1, 14776 NPC_S_NA, 0, 0, 14777 NPC_LID_LF, NPC_LT_NA, 14778 0, 14779 0, 0, 0, 0, 14780 }, 14781 { 14782 NPC_ERRLEV_LF, NPC_EC_MPLS_2MANY, 14783 0, 0, 0, 0, 1, 14784 NPC_S_NA, 0, 0, 14785 NPC_LID_LF, NPC_LT_NA, 14786 0, 14787 0, 0, 0, 0, 14788 }, 14789 { 14790 NPC_ERRLEV_RE, NPC_EC_NOERR, 14791 8, 0, 6, 0, 0, 14792 NPC_S_KPU12_TU_IP, 0, 0, 14793 NPC_LID_LF, NPC_LT_NA, 14794 0, 14795 0, 0, 0, 0, 14796 }, 14797 { 14798 NPC_ERRLEV_RE, NPC_EC_NOERR, 14799 6, 0, 0, 0, 0, 14800 NPC_S_KPU12_TU_IP6, 0, 0, 14801 NPC_LID_LF, NPC_LT_NA, 14802 0, 14803 0, 0, 0, 0, 14804 }, 14805 { 14806 NPC_ERRLEV_LF, NPC_EC_MPLS_UNK, 14807 0, 0, 0, 0, 1, 14808 NPC_S_NA, 0, 0, 14809 NPC_LID_LF, NPC_LT_NA, 14810 0, 14811 0, 0, 0, 0, 14812 }, 14813 { 14814 NPC_ERRLEV_RE, NPC_EC_NOERR, 14815 0, 0, 0, 0, 1, 14816 NPC_S_NA, 0, 1, 14817 NPC_LID_LG, NPC_LT_LG_TU_ETHER_IN_NSH, 14818 0, 14819 0, 0, 0, 0, 14820 }, 14821 { 14822 NPC_ERRLEV_LF, NPC_EC_UNK, 14823 0, 0, 0, 0, 1, 14824 NPC_S_NA, 0, 0, 14825 NPC_LID_LF, NPC_LT_NA, 14826 0, 14827 0, 0, 0, 0, 14828 }, 14829 }; 14830 14831 static struct npc_kpu_profile_action kpu12_action_entries[] = { 14832 NPC_KPU_NOP_ACTION, 14833 NPC_KPU_NOP_ACTION, 14834 { 14835 NPC_ERRLEV_RE, NPC_EC_NOERR, 14836 2, 12, 0, 2, 0, 14837 NPC_S_KPU15_TU_TCP, 20, 1, 14838 NPC_LID_LG, NPC_LT_LG_TU_IP, 14839 0, 14840 0, 0, 0, 0, 14841 }, 14842 { 14843 NPC_ERRLEV_RE, NPC_EC_NOERR, 14844 2, 0, 0, 2, 0, 14845 NPC_S_KPU15_TU_UDP, 20, 1, 14846 NPC_LID_LG, NPC_LT_LG_TU_IP, 14847 0, 14848 0, 0, 0, 0, 14849 }, 14850 { 14851 NPC_ERRLEV_RE, NPC_EC_NOERR, 14852 0, 0, 0, 2, 0, 14853 NPC_S_KPU15_TU_SCTP, 20, 1, 14854 NPC_LID_LG, NPC_LT_LG_TU_IP, 14855 0, 14856 0, 0, 0, 0, 14857 }, 14858 { 14859 NPC_ERRLEV_RE, NPC_EC_NOERR, 14860 0, 0, 0, 2, 0, 14861 NPC_S_KPU15_TU_ICMP, 20, 1, 14862 NPC_LID_LG, NPC_LT_LG_TU_IP, 14863 0, 14864 0, 0, 0, 0, 14865 }, 14866 { 14867 NPC_ERRLEV_RE, NPC_EC_NOERR, 14868 0, 0, 0, 2, 0, 14869 NPC_S_KPU15_TU_IGMP, 20, 1, 14870 NPC_LID_LG, NPC_LT_LG_TU_IP, 14871 0, 14872 0, 0, 0, 0, 14873 }, 14874 { 14875 NPC_ERRLEV_RE, NPC_EC_NOERR, 14876 0, 0, 0, 2, 0, 14877 NPC_S_KPU15_TU_ESP, 20, 1, 14878 NPC_LID_LG, NPC_LT_LG_TU_IP, 14879 0, 14880 0, 0, 0, 0, 14881 }, 14882 { 14883 NPC_ERRLEV_RE, NPC_EC_NOERR, 14884 0, 0, 0, 2, 0, 14885 NPC_S_KPU15_TU_AH, 20, 1, 14886 NPC_LID_LG, NPC_LT_LG_TU_IP, 14887 0, 14888 0, 0, 0, 0, 14889 }, 14890 { 14891 NPC_ERRLEV_RE, NPC_EC_NOERR, 14892 0, 0, 0, 0, 1, 14893 NPC_S_NA, 0, 1, 14894 NPC_LID_LG, NPC_LT_LG_TU_IP, 14895 NPC_F_LG_U_UNK_IP_PROTO, 14896 0, 0, 0, 0, 14897 }, 14898 { 14899 NPC_ERRLEV_RE, NPC_EC_NOERR, 14900 2, 12, 0, 2, 0, 14901 NPC_S_KPU15_TU_TCP, 0, 1, 14902 NPC_LID_LG, NPC_LT_LG_TU_IP, 14903 NPC_F_LG_U_IP_HAS_OPTIONS, 14904 0, 0xf, 0, 2, 14905 }, 14906 { 14907 NPC_ERRLEV_RE, NPC_EC_NOERR, 14908 2, 0, 0, 2, 0, 14909 NPC_S_KPU15_TU_UDP, 0, 1, 14910 NPC_LID_LG, NPC_LT_LG_TU_IP, 14911 NPC_F_LG_U_IP_HAS_OPTIONS, 14912 0, 0xf, 0, 2, 14913 }, 14914 { 14915 NPC_ERRLEV_RE, NPC_EC_NOERR, 14916 0, 0, 0, 2, 0, 14917 NPC_S_KPU15_TU_SCTP, 0, 1, 14918 NPC_LID_LG, NPC_LT_LG_TU_IP, 14919 NPC_F_LG_U_IP_HAS_OPTIONS, 14920 0, 0xf, 0, 2, 14921 }, 14922 { 14923 NPC_ERRLEV_RE, NPC_EC_NOERR, 14924 0, 0, 0, 2, 0, 14925 NPC_S_KPU15_TU_ICMP, 0, 1, 14926 NPC_LID_LG, NPC_LT_LG_TU_IP, 14927 NPC_F_LG_U_IP_HAS_OPTIONS, 14928 0, 0xf, 0, 2, 14929 }, 14930 { 14931 NPC_ERRLEV_RE, NPC_EC_NOERR, 14932 0, 0, 0, 2, 0, 14933 NPC_S_KPU15_TU_IGMP, 0, 1, 14934 NPC_LID_LG, NPC_LT_LG_TU_IP, 14935 NPC_F_LG_U_IP_HAS_OPTIONS, 14936 0, 0xf, 0, 2, 14937 }, 14938 { 14939 NPC_ERRLEV_RE, NPC_EC_NOERR, 14940 0, 0, 0, 2, 0, 14941 NPC_S_KPU15_TU_ESP, 0, 1, 14942 NPC_LID_LG, NPC_LT_LG_TU_IP, 14943 NPC_F_LG_U_IP_HAS_OPTIONS, 14944 0, 0xf, 0, 2, 14945 }, 14946 { 14947 NPC_ERRLEV_RE, NPC_EC_NOERR, 14948 0, 0, 0, 2, 0, 14949 NPC_S_KPU15_TU_AH, 0, 1, 14950 NPC_LID_LG, NPC_LT_LG_TU_IP, 14951 NPC_F_LG_U_IP_HAS_OPTIONS, 14952 0, 0xf, 0, 2, 14953 }, 14954 { 14955 NPC_ERRLEV_RE, NPC_EC_NOERR, 14956 0, 0, 0, 0, 1, 14957 NPC_S_NA, 0, 1, 14958 NPC_LID_LG, NPC_LT_LG_TU_IP, 14959 NPC_F_LG_U_IP_HAS_OPTIONS | NPC_F_LG_U_UNK_IP_PROTO, 14960 0, 0, 0, 0, 14961 }, 14962 { 14963 NPC_ERRLEV_LF, NPC_EC_IP_VER, 14964 0, 0, 0, 0, 1, 14965 NPC_S_NA, 0, 1, 14966 NPC_LID_LG, NPC_LT_LG_TU_IP, 14967 0, 14968 0, 0, 0, 0, 14969 }, 14970 { 14971 NPC_ERRLEV_RE, NPC_EC_NOERR, 14972 0, 0, 0, 0, 1, 14973 NPC_S_NA, 0, 1, 14974 NPC_LID_LG, NPC_LT_LG_TU_ARP, 14975 0, 14976 0, 0, 0, 0, 14977 }, 14978 { 14979 NPC_ERRLEV_RE, NPC_EC_NOERR, 14980 2, 12, 0, 2, 0, 14981 NPC_S_KPU15_TU_TCP, 40, 1, 14982 NPC_LID_LG, NPC_LT_LG_TU_IP6, 14983 0, 14984 0, 0, 0, 0, 14985 }, 14986 { 14987 NPC_ERRLEV_RE, NPC_EC_NOERR, 14988 2, 0, 0, 2, 0, 14989 NPC_S_KPU15_TU_UDP, 40, 1, 14990 NPC_LID_LG, NPC_LT_LG_TU_IP6, 14991 0, 14992 0, 0, 0, 0, 14993 }, 14994 { 14995 NPC_ERRLEV_RE, NPC_EC_NOERR, 14996 0, 0, 0, 2, 0, 14997 NPC_S_KPU15_TU_SCTP, 40, 1, 14998 NPC_LID_LG, NPC_LT_LG_TU_IP6, 14999 0, 15000 0, 0, 0, 0, 15001 }, 15002 { 15003 NPC_ERRLEV_RE, NPC_EC_NOERR, 15004 0, 0, 0, 2, 0, 15005 NPC_S_KPU15_TU_ICMP, 40, 1, 15006 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15007 0, 15008 0, 0, 0, 0, 15009 }, 15010 { 15011 NPC_ERRLEV_RE, NPC_EC_NOERR, 15012 0, 0, 0, 2, 0, 15013 NPC_S_KPU15_TU_ICMP6, 40, 1, 15014 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15015 0, 15016 0, 0, 0, 0, 15017 }, 15018 { 15019 NPC_ERRLEV_RE, NPC_EC_NOERR, 15020 0, 0, 0, 2, 0, 15021 NPC_S_KPU15_TU_ESP, 40, 1, 15022 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15023 0, 15024 0, 0, 0, 0, 15025 }, 15026 { 15027 NPC_ERRLEV_RE, NPC_EC_NOERR, 15028 0, 0, 0, 2, 0, 15029 NPC_S_KPU15_TU_AH, 40, 1, 15030 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15031 0, 15032 0, 0, 0, 0, 15033 }, 15034 { 15035 NPC_ERRLEV_RE, NPC_EC_NOERR, 15036 2, 0, 0, 0, 0, 15037 NPC_S_KPU13_TU_IP6_EXT, 0, 1, 15038 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15039 NPC_F_LG_U_IP6_HAS_EXT, 15040 0, 0, 0, 0, 15041 }, 15042 { 15043 NPC_ERRLEV_LF, NPC_EC_IP6_VER, 15044 0, 0, 0, 0, 1, 15045 NPC_S_NA, 0, 1, 15046 NPC_LID_LG, NPC_LT_LG_TU_IP6, 15047 0, 15048 0, 0, 0, 0, 15049 }, 15050 { 15051 NPC_ERRLEV_LF, NPC_EC_UNK, 15052 0, 0, 0, 0, 1, 15053 NPC_S_NA, 0, 0, 15054 NPC_LID_LG, NPC_LT_NA, 15055 0, 15056 0, 0, 0, 0, 15057 }, 15058 }; 15059 15060 static struct npc_kpu_profile_action kpu13_action_entries[] = { 15061 NPC_KPU_NOP_ACTION, 15062 NPC_KPU_NOP_ACTION, 15063 { 15064 NPC_ERRLEV_RE, NPC_EC_NOERR, 15065 0, 0, 0, 0, 1, 15066 NPC_S_NA, 0, 0, 15067 NPC_LID_LC, NPC_LT_NA, 15068 0, 15069 0, 0, 0, 0, 15070 }, 15071 }; 15072 15073 static struct npc_kpu_profile_action kpu14_action_entries[] = { 15074 NPC_KPU_NOP_ACTION, 15075 NPC_KPU_NOP_ACTION, 15076 { 15077 NPC_ERRLEV_RE, NPC_EC_NOERR, 15078 0, 0, 0, 0, 1, 15079 NPC_S_NA, 0, 0, 15080 NPC_LID_LC, NPC_LT_NA, 15081 0, 15082 0, 0, 0, 0, 15083 }, 15084 }; 15085 15086 static struct npc_kpu_profile_action kpu15_action_entries[] = { 15087 NPC_KPU_NOP_ACTION, 15088 NPC_KPU_NOP_ACTION, 15089 { 15090 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_FIN_ONLY, 15091 0, 0, 0, 0, 1, 15092 NPC_S_NA, 0, 1, 15093 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15094 0, 15095 0, 0, 0, 0, 15096 }, 15097 { 15098 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_ZERO, 15099 0, 0, 0, 0, 1, 15100 NPC_S_NA, 0, 1, 15101 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15102 0, 15103 0, 0, 0, 0, 15104 }, 15105 { 15106 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_RST_FIN, 15107 0, 0, 0, 0, 1, 15108 NPC_S_NA, 0, 1, 15109 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15110 0, 15111 0, 0, 0, 0, 15112 }, 15113 { 15114 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_URG_SYN, 15115 0, 0, 0, 0, 1, 15116 NPC_S_NA, 0, 1, 15117 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15118 0, 15119 0, 0, 0, 0, 15120 }, 15121 { 15122 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_RST_SYN, 15123 0, 0, 0, 0, 1, 15124 NPC_S_NA, 0, 1, 15125 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15126 0, 15127 0, 0, 0, 0, 15128 }, 15129 { 15130 NPC_ERRLEV_LG, NPC_EC_TCP_FLAGS_SYN_FIN, 15131 0, 0, 0, 0, 1, 15132 NPC_S_NA, 0, 1, 15133 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15134 0, 15135 0, 0, 0, 0, 15136 }, 15137 { 15138 NPC_ERRLEV_RE, NPC_EC_NOERR, 15139 0, 0, 0, 0, 0, 15140 NPC_S_KPU16_HTTP_DATA, 20, 1, 15141 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15142 NPC_F_LH_L_TCP_HTTP, 15143 0, 0, 0, 0, 15144 }, 15145 { 15146 NPC_ERRLEV_RE, NPC_EC_NOERR, 15147 0, 0, 0, 0, 0, 15148 NPC_S_KPU16_HTTPS_DATA, 20, 1, 15149 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15150 NPC_F_LH_L_TCP_HTTP, 15151 0, 0, 0, 0, 15152 }, 15153 { 15154 NPC_ERRLEV_RE, NPC_EC_NOERR, 15155 0, 0, 0, 0, 0, 15156 NPC_S_KPU16_PPTP_DATA, 20, 1, 15157 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15158 NPC_F_LH_L_TCP_PPTP, 15159 0, 0, 0, 0, 15160 }, 15161 { 15162 NPC_ERRLEV_RE, NPC_EC_NOERR, 15163 0, 0, 0, 0, 0, 15164 NPC_S_KPU16_TCP_DATA, 20, 1, 15165 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15166 NPC_F_LH_L_TCP_UNK_PORT, 15167 0, 0, 0, 0, 15168 }, 15169 { 15170 NPC_ERRLEV_RE, NPC_EC_NOERR, 15171 0, 0, 0, 0, 0, 15172 NPC_S_KPU16_HTTP_DATA, 0, 1, 15173 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15174 NPC_F_LH_U_TCP_HAS_OPTIONS | NPC_F_LH_L_TCP_HTTP, 15175 12, 0xf0, 1, 2, 15176 }, 15177 { 15178 NPC_ERRLEV_RE, NPC_EC_NOERR, 15179 0, 0, 0, 0, 0, 15180 NPC_S_KPU16_HTTPS_DATA, 0, 1, 15181 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15182 NPC_F_LH_U_TCP_HAS_OPTIONS | NPC_F_LH_L_TCP_HTTPS, 15183 12, 0xf0, 1, 2, 15184 }, 15185 { 15186 NPC_ERRLEV_RE, NPC_EC_NOERR, 15187 0, 0, 0, 0, 0, 15188 NPC_S_KPU16_PPTP_DATA, 0, 1, 15189 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15190 NPC_F_LH_U_TCP_HAS_OPTIONS | NPC_F_LH_L_TCP_PPTP, 15191 12, 0xf0, 1, 2, 15192 }, 15193 { 15194 NPC_ERRLEV_RE, NPC_EC_NOERR, 15195 0, 0, 0, 0, 0, 15196 NPC_S_KPU16_TCP_DATA, 0, 1, 15197 NPC_LID_LH, NPC_LT_LH_TU_TCP, 15198 NPC_F_LH_U_TCP_HAS_OPTIONS | NPC_F_LH_L_TCP_UNK_PORT, 15199 12, 0xf0, 1, 2, 15200 }, 15201 { 15202 NPC_ERRLEV_RE, NPC_EC_NOERR, 15203 0, 0, 0, 0, 0, 15204 NPC_S_KPU16_UDP_DATA, 8, 1, 15205 NPC_LID_LH, NPC_LT_LH_TU_UDP, 15206 NPC_F_LH_L_UDP_UNK_PORT, 15207 0, 0, 0, 0, 15208 }, 15209 { 15210 NPC_ERRLEV_RE, NPC_EC_NOERR, 15211 0, 0, 0, 0, 1, 15212 NPC_S_NA, 0, 1, 15213 NPC_LID_LH, NPC_LT_LH_TU_SCTP, 15214 0, 15215 0, 0, 0, 0, 15216 }, 15217 { 15218 NPC_ERRLEV_RE, NPC_EC_NOERR, 15219 0, 0, 0, 0, 1, 15220 NPC_S_NA, 0, 1, 15221 NPC_LID_LH, NPC_LT_LH_TU_ICMP, 15222 0, 15223 0, 0, 0, 0, 15224 }, 15225 { 15226 NPC_ERRLEV_RE, NPC_EC_NOERR, 15227 0, 0, 0, 0, 1, 15228 NPC_S_NA, 0, 1, 15229 NPC_LID_LH, NPC_LT_LH_TU_IGMP, 15230 0, 15231 0, 0, 0, 0, 15232 }, 15233 { 15234 NPC_ERRLEV_RE, NPC_EC_NOERR, 15235 0, 0, 0, 0, 1, 15236 NPC_S_NA, 0, 1, 15237 NPC_LID_LH, NPC_LT_LH_TU_ICMP6, 15238 0, 15239 0, 0, 0, 0, 15240 }, 15241 { 15242 NPC_ERRLEV_RE, NPC_EC_NOERR, 15243 0, 0, 0, 0, 1, 15244 NPC_S_NA, 0, 1, 15245 NPC_LID_LH, NPC_LT_LH_TU_ESP, 15246 0, 15247 0, 0, 0, 0, 15248 }, 15249 { 15250 NPC_ERRLEV_RE, NPC_EC_NOERR, 15251 0, 0, 0, 0, 1, 15252 NPC_S_NA, 0, 1, 15253 NPC_LID_LH, NPC_LT_LH_TU_AH, 15254 0, 15255 0, 0, 0, 0, 15256 }, 15257 { 15258 NPC_ERRLEV_LG, NPC_EC_L4, 15259 0, 0, 0, 0, 1, 15260 NPC_S_NA, 0, 0, 15261 NPC_LID_LH, NPC_LT_NA, 15262 0, 15263 0, 0, 0, 0, 15264 }, 15265 }; 15266 15267 static struct npc_kpu_profile_action kpu16_action_entries[] = { 15268 NPC_KPU_NOP_ACTION, 15269 NPC_KPU_NOP_ACTION, 15270 { 15271 NPC_ERRLEV_RE, NPC_EC_NOERR, 15272 0, 0, 0, 0, 1, 15273 NPC_S_NA, 0, 0, 15274 NPC_LID_LH, NPC_LT_NA, 15275 0, 15276 0, 0, 0, 0, 15277 }, 15278 { 15279 NPC_ERRLEV_RE, NPC_EC_NOERR, 15280 0, 0, 0, 0, 1, 15281 NPC_S_NA, 0, 0, 15282 NPC_LID_LH, NPC_LT_NA, 15283 0, 15284 0, 0, 0, 0, 15285 }, 15286 { 15287 NPC_ERRLEV_RE, NPC_EC_NOERR, 15288 0, 0, 0, 0, 1, 15289 NPC_S_NA, 0, 0, 15290 NPC_LID_LH, NPC_LT_NA, 15291 0, 15292 0, 0, 0, 0, 15293 }, 15294 { 15295 NPC_ERRLEV_RE, NPC_EC_NOERR, 15296 0, 0, 0, 0, 1, 15297 NPC_S_NA, 0, 0, 15298 NPC_LID_LH, NPC_LT_NA, 15299 0, 15300 0, 0, 0, 0, 15301 }, 15302 { 15303 NPC_ERRLEV_RE, NPC_EC_NOERR, 15304 0, 0, 0, 0, 1, 15305 NPC_S_NA, 0, 0, 15306 NPC_LID_LH, NPC_LT_NA, 15307 0, 15308 0, 0, 0, 0, 15309 }, 15310 { 15311 NPC_ERRLEV_RE, NPC_EC_NOERR, 15312 0, 0, 0, 0, 1, 15313 NPC_S_NA, 0, 0, 15314 NPC_LID_LH, NPC_LT_NA, 15315 0, 15316 0, 0, 0, 0, 15317 }, 15318 }; 15319 15320 static struct npc_kpu_profile npc_kpu_profiles[] = { 15321 { 15322 ARRAY_SIZE(kpu1_cam_entries), 15323 ARRAY_SIZE(kpu1_action_entries), 15324 &kpu1_cam_entries[0], 15325 &kpu1_action_entries[0], 15326 }, 15327 { 15328 ARRAY_SIZE(kpu2_cam_entries), 15329 ARRAY_SIZE(kpu2_action_entries), 15330 &kpu2_cam_entries[0], 15331 &kpu2_action_entries[0], 15332 }, 15333 { 15334 ARRAY_SIZE(kpu3_cam_entries), 15335 ARRAY_SIZE(kpu3_action_entries), 15336 &kpu3_cam_entries[0], 15337 &kpu3_action_entries[0], 15338 }, 15339 { 15340 ARRAY_SIZE(kpu4_cam_entries), 15341 ARRAY_SIZE(kpu4_action_entries), 15342 &kpu4_cam_entries[0], 15343 &kpu4_action_entries[0], 15344 }, 15345 { 15346 ARRAY_SIZE(kpu5_cam_entries), 15347 ARRAY_SIZE(kpu5_action_entries), 15348 &kpu5_cam_entries[0], 15349 &kpu5_action_entries[0], 15350 }, 15351 { 15352 ARRAY_SIZE(kpu6_cam_entries), 15353 ARRAY_SIZE(kpu6_action_entries), 15354 &kpu6_cam_entries[0], 15355 &kpu6_action_entries[0], 15356 }, 15357 { 15358 ARRAY_SIZE(kpu7_cam_entries), 15359 ARRAY_SIZE(kpu7_action_entries), 15360 &kpu7_cam_entries[0], 15361 &kpu7_action_entries[0], 15362 }, 15363 { 15364 ARRAY_SIZE(kpu8_cam_entries), 15365 ARRAY_SIZE(kpu8_action_entries), 15366 &kpu8_cam_entries[0], 15367 &kpu8_action_entries[0], 15368 }, 15369 { 15370 ARRAY_SIZE(kpu9_cam_entries), 15371 ARRAY_SIZE(kpu9_action_entries), 15372 &kpu9_cam_entries[0], 15373 &kpu9_action_entries[0], 15374 }, 15375 { 15376 ARRAY_SIZE(kpu10_cam_entries), 15377 ARRAY_SIZE(kpu10_action_entries), 15378 &kpu10_cam_entries[0], 15379 &kpu10_action_entries[0], 15380 }, 15381 { 15382 ARRAY_SIZE(kpu11_cam_entries), 15383 ARRAY_SIZE(kpu11_action_entries), 15384 &kpu11_cam_entries[0], 15385 &kpu11_action_entries[0], 15386 }, 15387 { 15388 ARRAY_SIZE(kpu12_cam_entries), 15389 ARRAY_SIZE(kpu12_action_entries), 15390 &kpu12_cam_entries[0], 15391 &kpu12_action_entries[0], 15392 }, 15393 { 15394 ARRAY_SIZE(kpu13_cam_entries), 15395 ARRAY_SIZE(kpu13_action_entries), 15396 &kpu13_cam_entries[0], 15397 &kpu13_action_entries[0], 15398 }, 15399 { 15400 ARRAY_SIZE(kpu14_cam_entries), 15401 ARRAY_SIZE(kpu14_action_entries), 15402 &kpu14_cam_entries[0], 15403 &kpu14_action_entries[0], 15404 }, 15405 { 15406 ARRAY_SIZE(kpu15_cam_entries), 15407 ARRAY_SIZE(kpu15_action_entries), 15408 &kpu15_cam_entries[0], 15409 &kpu15_action_entries[0], 15410 }, 15411 { 15412 ARRAY_SIZE(kpu16_cam_entries), 15413 ARRAY_SIZE(kpu16_action_entries), 15414 &kpu16_cam_entries[0], 15415 &kpu16_action_entries[0], 15416 }, 15417 }; 15418 15419 static struct npc_lt_def_cfg npc_lt_defaults = { 15420 .rx_ol2 = { 15421 .lid = NPC_LID_LA, 15422 .ltype_match = NPC_LT_LA_ETHER, 15423 .ltype_mask = 0x0F, 15424 }, 15425 .ovlan = { 15426 .lid = NPC_LID_LB, 15427 .ltype_match = NPC_LT_LB_CTAG, 15428 .ltype_mask = 0x0F, 15429 }, 15430 .ivlan = { 15431 .lid = NPC_LID_LB, 15432 .ltype_match = NPC_LT_LB_STAG_QINQ, 15433 .ltype_mask = 0x0F, 15434 }, 15435 .rx_oip4 = { 15436 .lid = NPC_LID_LC, 15437 .ltype_match = NPC_LT_LC_IP, 15438 .ltype_mask = 0x0E, 15439 }, 15440 .rx_iip4 = { 15441 .lid = NPC_LID_LG, 15442 .ltype_match = NPC_LT_LG_TU_IP, 15443 .ltype_mask = 0x0F, 15444 }, 15445 .rx_oip6 = { 15446 .lid = NPC_LID_LC, 15447 .ltype_match = NPC_LT_LC_IP6, 15448 .ltype_mask = 0x0E, 15449 }, 15450 .rx_iip6 = { 15451 .lid = NPC_LID_LG, 15452 .ltype_match = NPC_LT_LG_TU_IP6, 15453 .ltype_mask = 0x0F, 15454 }, 15455 .rx_otcp = { 15456 .lid = NPC_LID_LD, 15457 .ltype_match = NPC_LT_LD_TCP, 15458 .ltype_mask = 0x0F, 15459 }, 15460 .rx_itcp = { 15461 .lid = NPC_LID_LH, 15462 .ltype_match = NPC_LT_LH_TU_TCP, 15463 .ltype_mask = 0x0F, 15464 }, 15465 .rx_oudp = { 15466 .lid = NPC_LID_LD, 15467 .ltype_match = NPC_LT_LD_UDP, 15468 .ltype_mask = 0x0F, 15469 }, 15470 .rx_iudp = { 15471 .lid = NPC_LID_LH, 15472 .ltype_match = NPC_LT_LH_TU_UDP, 15473 .ltype_mask = 0x0F, 15474 }, 15475 .rx_osctp = { 15476 .lid = NPC_LID_LD, 15477 .ltype_match = NPC_LT_LD_SCTP, 15478 .ltype_mask = 0x0F, 15479 }, 15480 .rx_isctp = { 15481 .lid = NPC_LID_LH, 15482 .ltype_match = NPC_LT_LH_TU_SCTP, 15483 .ltype_mask = 0x0F, 15484 }, 15485 .rx_ipsec = { 15486 { 15487 .lid = NPC_LID_LE, 15488 .ltype_match = NPC_LT_LE_ESP, 15489 .ltype_mask = 0x0F, 15490 }, 15491 { 15492 .spi_offset = 8, 15493 .lid = NPC_LID_LH, 15494 .ltype_match = NPC_LT_LH_TU_ESP, 15495 .ltype_mask = 0x0F, 15496 }, 15497 }, 15498 .pck_ol2 = { 15499 .lid = NPC_LID_LA, 15500 .ltype_match = NPC_LT_LA_ETHER, 15501 .ltype_mask = 0x0F, 15502 }, 15503 .pck_oip4 = { 15504 .lid = NPC_LID_LC, 15505 .ltype_match = NPC_LT_LC_IP, 15506 .ltype_mask = 0x0E, 15507 }, 15508 .pck_iip4 = { 15509 .lid = NPC_LID_LG, 15510 .ltype_match = NPC_LT_LG_TU_IP, 15511 .ltype_mask = 0x0F, 15512 }, 15513 .rx_apad0 = { 15514 .valid = 0, 15515 .lid = NPC_LID_LC, 15516 .ltype_match = NPC_LT_LC_IP6, 15517 .ltype_mask = 0x0F, 15518 }, 15519 .rx_apad1 = { 15520 .valid = 0, 15521 .lid = NPC_LID_LC, 15522 .ltype_match = NPC_LT_LC_IP6, 15523 .ltype_mask = 0x0F, 15524 }, 15525 .rx_et = { 15526 { 15527 .lid = NPC_LID_LB, 15528 .ltype_match = NPC_LT_NA, 15529 .ltype_mask = 0x0, 15530 }, 15531 { 15532 .lid = NPC_LID_LB, 15533 .ltype_match = NPC_LT_NA, 15534 .ltype_mask = 0x0, 15535 }, 15536 }, 15537 }; 15538 15539 static struct npc_mcam_kex npc_mkex_default = { 15540 .mkex_sign = MKEX_SIGN, 15541 .name = "default", 15542 .kpu_version = NPC_KPU_PROFILE_VER, 15543 .keyx_cfg = { 15544 /* nibble: LA..LE (ltype only) + Error code + Channel */ 15545 [NIX_INTF_RX] = ((u64)NPC_MCAM_KEY_X2 << 32) | NPC_PARSE_NIBBLE_INTF_RX, 15546 /* nibble: LA..LE (ltype only) */ 15547 [NIX_INTF_TX] = ((u64)NPC_MCAM_KEY_X2 << 32) | NPC_PARSE_NIBBLE_INTF_TX, 15548 }, 15549 .intf_lid_lt_ld = { 15550 /* Default RX MCAM KEX profile */ 15551 [NIX_INTF_RX] = { 15552 [NPC_LID_LA] = { 15553 /* Layer A: Ethernet: */ 15554 [NPC_LT_LA_ETHER] = { 15555 /* DMAC: 6 bytes, KW1[55:8] */ 15556 KEX_LD_CFG(0x05, 0x0, 0x1, 0x0, NPC_KEXOF_DMAC), 15557 /* Ethertype: 2 bytes, KW0[55:40] */ 15558 KEX_LD_CFG(0x01, 0xc, 0x1, 0x0, 0x5), 15559 }, 15560 /* Layer A: HiGig2: */ 15561 [NPC_LT_LA_HIGIG2_ETHER] = { 15562 /* Classification: 2 bytes, KW1[23:8] */ 15563 KEX_LD_CFG(0x01, 0x8, 0x1, 0x0, NPC_KEXOF_DMAC), 15564 /* VID: 2 bytes, KW1[39:24] */ 15565 KEX_LD_CFG(0x01, 0xc, 0x1, 0x0, 15566 NPC_KEXOF_DMAC + 2), 15567 }, 15568 }, 15569 [NPC_LID_LB] = { 15570 /* Layer B: Single VLAN (CTAG) */ 15571 [NPC_LT_LB_CTAG] = { 15572 /* CTAG VLAN: 2 bytes, KW1[7:0], KW0[63:56] */ 15573 KEX_LD_CFG(0x01, 0x2, 0x1, 0x0, 0x7), 15574 /* Ethertype: 2 bytes, KW0[55:40] */ 15575 KEX_LD_CFG(0x01, 0x4, 0x1, 0x0, 0x5), 15576 }, 15577 /* Layer B: Stacked VLAN (STAG|QinQ) */ 15578 [NPC_LT_LB_STAG_QINQ] = { 15579 /* Outer VLAN: 2 bytes, KW1[7:0], KW0[63:56] */ 15580 KEX_LD_CFG(0x01, 0x2, 0x1, 0x0, 0x7), 15581 /* Ethertype: 2 bytes, KW0[55:40] */ 15582 KEX_LD_CFG(0x01, 0x8, 0x1, 0x0, 0x5), 15583 }, 15584 [NPC_LT_LB_FDSA] = { 15585 /* SWITCH PORT: 1 byte, KW0[63:56] */ 15586 KEX_LD_CFG(0x0, 0x1, 0x1, 0x0, 0x7), 15587 /* Ethertype: 2 bytes, KW0[55:40] */ 15588 KEX_LD_CFG(0x01, 0x4, 0x1, 0x0, 0x5), 15589 }, 15590 }, 15591 [NPC_LID_LC] = { 15592 /* Layer C: IPv4 */ 15593 [NPC_LT_LC_IP] = { 15594 /* SIP+DIP: 8 bytes, KW2[63:0] */ 15595 KEX_LD_CFG(0x07, 0xc, 0x1, 0x0, 0x10), 15596 /* TOS: 1 byte, KW1[63:56] */ 15597 KEX_LD_CFG(0x0, 0x1, 0x1, 0x0, 0xf), 15598 }, 15599 /* Layer C: IPv6 */ 15600 [NPC_LT_LC_IP6] = { 15601 /* Everything up to SADDR: 8 bytes, KW2[63:0] */ 15602 KEX_LD_CFG(0x07, 0x0, 0x1, 0x0, 0x10), 15603 }, 15604 }, 15605 [NPC_LID_LD] = { 15606 /* Layer D:UDP */ 15607 [NPC_LT_LD_UDP] = { 15608 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ 15609 KEX_LD_CFG(0x3, 0x0, 0x1, 0x0, 0x18), 15610 }, 15611 /* Layer D:TCP */ 15612 [NPC_LT_LD_TCP] = { 15613 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ 15614 KEX_LD_CFG(0x3, 0x0, 0x1, 0x0, 0x18), 15615 }, 15616 }, 15617 }, 15618 15619 /* Default TX MCAM KEX profile */ 15620 [NIX_INTF_TX] = { 15621 [NPC_LID_LA] = { 15622 /* Layer A: NIX_INST_HDR_S + Ethernet */ 15623 /* NIX appends 8 bytes of NIX_INST_HDR_S at the 15624 * start of each TX packet supplied to NPC. 15625 */ 15626 [NPC_LT_LA_IH_NIX_ETHER] = { 15627 /* PF_FUNC: 2B , KW0 [47:32] */ 15628 KEX_LD_CFG(0x01, 0x0, 0x1, 0x0, 0x4), 15629 /* DMAC: 6 bytes, KW1[63:16] */ 15630 KEX_LD_CFG(0x05, 0x8, 0x1, 0x0, 0xa), 15631 }, 15632 /* Layer A: HiGig2: */ 15633 [NPC_LT_LA_IH_NIX_HIGIG2_ETHER] = { 15634 /* PF_FUNC: 2B , KW0 [47:32] */ 15635 KEX_LD_CFG(0x01, 0x0, 0x1, 0x0, 0x4), 15636 /* VID: 2 bytes, KW1[31:16] */ 15637 KEX_LD_CFG(0x01, 0x10, 0x1, 0x0, 0xa), 15638 }, 15639 }, 15640 [NPC_LID_LB] = { 15641 /* Layer B: Single VLAN (CTAG) */ 15642 [NPC_LT_LB_CTAG] = { 15643 /* CTAG VLAN[2..3] KW0[63:48] */ 15644 KEX_LD_CFG(0x01, 0x2, 0x1, 0x0, 0x6), 15645 /* CTAG VLAN[2..3] KW1[15:0] */ 15646 KEX_LD_CFG(0x01, 0x4, 0x1, 0x0, 0x8), 15647 }, 15648 /* Layer B: Stacked VLAN (STAG|QinQ) */ 15649 [NPC_LT_LB_STAG_QINQ] = { 15650 /* Outer VLAN: 2 bytes, KW0[63:48] */ 15651 KEX_LD_CFG(0x01, 0x2, 0x1, 0x0, 0x6), 15652 /* Outer VLAN: 2 Bytes, KW1[15:0] */ 15653 KEX_LD_CFG(0x01, 0x8, 0x1, 0x0, 0x8), 15654 }, 15655 }, 15656 [NPC_LID_LC] = { 15657 /* Layer C: IPv4 */ 15658 [NPC_LT_LC_IP] = { 15659 /* SIP+DIP: 8 bytes, KW2[63:0] */ 15660 KEX_LD_CFG(0x07, 0xc, 0x1, 0x0, 0x10), 15661 }, 15662 /* Layer C: IPv6 */ 15663 [NPC_LT_LC_IP6] = { 15664 /* Everything up to SADDR: 8 bytes, KW2[63:0] */ 15665 KEX_LD_CFG(0x07, 0x0, 0x1, 0x0, 0x10), 15666 }, 15667 }, 15668 [NPC_LID_LD] = { 15669 /* Layer D:UDP */ 15670 [NPC_LT_LD_UDP] = { 15671 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ 15672 KEX_LD_CFG(0x3, 0x0, 0x1, 0x0, 0x18), 15673 }, 15674 /* Layer D:TCP */ 15675 [NPC_LT_LD_TCP] = { 15676 /* SPORT+DPORT: 4 bytes, KW3[31:0] */ 15677 KEX_LD_CFG(0x3, 0x0, 0x1, 0x0, 0x18), 15678 }, 15679 }, 15680 }, 15681 }, 15682 }; 15683 15684 #endif /* NPC_PROFILE_H */ 15685