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