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