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