esw_dispatch.c (234500B)
1 /* 2 * 3 * 4 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 5 * 6 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 7 * 8 * DO NOT EDIT THIS FILE! 9 * This file is auto-generated. 10 * Edits to this file will be lost when it is regenerated. 11 */ 12 13 int _bcm_esw_dispatch_not_empty; 14 15 #include <bcm_int/control.h> 16 #include <bcm_int/api_xlate_port.h> 17 #include <bcm/error.h> 18 #include <bcm/debug.h> 19 #include <bcm/auth.h> 20 #include <bcm/cosq.h> 21 #include <bcm/custom.h> 22 #include <bcm/fabric.h> 23 #include <bcm/field.h> 24 #include <bcm/flowtracker.h> 25 #include <bcm/init.h> 26 #include <bcm/instru.h> 27 #include <bcm/int.h> 28 #include <bcm/ipsec.h> 29 #include <bcm/l2.h> 30 #include <bcm/latency_monitor.h> 31 #include <bcm/lb.h> 32 #include <bcm/link.h> 33 #include <bcm/mirror.h> 34 #include <bcm/mpls.h> 35 #include <bcm/multicast.h> 36 #include <bcm/oam.h> 37 #include <bcm/oob.h> 38 #include <bcm/policer.h> 39 #include <bcm/port.h> 40 #include <bcm/qos.h> 41 #include <bcm/rx.h> 42 #include <bcm/sat.h> 43 #include <bcm/srv6.h> 44 #include <bcm/stack.h> 45 #include <bcm/stat.h> 46 #include <bcm/sum.h> 47 #include <bcm/switch.h> 48 #include <bcm/trunk.h> 49 #include <bcm/vlan.h> 50 #include <bcm/vswitch.h> 51 #include <bcm_int/esw_dispatch.h> 52 #if defined(INCLUDE_FCMAP) 53 #include <bcm/fcmap.h> 54 #endif 55 #if defined(INCLUDE_L3) 56 #include <bcm/extender.h> 57 #include <bcm/l3.h> 58 #include <bcm/trill.h> 59 #include <bcm/tunnel.h> 60 #include <bcm/vxlan.h> 61 #endif 62 #if defined(INCLUDE_MACSEC) 63 #include <bcm/macsec.h> 64 #endif 65 #if defined(INCLUDE_XFLOW_MACSEC) 66 #include <bcm/xflow_macsec.h> 67 #endif 68 69 int 70 bcm_esw_auth_mac_control_get( 71 int unit, 72 bcm_auth_mac_control_t type, 73 uint32 *value) 74 { 75 return BCM_E_UNAVAIL; 76 } 77 78 int 79 bcm_esw_auth_mac_control_set( 80 int unit, 81 bcm_auth_mac_control_t type, 82 uint32 value) 83 { 84 return BCM_E_UNAVAIL; 85 } 86 87 int 88 bcm_esw_cosq_bandwidth_fabric_adjust_get( 89 int unit, 90 uint32 flags, 91 bcm_cosq_bandwidth_fabric_adjust_key_t *key, 92 uint32 *bandwidth) 93 { 94 return BCM_E_UNAVAIL; 95 } 96 97 int 98 bcm_esw_cosq_bandwidth_fabric_adjust_set( 99 int unit, 100 uint32 flags, 101 bcm_cosq_bandwidth_fabric_adjust_key_t *key, 102 uint32 bandwidth) 103 { 104 return BCM_E_UNAVAIL; 105 } 106 107 int 108 bcm_esw_cosq_control_dynamic_get( 109 int unit, 110 bcm_cosq_control_t type, 111 bcm_cosq_dynamic_setting_type_t *dynamic) 112 { 113 return BCM_E_UNAVAIL; 114 } 115 116 int 117 bcm_esw_cosq_control_range_get( 118 int unit, 119 bcm_gport_t port, 120 uint32 flags, 121 bcm_cosq_control_range_type_t type, 122 bcm_cosq_range_t *range) 123 { 124 return BCM_E_UNAVAIL; 125 } 126 127 int 128 bcm_esw_cosq_control_range_set( 129 int unit, 130 bcm_gport_t port, 131 uint32 flags, 132 bcm_cosq_control_range_type_t type, 133 bcm_cosq_range_t *range) 134 { 135 return BCM_E_UNAVAIL; 136 } 137 138 int 139 bcm_esw_cosq_delay_tolerance_level_get( 140 int unit, 141 int delay_tolerance_level, 142 bcm_cosq_delay_tolerance_t *delay_tolerance) 143 { 144 return BCM_E_UNAVAIL; 145 } 146 147 int 148 bcm_esw_cosq_delay_tolerance_level_set( 149 int unit, 150 int delay_tolerance_level, 151 bcm_cosq_delay_tolerance_t *delay_tolerance) 152 { 153 return BCM_E_UNAVAIL; 154 } 155 156 int 157 bcm_esw_cosq_delay_tolerance_preset_get( 158 int unit, 159 bcm_cosq_delay_tolerance_preset_attr_t *preset_attr, 160 bcm_cosq_delay_tolerance_t *delay_tolerance) 161 { 162 return BCM_E_UNAVAIL; 163 } 164 165 int 166 bcm_esw_cosq_dest_credit_size_get( 167 int unit, 168 bcm_module_t dest_modid, 169 uint32 *credit_size) 170 { 171 return BCM_E_UNAVAIL; 172 } 173 174 int 175 bcm_esw_cosq_dest_credit_size_set( 176 int unit, 177 bcm_module_t dest_modid, 178 uint32 credit_size) 179 { 180 return BCM_E_UNAVAIL; 181 } 182 183 int 184 bcm_esw_cosq_fc_path_add( 185 int unit, 186 bcm_cosq_fc_direction_type_t fc_direction, 187 bcm_cosq_fc_endpoint_t *source, 188 bcm_cosq_fc_endpoint_t *target) 189 { 190 return BCM_E_UNAVAIL; 191 } 192 193 int 194 bcm_esw_cosq_fc_path_delete( 195 int unit, 196 bcm_cosq_fc_direction_type_t fc_direction, 197 bcm_cosq_fc_endpoint_t *source, 198 bcm_cosq_fc_endpoint_t *target) 199 { 200 return BCM_E_UNAVAIL; 201 } 202 203 int 204 bcm_esw_cosq_fc_path_get( 205 int unit, 206 bcm_cosq_fc_direction_type_t fc_direction, 207 bcm_cosq_fc_endpoint_t *source, 208 int target_max, 209 bcm_cosq_fc_endpoint_t *target, 210 int *target_count) 211 { 212 return BCM_E_UNAVAIL; 213 } 214 215 int 216 bcm_esw_cosq_generic_control_get( 217 int unit, 218 uint32 flags, 219 bcm_gport_t gport, 220 uint32 key, 221 bcm_cosq_generic_control_t type, 222 uint32 *arg) 223 { 224 return BCM_E_UNAVAIL; 225 } 226 227 int 228 bcm_esw_cosq_generic_control_set( 229 int unit, 230 uint32 flags, 231 bcm_gport_t gport, 232 uint32 key, 233 bcm_cosq_generic_control_t type, 234 uint32 arg) 235 { 236 return BCM_E_UNAVAIL; 237 } 238 239 int 240 bcm_esw_cosq_gport_color_size_get( 241 int unit, 242 bcm_gport_t gport, 243 bcm_cos_queue_t cosq, 244 bcm_color_t color, 245 uint32 flags, 246 bcm_cosq_gport_size_t *gport_size) 247 { 248 return BCM_E_UNAVAIL; 249 } 250 251 int 252 bcm_esw_cosq_gport_color_size_set( 253 int unit, 254 bcm_gport_t gport, 255 bcm_cos_queue_t cosq, 256 bcm_color_t color, 257 uint32 flags, 258 bcm_cosq_gport_size_t *gport_size) 259 { 260 return BCM_E_UNAVAIL; 261 } 262 263 int 264 bcm_esw_cosq_gport_connection_get( 265 int unit, 266 bcm_cosq_gport_connection_t *gport_connect) 267 { 268 return BCM_E_UNAVAIL; 269 } 270 271 int 272 bcm_esw_cosq_gport_connection_set( 273 int unit, 274 bcm_cosq_gport_connection_t *gport_connect) 275 { 276 return BCM_E_UNAVAIL; 277 } 278 279 int 280 bcm_esw_cosq_gport_dynamic_sched_get( 281 int unit, 282 bcm_gport_t gport, 283 bcm_cos_queue_t cosq, 284 bcm_cosq_dynamic_state_t state, 285 int *weight) 286 { 287 return BCM_E_UNAVAIL; 288 } 289 290 int 291 bcm_esw_cosq_gport_dynamic_sched_set( 292 int unit, 293 bcm_gport_t gport, 294 bcm_cos_queue_t cosq, 295 bcm_cosq_dynamic_state_t state, 296 int weight) 297 { 298 return BCM_E_UNAVAIL; 299 } 300 301 int 302 bcm_esw_cosq_gport_egress_map_get( 303 int unit, 304 bcm_gport_t gport, 305 bcm_cos_t ingress_pri, 306 bcm_color_t ingress_dp, 307 bcm_cos_queue_t *offset) 308 { 309 return BCM_E_UNAVAIL; 310 } 311 312 int 313 bcm_esw_cosq_gport_egress_map_set( 314 int unit, 315 bcm_gport_t gport, 316 bcm_cos_t ingress_pri, 317 bcm_color_t ingress_dp, 318 bcm_cos_queue_t offset) 319 { 320 return BCM_E_UNAVAIL; 321 } 322 323 int 324 bcm_esw_cosq_gport_egress_multicast_config_get( 325 int unit, 326 bcm_gport_t gport, 327 bcm_cos_t ingress_pri, 328 bcm_color_t ingress_dp, 329 uint32 flags, 330 bcm_cosq_egress_multicast_config_t *config) 331 { 332 return BCM_E_UNAVAIL; 333 } 334 335 int 336 bcm_esw_cosq_gport_egress_multicast_config_set( 337 int unit, 338 bcm_gport_t gport, 339 bcm_cos_t ingress_pri, 340 bcm_color_t ingress_dp, 341 uint32 flags, 342 bcm_cosq_egress_multicast_config_t *config) 343 { 344 return BCM_E_UNAVAIL; 345 } 346 347 int 348 bcm_esw_cosq_gport_fadt_threshold_get( 349 int unit, 350 uint32 flags, 351 bcm_cosq_fadt_info_t *fadt_info, 352 bcm_cosq_fadt_threshold_t *threshold) 353 { 354 return BCM_E_UNAVAIL; 355 } 356 357 int 358 bcm_esw_cosq_gport_fadt_threshold_set( 359 int unit, 360 uint32 flags, 361 bcm_cosq_fadt_info_t *fadt_info, 362 bcm_cosq_fadt_threshold_t *threshold) 363 { 364 return BCM_E_UNAVAIL; 365 } 366 367 int 368 bcm_esw_cosq_gport_flow_control_get( 369 int unit, 370 bcm_gport_t port, 371 bcm_cos_t int_pri, 372 uint32 *flow_control_mask) 373 { 374 return BCM_E_UNAVAIL; 375 } 376 377 int 378 bcm_esw_cosq_gport_flow_control_set( 379 int unit, 380 bcm_gport_t port, 381 bcm_cos_t int_pri, 382 uint32 flow_control_mask) 383 { 384 return BCM_E_UNAVAIL; 385 } 386 387 int 388 bcm_esw_cosq_gport_handle_core_get( 389 int unit, 390 bcm_core_t core, 391 bcm_cosq_gport_info_core_t *gport_info, 392 bcm_gport_t *out_gport) 393 { 394 return BCM_E_UNAVAIL; 395 } 396 397 int 398 bcm_esw_cosq_gport_handle_get( 399 int unit, 400 bcm_cosq_gport_type_t gport_type, 401 bcm_cosq_gport_info_t *gport_info) 402 { 403 return BCM_E_UNAVAIL; 404 } 405 406 int 407 bcm_esw_cosq_gport_multipath_add( 408 int unit, 409 bcm_gport_t multipath_gport, 410 bcm_gport_t member_gport, 411 bcm_cos_queue_t member_gport_cosq) 412 { 413 return BCM_E_UNAVAIL; 414 } 415 416 int 417 bcm_esw_cosq_gport_multipath_delete( 418 int unit, 419 bcm_gport_t multipath_gport, 420 bcm_gport_t member_gport, 421 bcm_cos_queue_t member_gport_cosq) 422 { 423 return BCM_E_UNAVAIL; 424 } 425 426 int 427 bcm_esw_cosq_gport_multipath_get( 428 int unit, 429 bcm_gport_t multipath_gport, 430 int member_gport_max, 431 bcm_gport_t *member_gport_array, 432 bcm_cos_queue_t *member_gport_cosq_array, 433 int *member_gport_count) 434 { 435 return BCM_E_UNAVAIL; 436 } 437 438 int 439 bcm_esw_cosq_gport_parent_get( 440 int unit, 441 bcm_gport_t child_port, 442 bcm_cos_queue_t cos, 443 bcm_gport_t *parent_port) 444 { 445 return BCM_E_UNAVAIL; 446 } 447 448 int 449 bcm_esw_cosq_gport_pkt_size_adjust_get( 450 int unit, 451 bcm_cosq_pkt_size_adjust_info_t *adjust_info, 452 int *delta) 453 { 454 return BCM_E_UNAVAIL; 455 } 456 457 int 458 bcm_esw_cosq_gport_pkt_size_adjust_set( 459 int unit, 460 bcm_cosq_pkt_size_adjust_info_t *adjust_info, 461 int delta) 462 { 463 return BCM_E_UNAVAIL; 464 } 465 466 int 467 bcm_esw_cosq_gport_pon_link_sla_get( 468 int unit, 469 bcm_gport_t gport, 470 bcm_cos_pon_link_sla_t *link_sla) 471 { 472 return BCM_E_UNAVAIL; 473 } 474 475 int 476 bcm_esw_cosq_gport_pon_link_sla_set( 477 int unit, 478 bcm_gport_t gport, 479 bcm_cos_pon_link_sla_t *link_sla) 480 { 481 return BCM_E_UNAVAIL; 482 } 483 484 int 485 bcm_esw_cosq_gport_queue_attach( 486 int unit, 487 uint32 flags, 488 bcm_gport_t ingress_queue, 489 bcm_cos_t ingress_int_pri, 490 bcm_gport_t egress_queue, 491 bcm_cos_t egress_int_pri, 492 int *attach_id) 493 { 494 return BCM_E_UNAVAIL; 495 } 496 497 int 498 bcm_esw_cosq_gport_queue_attach_get( 499 int unit, 500 bcm_gport_t ingress_queue, 501 bcm_cos_t ingress_int_pri, 502 bcm_gport_t *egress_queue, 503 bcm_cos_t *egress_int_pri, 504 int attach_id) 505 { 506 return BCM_E_UNAVAIL; 507 } 508 509 int 510 bcm_esw_cosq_gport_queue_detach( 511 int unit, 512 bcm_gport_t ingress_queue, 513 bcm_cos_t ingress_int_pri, 514 int attach_id) 515 { 516 return BCM_E_UNAVAIL; 517 } 518 519 int 520 bcm_esw_cosq_gport_rate_class_create( 521 int unit, 522 bcm_gport_t gport, 523 uint32 flags, 524 bcm_cosq_rate_class_create_info_t *create_info) 525 { 526 return BCM_E_UNAVAIL; 527 } 528 529 int 530 bcm_esw_cosq_gport_report_threshold_get( 531 int unit, 532 bcm_gport_t gport, 533 bcm_cos_queue_t cosq, 534 bcm_cosq_report_threshold_t *threshold) 535 { 536 return BCM_E_UNAVAIL; 537 } 538 539 int 540 bcm_esw_cosq_gport_report_threshold_set( 541 int unit, 542 bcm_gport_t gport, 543 bcm_cos_queue_t cosq, 544 bcm_cosq_report_threshold_t *threshold) 545 { 546 return BCM_E_UNAVAIL; 547 } 548 549 int 550 bcm_esw_cosq_gport_sched_config_get( 551 int unit, 552 bcm_gport_t gport, 553 int sched_mode, 554 int int_pri, 555 uint32 *flags) 556 { 557 return BCM_E_UNAVAIL; 558 } 559 560 int 561 bcm_esw_cosq_gport_sched_config_set( 562 int unit, 563 bcm_gport_t gport, 564 int sched_mode, 565 int int_pri, 566 uint32 flags) 567 { 568 return BCM_E_UNAVAIL; 569 } 570 571 int 572 bcm_esw_cosq_gport_static_threshold_get( 573 int unit, 574 uint32 flags, 575 bcm_cosq_static_threshold_info_t *thresh_info, 576 bcm_cosq_static_threshold_t *threshold) 577 { 578 return BCM_E_UNAVAIL; 579 } 580 581 int 582 bcm_esw_cosq_gport_static_threshold_set( 583 int unit, 584 uint32 flags, 585 bcm_cosq_static_threshold_info_t *thresh_info, 586 bcm_cosq_static_threshold_t *threshold) 587 { 588 return BCM_E_UNAVAIL; 589 } 590 591 int 592 bcm_esw_cosq_gport_statistic_multi_get( 593 int unit, 594 bcm_gport_t gport, 595 bcm_gport_t lgl_gport, 596 bcm_cos_queue_t cosq, 597 int stat_count, 598 bcm_cosq_gport_stats_t *stats_array, 599 int value_count, 600 uint64 *value_array) 601 { 602 return BCM_E_UNAVAIL; 603 } 604 605 int 606 bcm_esw_cosq_gport_statistic_multi_set( 607 int unit, 608 bcm_gport_t gport, 609 bcm_gport_t lgl_gport, 610 bcm_cos_queue_t cosq, 611 int stat_count, 612 bcm_cosq_gport_stats_t *stats_array, 613 uint64 value) 614 { 615 return BCM_E_UNAVAIL; 616 } 617 618 int 619 bcm_esw_cosq_gport_threshold_get( 620 int unit, 621 bcm_gport_t gport, 622 bcm_cos_queue_t cosq, 623 bcm_cosq_threshold_t *threshold) 624 { 625 return BCM_E_UNAVAIL; 626 } 627 628 int 629 bcm_esw_cosq_gport_threshold_set( 630 int unit, 631 bcm_gport_t gport, 632 bcm_cos_queue_t cosq, 633 bcm_cosq_threshold_t *threshold) 634 { 635 return BCM_E_UNAVAIL; 636 } 637 638 int 639 bcm_esw_cosq_gport_vsq_add( 640 int unit, 641 bcm_gport_t vsq, 642 bcm_gport_t queue, 643 bcm_cos_queue_t cosq) 644 { 645 return BCM_E_UNAVAIL; 646 } 647 648 int 649 bcm_esw_cosq_gport_vsq_create( 650 int unit, 651 bcm_cosq_vsq_info_t *vsq_info, 652 bcm_gport_t *vsq_gport) 653 { 654 return BCM_E_UNAVAIL; 655 } 656 657 int 658 bcm_esw_cosq_gport_vsq_delete( 659 int unit, 660 bcm_gport_t vsq, 661 bcm_gport_t queue, 662 bcm_cos_queue_t cosq) 663 { 664 return BCM_E_UNAVAIL; 665 } 666 667 int 668 bcm_esw_cosq_gport_vsq_delete_all( 669 int unit, 670 bcm_gport_t vsq) 671 { 672 return BCM_E_UNAVAIL; 673 } 674 675 int 676 bcm_esw_cosq_gport_vsq_destroy( 677 int unit, 678 bcm_gport_t vsq_gport) 679 { 680 return BCM_E_UNAVAIL; 681 } 682 683 int 684 bcm_esw_cosq_gport_vsq_get( 685 int unit, 686 bcm_gport_t vsq, 687 int queue_max, 688 bcm_gport_t *queue_array, 689 bcm_cos_queue_t *cosq_array, 690 int *queue_count) 691 { 692 return BCM_E_UNAVAIL; 693 } 694 695 int 696 bcm_esw_cosq_hdrm_pool_limit_set( 697 int unit, 698 int hdrm_pool, 699 int num_lossless_class, 700 int arr_size, 701 bcm_cosq_pkt_size_dist_t *pkt_dist_array) 702 { 703 return BCM_E_UNAVAIL; 704 } 705 706 int 707 bcm_esw_cosq_icgm_resource_stat_get( 708 int unit, 709 bcm_cosq_icgm_resource_stat_key_t *stat_key, 710 uint64 *value) 711 { 712 return BCM_E_UNAVAIL; 713 } 714 715 int 716 bcm_esw_cosq_ingress_port_drop_control_frame_get( 717 int unit, 718 bcm_port_t port, 719 uint32 flags, 720 uint32 control_frame_index, 721 bcm_cosq_ingress_drop_control_frame_config_t *control_frame_config) 722 { 723 return BCM_E_UNAVAIL; 724 } 725 726 int 727 bcm_esw_cosq_ingress_port_drop_control_frame_set( 728 int unit, 729 bcm_port_t port, 730 uint32 flags, 731 uint32 control_frame_index, 732 bcm_cosq_ingress_drop_control_frame_config_t *control_frame_config) 733 { 734 return BCM_E_UNAVAIL; 735 } 736 737 int 738 bcm_esw_cosq_ingress_port_drop_custom_ether_type_get( 739 int unit, 740 bcm_port_t port, 741 uint32 flags, 742 uint32 ether_type_code, 743 uint32 *ether_type_val) 744 { 745 return BCM_E_UNAVAIL; 746 } 747 748 int 749 bcm_esw_cosq_ingress_port_drop_custom_ether_type_set( 750 int unit, 751 bcm_port_t port, 752 uint32 flags, 753 uint32 ether_type_code, 754 uint32 ether_type_val) 755 { 756 return BCM_E_UNAVAIL; 757 } 758 759 int 760 bcm_esw_cosq_ingress_port_drop_default_priority_get( 761 int unit, 762 bcm_port_t port, 763 uint32 flags, 764 uint32 *default_priority) 765 { 766 return BCM_E_UNAVAIL; 767 } 768 769 int 770 bcm_esw_cosq_ingress_port_drop_default_priority_set( 771 int unit, 772 bcm_port_t port, 773 uint32 flags, 774 uint32 default_priority) 775 { 776 return BCM_E_UNAVAIL; 777 } 778 779 int 780 bcm_esw_cosq_ingress_port_drop_enable_get( 781 int unit, 782 bcm_port_t port, 783 uint32 flags, 784 int *enable_mode) 785 { 786 return BCM_E_UNAVAIL; 787 } 788 789 int 790 bcm_esw_cosq_ingress_port_drop_enable_set( 791 int unit, 792 bcm_port_t port, 793 uint32 flags, 794 int enable_mode) 795 { 796 return BCM_E_UNAVAIL; 797 } 798 799 int 800 bcm_esw_cosq_ingress_port_drop_flex_key_construct_get( 801 int unit, 802 bcm_cosq_ingress_drop_flex_key_construct_id_t *key_id, 803 uint32 flags, 804 bcm_cosq_ingress_drop_flex_key_construct_t *flex_key_config) 805 { 806 return BCM_E_UNAVAIL; 807 } 808 809 int 810 bcm_esw_cosq_ingress_port_drop_flex_key_construct_set( 811 int unit, 812 bcm_cosq_ingress_drop_flex_key_construct_id_t *key_id, 813 uint32 flags, 814 bcm_cosq_ingress_drop_flex_key_construct_t *flex_key_config) 815 { 816 return BCM_E_UNAVAIL; 817 } 818 819 int 820 bcm_esw_cosq_ingress_port_drop_flex_key_entry_get( 821 int unit, 822 bcm_port_t port, 823 uint32 flags, 824 uint32 key_index, 825 bcm_cosq_ingress_drop_flex_key_entry_t *flex_key_info) 826 { 827 return BCM_E_UNAVAIL; 828 } 829 830 int 831 bcm_esw_cosq_ingress_port_drop_flex_key_entry_set( 832 int unit, 833 bcm_port_t port, 834 uint32 flags, 835 uint32 key_index, 836 bcm_cosq_ingress_drop_flex_key_entry_t *flex_key_info) 837 { 838 return BCM_E_UNAVAIL; 839 } 840 841 int 842 bcm_esw_cosq_ingress_port_drop_map_get( 843 int unit, 844 bcm_port_t port, 845 uint32 flags, 846 bcm_cosq_ingress_port_drop_map_t map, 847 uint32 key, 848 int *priority) 849 { 850 return BCM_E_UNAVAIL; 851 } 852 853 int 854 bcm_esw_cosq_ingress_port_drop_map_set( 855 int unit, 856 bcm_port_t port, 857 uint32 flags, 858 bcm_cosq_ingress_port_drop_map_t map, 859 uint32 key, 860 int priority) 861 { 862 return BCM_E_UNAVAIL; 863 } 864 865 int 866 bcm_esw_cosq_ingress_port_drop_mpls_special_label_get( 867 int unit, 868 bcm_port_t port, 869 uint32 flags, 870 uint32 label_index, 871 bcm_cosq_ingress_port_drop_mpls_special_label_config_t *label_config) 872 { 873 return BCM_E_UNAVAIL; 874 } 875 876 int 877 bcm_esw_cosq_ingress_port_drop_mpls_special_label_set( 878 int unit, 879 bcm_port_t port, 880 uint32 flags, 881 uint32 label_index, 882 bcm_cosq_ingress_port_drop_mpls_special_label_config_t *label_config) 883 { 884 return BCM_E_UNAVAIL; 885 } 886 887 int 888 bcm_esw_cosq_ingress_port_drop_threshold_get( 889 int unit, 890 bcm_port_t port, 891 uint32 flags, 892 int priority, 893 uint32 *value) 894 { 895 return BCM_E_UNAVAIL; 896 } 897 898 int 899 bcm_esw_cosq_ingress_port_drop_threshold_set( 900 int unit, 901 bcm_port_t port, 902 uint32 flags, 903 int priority, 904 uint32 value) 905 { 906 return BCM_E_UNAVAIL; 907 } 908 909 int 910 bcm_esw_cosq_ingress_queue_bundle_gport_add( 911 int unit, 912 bcm_cosq_ingress_queue_bundle_gport_config_t *config, 913 bcm_gport_t *gport) 914 { 915 return BCM_E_UNAVAIL; 916 } 917 918 int 919 bcm_esw_cosq_latency_profile_create( 920 int unit, 921 int flags, 922 bcm_gport_t *profile_gport) 923 { 924 return BCM_E_UNAVAIL; 925 } 926 927 int 928 bcm_esw_cosq_latency_profile_destroy( 929 int unit, 930 int flags, 931 bcm_gport_t profile_gport) 932 { 933 return BCM_E_UNAVAIL; 934 } 935 936 int 937 bcm_esw_cosq_max_latency_pkts_get( 938 int unit, 939 bcm_gport_t gport, 940 uint32 flags, 941 int max_count, 942 bcm_cosq_max_latency_pkts_t *max_latency_pkts, 943 int *actual_count) 944 { 945 return BCM_E_UNAVAIL; 946 } 947 948 int 949 bcm_esw_cosq_mirror_on_drop_group_get( 950 int unit, 951 uint32 flags, 952 int group_id, 953 bcm_cosq_mirror_on_drop_group_info_t *group_info) 954 { 955 return BCM_E_UNAVAIL; 956 } 957 958 int 959 bcm_esw_cosq_mirror_on_drop_group_set( 960 int unit, 961 uint32 flags, 962 int group_id, 963 bcm_cosq_mirror_on_drop_group_info_t *group_info) 964 { 965 return BCM_E_UNAVAIL; 966 } 967 968 int 969 bcm_esw_cosq_pfc_class_config_profile_get( 970 int unit, 971 int profile_id, 972 int max_count, 973 bcm_cosq_pfc_class_map_config_t *config_array, 974 int *count) 975 { 976 return BCM_E_UNAVAIL; 977 } 978 979 int 980 bcm_esw_cosq_pfc_class_config_profile_set( 981 int unit, 982 int profile_id, 983 int count, 984 bcm_cosq_pfc_class_map_config_t *config_array) 985 { 986 return BCM_E_UNAVAIL; 987 } 988 989 int 990 bcm_esw_cosq_pfc_config_get( 991 int unit, 992 bcm_gport_t gport, 993 bcm_cos_queue_t cosq, 994 uint32 flags, 995 bcm_cosq_pfc_config_t *config) 996 { 997 return BCM_E_UNAVAIL; 998 } 999 1000 int 1001 bcm_esw_cosq_pfc_config_set( 1002 int unit, 1003 bcm_gport_t gport, 1004 bcm_cos_queue_t cosq, 1005 uint32 flags, 1006 bcm_cosq_pfc_config_t *config) 1007 { 1008 return BCM_E_UNAVAIL; 1009 } 1010 1011 int 1012 bcm_esw_cosq_pfc_deadlock_control_get( 1013 int unit, 1014 bcm_port_t port, 1015 int pfc_priority, 1016 bcm_cosq_pfc_deadlock_control_t type, 1017 int *arg) 1018 { 1019 return BCM_E_UNAVAIL; 1020 } 1021 1022 int 1023 bcm_esw_cosq_pfc_deadlock_control_set( 1024 int unit, 1025 bcm_port_t port, 1026 int pfc_priority, 1027 bcm_cosq_pfc_deadlock_control_t type, 1028 int arg) 1029 { 1030 return BCM_E_UNAVAIL; 1031 } 1032 1033 int 1034 bcm_esw_cosq_pkt_size_adjust_delta_map_get( 1035 int unit, 1036 int delta, 1037 int *final_delta) 1038 { 1039 return BCM_E_UNAVAIL; 1040 } 1041 1042 int 1043 bcm_esw_cosq_pkt_size_adjust_delta_map_set( 1044 int unit, 1045 int delta, 1046 int final_delta) 1047 { 1048 return BCM_E_UNAVAIL; 1049 } 1050 1051 int 1052 bcm_esw_cosq_port_optimized_pfc_group_num_get( 1053 int unit, 1054 bcm_port_t port, 1055 int *arg) 1056 { 1057 return BCM_E_UNAVAIL; 1058 } 1059 1060 int 1061 bcm_esw_cosq_port_prigrp_hdrm_set( 1062 int unit, 1063 bcm_port_t port, 1064 uint32 pri_bmp, 1065 int cable_len, 1066 int arr_size, 1067 bcm_cosq_pkt_size_dist_t *pkt_dist_array) 1068 { 1069 return BCM_E_UNAVAIL; 1070 } 1071 1072 int 1073 bcm_esw_cosq_port_priority_group_property_get( 1074 int unit, 1075 bcm_port_t port, 1076 int priority_group_id, 1077 bcm_cosq_port_prigroup_control_t type, 1078 int *arg) 1079 { 1080 return BCM_E_UNAVAIL; 1081 } 1082 1083 int 1084 bcm_esw_cosq_port_priority_group_property_set( 1085 int unit, 1086 bcm_port_t port, 1087 int priority_group_id, 1088 bcm_cosq_port_prigroup_control_t type, 1089 int arg) 1090 { 1091 return BCM_E_UNAVAIL; 1092 } 1093 1094 int 1095 bcm_esw_cosq_port_profile_get( 1096 int unit, 1097 bcm_port_t port, 1098 bcm_cosq_profile_type_t profile_type, 1099 int *profile_id) 1100 { 1101 return BCM_E_UNAVAIL; 1102 } 1103 1104 int 1105 bcm_esw_cosq_port_profile_set( 1106 int unit, 1107 bcm_port_t port, 1108 bcm_cosq_profile_type_t profile_type, 1109 int profile_id) 1110 { 1111 return BCM_E_UNAVAIL; 1112 } 1113 1114 int 1115 bcm_esw_cosq_port_sched_config_get( 1116 int unit, 1117 bcm_pbmp_t pbm, 1118 int weight_arr_size, 1119 int *weights, 1120 int *weight_arr_count, 1121 int *mode) 1122 { 1123 return BCM_E_UNAVAIL; 1124 } 1125 1126 int 1127 bcm_esw_cosq_port_sched_config_set( 1128 int unit, 1129 bcm_pbmp_t pbm, 1130 int mode, 1131 int weight_arr_size, 1132 int *weights) 1133 { 1134 return BCM_E_UNAVAIL; 1135 } 1136 1137 int 1138 bcm_esw_cosq_priority_get( 1139 int unit, 1140 int start_queue, 1141 int end_queue, 1142 int *pri_profile_id) 1143 { 1144 return BCM_E_UNAVAIL; 1145 } 1146 1147 int 1148 bcm_esw_cosq_priority_group_mapping_profile_get( 1149 int unit, 1150 int profile_index, 1151 bcm_cosq_priority_group_mapping_profile_type_t type, 1152 int array_max, 1153 int *arg, 1154 int *array_count) 1155 { 1156 return BCM_E_UNAVAIL; 1157 } 1158 1159 int 1160 bcm_esw_cosq_priority_group_mapping_profile_set( 1161 int unit, 1162 int profile_index, 1163 bcm_cosq_priority_group_mapping_profile_type_t type, 1164 int array_count, 1165 int *arg) 1166 { 1167 return BCM_E_UNAVAIL; 1168 } 1169 1170 int 1171 bcm_esw_cosq_priority_group_pfc_priority_mapping_profile_get( 1172 int unit, 1173 int profile_id, 1174 int array_max, 1175 int *pg_array, 1176 int *array_count) 1177 { 1178 return BCM_E_UNAVAIL; 1179 } 1180 1181 int 1182 bcm_esw_cosq_priority_group_pfc_priority_mapping_profile_set( 1183 int unit, 1184 int profile_id, 1185 int array_count, 1186 int *pg_array) 1187 { 1188 return BCM_E_UNAVAIL; 1189 } 1190 1191 int 1192 bcm_esw_cosq_priority_profile_get( 1193 int unit, 1194 int pri_profile_id, 1195 int *count, 1196 bcm_cosq_gport_priority_profile_t *pri_profile) 1197 { 1198 return BCM_E_UNAVAIL; 1199 } 1200 1201 int 1202 bcm_esw_cosq_priority_profile_set( 1203 int unit, 1204 int pri_profile_id, 1205 int count, 1206 bcm_cosq_gport_priority_profile_t *pri_profile) 1207 { 1208 return BCM_E_UNAVAIL; 1209 } 1210 1211 int 1212 bcm_esw_cosq_priority_set( 1213 int unit, 1214 int start_queue, 1215 int end_queue, 1216 int pri_profile_id) 1217 { 1218 return BCM_E_UNAVAIL; 1219 } 1220 1221 int 1222 bcm_esw_cosq_profile_info_inuse_get( 1223 int unit, 1224 bcm_cosq_profile_type_t profile_type, 1225 int profile_id, 1226 int *in_use) 1227 { 1228 return BCM_E_UNAVAIL; 1229 } 1230 1231 int 1232 bcm_esw_cosq_profile_info_portlist_get( 1233 int unit, 1234 bcm_cosq_profile_type_t profile_type, 1235 int profile_id, 1236 int max_port_count, 1237 bcm_port_t *port_list, 1238 int *port_count) 1239 { 1240 return BCM_E_UNAVAIL; 1241 } 1242 1243 int 1244 bcm_esw_cosq_profile_mapping_get( 1245 int unit, 1246 bcm_gport_t gport_to_map, 1247 bcm_cos_queue_t cosq, 1248 uint32 flags, 1249 bcm_switch_profile_mapping_t *profile_mapping) 1250 { 1251 return BCM_E_UNAVAIL; 1252 } 1253 1254 int 1255 bcm_esw_cosq_profile_mapping_set( 1256 int unit, 1257 bcm_gport_t gport_to_map, 1258 bcm_cos_queue_t cosq, 1259 uint32 flags, 1260 bcm_switch_profile_mapping_t *profile_mapping) 1261 { 1262 return BCM_E_UNAVAIL; 1263 } 1264 1265 int 1266 bcm_esw_cosq_profile_property_dynamic_get( 1267 int unit, 1268 bcm_cosq_profile_type_t profile_type, 1269 bcm_cosq_dynamic_setting_type_t *dynamic) 1270 { 1271 return BCM_E_UNAVAIL; 1272 } 1273 1274 int 1275 bcm_esw_cosq_qcn_config_get( 1276 int unit, 1277 bcm_gport_t port, 1278 bcm_cos_queue_t cosq, 1279 uint32 flags, 1280 bcm_cosq_qcn_config_t *config) 1281 { 1282 return BCM_E_UNAVAIL; 1283 } 1284 1285 int 1286 bcm_esw_cosq_qcn_config_set( 1287 int unit, 1288 bcm_gport_t port, 1289 bcm_cos_queue_t cosq, 1290 uint32 flags, 1291 bcm_cosq_qcn_config_t *config) 1292 { 1293 return BCM_E_UNAVAIL; 1294 } 1295 1296 int 1297 bcm_esw_cosq_resource_allocation_get( 1298 int unit, 1299 uint32 flags, 1300 bcm_cosq_resource_t resource, 1301 bcm_cosq_allocation_entity_t *target, 1302 bcm_cosq_resource_amounts_t *amounts) 1303 { 1304 return BCM_E_UNAVAIL; 1305 } 1306 1307 int 1308 bcm_esw_cosq_resource_allocation_set( 1309 int unit, 1310 uint32 flags, 1311 bcm_cosq_resource_t resource, 1312 bcm_cosq_allocation_entity_t *target, 1313 bcm_cosq_resource_amounts_t *amounts) 1314 { 1315 return BCM_E_UNAVAIL; 1316 } 1317 1318 int 1319 bcm_esw_cosq_sched_config_get( 1320 int unit, 1321 int weight_arr_size, 1322 int *weights, 1323 int *weight_arr_count, 1324 int *mode) 1325 { 1326 return BCM_E_UNAVAIL; 1327 } 1328 1329 int 1330 bcm_esw_cosq_sched_config_set( 1331 int unit, 1332 int mode, 1333 int weight_arr_size, 1334 int *weights) 1335 { 1336 return BCM_E_UNAVAIL; 1337 } 1338 1339 int 1340 bcm_esw_cosq_schedq_mapping_get( 1341 int unit, 1342 int profile_index, 1343 int array_max, 1344 bcm_cosq_mapping_t *cosq_mapping_arr, 1345 int *size) 1346 { 1347 return BCM_E_UNAVAIL; 1348 } 1349 1350 int 1351 bcm_esw_cosq_schedq_mapping_set( 1352 int unit, 1353 int profile_index, 1354 int size, 1355 bcm_cosq_mapping_t *cosq_mapping_arr) 1356 { 1357 return BCM_E_UNAVAIL; 1358 } 1359 1360 int 1361 bcm_esw_cosq_scheduler_gport_add( 1362 int unit, 1363 uint32 flags, 1364 bcm_cosq_scheduler_gport_params_t *params, 1365 bcm_gport_t *gport) 1366 { 1367 return BCM_E_UNAVAIL; 1368 } 1369 1370 int 1371 bcm_esw_cosq_scheduler_gport_get( 1372 int unit, 1373 uint32 flags, 1374 bcm_gport_t gport, 1375 bcm_cosq_scheduler_gport_params_t *params) 1376 { 1377 return BCM_E_UNAVAIL; 1378 } 1379 1380 int 1381 bcm_esw_cosq_service_pool_override_get( 1382 int unit, 1383 bcm_cosq_service_pool_override_type_t type, 1384 bcm_service_pool_id_t *service_pool, 1385 int *enable) 1386 { 1387 return BCM_E_UNAVAIL; 1388 } 1389 1390 int 1391 bcm_esw_cosq_service_pool_override_set( 1392 int unit, 1393 bcm_cosq_service_pool_override_type_t type, 1394 bcm_service_pool_id_t service_pool, 1395 int enable) 1396 { 1397 return BCM_E_UNAVAIL; 1398 } 1399 1400 int 1401 bcm_esw_cosq_slow_profile_get( 1402 int unit, 1403 bcm_cosq_slow_level_t *slow_level, 1404 bcm_cosq_slow_profile_attributes_t *attr) 1405 { 1406 return BCM_E_UNAVAIL; 1407 } 1408 1409 int 1410 bcm_esw_cosq_slow_profile_set( 1411 int unit, 1412 bcm_cosq_slow_level_t *slow_level, 1413 bcm_cosq_slow_profile_attributes_t *attr) 1414 { 1415 return BCM_E_UNAVAIL; 1416 } 1417 1418 int 1419 bcm_esw_cosq_src_vsqs_gport_add( 1420 int unit, 1421 bcm_gport_t port, 1422 bcm_cosq_src_vsqs_gport_config_t *config, 1423 bcm_gport_t *src_port_vsq_gport, 1424 bcm_gport_t *pg_base_vsq_gport) 1425 { 1426 return BCM_E_UNAVAIL; 1427 } 1428 1429 int 1430 bcm_esw_cosq_src_vsqs_gport_get( 1431 int unit, 1432 bcm_gport_t port, 1433 bcm_cosq_src_vsqs_gport_config_t *config, 1434 bcm_gport_t *src_port_vsq_gport, 1435 bcm_gport_t *pg_base_vsq_gport) 1436 { 1437 return BCM_E_UNAVAIL; 1438 } 1439 1440 int 1441 bcm_esw_cosq_stat_info_get( 1442 int unit, 1443 int flags, 1444 bcm_cosq_stat_info_key_t *key, 1445 bcm_cosq_stat_info_t *config) 1446 { 1447 return BCM_E_UNAVAIL; 1448 } 1449 1450 int 1451 bcm_esw_cosq_stat_info_set( 1452 int unit, 1453 int flags, 1454 bcm_cosq_stat_info_key_t *key, 1455 bcm_cosq_stat_info_t *config) 1456 { 1457 return BCM_E_UNAVAIL; 1458 } 1459 1460 int 1461 bcm_esw_cosq_stat_obj_map_get( 1462 int unit, 1463 int flags, 1464 bcm_cosq_obj_map_key_t *key, 1465 uint32 *object_stat_id) 1466 { 1467 return BCM_E_UNAVAIL; 1468 } 1469 1470 int 1471 bcm_esw_cosq_stat_obj_map_set( 1472 int unit, 1473 int flags, 1474 bcm_cosq_obj_map_key_t *key, 1475 uint32 object_stat_id) 1476 { 1477 return BCM_E_UNAVAIL; 1478 } 1479 1480 int 1481 bcm_esw_cosq_subscriber_map_add( 1482 int unit, 1483 bcm_cosq_subscriber_map_t *map) 1484 { 1485 return BCM_E_UNAVAIL; 1486 } 1487 1488 int 1489 bcm_esw_cosq_subscriber_map_delete( 1490 int unit, 1491 bcm_cosq_subscriber_map_t *map) 1492 { 1493 return BCM_E_UNAVAIL; 1494 } 1495 1496 int 1497 bcm_esw_cosq_subscriber_map_delete_all( 1498 int unit) 1499 { 1500 return BCM_E_UNAVAIL; 1501 } 1502 1503 int 1504 bcm_esw_cosq_subscriber_map_get( 1505 int unit, 1506 bcm_cosq_subscriber_map_t *map) 1507 { 1508 return BCM_E_UNAVAIL; 1509 } 1510 1511 int 1512 bcm_esw_cosq_subscriber_traverse( 1513 int unit, 1514 bcm_cosq_subscriber_map_traverse_cb cb, 1515 void *user_data) 1516 { 1517 return BCM_E_UNAVAIL; 1518 } 1519 1520 int 1521 bcm_esw_cosq_sysport_ingress_queue_map_get( 1522 int unit, 1523 uint32 flags, 1524 bcm_gport_t sysport, 1525 bcm_gport_t *ingress_queue) 1526 { 1527 return BCM_E_UNAVAIL; 1528 } 1529 1530 int 1531 bcm_esw_cosq_sysport_ingress_queue_map_set( 1532 int unit, 1533 uint32 flags, 1534 bcm_gport_t sysport, 1535 bcm_gport_t ingress_queue) 1536 { 1537 return BCM_E_UNAVAIL; 1538 } 1539 1540 int 1541 bcm_esw_cosq_voq_connector_gport_add( 1542 int unit, 1543 bcm_cosq_voq_connector_gport_t *config, 1544 bcm_gport_t *gport) 1545 { 1546 return BCM_E_UNAVAIL; 1547 } 1548 1549 #ifdef BCM_ESW_SUPPORT 1550 int 1551 bcm_esw_custom_port_get( 1552 int unit, 1553 bcm_port_t port, 1554 int type, 1555 int max_len, 1556 uint32 *args, 1557 int *actual_len) 1558 { 1559 return bcm_common_custom_port_get(unit, port, type, max_len, args, actual_len); 1560 } 1561 #endif 1562 1563 #ifdef BCM_ESW_SUPPORT 1564 int 1565 bcm_esw_custom_port_set( 1566 int unit, 1567 bcm_port_t port, 1568 int type, 1569 int len, 1570 uint32 *args) 1571 { 1572 return bcm_common_custom_port_set(unit, port, type, len, args); 1573 } 1574 #endif 1575 1576 #ifdef BCM_ESW_SUPPORT 1577 int 1578 bcm_esw_custom_register( 1579 int unit, 1580 bcm_custom_cb_t func, 1581 void *user_data) 1582 { 1583 return bcm_common_custom_register(unit, func, user_data); 1584 } 1585 #endif 1586 1587 #ifdef BCM_ESW_SUPPORT 1588 int 1589 bcm_esw_custom_unregister( 1590 int unit) 1591 { 1592 return bcm_common_custom_unregister(unit); 1593 } 1594 #endif 1595 1596 int 1597 bcm_esw_device_member_get( 1598 int unit, 1599 uint32 flags, 1600 bcm_device_member_t member_type, 1601 int *is_member) 1602 { 1603 return BCM_E_UNAVAIL; 1604 } 1605 1606 #if defined(INCLUDE_L3) 1607 int 1608 bcm_esw_extender_encap_create( 1609 int unit, 1610 bcm_extender_encap_t *extender_encap) 1611 { 1612 return BCM_E_UNAVAIL; 1613 } 1614 #endif 1615 1616 #if defined(INCLUDE_L3) 1617 int 1618 bcm_esw_extender_encap_destroy( 1619 int unit, 1620 bcm_gport_t *extender_encap_id) 1621 { 1622 return BCM_E_UNAVAIL; 1623 } 1624 #endif 1625 1626 #if defined(INCLUDE_L3) 1627 int 1628 bcm_esw_extender_encap_destroy_all( 1629 int unit) 1630 { 1631 return BCM_E_UNAVAIL; 1632 } 1633 #endif 1634 1635 #if defined(INCLUDE_L3) 1636 int 1637 bcm_esw_extender_encap_get( 1638 int unit, 1639 bcm_extender_encap_t *extender_encap) 1640 { 1641 return BCM_E_UNAVAIL; 1642 } 1643 #endif 1644 1645 #if defined(INCLUDE_L3) 1646 int 1647 bcm_esw_extender_encap_traverse( 1648 int unit, 1649 bcm_extender_encap_traverse_cb cb, 1650 void *user_data) 1651 { 1652 return BCM_E_UNAVAIL; 1653 } 1654 #endif 1655 1656 int 1657 bcm_esw_fabric_action_create( 1658 int unit, 1659 bcm_fabric_action_info_t *action_info, 1660 bcm_fabric_action_t *action_id) 1661 { 1662 return BCM_E_UNAVAIL; 1663 } 1664 1665 int 1666 bcm_esw_fabric_action_destroy( 1667 int unit, 1668 bcm_fabric_action_t action_id) 1669 { 1670 return BCM_E_UNAVAIL; 1671 } 1672 1673 int 1674 bcm_esw_fabric_action_destroy_all( 1675 int unit) 1676 { 1677 return BCM_E_UNAVAIL; 1678 } 1679 1680 int 1681 bcm_esw_fabric_action_get( 1682 int unit, 1683 bcm_fabric_action_t action_id, 1684 bcm_fabric_action_info_t *action_info) 1685 { 1686 return BCM_E_UNAVAIL; 1687 } 1688 1689 int 1690 bcm_esw_fabric_action_traverse( 1691 int unit, 1692 bcm_fabric_action_traverse_cb cb, 1693 void *user_data) 1694 { 1695 return BCM_E_UNAVAIL; 1696 } 1697 1698 int 1699 bcm_esw_fabric_bandwidth_core_profile_get( 1700 int unit, 1701 int core, 1702 uint32 flags, 1703 int profile_count, 1704 bcm_fabric_bandwidth_profile_t *profile_array) 1705 { 1706 return BCM_E_UNAVAIL; 1707 } 1708 1709 int 1710 bcm_esw_fabric_bandwidth_core_profile_set( 1711 int unit, 1712 int core, 1713 uint32 flags, 1714 int profile_count, 1715 bcm_fabric_bandwidth_profile_t *profile_array) 1716 { 1717 return BCM_E_UNAVAIL; 1718 } 1719 1720 int 1721 bcm_esw_fabric_bandwidth_profile_get( 1722 int unit, 1723 int profile_count, 1724 bcm_fabric_bandwidth_profile_t *profile_array) 1725 { 1726 return BCM_E_UNAVAIL; 1727 } 1728 1729 int 1730 bcm_esw_fabric_bandwidth_profile_set( 1731 int unit, 1732 int profile_count, 1733 bcm_fabric_bandwidth_profile_t *profile_array) 1734 { 1735 return BCM_E_UNAVAIL; 1736 } 1737 1738 int 1739 bcm_esw_fabric_cgm_control_get( 1740 int unit, 1741 uint32 flags, 1742 bcm_fabric_cgm_control_type_t control_type, 1743 bcm_fabric_cgm_control_id_t control_id, 1744 int *value) 1745 { 1746 return BCM_E_UNAVAIL; 1747 } 1748 1749 int 1750 bcm_esw_fabric_cgm_control_set( 1751 int unit, 1752 uint32 flags, 1753 bcm_fabric_cgm_control_type_t control_type, 1754 bcm_fabric_cgm_control_id_t control_id, 1755 int value) 1756 { 1757 return BCM_E_UNAVAIL; 1758 } 1759 1760 int 1761 bcm_esw_fabric_config_discard_get( 1762 int unit, 1763 bcm_fabric_config_discard_t *discard) 1764 { 1765 return BCM_E_UNAVAIL; 1766 } 1767 1768 int 1769 bcm_esw_fabric_config_discard_set( 1770 int unit, 1771 bcm_fabric_config_discard_t *discard) 1772 { 1773 return BCM_E_UNAVAIL; 1774 } 1775 1776 int 1777 bcm_esw_fabric_control_get( 1778 int unit, 1779 bcm_fabric_control_t type, 1780 int *arg) 1781 { 1782 return BCM_E_UNAVAIL; 1783 } 1784 1785 int 1786 bcm_esw_fabric_control_set( 1787 int unit, 1788 bcm_fabric_control_t type, 1789 int arg) 1790 { 1791 return BCM_E_UNAVAIL; 1792 } 1793 1794 int 1795 bcm_esw_fabric_destination_link_min_get( 1796 int unit, 1797 uint32 flags, 1798 bcm_module_t module_id, 1799 int *num_of_links) 1800 { 1801 return BCM_E_UNAVAIL; 1802 } 1803 1804 int 1805 bcm_esw_fabric_destination_link_min_set( 1806 int unit, 1807 uint32 flags, 1808 bcm_module_t module_id, 1809 int num_of_links) 1810 { 1811 return BCM_E_UNAVAIL; 1812 } 1813 1814 int 1815 bcm_esw_fabric_init( 1816 int unit) 1817 { 1818 return BCM_E_UNAVAIL; 1819 } 1820 1821 int 1822 bcm_esw_fabric_link_connectivity_status_get( 1823 int unit, 1824 int link_partner_max, 1825 bcm_fabric_link_connectivity_t *link_partner_array, 1826 int *link_partner_count) 1827 { 1828 return BCM_E_UNAVAIL; 1829 } 1830 1831 int 1832 bcm_esw_fabric_link_connectivity_status_single_get( 1833 int unit, 1834 bcm_port_t link_id, 1835 bcm_fabric_link_connectivity_t *link_partner_info) 1836 { 1837 return BCM_E_UNAVAIL; 1838 } 1839 1840 int 1841 bcm_esw_fabric_link_control_get( 1842 int unit, 1843 bcm_port_t link, 1844 bcm_fabric_link_control_t type, 1845 int *arg) 1846 { 1847 return BCM_E_UNAVAIL; 1848 } 1849 1850 int 1851 bcm_esw_fabric_link_control_set( 1852 int unit, 1853 bcm_port_t link, 1854 bcm_fabric_link_control_t type, 1855 int arg) 1856 { 1857 return BCM_E_UNAVAIL; 1858 } 1859 1860 int 1861 bcm_esw_fabric_link_profile_get( 1862 int unit, 1863 int profile_id, 1864 uint32 flags, 1865 uint32 links_count_max, 1866 uint32 *links_count, 1867 bcm_port_t *links) 1868 { 1869 return BCM_E_UNAVAIL; 1870 } 1871 1872 int 1873 bcm_esw_fabric_link_profile_set( 1874 int unit, 1875 int profile_id, 1876 uint32 flags, 1877 uint32 links_count, 1878 bcm_port_t *links) 1879 { 1880 return BCM_E_UNAVAIL; 1881 } 1882 1883 int 1884 bcm_esw_fabric_link_remote_pipe_mapping_get( 1885 int unit, 1886 bcm_port_t port, 1887 bcm_fabric_link_remote_pipe_mapping_t *mapping_config) 1888 { 1889 return BCM_E_UNAVAIL; 1890 } 1891 1892 int 1893 bcm_esw_fabric_link_remote_pipe_mapping_set( 1894 int unit, 1895 bcm_port_t port, 1896 bcm_fabric_link_remote_pipe_mapping_t *mapping_config) 1897 { 1898 return BCM_E_UNAVAIL; 1899 } 1900 1901 int 1902 bcm_esw_fabric_link_status_get( 1903 int unit, 1904 bcm_port_t link_id, 1905 uint32 *link_status, 1906 uint32 *errored_token_count) 1907 { 1908 return BCM_E_UNAVAIL; 1909 } 1910 1911 int 1912 bcm_esw_fabric_link_threshold_add( 1913 int unit, 1914 uint32 flags, 1915 int *fifo_type) 1916 { 1917 return BCM_E_UNAVAIL; 1918 } 1919 1920 int 1921 bcm_esw_fabric_link_threshold_delete( 1922 int unit, 1923 int fifo_type) 1924 { 1925 return BCM_E_UNAVAIL; 1926 } 1927 1928 int 1929 bcm_esw_fabric_link_thresholds_attach( 1930 int unit, 1931 int fifo_type, 1932 uint32 links_count, 1933 bcm_port_t *links) 1934 { 1935 return BCM_E_UNAVAIL; 1936 } 1937 1938 int 1939 bcm_esw_fabric_link_thresholds_get( 1940 int unit, 1941 int fifo_type, 1942 uint32 count, 1943 bcm_fabric_link_threshold_type_t *type, 1944 int *value) 1945 { 1946 return BCM_E_UNAVAIL; 1947 } 1948 1949 int 1950 bcm_esw_fabric_link_thresholds_pipe_get( 1951 int unit, 1952 int fifo_type, 1953 bcm_fabric_pipe_t pipe, 1954 uint32 flags, 1955 uint32 count, 1956 bcm_fabric_link_threshold_type_t *type, 1957 int *value) 1958 { 1959 return BCM_E_UNAVAIL; 1960 } 1961 1962 int 1963 bcm_esw_fabric_link_thresholds_pipe_set( 1964 int unit, 1965 int fifo_type, 1966 bcm_fabric_pipe_t pipe, 1967 uint32 flags, 1968 uint32 count, 1969 bcm_fabric_link_threshold_type_t *type, 1970 int *value) 1971 { 1972 return BCM_E_UNAVAIL; 1973 } 1974 1975 int 1976 bcm_esw_fabric_link_thresholds_retrieve( 1977 int unit, 1978 int fifo_type, 1979 uint32 links_count_max, 1980 bcm_port_t *links, 1981 uint32 *links_count) 1982 { 1983 return BCM_E_UNAVAIL; 1984 } 1985 1986 int 1987 bcm_esw_fabric_link_thresholds_set( 1988 int unit, 1989 int fifo_type, 1990 uint32 count, 1991 bcm_fabric_link_threshold_type_t *type, 1992 int *value) 1993 { 1994 return BCM_E_UNAVAIL; 1995 } 1996 1997 int 1998 bcm_esw_fabric_link_topology_config_get( 1999 int unit, 2000 uint32 flags, 2001 bcm_module_t destination, 2002 bcm_fabric_topology_type_t type, 2003 int links_count_max, 2004 int *links_count, 2005 bcm_port_t *links_array) 2006 { 2007 return BCM_E_UNAVAIL; 2008 } 2009 2010 int 2011 bcm_esw_fabric_link_topology_config_set( 2012 int unit, 2013 uint32 flags, 2014 bcm_module_t destination, 2015 bcm_fabric_topology_type_t type, 2016 int links_count, 2017 bcm_port_t *links_array) 2018 { 2019 return BCM_E_UNAVAIL; 2020 } 2021 2022 int 2023 bcm_esw_fabric_link_topology_get( 2024 int unit, 2025 bcm_module_t destination, 2026 int max_links_count, 2027 int *links_count, 2028 bcm_port_t *links_array) 2029 { 2030 return BCM_E_UNAVAIL; 2031 } 2032 2033 int 2034 bcm_esw_fabric_link_topology_set( 2035 int unit, 2036 bcm_module_t destination, 2037 int links_count, 2038 bcm_port_t *links_array) 2039 { 2040 return BCM_E_UNAVAIL; 2041 } 2042 2043 int 2044 bcm_esw_fabric_modid_group_find( 2045 int unit, 2046 bcm_module_t modid, 2047 bcm_module_t *group) 2048 { 2049 return BCM_E_UNAVAIL; 2050 } 2051 2052 int 2053 bcm_esw_fabric_modid_group_get( 2054 int unit, 2055 bcm_module_t group, 2056 int modid_max_count, 2057 bcm_module_t *modid_array, 2058 int *modid_count) 2059 { 2060 return BCM_E_UNAVAIL; 2061 } 2062 2063 int 2064 bcm_esw_fabric_modid_group_set( 2065 int unit, 2066 bcm_module_t group, 2067 int modid_count, 2068 bcm_module_t *modid_array) 2069 { 2070 return BCM_E_UNAVAIL; 2071 } 2072 2073 int 2074 bcm_esw_fabric_modid_local_mapping_get( 2075 int unit, 2076 bcm_module_t local_modid, 2077 bcm_module_t *modid) 2078 { 2079 return BCM_E_UNAVAIL; 2080 } 2081 2082 int 2083 bcm_esw_fabric_modid_local_mapping_set( 2084 int unit, 2085 bcm_module_t local_modid, 2086 bcm_module_t modid) 2087 { 2088 return BCM_E_UNAVAIL; 2089 } 2090 2091 int 2092 bcm_esw_fabric_module_control_get( 2093 int unit, 2094 uint32 flags, 2095 bcm_module_t modid, 2096 bcm_fabric_module_control_t control, 2097 int *value) 2098 { 2099 return BCM_E_UNAVAIL; 2100 } 2101 2102 int 2103 bcm_esw_fabric_module_control_set( 2104 int unit, 2105 uint32 flags, 2106 bcm_module_t modid, 2107 bcm_fabric_module_control_t control, 2108 int value) 2109 { 2110 return BCM_E_UNAVAIL; 2111 } 2112 2113 int 2114 bcm_esw_fabric_multicast_get( 2115 int unit, 2116 bcm_multicast_t group, 2117 uint32 flags, 2118 int destid_count_max, 2119 int *destid_count, 2120 bcm_module_t *destid_array) 2121 { 2122 return BCM_E_UNAVAIL; 2123 } 2124 2125 int 2126 bcm_esw_fabric_multicast_local_route_get( 2127 int unit, 2128 uint32 flags, 2129 uint32 nof_groups, 2130 bcm_multicast_t *groups, 2131 int *enable) 2132 { 2133 return BCM_E_UNAVAIL; 2134 } 2135 2136 int 2137 bcm_esw_fabric_multicast_local_route_set( 2138 int unit, 2139 uint32 flags, 2140 uint32 nof_groups, 2141 bcm_multicast_t *groups, 2142 int *enable) 2143 { 2144 return BCM_E_UNAVAIL; 2145 } 2146 2147 int 2148 bcm_esw_fabric_multicast_multi_get( 2149 int unit, 2150 uint32 flags, 2151 uint32 ngroups, 2152 bcm_multicast_t *groups, 2153 bcm_fabric_module_vector_t *dest_array) 2154 { 2155 return BCM_E_UNAVAIL; 2156 } 2157 2158 int 2159 bcm_esw_fabric_multicast_multi_set( 2160 int unit, 2161 uint32 flags, 2162 uint32 ngroups, 2163 bcm_multicast_t *groups, 2164 bcm_fabric_module_vector_t *dest_array) 2165 { 2166 return BCM_E_UNAVAIL; 2167 } 2168 2169 int 2170 bcm_esw_fabric_multicast_set( 2171 int unit, 2172 bcm_multicast_t group, 2173 uint32 flags, 2174 uint32 destid_count, 2175 bcm_module_t *destid_array) 2176 { 2177 return BCM_E_UNAVAIL; 2178 } 2179 2180 int 2181 bcm_esw_fabric_pcp_dest_mode_config_get( 2182 int unit, 2183 uint32 flags, 2184 bcm_module_t modid, 2185 bcm_fabric_pcp_mode_config_t *pcp_config) 2186 { 2187 return BCM_E_UNAVAIL; 2188 } 2189 2190 int 2191 bcm_esw_fabric_pcp_dest_mode_config_set( 2192 int unit, 2193 uint32 flags, 2194 bcm_module_t modid, 2195 bcm_fabric_pcp_mode_config_t *pcp_config) 2196 { 2197 return BCM_E_UNAVAIL; 2198 } 2199 2200 int 2201 bcm_esw_fabric_port_create( 2202 int unit, 2203 bcm_gport_t parent_port, 2204 int offset, 2205 uint32 flags, 2206 bcm_gport_t *port) 2207 { 2208 return BCM_E_UNAVAIL; 2209 } 2210 2211 int 2212 bcm_esw_fabric_port_destroy( 2213 int unit, 2214 bcm_gport_t parent_port) 2215 { 2216 return BCM_E_UNAVAIL; 2217 } 2218 2219 int 2220 bcm_esw_fabric_port_get( 2221 int unit, 2222 bcm_gport_t child_port, 2223 uint32 flags, 2224 bcm_gport_t *parent_port) 2225 { 2226 return BCM_E_UNAVAIL; 2227 } 2228 2229 int 2230 bcm_esw_fabric_predicate_action_create( 2231 int unit, 2232 bcm_fabric_predicate_action_info_t *predicate_action, 2233 bcm_fabric_predicate_action_t *predicate_action_id) 2234 { 2235 return BCM_E_UNAVAIL; 2236 } 2237 2238 int 2239 bcm_esw_fabric_predicate_action_destroy( 2240 int unit, 2241 bcm_fabric_predicate_action_t predicate_action_id) 2242 { 2243 return BCM_E_UNAVAIL; 2244 } 2245 2246 int 2247 bcm_esw_fabric_predicate_action_destroy_all( 2248 int unit) 2249 { 2250 return BCM_E_UNAVAIL; 2251 } 2252 2253 int 2254 bcm_esw_fabric_predicate_action_get( 2255 int unit, 2256 bcm_fabric_predicate_action_t predicate_action_id, 2257 bcm_fabric_predicate_action_info_t *predicate_action_info) 2258 { 2259 return BCM_E_UNAVAIL; 2260 } 2261 2262 int 2263 bcm_esw_fabric_predicate_action_traverse( 2264 int unit, 2265 bcm_fabric_predicate_action_traverse_cb cb, 2266 void *user_data) 2267 { 2268 return BCM_E_UNAVAIL; 2269 } 2270 2271 int 2272 bcm_esw_fabric_predicate_create( 2273 int unit, 2274 bcm_fabric_predicate_info_t *pred_info, 2275 bcm_fabric_predicate_t *pred_id) 2276 { 2277 return BCM_E_UNAVAIL; 2278 } 2279 2280 int 2281 bcm_esw_fabric_predicate_destroy( 2282 int unit, 2283 bcm_fabric_predicate_t pred_id) 2284 { 2285 return BCM_E_UNAVAIL; 2286 } 2287 2288 int 2289 bcm_esw_fabric_predicate_destroy_all( 2290 int unit) 2291 { 2292 return BCM_E_UNAVAIL; 2293 } 2294 2295 int 2296 bcm_esw_fabric_predicate_get( 2297 int unit, 2298 bcm_fabric_predicate_t pred_id, 2299 bcm_fabric_predicate_info_t *pred_info) 2300 { 2301 return BCM_E_UNAVAIL; 2302 } 2303 2304 int 2305 bcm_esw_fabric_predicate_traverse( 2306 int unit, 2307 bcm_fabric_predicate_traverse_cb cb, 2308 void *user_data) 2309 { 2310 return BCM_E_UNAVAIL; 2311 } 2312 2313 int 2314 bcm_esw_fabric_priority_get( 2315 int unit, 2316 uint32 flags, 2317 bcm_cos_t ingress_pri, 2318 bcm_color_t color, 2319 int *fabric_priority) 2320 { 2321 return BCM_E_UNAVAIL; 2322 } 2323 2324 int 2325 bcm_esw_fabric_priority_set( 2326 int unit, 2327 uint32 flags, 2328 bcm_cos_t ingress_pri, 2329 bcm_color_t color, 2330 int fabric_priority) 2331 { 2332 return BCM_E_UNAVAIL; 2333 } 2334 2335 int 2336 bcm_esw_fabric_profile_threshold_get( 2337 int unit, 2338 int profile_id, 2339 bcm_fabric_threshold_id_t threshold_id, 2340 bcm_fabric_threshold_type_t threshold_type, 2341 uint32 flags, 2342 int *value) 2343 { 2344 return BCM_E_UNAVAIL; 2345 } 2346 2347 int 2348 bcm_esw_fabric_profile_threshold_set( 2349 int unit, 2350 int profile_id, 2351 bcm_fabric_threshold_id_t threshold_id, 2352 bcm_fabric_threshold_type_t threshold_type, 2353 uint32 flags, 2354 int value) 2355 { 2356 return BCM_E_UNAVAIL; 2357 } 2358 2359 int 2360 bcm_esw_fabric_qsel_create( 2361 int unit, 2362 uint32 flags, 2363 int base, 2364 int count, 2365 bcm_fabric_qsel_t *qsel_id) 2366 { 2367 return BCM_E_UNAVAIL; 2368 } 2369 2370 int 2371 bcm_esw_fabric_qsel_destroy( 2372 int unit, 2373 bcm_fabric_qsel_t qsel_id) 2374 { 2375 return BCM_E_UNAVAIL; 2376 } 2377 2378 int 2379 bcm_esw_fabric_qsel_destroy_all( 2380 int unit) 2381 { 2382 return BCM_E_UNAVAIL; 2383 } 2384 2385 int 2386 bcm_esw_fabric_qsel_entry_get( 2387 int unit, 2388 bcm_fabric_qsel_t qsel_id, 2389 int offset, 2390 bcm_gport_t *queue, 2391 bcm_fabric_qsel_offset_t *qsel_offset_id) 2392 { 2393 return BCM_E_UNAVAIL; 2394 } 2395 2396 int 2397 bcm_esw_fabric_qsel_entry_multi_get( 2398 int unit, 2399 bcm_fabric_qsel_t qsel_id, 2400 int offset, 2401 int count, 2402 bcm_gport_t *queue, 2403 bcm_fabric_qsel_offset_t *qsel_offset_id) 2404 { 2405 return BCM_E_UNAVAIL; 2406 } 2407 2408 int 2409 bcm_esw_fabric_qsel_entry_multi_set( 2410 int unit, 2411 bcm_fabric_qsel_t qsel_id, 2412 int offset, 2413 int count, 2414 bcm_gport_t *queue, 2415 bcm_fabric_qsel_offset_t *qsel_offset_id) 2416 { 2417 return BCM_E_UNAVAIL; 2418 } 2419 2420 int 2421 bcm_esw_fabric_qsel_entry_set( 2422 int unit, 2423 bcm_fabric_qsel_t qsel_id, 2424 int offset, 2425 bcm_gport_t queue, 2426 bcm_fabric_qsel_offset_t qsel_offset_id) 2427 { 2428 return BCM_E_UNAVAIL; 2429 } 2430 2431 int 2432 bcm_esw_fabric_qsel_entry_traverse( 2433 int unit, 2434 bcm_fabric_qsel_t qsel_id, 2435 bcm_fabric_qsel_entry_traverse_cb cb, 2436 void *user_data) 2437 { 2438 return BCM_E_UNAVAIL; 2439 } 2440 2441 int 2442 bcm_esw_fabric_qsel_get( 2443 int unit, 2444 bcm_fabric_qsel_t qsel_id, 2445 uint32 *flags, 2446 int *base, 2447 int *count) 2448 { 2449 return BCM_E_UNAVAIL; 2450 } 2451 2452 int 2453 bcm_esw_fabric_qsel_offset_create( 2454 int unit, 2455 uint32 flags, 2456 bcm_fabric_qsel_offset_t *qsel_offset_id) 2457 { 2458 return BCM_E_UNAVAIL; 2459 } 2460 2461 int 2462 bcm_esw_fabric_qsel_offset_destroy( 2463 int unit, 2464 bcm_fabric_qsel_offset_t qsel_offset_id) 2465 { 2466 return BCM_E_UNAVAIL; 2467 } 2468 2469 int 2470 bcm_esw_fabric_qsel_offset_destroy_all( 2471 int unit) 2472 { 2473 return BCM_E_UNAVAIL; 2474 } 2475 2476 int 2477 bcm_esw_fabric_qsel_offset_entry_get( 2478 int unit, 2479 bcm_fabric_qsel_offset_t qsel_offset_id, 2480 bcm_cos_t int_pri, 2481 int *offset) 2482 { 2483 return BCM_E_UNAVAIL; 2484 } 2485 2486 int 2487 bcm_esw_fabric_qsel_offset_entry_set( 2488 int unit, 2489 bcm_fabric_qsel_offset_t qsel_offset_id, 2490 bcm_cos_t int_pri, 2491 int offset) 2492 { 2493 return BCM_E_UNAVAIL; 2494 } 2495 2496 int 2497 bcm_esw_fabric_qsel_offset_entry_traverse( 2498 int unit, 2499 bcm_fabric_qsel_offset_t qsel_offset_id, 2500 bcm_fabric_qsel_offset_entry_traverse_cb cb, 2501 void *user_data) 2502 { 2503 return BCM_E_UNAVAIL; 2504 } 2505 2506 int 2507 bcm_esw_fabric_qsel_offset_traverse( 2508 int unit, 2509 bcm_fabric_qsel_offset_traverse_cb cb, 2510 void *user_data) 2511 { 2512 return BCM_E_UNAVAIL; 2513 } 2514 2515 int 2516 bcm_esw_fabric_qsel_traverse( 2517 int unit, 2518 bcm_fabric_qsel_traverse_cb cb, 2519 void *user_data) 2520 { 2521 return BCM_E_UNAVAIL; 2522 } 2523 2524 int 2525 bcm_esw_fabric_rci_biasing_probability_get( 2526 int unit, 2527 uint32 flags, 2528 bcm_fabric_rci_biasing_probability_info_t *probability_info, 2529 int probability[BCM_FABRIC_NUM_OF_RCI_LEVELS]) 2530 { 2531 return BCM_E_UNAVAIL; 2532 } 2533 2534 int 2535 bcm_esw_fabric_rci_biasing_probability_set( 2536 int unit, 2537 uint32 flags, 2538 bcm_fabric_rci_biasing_probability_info_t *probability_info, 2539 int probability[BCM_FABRIC_NUM_OF_RCI_LEVELS]) 2540 { 2541 return BCM_E_UNAVAIL; 2542 } 2543 2544 int 2545 bcm_esw_fabric_rci_config_get( 2546 int unit, 2547 bcm_fabric_rci_config_t *rci_config) 2548 { 2549 return BCM_E_UNAVAIL; 2550 } 2551 2552 int 2553 bcm_esw_fabric_rci_config_set( 2554 int unit, 2555 bcm_fabric_rci_config_t rci_config) 2556 { 2557 return BCM_E_UNAVAIL; 2558 } 2559 2560 int 2561 bcm_esw_fabric_rci_resolution_get( 2562 int unit, 2563 uint32 flags, 2564 bcm_fabric_rci_resolution_key_t *key, 2565 bcm_fabric_rci_resolution_config_t *config) 2566 { 2567 return BCM_E_UNAVAIL; 2568 } 2569 2570 int 2571 bcm_esw_fabric_rci_resolution_set( 2572 int unit, 2573 uint32 flags, 2574 bcm_fabric_rci_resolution_key_t *key, 2575 bcm_fabric_rci_resolution_config_t *config) 2576 { 2577 return BCM_E_UNAVAIL; 2578 } 2579 2580 int 2581 bcm_esw_fabric_reachability_status_get( 2582 int unit, 2583 int moduleid, 2584 int links_max, 2585 uint32 *links_array, 2586 int *links_count) 2587 { 2588 return BCM_E_UNAVAIL; 2589 } 2590 2591 int 2592 bcm_esw_fabric_route_rx( 2593 int unit, 2594 uint32 flags, 2595 uint32 data_out_max_size, 2596 uint32 *data_out, 2597 uint32 *data_out_size) 2598 { 2599 return BCM_E_UNAVAIL; 2600 } 2601 2602 int 2603 bcm_esw_fabric_route_tx( 2604 int unit, 2605 uint32 flags, 2606 bcm_fabric_route_t *route, 2607 uint32 data_in_size, 2608 uint32 *data_in) 2609 { 2610 return BCM_E_UNAVAIL; 2611 } 2612 2613 int 2614 bcm_esw_fabric_static_replication_set( 2615 int unit, 2616 bcm_port_t port, 2617 uint32 flags, 2618 uint32 destid_count, 2619 bcm_module_t *destid_array) 2620 { 2621 return BCM_E_UNAVAIL; 2622 } 2623 2624 int 2625 bcm_esw_fabric_tdm_direct_routing_get( 2626 int unit, 2627 bcm_gport_t gport, 2628 bcm_fabric_tdm_direct_routing_t *routing_info) 2629 { 2630 return BCM_E_UNAVAIL; 2631 } 2632 2633 int 2634 bcm_esw_fabric_tdm_direct_routing_set( 2635 int unit, 2636 bcm_gport_t gport, 2637 bcm_fabric_tdm_direct_routing_t *routing_info) 2638 { 2639 return BCM_E_UNAVAIL; 2640 } 2641 2642 int 2643 bcm_esw_fabric_tdm_editing_get( 2644 int unit, 2645 bcm_gport_t gport, 2646 bcm_fabric_tdm_editing_t *editing) 2647 { 2648 return BCM_E_UNAVAIL; 2649 } 2650 2651 int 2652 bcm_esw_fabric_tdm_editing_set( 2653 int unit, 2654 bcm_gport_t gport, 2655 bcm_fabric_tdm_editing_t *editing) 2656 { 2657 return BCM_E_UNAVAIL; 2658 } 2659 2660 #if defined(INCLUDE_FCMAP) 2661 #ifdef BCM_ESW_SUPPORT 2662 int 2663 bcm_esw_fcmap_diag_get( 2664 int unit, 2665 bcm_port_t port, 2666 bcm_fcmap_diag_code_t *diag) 2667 { 2668 return bcm_common_fcmap_diag_get(unit, port, diag); 2669 } 2670 #endif 2671 #endif 2672 2673 #if defined(INCLUDE_FCMAP) 2674 #ifdef BCM_ESW_SUPPORT 2675 int 2676 bcm_esw_fcmap_event_enable_get( 2677 int unit, 2678 bcm_fcmap_event_t t, 2679 int *enable) 2680 { 2681 return bcm_common_fcmap_event_enable_get(unit, t, enable); 2682 } 2683 #endif 2684 #endif 2685 2686 #if defined(INCLUDE_FCMAP) 2687 #ifdef BCM_ESW_SUPPORT 2688 int 2689 bcm_esw_fcmap_event_enable_set( 2690 int unit, 2691 bcm_fcmap_event_t t, 2692 int enable) 2693 { 2694 return bcm_common_fcmap_event_enable_set(unit, t, enable); 2695 } 2696 #endif 2697 #endif 2698 2699 #if defined(INCLUDE_FCMAP) 2700 #ifdef BCM_ESW_SUPPORT 2701 int 2702 bcm_esw_fcmap_event_register( 2703 int unit, 2704 bcm_fcmap_event_cb cb, 2705 void *user_data) 2706 { 2707 return bcm_common_fcmap_event_register(unit, cb, user_data); 2708 } 2709 #endif 2710 #endif 2711 2712 #if defined(INCLUDE_FCMAP) 2713 #ifdef BCM_ESW_SUPPORT 2714 int 2715 bcm_esw_fcmap_event_unregister( 2716 int unit, 2717 bcm_fcmap_event_cb cb) 2718 { 2719 return bcm_common_fcmap_event_unregister(unit, cb); 2720 } 2721 #endif 2722 #endif 2723 2724 #if defined(INCLUDE_FCMAP) 2725 #ifdef BCM_ESW_SUPPORT 2726 int 2727 bcm_esw_fcmap_linkfault_trigger_rc_get( 2728 int unit, 2729 bcm_port_t port, 2730 bcm_fcmap_lf_tr_t *trigger, 2731 bcm_fcmap_lf_rc_t *rc) 2732 { 2733 return bcm_common_fcmap_linkfault_trigger_rc_get(unit, port, trigger, rc); 2734 } 2735 #endif 2736 #endif 2737 2738 #if defined(INCLUDE_FCMAP) 2739 #ifdef BCM_ESW_SUPPORT 2740 int 2741 bcm_esw_fcmap_port_ability_advert_get( 2742 int unit, 2743 bcm_port_t port, 2744 bcm_fcmap_port_ability_t *ability_mask) 2745 { 2746 return bcm_common_fcmap_port_ability_advert_get(unit, port, ability_mask); 2747 } 2748 #endif 2749 #endif 2750 2751 #if defined(INCLUDE_FCMAP) 2752 #ifdef BCM_ESW_SUPPORT 2753 int 2754 bcm_esw_fcmap_port_ability_advert_set( 2755 int unit, 2756 bcm_port_t port, 2757 bcm_fcmap_port_ability_t *ability_mask) 2758 { 2759 return bcm_common_fcmap_port_ability_advert_set(unit, port, ability_mask); 2760 } 2761 #endif 2762 #endif 2763 2764 #if defined(INCLUDE_FCMAP) 2765 #ifdef BCM_ESW_SUPPORT 2766 int 2767 bcm_esw_fcmap_port_config_get( 2768 int unit, 2769 bcm_port_t port, 2770 bcm_fcmap_port_config_t *cfg) 2771 { 2772 return bcm_common_fcmap_port_config_get(unit, port, cfg); 2773 } 2774 #endif 2775 #endif 2776 2777 #if defined(INCLUDE_FCMAP) 2778 #ifdef BCM_ESW_SUPPORT 2779 int 2780 bcm_esw_fcmap_port_config_selective_get( 2781 int unit, 2782 bcm_port_t port, 2783 bcm_fcmap_port_config_t *cfg) 2784 { 2785 return bcm_common_fcmap_port_config_selective_get(unit, port, cfg); 2786 } 2787 #endif 2788 #endif 2789 2790 #if defined(INCLUDE_FCMAP) 2791 #ifdef BCM_ESW_SUPPORT 2792 int 2793 bcm_esw_fcmap_port_config_selective_set( 2794 int unit, 2795 bcm_port_t port, 2796 bcm_fcmap_port_config_t *cfg) 2797 { 2798 return bcm_common_fcmap_port_config_selective_set(unit, port, cfg); 2799 } 2800 #endif 2801 #endif 2802 2803 #if defined(INCLUDE_FCMAP) 2804 #ifdef BCM_ESW_SUPPORT 2805 int 2806 bcm_esw_fcmap_port_config_set( 2807 int unit, 2808 bcm_port_t port, 2809 bcm_fcmap_port_config_t *cfg) 2810 { 2811 return bcm_common_fcmap_port_config_set(unit, port, cfg); 2812 } 2813 #endif 2814 #endif 2815 2816 #if defined(INCLUDE_FCMAP) 2817 #ifdef BCM_ESW_SUPPORT 2818 int 2819 bcm_esw_fcmap_port_enable( 2820 int unit, 2821 bcm_port_t port) 2822 { 2823 return bcm_common_fcmap_port_enable(unit, port); 2824 } 2825 #endif 2826 #endif 2827 2828 #if defined(INCLUDE_FCMAP) 2829 #ifdef BCM_ESW_SUPPORT 2830 int 2831 bcm_esw_fcmap_port_link_reset( 2832 int unit, 2833 bcm_port_t port) 2834 { 2835 return bcm_common_fcmap_port_link_reset(unit, port); 2836 } 2837 #endif 2838 #endif 2839 2840 #if defined(INCLUDE_FCMAP) 2841 #ifdef BCM_ESW_SUPPORT 2842 int 2843 bcm_esw_fcmap_port_shutdown( 2844 int unit, 2845 bcm_port_t port) 2846 { 2847 return bcm_common_fcmap_port_shutdown(unit, port); 2848 } 2849 #endif 2850 #endif 2851 2852 #if defined(INCLUDE_FCMAP) 2853 #ifdef BCM_ESW_SUPPORT 2854 int 2855 bcm_esw_fcmap_port_speed_set( 2856 int unit, 2857 bcm_port_t port, 2858 bcm_fcmap_port_speed_t speed) 2859 { 2860 return bcm_common_fcmap_port_speed_set(unit, port, speed); 2861 } 2862 #endif 2863 #endif 2864 2865 #if defined(INCLUDE_FCMAP) 2866 #ifdef BCM_ESW_SUPPORT 2867 int 2868 bcm_esw_fcmap_port_traverse( 2869 int unit, 2870 bcm_fcmap_port_traverse_cb callbk, 2871 void *user_data) 2872 { 2873 return bcm_common_fcmap_port_traverse(unit, callbk, user_data); 2874 } 2875 #endif 2876 #endif 2877 2878 #if defined(INCLUDE_FCMAP) 2879 #ifdef BCM_ESW_SUPPORT 2880 int 2881 bcm_esw_fcmap_stat_clear( 2882 int unit, 2883 bcm_port_t port) 2884 { 2885 return bcm_common_fcmap_stat_clear(unit, port); 2886 } 2887 #endif 2888 #endif 2889 2890 #if defined(INCLUDE_FCMAP) 2891 #ifdef BCM_ESW_SUPPORT 2892 int 2893 bcm_esw_fcmap_stat_get( 2894 int unit, 2895 bcm_port_t port, 2896 bcm_fcmap_stat_t stat, 2897 uint64 *val) 2898 { 2899 return bcm_common_fcmap_stat_get(unit, port, stat, val); 2900 } 2901 #endif 2902 #endif 2903 2904 #if defined(INCLUDE_FCMAP) 2905 #ifdef BCM_ESW_SUPPORT 2906 int 2907 bcm_esw_fcmap_stat_get32( 2908 int unit, 2909 bcm_port_t port, 2910 bcm_fcmap_stat_t stat, 2911 uint32 *val) 2912 { 2913 return bcm_common_fcmap_stat_get32(unit, port, stat, val); 2914 } 2915 #endif 2916 #endif 2917 2918 #if defined(INCLUDE_FCMAP) 2919 #ifdef BCM_ESW_SUPPORT 2920 int 2921 bcm_esw_fcmap_vlan_map_add( 2922 int unit, 2923 bcm_port_t port, 2924 bcm_fcmap_vlan_vsan_map_t *vlan) 2925 { 2926 return bcm_common_fcmap_vlan_map_add(unit, port, vlan); 2927 } 2928 #endif 2929 #endif 2930 2931 #if defined(INCLUDE_FCMAP) 2932 #ifdef BCM_ESW_SUPPORT 2933 int 2934 bcm_esw_fcmap_vlan_map_delete( 2935 int unit, 2936 bcm_port_t port, 2937 bcm_fcmap_vlan_vsan_map_t *vlan) 2938 { 2939 return bcm_common_fcmap_vlan_map_delete(unit, port, vlan); 2940 } 2941 #endif 2942 #endif 2943 2944 #if defined(INCLUDE_FCMAP) 2945 #ifdef BCM_ESW_SUPPORT 2946 int 2947 bcm_esw_fcmap_vlan_map_get( 2948 int unit, 2949 bcm_port_t port, 2950 bcm_fcmap_vlan_vsan_map_t *vlan) 2951 { 2952 return bcm_common_fcmap_vlan_map_get(unit, port, vlan); 2953 } 2954 #endif 2955 #endif 2956 2957 int 2958 bcm_esw_field_ace_entry_add( 2959 int unit, 2960 uint32 flags, 2961 bcm_field_ace_format_t ace_format_id , 2962 bcm_field_ace_entry_info_t *entry_info, 2963 uint32 *entry_handle) 2964 { 2965 return BCM_E_UNAVAIL; 2966 } 2967 2968 int 2969 bcm_esw_field_ace_entry_delete( 2970 int unit, 2971 uint32 entry_handle) 2972 { 2973 return BCM_E_UNAVAIL; 2974 } 2975 2976 int 2977 bcm_esw_field_ace_entry_info_get( 2978 int unit, 2979 uint32 entry_handle, 2980 bcm_field_ace_entry_info_t *entry_info) 2981 { 2982 return BCM_E_UNAVAIL; 2983 } 2984 2985 int 2986 bcm_esw_field_ace_format_add( 2987 int unit, 2988 uint32 flags, 2989 bcm_field_ace_format_info_t *ace_format_info, 2990 bcm_field_ace_format_t *ace_format_id ) 2991 { 2992 return BCM_E_UNAVAIL; 2993 } 2994 2995 int 2996 bcm_esw_field_ace_format_delete( 2997 int unit, 2998 bcm_field_ace_format_t ace_format_id) 2999 { 3000 return BCM_E_UNAVAIL; 3001 } 3002 3003 int 3004 bcm_esw_field_ace_format_info_get( 3005 int unit, 3006 bcm_field_ace_format_t ace_format_id, 3007 bcm_field_ace_format_info_t *ace_format_info) 3008 { 3009 return BCM_E_UNAVAIL; 3010 } 3011 3012 int 3013 bcm_esw_field_action_config_add( 3014 int unit, 3015 bcm_field_entry_t entry, 3016 bcm_field_action_t action, 3017 int core_config_arr_len, 3018 bcm_field_action_core_config_t *core_config_arr) 3019 { 3020 return BCM_E_UNAVAIL; 3021 } 3022 3023 int 3024 bcm_esw_field_action_config_get( 3025 int unit, 3026 bcm_field_entry_t entry, 3027 bcm_field_action_t action, 3028 int core_config_arr_len, 3029 bcm_field_action_core_config_t *core_config_arr) 3030 { 3031 return BCM_E_UNAVAIL; 3032 } 3033 3034 int 3035 bcm_esw_field_action_create( 3036 int unit, 3037 uint32 flags, 3038 bcm_field_action_info_t *action_info, 3039 bcm_field_action_t *action_id) 3040 { 3041 return BCM_E_UNAVAIL; 3042 } 3043 3044 int 3045 bcm_esw_field_action_destroy( 3046 int unit, 3047 bcm_field_action_t action_id) 3048 { 3049 return BCM_E_UNAVAIL; 3050 } 3051 3052 int 3053 bcm_esw_field_action_info_get( 3054 int unit, 3055 bcm_field_action_t action_id, 3056 bcm_field_stage_t stage, 3057 bcm_field_action_info_t *action_info) 3058 { 3059 return BCM_E_UNAVAIL; 3060 } 3061 3062 int 3063 bcm_esw_field_action_value_map( 3064 int unit, 3065 bcm_field_stage_t stage, 3066 bcm_field_action_t bcm_action, 3067 uint32 bcm_value[BCM_FIELD_ACTION_WIDTH_IN_WORDS], 3068 uint32 hw_value[BCM_FIELD_ACTION_WIDTH_IN_WORDS]) 3069 { 3070 return BCM_E_UNAVAIL; 3071 } 3072 3073 int 3074 bcm_esw_field_action_width_get( 3075 int unit, 3076 uint32 flags, 3077 int internal_action, 3078 uint32 *width_p) 3079 { 3080 return BCM_E_UNAVAIL; 3081 } 3082 3083 int 3084 bcm_esw_field_action_width_set( 3085 int unit, 3086 uint32 flags, 3087 int internal_action, 3088 uint32 width) 3089 { 3090 return BCM_E_UNAVAIL; 3091 } 3092 3093 int 3094 bcm_esw_field_compare_operand_offset_get( 3095 int unit, 3096 int pair_id, 3097 bcm_field_compare_operand_t compare_operand, 3098 int *offset) 3099 { 3100 return BCM_E_UNAVAIL; 3101 } 3102 3103 int 3104 bcm_esw_field_context_compare_create( 3105 int unit, 3106 uint32 flags, 3107 bcm_field_stage_t stage, 3108 bcm_field_context_t context_id, 3109 uint32 pair_id, 3110 bcm_field_context_compare_info_t *cmp_info) 3111 { 3112 return BCM_E_UNAVAIL; 3113 } 3114 3115 int 3116 bcm_esw_field_context_compare_destroy( 3117 int unit, 3118 bcm_field_stage_t stage, 3119 bcm_field_context_t context_id, 3120 uint32 pair_id) 3121 { 3122 return BCM_E_UNAVAIL; 3123 } 3124 3125 int 3126 bcm_esw_field_context_compare_info_get( 3127 int unit, 3128 bcm_field_stage_t stage, 3129 bcm_field_context_t context_id, 3130 uint32 pair_id, 3131 bcm_field_context_compare_info_t *cmp_info) 3132 { 3133 return BCM_E_UNAVAIL; 3134 } 3135 3136 int 3137 bcm_esw_field_context_create( 3138 int unit, 3139 uint32 flags, 3140 bcm_field_stage_t stage, 3141 bcm_field_context_info_t *context_info, 3142 bcm_field_context_t *context_id) 3143 { 3144 return BCM_E_UNAVAIL; 3145 } 3146 3147 int 3148 bcm_esw_field_context_destroy( 3149 int unit, 3150 bcm_field_stage_t stage, 3151 bcm_field_context_t context_id) 3152 { 3153 return BCM_E_UNAVAIL; 3154 } 3155 3156 int 3157 bcm_esw_field_context_hash_create( 3158 int unit, 3159 uint32 flags, 3160 bcm_field_stage_t stage, 3161 bcm_field_context_t context_id, 3162 bcm_field_context_hash_info_t *hash_info) 3163 { 3164 return BCM_E_UNAVAIL; 3165 } 3166 3167 int 3168 bcm_esw_field_context_hash_destroy( 3169 int unit, 3170 bcm_field_stage_t stage, 3171 bcm_field_context_t context_id) 3172 { 3173 return BCM_E_UNAVAIL; 3174 } 3175 3176 int 3177 bcm_esw_field_context_hash_info_get( 3178 int unit, 3179 bcm_field_stage_t stage, 3180 bcm_field_context_t context_id, 3181 bcm_field_context_hash_info_t *hash_info) 3182 { 3183 return BCM_E_UNAVAIL; 3184 } 3185 3186 int 3187 bcm_esw_field_context_info_get( 3188 int unit, 3189 bcm_field_stage_t stage, 3190 bcm_field_context_t context_id, 3191 bcm_field_context_info_t *context_info) 3192 { 3193 return BCM_E_UNAVAIL; 3194 } 3195 3196 int 3197 bcm_esw_field_context_param_set( 3198 int unit, 3199 uint32 flags, 3200 bcm_field_stage_t stage, 3201 bcm_field_context_t context_id, 3202 bcm_field_context_param_info_t *context_params) 3203 { 3204 return BCM_E_UNAVAIL; 3205 } 3206 3207 int 3208 bcm_esw_field_direct_extraction_action_add( 3209 int unit, 3210 bcm_field_entry_t entry, 3211 bcm_field_extraction_action_t action, 3212 int count, 3213 bcm_field_extraction_field_t *extractions) 3214 { 3215 return BCM_E_UNAVAIL; 3216 } 3217 3218 int 3219 bcm_esw_field_direct_extraction_action_get( 3220 int unit, 3221 bcm_field_entry_t entry, 3222 bcm_field_extraction_action_t *action, 3223 int max_count, 3224 bcm_field_extraction_field_t *extractions, 3225 int *actual_count) 3226 { 3227 return BCM_E_UNAVAIL; 3228 } 3229 3230 int 3231 bcm_esw_field_entry_add( 3232 int unit, 3233 uint32 flags, 3234 bcm_field_group_t fg_id, 3235 bcm_field_entry_info_t *entry_info, 3236 bcm_field_entry_t *entry_handle) 3237 { 3238 return BCM_E_UNAVAIL; 3239 } 3240 3241 int 3242 bcm_esw_field_entry_delete( 3243 int unit, 3244 bcm_field_group_t fg_id, 3245 bcm_field_entry_qual_t entry_qual_info[BCM_FIELD_NUMBER_OF_QUALS_PER_GROUP], 3246 bcm_field_entry_t entry_handle) 3247 { 3248 return BCM_E_UNAVAIL; 3249 } 3250 3251 int 3252 bcm_esw_field_entry_delete_all( 3253 int unit) 3254 { 3255 return BCM_E_UNAVAIL; 3256 } 3257 3258 int 3259 bcm_esw_field_entry_hit_flush( 3260 int unit, 3261 uint32 flags, 3262 bcm_field_entry_t entry_handle) 3263 { 3264 return BCM_E_UNAVAIL; 3265 } 3266 3267 int 3268 bcm_esw_field_entry_hit_get( 3269 int unit, 3270 uint32 flags, 3271 bcm_field_entry_t entry_handle, 3272 uint8 *entry_hit_core_bmp) 3273 { 3274 return BCM_E_UNAVAIL; 3275 } 3276 3277 int 3278 bcm_esw_field_entry_info_get( 3279 int unit, 3280 bcm_field_group_t fg_id, 3281 bcm_field_entry_t entry_handle, 3282 bcm_field_entry_info_t *entry_info) 3283 { 3284 return BCM_E_UNAVAIL; 3285 } 3286 3287 int 3288 bcm_esw_field_entry_install_and_handler_update( 3289 int unit, 3290 bcm_field_entry_t entry, 3291 bcm_field_entry_t *large_dt_entry) 3292 { 3293 return BCM_E_UNAVAIL; 3294 } 3295 3296 int 3297 bcm_esw_field_fem_action_add( 3298 int unit, 3299 uint32 flags, 3300 bcm_field_group_t fg_id, 3301 bcm_field_action_priority_t encoded_position, 3302 bcm_field_fem_action_info_t *fem_action_info) 3303 { 3304 return BCM_E_UNAVAIL; 3305 } 3306 3307 int 3308 bcm_esw_field_fem_action_delete( 3309 int unit, 3310 bcm_field_group_t fg_id, 3311 bcm_field_action_priority_t bcm_field_action_priority_t) 3312 { 3313 return BCM_E_UNAVAIL; 3314 } 3315 3316 int 3317 bcm_esw_field_fem_action_info_get( 3318 int unit, 3319 bcm_field_group_t fg_id, 3320 bcm_field_action_priority_t encoded_position, 3321 bcm_field_fem_action_info_t *fem_action_info) 3322 { 3323 return BCM_E_UNAVAIL; 3324 } 3325 3326 int 3327 bcm_esw_field_group_action_offset_get( 3328 int unit, 3329 uint32 flags, 3330 bcm_field_group_t fg_id, 3331 bcm_field_action_t action, 3332 int *offset) 3333 { 3334 return BCM_E_UNAVAIL; 3335 } 3336 3337 int 3338 bcm_esw_field_group_add( 3339 int unit, 3340 uint32 flags, 3341 bcm_field_group_info_t *fg_info, 3342 bcm_field_group_t *fg_id) 3343 { 3344 return BCM_E_UNAVAIL; 3345 } 3346 3347 int 3348 bcm_esw_field_group_config_extension_create( 3349 int unit, 3350 bcm_field_group_config_extension_t *group_config) 3351 { 3352 return BCM_E_UNAVAIL; 3353 } 3354 3355 int 3356 bcm_esw_field_group_context_attach( 3357 int unit, 3358 uint32 flags, 3359 bcm_field_group_t fg_id, 3360 bcm_field_context_t context_id, 3361 bcm_field_group_attach_info_t *attach_info) 3362 { 3363 return BCM_E_UNAVAIL; 3364 } 3365 3366 int 3367 bcm_esw_field_group_context_detach( 3368 int unit, 3369 bcm_field_group_t fg_id, 3370 bcm_field_context_t context_id) 3371 { 3372 return BCM_E_UNAVAIL; 3373 } 3374 3375 int 3376 bcm_esw_field_group_context_info_get( 3377 int unit, 3378 bcm_field_group_t fg_id, 3379 bcm_field_context_t context_id, 3380 bcm_field_group_attach_info_t *attach_info) 3381 { 3382 return BCM_E_UNAVAIL; 3383 } 3384 3385 int 3386 bcm_esw_field_group_delete( 3387 int unit, 3388 bcm_field_group_t fg_id) 3389 { 3390 return BCM_E_UNAVAIL; 3391 } 3392 3393 int 3394 bcm_esw_field_group_info_get( 3395 int unit, 3396 bcm_field_group_t fg_id, 3397 bcm_field_group_info_t *fg_info) 3398 { 3399 return BCM_E_UNAVAIL; 3400 } 3401 3402 int 3403 bcm_esw_field_group_qualifier_offset_get( 3404 int unit, 3405 uint32 flags, 3406 bcm_field_group_t fg_id, 3407 bcm_field_qualify_t qualifier, 3408 int *offset) 3409 { 3410 return BCM_E_UNAVAIL; 3411 } 3412 3413 int 3414 bcm_esw_field_internal_to_bcm_action_map( 3415 int unit, 3416 uint32 flags, 3417 int internal_action, 3418 uint32 bcm_action_size, 3419 bcm_field_internal_to_bcm_map_t *bcm_action_stage, 3420 uint32 *bcm_action_size_actual) 3421 { 3422 return BCM_E_UNAVAIL; 3423 } 3424 3425 int 3426 bcm_esw_field_presel_config_get( 3427 int unit, 3428 bcm_field_presel_t presel_id, 3429 bcm_field_presel_config_t *presel_config) 3430 { 3431 return BCM_E_UNAVAIL; 3432 } 3433 3434 int 3435 bcm_esw_field_presel_config_set( 3436 int unit, 3437 bcm_field_presel_t presel_id, 3438 bcm_field_presel_config_t *presel_config) 3439 { 3440 return BCM_E_UNAVAIL; 3441 } 3442 3443 int 3444 bcm_esw_field_presel_create_stage_id( 3445 int unit, 3446 bcm_field_stage_t stage, 3447 bcm_field_presel_t presel_id) 3448 { 3449 return BCM_E_UNAVAIL; 3450 } 3451 3452 int 3453 bcm_esw_field_presel_get( 3454 int unit, 3455 uint32 flags, 3456 bcm_field_presel_entry_id_t *entry_id, 3457 bcm_field_presel_entry_data_t *entry_data) 3458 { 3459 return BCM_E_UNAVAIL; 3460 } 3461 3462 int 3463 bcm_esw_field_presel_set( 3464 int unit, 3465 uint32 flags, 3466 bcm_field_presel_entry_id_t *entry_id, 3467 bcm_field_presel_entry_data_t *entry_data) 3468 { 3469 return BCM_E_UNAVAIL; 3470 } 3471 3472 int 3473 bcm_esw_field_qualifier_create( 3474 int unit, 3475 uint32 flags, 3476 bcm_field_qualifier_info_create_t *qual_info, 3477 bcm_field_qualify_t *qual_id) 3478 { 3479 return BCM_E_UNAVAIL; 3480 } 3481 3482 int 3483 bcm_esw_field_qualifier_destroy( 3484 int unit, 3485 bcm_field_qualify_t qual_id) 3486 { 3487 return BCM_E_UNAVAIL; 3488 } 3489 3490 int 3491 bcm_esw_field_qualifier_info_get( 3492 int unit, 3493 bcm_field_qualify_t qual_id, 3494 bcm_field_stage_t stage, 3495 bcm_field_qualifier_info_get_t *qual_info) 3496 { 3497 return BCM_E_UNAVAIL; 3498 } 3499 3500 int 3501 bcm_esw_field_qualifier_value_map( 3502 int unit, 3503 bcm_field_stage_t stage, 3504 bcm_field_qualify_t bcm_qual, 3505 uint32 bcm_value[BCM_FIELD_QUAL_WIDTH_IN_WORDS], 3506 uint32 hw_value[BCM_FIELD_QUAL_WIDTH_IN_WORDS]) 3507 { 3508 return BCM_E_UNAVAIL; 3509 } 3510 3511 int 3512 bcm_esw_field_qualify_AppType( 3513 int unit, 3514 bcm_field_entry_t entry, 3515 bcm_field_AppType_t type) 3516 { 3517 return BCM_E_UNAVAIL; 3518 } 3519 3520 int 3521 bcm_esw_field_qualify_AppType_get( 3522 int unit, 3523 bcm_field_entry_t entry, 3524 bcm_field_AppType_t *type) 3525 { 3526 return BCM_E_UNAVAIL; 3527 } 3528 3529 int 3530 bcm_esw_field_qualify_ArpOpcode( 3531 int unit, 3532 bcm_field_entry_t entry, 3533 bcm_field_ArpOpcode_t data) 3534 { 3535 return BCM_E_UNAVAIL; 3536 } 3537 3538 int 3539 bcm_esw_field_qualify_ArpOpcode_get( 3540 int unit, 3541 bcm_field_entry_t entry, 3542 bcm_field_ArpOpcode_t *data) 3543 { 3544 return BCM_E_UNAVAIL; 3545 } 3546 3547 int 3548 bcm_esw_field_qualify_ArpSenderIp4( 3549 int unit, 3550 bcm_field_entry_t entry, 3551 uint32 data, 3552 uint32 mask) 3553 { 3554 return BCM_E_UNAVAIL; 3555 } 3556 3557 int 3558 bcm_esw_field_qualify_ArpSenderIp4_get( 3559 int unit, 3560 bcm_field_entry_t entry, 3561 uint32 *data, 3562 uint32 *mask) 3563 { 3564 return BCM_E_UNAVAIL; 3565 } 3566 3567 int 3568 bcm_esw_field_qualify_ArpTargetIp4( 3569 int unit, 3570 bcm_field_entry_t entry, 3571 uint32 data, 3572 uint32 mask) 3573 { 3574 return BCM_E_UNAVAIL; 3575 } 3576 3577 int 3578 bcm_esw_field_qualify_ArpTargetIp4_get( 3579 int unit, 3580 bcm_field_entry_t entry, 3581 uint32 *data, 3582 uint32 *mask) 3583 { 3584 return BCM_E_UNAVAIL; 3585 } 3586 3587 int 3588 bcm_esw_field_qualify_BypassFilter( 3589 int unit, 3590 bcm_field_entry_t entry, 3591 uint8 data, 3592 uint8 mask) 3593 { 3594 return BCM_E_UNAVAIL; 3595 } 3596 3597 int 3598 bcm_esw_field_qualify_BypassFilter32( 3599 int unit, 3600 bcm_field_entry_t entry, 3601 uint32 data, 3602 uint32 mask) 3603 { 3604 return BCM_E_UNAVAIL; 3605 } 3606 3607 int 3608 bcm_esw_field_qualify_BypassFilter32_get( 3609 int unit, 3610 bcm_field_entry_t entry, 3611 uint32 *data, 3612 uint32 *mask) 3613 { 3614 return BCM_E_UNAVAIL; 3615 } 3616 3617 int 3618 bcm_esw_field_qualify_BypassFilter_get( 3619 int unit, 3620 bcm_field_entry_t entry, 3621 uint8 *data, 3622 uint8 *mask) 3623 { 3624 return BCM_E_UNAVAIL; 3625 } 3626 3627 int 3628 bcm_esw_field_qualify_BypassSrcMacFilter( 3629 int unit, 3630 bcm_field_entry_t entry, 3631 uint8 data, 3632 uint8 mask) 3633 { 3634 return BCM_E_UNAVAIL; 3635 } 3636 3637 int 3638 bcm_esw_field_qualify_BypassSrcMacFilter_get( 3639 int unit, 3640 bcm_field_entry_t entry, 3641 uint8 *data, 3642 uint8 *mask) 3643 { 3644 return BCM_E_UNAVAIL; 3645 } 3646 3647 int 3648 bcm_esw_field_qualify_CascadedKeyValue( 3649 int unit, 3650 bcm_field_entry_t entry, 3651 uint32 data, 3652 uint32 mask) 3653 { 3654 return BCM_E_UNAVAIL; 3655 } 3656 3657 int 3658 bcm_esw_field_qualify_CascadedKeyValue_get( 3659 int unit, 3660 bcm_field_entry_t entry, 3661 uint32 *data, 3662 uint32 *mask) 3663 { 3664 return BCM_E_UNAVAIL; 3665 } 3666 3667 int 3668 bcm_esw_field_qualify_ClassId( 3669 int unit, 3670 bcm_field_entry_t entry, 3671 uint32 data, 3672 uint32 mask) 3673 { 3674 return BCM_E_UNAVAIL; 3675 } 3676 3677 int 3678 bcm_esw_field_qualify_ClassId_get( 3679 int unit, 3680 bcm_field_entry_t entry, 3681 uint32 *data, 3682 uint32 *mask) 3683 { 3684 return BCM_E_UNAVAIL; 3685 } 3686 3687 int 3688 bcm_esw_field_qualify_Container( 3689 int unit, 3690 bcm_field_entry_t entry, 3691 uint64 data, 3692 uint64 mask) 3693 { 3694 return BCM_E_UNAVAIL; 3695 } 3696 3697 int 3698 bcm_esw_field_qualify_Container_get( 3699 int unit, 3700 bcm_field_entry_t entry, 3701 uint64 *data, 3702 uint64 *mask) 3703 { 3704 return BCM_E_UNAVAIL; 3705 } 3706 3707 int 3708 bcm_esw_field_qualify_Dhcp( 3709 int unit, 3710 bcm_field_entry_t entry, 3711 uint8 data, 3712 uint8 mask) 3713 { 3714 return BCM_E_UNAVAIL; 3715 } 3716 3717 int 3718 bcm_esw_field_qualify_Dhcp_get( 3719 int unit, 3720 bcm_field_entry_t entry, 3721 uint8 *data, 3722 uint8 *mask) 3723 { 3724 return BCM_E_UNAVAIL; 3725 } 3726 3727 int 3728 bcm_esw_field_qualify_DstRpfGport( 3729 int unit, 3730 bcm_field_entry_t entry, 3731 bcm_gport_t data) 3732 { 3733 return BCM_E_UNAVAIL; 3734 } 3735 3736 int 3737 bcm_esw_field_qualify_DstRpfGport_get( 3738 int unit, 3739 bcm_field_entry_t entry, 3740 bcm_gport_t *data) 3741 { 3742 return BCM_E_UNAVAIL; 3743 } 3744 3745 int 3746 bcm_esw_field_qualify_DstSysPortExt( 3747 int unit, 3748 bcm_field_entry_t entry, 3749 uint16 data, 3750 uint16 mask) 3751 { 3752 return BCM_E_UNAVAIL; 3753 } 3754 3755 int 3756 bcm_esw_field_qualify_DstSysPortExt_get( 3757 int unit, 3758 bcm_field_entry_t entry, 3759 uint16 *data, 3760 uint16 *mask) 3761 { 3762 return BCM_E_UNAVAIL; 3763 } 3764 3765 int 3766 bcm_esw_field_qualify_ECid( 3767 int unit, 3768 bcm_field_entry_t entry, 3769 uint32 data, 3770 uint32 mask) 3771 { 3772 return BCM_E_UNAVAIL; 3773 } 3774 3775 int 3776 bcm_esw_field_qualify_ECid_get( 3777 int unit, 3778 bcm_field_entry_t entry, 3779 uint32 *data, 3780 uint32 *mask) 3781 { 3782 return BCM_E_UNAVAIL; 3783 } 3784 3785 int 3786 bcm_esw_field_qualify_EcnValue( 3787 int unit, 3788 bcm_field_entry_t entry, 3789 uint8 data, 3790 uint8 mask) 3791 { 3792 return BCM_E_UNAVAIL; 3793 } 3794 3795 int 3796 bcm_esw_field_qualify_EcnValue_get( 3797 int unit, 3798 bcm_field_entry_t entry, 3799 uint8 *data, 3800 uint8 *mask) 3801 { 3802 return BCM_E_UNAVAIL; 3803 } 3804 3805 int 3806 bcm_esw_field_qualify_ExternalHit0( 3807 int unit, 3808 bcm_field_entry_t entry, 3809 uint8 data, 3810 uint8 mask) 3811 { 3812 return BCM_E_UNAVAIL; 3813 } 3814 3815 int 3816 bcm_esw_field_qualify_ExternalHit0_get( 3817 int unit, 3818 bcm_field_entry_t entry, 3819 uint8 *data, 3820 uint8 *mask) 3821 { 3822 return BCM_E_UNAVAIL; 3823 } 3824 3825 int 3826 bcm_esw_field_qualify_ExternalHit1( 3827 int unit, 3828 bcm_field_entry_t entry, 3829 uint8 data, 3830 uint8 mask) 3831 { 3832 return BCM_E_UNAVAIL; 3833 } 3834 3835 int 3836 bcm_esw_field_qualify_ExternalHit1_get( 3837 int unit, 3838 bcm_field_entry_t entry, 3839 uint8 *data, 3840 uint8 *mask) 3841 { 3842 return BCM_E_UNAVAIL; 3843 } 3844 3845 int 3846 bcm_esw_field_qualify_ExternalHit2( 3847 int unit, 3848 bcm_field_entry_t entry, 3849 uint8 data, 3850 uint8 mask) 3851 { 3852 return BCM_E_UNAVAIL; 3853 } 3854 3855 int 3856 bcm_esw_field_qualify_ExternalHit2_get( 3857 int unit, 3858 bcm_field_entry_t entry, 3859 uint8 *data, 3860 uint8 *mask) 3861 { 3862 return BCM_E_UNAVAIL; 3863 } 3864 3865 int 3866 bcm_esw_field_qualify_ExternalHit3( 3867 int unit, 3868 bcm_field_entry_t entry, 3869 uint8 data, 3870 uint8 mask) 3871 { 3872 return BCM_E_UNAVAIL; 3873 } 3874 3875 int 3876 bcm_esw_field_qualify_ExternalHit3_get( 3877 int unit, 3878 bcm_field_entry_t entry, 3879 uint8 *data, 3880 uint8 *mask) 3881 { 3882 return BCM_E_UNAVAIL; 3883 } 3884 3885 int 3886 bcm_esw_field_qualify_ExternalHit4( 3887 int unit, 3888 bcm_field_entry_t entry, 3889 uint8 data, 3890 uint8 mask) 3891 { 3892 return BCM_E_UNAVAIL; 3893 } 3894 3895 int 3896 bcm_esw_field_qualify_ExternalHit4_get( 3897 int unit, 3898 bcm_field_entry_t entry, 3899 uint8 *data, 3900 uint8 *mask) 3901 { 3902 return BCM_E_UNAVAIL; 3903 } 3904 3905 int 3906 bcm_esw_field_qualify_ExternalHit5( 3907 int unit, 3908 bcm_field_entry_t entry, 3909 uint8 data, 3910 uint8 mask) 3911 { 3912 return BCM_E_UNAVAIL; 3913 } 3914 3915 int 3916 bcm_esw_field_qualify_ExternalHit5_get( 3917 int unit, 3918 bcm_field_entry_t entry, 3919 uint8 *data, 3920 uint8 *mask) 3921 { 3922 return BCM_E_UNAVAIL; 3923 } 3924 3925 int 3926 bcm_esw_field_qualify_ExternalHit6( 3927 int unit, 3928 bcm_field_entry_t entry, 3929 uint8 data, 3930 uint8 mask) 3931 { 3932 return BCM_E_UNAVAIL; 3933 } 3934 3935 int 3936 bcm_esw_field_qualify_ExternalHit6_get( 3937 int unit, 3938 bcm_field_entry_t entry, 3939 uint8 *data, 3940 uint8 *mask) 3941 { 3942 return BCM_E_UNAVAIL; 3943 } 3944 3945 int 3946 bcm_esw_field_qualify_ExternalHit7( 3947 int unit, 3948 bcm_field_entry_t entry, 3949 uint8 data, 3950 uint8 mask) 3951 { 3952 return BCM_E_UNAVAIL; 3953 } 3954 3955 int 3956 bcm_esw_field_qualify_ExternalHit7_get( 3957 int unit, 3958 bcm_field_entry_t entry, 3959 uint8 *data, 3960 uint8 *mask) 3961 { 3962 return BCM_E_UNAVAIL; 3963 } 3964 3965 int 3966 bcm_esw_field_qualify_ExternalValue0( 3967 int unit, 3968 bcm_field_entry_t entry, 3969 uint64 data, 3970 uint64 mask) 3971 { 3972 return BCM_E_UNAVAIL; 3973 } 3974 3975 int 3976 bcm_esw_field_qualify_ExternalValue0_get( 3977 int unit, 3978 bcm_field_entry_t entry, 3979 uint64 *data, 3980 uint64 *mask) 3981 { 3982 return BCM_E_UNAVAIL; 3983 } 3984 3985 int 3986 bcm_esw_field_qualify_ExternalValue1( 3987 int unit, 3988 bcm_field_entry_t entry, 3989 uint64 data, 3990 uint64 mask) 3991 { 3992 return BCM_E_UNAVAIL; 3993 } 3994 3995 int 3996 bcm_esw_field_qualify_ExternalValue1_get( 3997 int unit, 3998 bcm_field_entry_t entry, 3999 uint64 *data, 4000 uint64 *mask) 4001 { 4002 return BCM_E_UNAVAIL; 4003 } 4004 4005 int 4006 bcm_esw_field_qualify_ExternalValue2( 4007 int unit, 4008 bcm_field_entry_t entry, 4009 uint64 data, 4010 uint64 mask) 4011 { 4012 return BCM_E_UNAVAIL; 4013 } 4014 4015 int 4016 bcm_esw_field_qualify_ExternalValue2_get( 4017 int unit, 4018 bcm_field_entry_t entry, 4019 uint64 *data, 4020 uint64 *mask) 4021 { 4022 return BCM_E_UNAVAIL; 4023 } 4024 4025 int 4026 bcm_esw_field_qualify_ExternalValue3( 4027 int unit, 4028 bcm_field_entry_t entry, 4029 uint64 data, 4030 uint64 mask) 4031 { 4032 return BCM_E_UNAVAIL; 4033 } 4034 4035 int 4036 bcm_esw_field_qualify_ExternalValue3_get( 4037 int unit, 4038 bcm_field_entry_t entry, 4039 uint64 *data, 4040 uint64 *mask) 4041 { 4042 return BCM_E_UNAVAIL; 4043 } 4044 4045 int 4046 bcm_esw_field_qualify_ExternalValue4( 4047 int unit, 4048 bcm_field_entry_t entry, 4049 uint64 data, 4050 uint64 mask) 4051 { 4052 return BCM_E_UNAVAIL; 4053 } 4054 4055 int 4056 bcm_esw_field_qualify_ExternalValue4_get( 4057 int unit, 4058 bcm_field_entry_t entry, 4059 uint64 *data, 4060 uint64 *mask) 4061 { 4062 return BCM_E_UNAVAIL; 4063 } 4064 4065 int 4066 bcm_esw_field_qualify_ExternalValue5( 4067 int unit, 4068 bcm_field_entry_t entry, 4069 uint64 data, 4070 uint64 mask) 4071 { 4072 return BCM_E_UNAVAIL; 4073 } 4074 4075 int 4076 bcm_esw_field_qualify_ExternalValue5_get( 4077 int unit, 4078 bcm_field_entry_t entry, 4079 uint64 *data, 4080 uint64 *mask) 4081 { 4082 return BCM_E_UNAVAIL; 4083 } 4084 4085 int 4086 bcm_esw_field_qualify_ExternalValue6( 4087 int unit, 4088 bcm_field_entry_t entry, 4089 uint64 data, 4090 uint64 mask) 4091 { 4092 return BCM_E_UNAVAIL; 4093 } 4094 4095 int 4096 bcm_esw_field_qualify_ExternalValue6_get( 4097 int unit, 4098 bcm_field_entry_t entry, 4099 uint64 *data, 4100 uint64 *mask) 4101 { 4102 return BCM_E_UNAVAIL; 4103 } 4104 4105 int 4106 bcm_esw_field_qualify_ExternalValue7( 4107 int unit, 4108 bcm_field_entry_t entry, 4109 uint64 data, 4110 uint64 mask) 4111 { 4112 return BCM_E_UNAVAIL; 4113 } 4114 4115 int 4116 bcm_esw_field_qualify_ExternalValue7_get( 4117 int unit, 4118 bcm_field_entry_t entry, 4119 uint64 *data, 4120 uint64 *mask) 4121 { 4122 return BCM_E_UNAVAIL; 4123 } 4124 4125 int 4126 bcm_esw_field_qualify_Fhei( 4127 int unit, 4128 bcm_field_entry_t entry, 4129 uint64 data, 4130 uint64 mask) 4131 { 4132 return BCM_E_UNAVAIL; 4133 } 4134 4135 int 4136 bcm_esw_field_qualify_FheiSize( 4137 int unit, 4138 bcm_field_entry_t entry, 4139 uint32 data, 4140 uint32 mask) 4141 { 4142 return BCM_E_UNAVAIL; 4143 } 4144 4145 int 4146 bcm_esw_field_qualify_FheiSize_get( 4147 int unit, 4148 bcm_field_entry_t entry, 4149 uint32 *data, 4150 uint32 *mask) 4151 { 4152 return BCM_E_UNAVAIL; 4153 } 4154 4155 int 4156 bcm_esw_field_qualify_Fhei_get( 4157 int unit, 4158 bcm_field_entry_t entry, 4159 uint64 *data, 4160 uint64 *mask) 4161 { 4162 return BCM_E_UNAVAIL; 4163 } 4164 4165 int 4166 bcm_esw_field_qualify_ForwardCopy( 4167 int unit, 4168 bcm_field_entry_t entry, 4169 uint8 data, 4170 uint8 mask) 4171 { 4172 return BCM_E_UNAVAIL; 4173 } 4174 4175 int 4176 bcm_esw_field_qualify_ForwardCopy_get( 4177 int unit, 4178 bcm_field_entry_t entry, 4179 uint8 *data, 4180 uint8 *mask) 4181 { 4182 return BCM_E_UNAVAIL; 4183 } 4184 4185 int 4186 bcm_esw_field_qualify_ForwardHdrDstMac( 4187 int unit, 4188 bcm_field_entry_t entry, 4189 bcm_mac_t data, 4190 bcm_mac_t mask) 4191 { 4192 return BCM_E_UNAVAIL; 4193 } 4194 4195 int 4196 bcm_esw_field_qualify_ForwardHdrDstMac_get( 4197 int unit, 4198 bcm_field_entry_t entry, 4199 bcm_mac_t *data, 4200 bcm_mac_t *mask) 4201 { 4202 return BCM_E_UNAVAIL; 4203 } 4204 4205 int 4206 bcm_esw_field_qualify_ForwardHdrSrcMac( 4207 int unit, 4208 bcm_field_entry_t entry, 4209 bcm_mac_t data, 4210 bcm_mac_t mask) 4211 { 4212 return BCM_E_UNAVAIL; 4213 } 4214 4215 int 4216 bcm_esw_field_qualify_ForwardHdrSrcMac_get( 4217 int unit, 4218 bcm_field_entry_t entry, 4219 bcm_mac_t *data, 4220 bcm_mac_t *mask) 4221 { 4222 return BCM_E_UNAVAIL; 4223 } 4224 4225 int 4226 bcm_esw_field_qualify_ForwardHdrVlanId( 4227 int unit, 4228 bcm_field_entry_t entry, 4229 bcm_vlan_t data, 4230 bcm_vlan_t mask) 4231 { 4232 return BCM_E_UNAVAIL; 4233 } 4234 4235 int 4236 bcm_esw_field_qualify_ForwardHdrVlanId_get( 4237 int unit, 4238 bcm_field_entry_t entry, 4239 bcm_vlan_t *data, 4240 bcm_vlan_t *mask) 4241 { 4242 return BCM_E_UNAVAIL; 4243 } 4244 4245 int 4246 bcm_esw_field_qualify_ForwardingHeaderOffset( 4247 int unit, 4248 bcm_field_entry_t entry, 4249 bcm_field_data_offset_base_t base_header, 4250 uint32 data, 4251 uint32 mask) 4252 { 4253 return BCM_E_UNAVAIL; 4254 } 4255 4256 int 4257 bcm_esw_field_qualify_ForwardingHeaderOffset_get( 4258 int unit, 4259 bcm_field_entry_t entry, 4260 bcm_field_data_offset_base_t *base_header, 4261 uint32 *data, 4262 uint32 *mask) 4263 { 4264 return BCM_E_UNAVAIL; 4265 } 4266 4267 int 4268 bcm_esw_field_qualify_GeneratedTtl( 4269 int unit, 4270 bcm_field_entry_t entry, 4271 uint32 data, 4272 uint32 mask) 4273 { 4274 return BCM_E_UNAVAIL; 4275 } 4276 4277 int 4278 bcm_esw_field_qualify_GeneratedTtl_get( 4279 int unit, 4280 bcm_field_entry_t entry, 4281 uint32 *data, 4282 uint32 *mask) 4283 { 4284 return BCM_E_UNAVAIL; 4285 } 4286 4287 int 4288 bcm_esw_field_qualify_HeaderFormat( 4289 int unit, 4290 bcm_field_entry_t entry, 4291 bcm_field_header_format_t header_format) 4292 { 4293 return BCM_E_UNAVAIL; 4294 } 4295 4296 int 4297 bcm_esw_field_qualify_HeaderFormatExtension( 4298 int unit, 4299 bcm_field_entry_t entry, 4300 bcm_field_header_format_extension_t header_format_extension) 4301 { 4302 return BCM_E_UNAVAIL; 4303 } 4304 4305 int 4306 bcm_esw_field_qualify_HeaderFormatExtension_get( 4307 int unit, 4308 bcm_field_entry_t entry, 4309 bcm_field_header_format_extension_t *header_format_extension) 4310 { 4311 return BCM_E_UNAVAIL; 4312 } 4313 4314 int 4315 bcm_esw_field_qualify_HeaderFormatSet( 4316 int unit, 4317 bcm_field_entry_t entry, 4318 bcm_field_header_format_set_t header_format_set) 4319 { 4320 return BCM_E_UNAVAIL; 4321 } 4322 4323 int 4324 bcm_esw_field_qualify_HeaderFormatSet_get( 4325 int unit, 4326 bcm_field_entry_t entry, 4327 bcm_field_header_format_set_t *header_format_set) 4328 { 4329 return BCM_E_UNAVAIL; 4330 } 4331 4332 int 4333 bcm_esw_field_qualify_HeaderFormat_get( 4334 int unit, 4335 bcm_field_entry_t entry, 4336 bcm_field_header_format_t *header_format) 4337 { 4338 return BCM_E_UNAVAIL; 4339 } 4340 4341 int 4342 bcm_esw_field_qualify_IEEE1588Command( 4343 int unit, 4344 bcm_field_entry_t entry, 4345 uint8 data, 4346 uint8 mask) 4347 { 4348 return BCM_E_UNAVAIL; 4349 } 4350 4351 int 4352 bcm_esw_field_qualify_IEEE1588Command_get( 4353 int unit, 4354 bcm_field_entry_t entry, 4355 uint8 *data, 4356 uint8 *mask) 4357 { 4358 return BCM_E_UNAVAIL; 4359 } 4360 4361 int 4362 bcm_esw_field_qualify_IEEE1588CompensateTimeStamp( 4363 int unit, 4364 bcm_field_entry_t entry, 4365 uint8 data, 4366 uint8 mask) 4367 { 4368 return BCM_E_UNAVAIL; 4369 } 4370 4371 int 4372 bcm_esw_field_qualify_IEEE1588CompensateTimeStamp_get( 4373 int unit, 4374 bcm_field_entry_t entry, 4375 uint8 *data, 4376 uint8 *mask) 4377 { 4378 return BCM_E_UNAVAIL; 4379 } 4380 4381 int 4382 bcm_esw_field_qualify_IEEE1588Encapsulation( 4383 int unit, 4384 bcm_field_entry_t entry, 4385 bcm_field_IEEE1588Encap_t encap) 4386 { 4387 return BCM_E_UNAVAIL; 4388 } 4389 4390 int 4391 bcm_esw_field_qualify_IEEE1588Encapsulation_get( 4392 int unit, 4393 bcm_field_entry_t entry, 4394 bcm_field_IEEE1588Encap_t *encap) 4395 { 4396 return BCM_E_UNAVAIL; 4397 } 4398 4399 int 4400 bcm_esw_field_qualify_IEEE1588HeaderOffset( 4401 int unit, 4402 bcm_field_entry_t entry, 4403 uint32 data, 4404 uint32 mask) 4405 { 4406 return BCM_E_UNAVAIL; 4407 } 4408 4409 int 4410 bcm_esw_field_qualify_IEEE1588HeaderOffset_get( 4411 int unit, 4412 bcm_field_entry_t entry, 4413 uint32 *data, 4414 uint32 *mask) 4415 { 4416 return BCM_E_UNAVAIL; 4417 } 4418 4419 int 4420 bcm_esw_field_qualify_InVPort32( 4421 int unit, 4422 bcm_field_entry_t entry, 4423 uint32 data, 4424 uint32 mask) 4425 { 4426 return BCM_E_UNAVAIL; 4427 } 4428 4429 int 4430 bcm_esw_field_qualify_InVPort32_get( 4431 int unit, 4432 bcm_field_entry_t entry, 4433 uint32 *data, 4434 uint32 *mask) 4435 { 4436 return BCM_E_UNAVAIL; 4437 } 4438 4439 int 4440 bcm_esw_field_qualify_InVPortWide( 4441 int unit, 4442 bcm_field_entry_t entry, 4443 uint64 data, 4444 uint64 mask) 4445 { 4446 return BCM_E_UNAVAIL; 4447 } 4448 4449 int 4450 bcm_esw_field_qualify_InVPortWide_get( 4451 int unit, 4452 bcm_field_entry_t entry, 4453 uint64 *data, 4454 uint64 *mask) 4455 { 4456 return BCM_E_UNAVAIL; 4457 } 4458 4459 int 4460 bcm_esw_field_qualify_InVportDataIndex( 4461 int unit, 4462 bcm_field_entry_t entry, 4463 uint8 data, 4464 uint8 mask) 4465 { 4466 return BCM_E_UNAVAIL; 4467 } 4468 4469 int 4470 bcm_esw_field_qualify_InVportDataIndex_get( 4471 int unit, 4472 bcm_field_entry_t entry, 4473 uint8 *data, 4474 uint8 *mask) 4475 { 4476 return BCM_E_UNAVAIL; 4477 } 4478 4479 int 4480 bcm_esw_field_qualify_IncomingIpIfClass( 4481 int unit, 4482 bcm_field_entry_t entry, 4483 uint32 data, 4484 uint32 mask) 4485 { 4486 return BCM_E_UNAVAIL; 4487 } 4488 4489 int 4490 bcm_esw_field_qualify_IncomingIpIfClass_get( 4491 int unit, 4492 bcm_field_entry_t entry, 4493 uint32 *data, 4494 uint32 *mask) 4495 { 4496 return BCM_E_UNAVAIL; 4497 } 4498 4499 int 4500 bcm_esw_field_qualify_IngressECid( 4501 int unit, 4502 bcm_field_entry_t entry, 4503 uint32 data, 4504 uint32 mask) 4505 { 4506 return BCM_E_UNAVAIL; 4507 } 4508 4509 int 4510 bcm_esw_field_qualify_IngressECid_get( 4511 int unit, 4512 bcm_field_entry_t entry, 4513 uint32 *data, 4514 uint32 *mask) 4515 { 4516 return BCM_E_UNAVAIL; 4517 } 4518 4519 int 4520 bcm_esw_field_qualify_IngressVPortBridgeDisable( 4521 int unit, 4522 bcm_field_entry_t entry, 4523 uint8 data, 4524 uint8 mask) 4525 { 4526 return BCM_E_UNAVAIL; 4527 } 4528 4529 int 4530 bcm_esw_field_qualify_IngressVPortBridgeDisable_get( 4531 int unit, 4532 bcm_field_entry_t entry, 4533 uint8 *data, 4534 uint8 *mask) 4535 { 4536 return BCM_E_UNAVAIL; 4537 } 4538 4539 int 4540 bcm_esw_field_qualify_InnerDstMac( 4541 int unit, 4542 bcm_field_entry_t entry, 4543 bcm_mac_t data, 4544 bcm_mac_t mask) 4545 { 4546 return BCM_E_UNAVAIL; 4547 } 4548 4549 int 4550 bcm_esw_field_qualify_InnerDstMac_get( 4551 int unit, 4552 bcm_field_entry_t entry, 4553 bcm_mac_t *data, 4554 bcm_mac_t *mask) 4555 { 4556 return BCM_E_UNAVAIL; 4557 } 4558 4559 int 4560 bcm_esw_field_qualify_InnerEtherType( 4561 int unit, 4562 bcm_field_entry_t entry, 4563 uint16 data, 4564 uint16 mask) 4565 { 4566 return BCM_E_UNAVAIL; 4567 } 4568 4569 int 4570 bcm_esw_field_qualify_InnerEtherType_get( 4571 int unit, 4572 bcm_field_entry_t entry, 4573 uint16 *data, 4574 uint16 *mask) 4575 { 4576 return BCM_E_UNAVAIL; 4577 } 4578 4579 int 4580 bcm_esw_field_qualify_InnerSrcMac( 4581 int unit, 4582 bcm_field_entry_t entry, 4583 bcm_mac_t data, 4584 bcm_mac_t mask) 4585 { 4586 return BCM_E_UNAVAIL; 4587 } 4588 4589 int 4590 bcm_esw_field_qualify_InnerSrcMac_get( 4591 int unit, 4592 bcm_field_entry_t entry, 4593 bcm_mac_t *data, 4594 bcm_mac_t *mask) 4595 { 4596 return BCM_E_UNAVAIL; 4597 } 4598 4599 int 4600 bcm_esw_field_qualify_InnerVlanActionRange( 4601 int unit, 4602 bcm_field_entry_t entry, 4603 bcm_vlan_t data, 4604 bcm_vlan_t mask) 4605 { 4606 return BCM_E_UNAVAIL; 4607 } 4608 4609 int 4610 bcm_esw_field_qualify_InnerVlanActionRange_get( 4611 int unit, 4612 bcm_field_entry_t entry, 4613 bcm_vlan_t *data, 4614 bcm_vlan_t *mask) 4615 { 4616 return BCM_E_UNAVAIL; 4617 } 4618 4619 int 4620 bcm_esw_field_qualify_InterfaceClassProcessingPort( 4621 int unit, 4622 bcm_field_entry_t entry, 4623 uint64 data, 4624 uint64 mask) 4625 { 4626 return BCM_E_UNAVAIL; 4627 } 4628 4629 int 4630 bcm_esw_field_qualify_InterfaceClassProcessingPort_get( 4631 int unit, 4632 bcm_field_entry_t entry, 4633 uint64 *data, 4634 uint64 *mask) 4635 { 4636 return BCM_E_UNAVAIL; 4637 } 4638 4639 int 4640 bcm_esw_field_qualify_InterfaceInPorts( 4641 int unit, 4642 bcm_field_entry_t entry, 4643 bcm_pbmp_t data, 4644 bcm_pbmp_t mask) 4645 { 4646 return BCM_E_UNAVAIL; 4647 } 4648 4649 int 4650 bcm_esw_field_qualify_InterfaceInPorts_get( 4651 int unit, 4652 bcm_field_entry_t entry, 4653 bcm_pbmp_t *data, 4654 bcm_pbmp_t *mask) 4655 { 4656 return BCM_E_UNAVAIL; 4657 } 4658 4659 int 4660 bcm_esw_field_qualify_IpMulticastCompatible( 4661 int unit, 4662 bcm_field_entry_t entry, 4663 uint32 data, 4664 uint32 mask) 4665 { 4666 return BCM_E_UNAVAIL; 4667 } 4668 4669 int 4670 bcm_esw_field_qualify_IpMulticastCompatible_get( 4671 int unit, 4672 bcm_field_entry_t entry, 4673 uint32 *data, 4674 uint32 *mask) 4675 { 4676 return BCM_E_UNAVAIL; 4677 } 4678 4679 int 4680 bcm_esw_field_qualify_IpTunnelValue( 4681 int unit, 4682 bcm_field_entry_t entry, 4683 uint64 data, 4684 uint64 mask) 4685 { 4686 return BCM_E_UNAVAIL; 4687 } 4688 4689 int 4690 bcm_esw_field_qualify_IpTunnelValue_get( 4691 int unit, 4692 bcm_field_entry_t entry, 4693 uint64 *data, 4694 uint64 *mask) 4695 { 4696 return BCM_E_UNAVAIL; 4697 } 4698 4699 int 4700 bcm_esw_field_qualify_IpmcHit( 4701 int unit, 4702 bcm_field_entry_t entry, 4703 uint8 data, 4704 uint8 mask) 4705 { 4706 return BCM_E_UNAVAIL; 4707 } 4708 4709 int 4710 bcm_esw_field_qualify_IpmcHit_get( 4711 int unit, 4712 bcm_field_entry_t entry, 4713 uint8 *data, 4714 uint8 *mask) 4715 { 4716 return BCM_E_UNAVAIL; 4717 } 4718 4719 int 4720 bcm_esw_field_qualify_IpmcStarGroupValue( 4721 int unit, 4722 bcm_field_entry_t entry, 4723 uint64 data, 4724 uint64 mask) 4725 { 4726 return BCM_E_UNAVAIL; 4727 } 4728 4729 int 4730 bcm_esw_field_qualify_IpmcStarGroupValue_get( 4731 int unit, 4732 bcm_field_entry_t entry, 4733 uint64 *data, 4734 uint64 *mask) 4735 { 4736 return BCM_E_UNAVAIL; 4737 } 4738 4739 int 4740 bcm_esw_field_qualify_IpmcValue( 4741 int unit, 4742 bcm_field_entry_t entry, 4743 uint64 data, 4744 uint64 mask) 4745 { 4746 return BCM_E_UNAVAIL; 4747 } 4748 4749 int 4750 bcm_esw_field_qualify_IpmcValue_get( 4751 int unit, 4752 bcm_field_entry_t entry, 4753 uint64 *data, 4754 uint64 *mask) 4755 { 4756 return BCM_E_UNAVAIL; 4757 } 4758 4759 int 4760 bcm_esw_field_qualify_IsEqualValue( 4761 int unit, 4762 bcm_field_entry_t entry, 4763 uint8 data, 4764 uint8 mask) 4765 { 4766 return BCM_E_UNAVAIL; 4767 } 4768 4769 int 4770 bcm_esw_field_qualify_IsEqualValue_get( 4771 int unit, 4772 bcm_field_entry_t entry, 4773 uint8 *data, 4774 uint8 *mask) 4775 { 4776 return BCM_E_UNAVAIL; 4777 } 4778 4779 int 4780 bcm_esw_field_qualify_KeyGenVar( 4781 int unit, 4782 bcm_field_entry_t entry, 4783 uint32 data, 4784 uint32 mask) 4785 { 4786 return BCM_E_UNAVAIL; 4787 } 4788 4789 int 4790 bcm_esw_field_qualify_L2DestValue( 4791 int unit, 4792 bcm_field_entry_t entry, 4793 uint64 data, 4794 uint64 mask) 4795 { 4796 return BCM_E_UNAVAIL; 4797 } 4798 4799 int 4800 bcm_esw_field_qualify_L2DestValue_get( 4801 int unit, 4802 bcm_field_entry_t entry, 4803 uint64 *data, 4804 uint64 *mask) 4805 { 4806 return BCM_E_UNAVAIL; 4807 } 4808 4809 int 4810 bcm_esw_field_qualify_L2GreFlowId( 4811 int unit, 4812 bcm_field_entry_t entry, 4813 uint8 data, 4814 uint8 mask) 4815 { 4816 return BCM_E_UNAVAIL; 4817 } 4818 4819 int 4820 bcm_esw_field_qualify_L2GreFlowId_get( 4821 int unit, 4822 bcm_field_entry_t entry, 4823 uint8 *data, 4824 uint8 *mask) 4825 { 4826 return BCM_E_UNAVAIL; 4827 } 4828 4829 int 4830 bcm_esw_field_qualify_L2GreProtocolType( 4831 int unit, 4832 bcm_field_entry_t entry, 4833 uint16 data, 4834 uint16 mask) 4835 { 4836 return BCM_E_UNAVAIL; 4837 } 4838 4839 int 4840 bcm_esw_field_qualify_L2GreProtocolType_get( 4841 int unit, 4842 bcm_field_entry_t entry, 4843 uint16 *data, 4844 uint16 *mask) 4845 { 4846 return BCM_E_UNAVAIL; 4847 } 4848 4849 int 4850 bcm_esw_field_qualify_L2Learn( 4851 int unit, 4852 bcm_field_entry_t entry, 4853 uint8 data, 4854 uint8 mask) 4855 { 4856 return BCM_E_UNAVAIL; 4857 } 4858 4859 int 4860 bcm_esw_field_qualify_L2Learn_get( 4861 int unit, 4862 bcm_field_entry_t entry, 4863 uint8 *data, 4864 uint8 *mask) 4865 { 4866 return BCM_E_UNAVAIL; 4867 } 4868 4869 int 4870 bcm_esw_field_qualify_L2SrcValue( 4871 int unit, 4872 bcm_field_entry_t entry, 4873 uint64 data, 4874 uint64 mask) 4875 { 4876 return BCM_E_UNAVAIL; 4877 } 4878 4879 int 4880 bcm_esw_field_qualify_L2SrcValue_get( 4881 int unit, 4882 bcm_field_entry_t entry, 4883 uint64 *data, 4884 uint64 *mask) 4885 { 4886 return BCM_E_UNAVAIL; 4887 } 4888 4889 int 4890 bcm_esw_field_qualify_L3DestRouteValue( 4891 int unit, 4892 bcm_field_entry_t entry, 4893 uint64 data, 4894 uint64 mask) 4895 { 4896 return BCM_E_UNAVAIL; 4897 } 4898 4899 int 4900 bcm_esw_field_qualify_L3DestRouteValue_get( 4901 int unit, 4902 bcm_field_entry_t entry, 4903 uint64 *data, 4904 uint64 *mask) 4905 { 4906 return BCM_E_UNAVAIL; 4907 } 4908 4909 int 4910 bcm_esw_field_qualify_L3SrcBind( 4911 int unit, 4912 bcm_field_entry_t entry, 4913 uint8 data, 4914 uint8 mask) 4915 { 4916 return BCM_E_UNAVAIL; 4917 } 4918 4919 int 4920 bcm_esw_field_qualify_L3SrcBind_get( 4921 int unit, 4922 bcm_field_entry_t entry, 4923 uint8 *data, 4924 uint8 *mask) 4925 { 4926 return BCM_E_UNAVAIL; 4927 } 4928 4929 int 4930 bcm_esw_field_qualify_L3SrcRouteHit( 4931 int unit, 4932 bcm_field_entry_t entry, 4933 uint8 data, 4934 uint8 mask) 4935 { 4936 return BCM_E_UNAVAIL; 4937 } 4938 4939 int 4940 bcm_esw_field_qualify_L3SrcRouteHit_get( 4941 int unit, 4942 bcm_field_entry_t entry, 4943 uint8 *data, 4944 uint8 *mask) 4945 { 4946 return BCM_E_UNAVAIL; 4947 } 4948 4949 int 4950 bcm_esw_field_qualify_L3SrcRouteValue( 4951 int unit, 4952 bcm_field_entry_t entry, 4953 uint64 data, 4954 uint64 mask) 4955 { 4956 return BCM_E_UNAVAIL; 4957 } 4958 4959 int 4960 bcm_esw_field_qualify_L3SrcRouteValue_get( 4961 int unit, 4962 bcm_field_entry_t entry, 4963 uint64 *data, 4964 uint64 *mask) 4965 { 4966 return BCM_E_UNAVAIL; 4967 } 4968 4969 int 4970 bcm_esw_field_qualify_L4PortRangeCheck( 4971 int unit, 4972 bcm_field_entry_t entry, 4973 bcm_field_range_t range, 4974 int invert) 4975 { 4976 return BCM_E_UNAVAIL; 4977 } 4978 4979 int 4980 bcm_esw_field_qualify_L4PortRangeCheck_get( 4981 int unit, 4982 bcm_field_entry_t entry, 4983 int max_count, 4984 bcm_field_range_t *range, 4985 int *invert, 4986 int *count) 4987 { 4988 return BCM_E_UNAVAIL; 4989 } 4990 4991 int 4992 bcm_esw_field_qualify_LearnExtension( 4993 int unit, 4994 bcm_field_entry_t entry, 4995 uint8 data) 4996 { 4997 return BCM_E_UNAVAIL; 4998 } 4999 5000 int 5001 bcm_esw_field_qualify_LearnExtension_get( 5002 int unit, 5003 bcm_field_entry_t entry, 5004 uint8 *data) 5005 { 5006 return BCM_E_UNAVAIL; 5007 } 5008 5009 int 5010 bcm_esw_field_qualify_LearnInVPort( 5011 int unit, 5012 bcm_field_entry_t entry, 5013 uint32 data, 5014 uint32 mask) 5015 { 5016 return BCM_E_UNAVAIL; 5017 } 5018 5019 int 5020 bcm_esw_field_qualify_LearnInVPort_get( 5021 int unit, 5022 bcm_field_entry_t entry, 5023 uint32 *data, 5024 uint32 *mask) 5025 { 5026 return BCM_E_UNAVAIL; 5027 } 5028 5029 int 5030 bcm_esw_field_qualify_LearnSrcMac( 5031 int unit, 5032 bcm_field_entry_t entry, 5033 bcm_mac_t data, 5034 bcm_mac_t mask) 5035 { 5036 return BCM_E_UNAVAIL; 5037 } 5038 5039 int 5040 bcm_esw_field_qualify_LearnSrcMac_get( 5041 int unit, 5042 bcm_field_entry_t entry, 5043 bcm_mac_t *data, 5044 bcm_mac_t *mask) 5045 { 5046 return BCM_E_UNAVAIL; 5047 } 5048 5049 int 5050 bcm_esw_field_qualify_LearnSrcPort( 5051 int unit, 5052 bcm_field_entry_t entry, 5053 bcm_gport_t data) 5054 { 5055 return BCM_E_UNAVAIL; 5056 } 5057 5058 int 5059 bcm_esw_field_qualify_LearnSrcPort_get( 5060 int unit, 5061 bcm_field_entry_t entry, 5062 bcm_gport_t *data) 5063 { 5064 return BCM_E_UNAVAIL; 5065 } 5066 5067 int 5068 bcm_esw_field_qualify_LearnVlan( 5069 int unit, 5070 bcm_field_entry_t entry, 5071 bcm_vlan_t data, 5072 bcm_vlan_t mask) 5073 { 5074 return BCM_E_UNAVAIL; 5075 } 5076 5077 int 5078 bcm_esw_field_qualify_LearnVlan_get( 5079 int unit, 5080 bcm_field_entry_t entry, 5081 bcm_vlan_t *data, 5082 bcm_vlan_t *mask) 5083 { 5084 return BCM_E_UNAVAIL; 5085 } 5086 5087 int 5088 bcm_esw_field_qualify_LlidValue( 5089 int unit, 5090 bcm_field_entry_t entry, 5091 uint16 data, 5092 uint16 mask) 5093 { 5094 return BCM_E_UNAVAIL; 5095 } 5096 5097 int 5098 bcm_esw_field_qualify_LlidValue_get( 5099 int unit, 5100 bcm_field_entry_t entry, 5101 uint16 *data, 5102 uint16 *mask) 5103 { 5104 return BCM_E_UNAVAIL; 5105 } 5106 5107 int 5108 bcm_esw_field_qualify_MimVlanCfi( 5109 int unit, 5110 bcm_field_entry_t entry, 5111 uint8 data, 5112 uint8 mask) 5113 { 5114 return BCM_E_UNAVAIL; 5115 } 5116 5117 int 5118 bcm_esw_field_qualify_MimVlanCfi_get( 5119 int unit, 5120 bcm_field_entry_t entry, 5121 uint8 *data, 5122 uint8 *mask) 5123 { 5124 return BCM_E_UNAVAIL; 5125 } 5126 5127 int 5128 bcm_esw_field_qualify_MimVlanPri( 5129 int unit, 5130 bcm_field_entry_t entry, 5131 uint8 data, 5132 uint8 mask) 5133 { 5134 return BCM_E_UNAVAIL; 5135 } 5136 5137 int 5138 bcm_esw_field_qualify_MimVlanPri_get( 5139 int unit, 5140 bcm_field_entry_t entry, 5141 uint8 *data, 5142 uint8 *mask) 5143 { 5144 return BCM_E_UNAVAIL; 5145 } 5146 5147 int 5148 bcm_esw_field_qualify_MirrorDest( 5149 int unit, 5150 bcm_field_entry_t entry, 5151 bcm_gport_t mirror_gport) 5152 { 5153 return BCM_E_UNAVAIL; 5154 } 5155 5156 int 5157 bcm_esw_field_qualify_MirrorDest_get( 5158 int unit, 5159 bcm_field_entry_t entry, 5160 bcm_gport_t *mirror_gport) 5161 { 5162 return BCM_E_UNAVAIL; 5163 } 5164 5165 int 5166 bcm_esw_field_qualify_MirrorEgressDisabled( 5167 int unit, 5168 bcm_field_entry_t entry, 5169 uint8 data, 5170 uint8 mask) 5171 { 5172 return BCM_E_UNAVAIL; 5173 } 5174 5175 int 5176 bcm_esw_field_qualify_MirrorEgressDisabled_get( 5177 int unit, 5178 bcm_field_entry_t entry, 5179 uint8 *data, 5180 uint8 *mask) 5181 { 5182 return BCM_E_UNAVAIL; 5183 } 5184 5185 int 5186 bcm_esw_field_qualify_MplsBos( 5187 int unit, 5188 bcm_field_entry_t entry, 5189 uint8 data, 5190 uint8 mask) 5191 { 5192 return BCM_E_UNAVAIL; 5193 } 5194 5195 int 5196 bcm_esw_field_qualify_MplsBos_get( 5197 int unit, 5198 bcm_field_entry_t entry, 5199 uint8 *data, 5200 uint8 *mask) 5201 { 5202 return BCM_E_UNAVAIL; 5203 } 5204 5205 int 5206 bcm_esw_field_qualify_MplsForwardingLabelAction32( 5207 int unit, 5208 bcm_field_entry_t entry, 5209 uint32 data, 5210 uint32 mask) 5211 { 5212 return BCM_E_UNAVAIL; 5213 } 5214 5215 int 5216 bcm_esw_field_qualify_MplsForwardingLabelAction32_get( 5217 int unit, 5218 bcm_field_entry_t entry, 5219 uint32 *data, 5220 uint32 *mask) 5221 { 5222 return BCM_E_UNAVAIL; 5223 } 5224 5225 int 5226 bcm_esw_field_qualify_MplsForwardingLabelPayload( 5227 int unit, 5228 bcm_field_entry_t entry, 5229 uint64 data, 5230 uint64 mask) 5231 { 5232 return BCM_E_UNAVAIL; 5233 } 5234 5235 int 5236 bcm_esw_field_qualify_MplsForwardingLabelPayload_get( 5237 int unit, 5238 bcm_field_entry_t entry, 5239 uint64 *data, 5240 uint64 *mask) 5241 { 5242 return BCM_E_UNAVAIL; 5243 } 5244 5245 int 5246 bcm_esw_field_qualify_MplsLabel1( 5247 int unit, 5248 bcm_field_entry_t entry, 5249 uint32 data, 5250 uint32 mask) 5251 { 5252 return BCM_E_UNAVAIL; 5253 } 5254 5255 int 5256 bcm_esw_field_qualify_MplsLabel1Bos( 5257 int unit, 5258 bcm_field_entry_t entry, 5259 uint8 data, 5260 uint8 mask) 5261 { 5262 return BCM_E_UNAVAIL; 5263 } 5264 5265 int 5266 bcm_esw_field_qualify_MplsLabel1Bos_get( 5267 int unit, 5268 bcm_field_entry_t entry, 5269 uint8 *data, 5270 uint8 *mask) 5271 { 5272 return BCM_E_UNAVAIL; 5273 } 5274 5275 int 5276 bcm_esw_field_qualify_MplsLabel1Exp( 5277 int unit, 5278 bcm_field_entry_t entry, 5279 uint8 data, 5280 uint8 mask) 5281 { 5282 return BCM_E_UNAVAIL; 5283 } 5284 5285 int 5286 bcm_esw_field_qualify_MplsLabel1Exp_get( 5287 int unit, 5288 bcm_field_entry_t entry, 5289 uint8 *data, 5290 uint8 *mask) 5291 { 5292 return BCM_E_UNAVAIL; 5293 } 5294 5295 int 5296 bcm_esw_field_qualify_MplsLabel1Id( 5297 int unit, 5298 bcm_field_entry_t entry, 5299 uint32 data, 5300 uint32 mask) 5301 { 5302 return BCM_E_UNAVAIL; 5303 } 5304 5305 int 5306 bcm_esw_field_qualify_MplsLabel1Id_get( 5307 int unit, 5308 bcm_field_entry_t entry, 5309 uint32 *data, 5310 uint32 *mask) 5311 { 5312 return BCM_E_UNAVAIL; 5313 } 5314 5315 int 5316 bcm_esw_field_qualify_MplsLabel1Ttl( 5317 int unit, 5318 bcm_field_entry_t entry, 5319 uint8 data, 5320 uint8 mask) 5321 { 5322 return BCM_E_UNAVAIL; 5323 } 5324 5325 int 5326 bcm_esw_field_qualify_MplsLabel1Ttl_get( 5327 int unit, 5328 bcm_field_entry_t entry, 5329 uint8 *data, 5330 uint8 *mask) 5331 { 5332 return BCM_E_UNAVAIL; 5333 } 5334 5335 int 5336 bcm_esw_field_qualify_MplsLabel1_get( 5337 int unit, 5338 bcm_field_entry_t entry, 5339 uint32 *data, 5340 uint32 *mask) 5341 { 5342 return BCM_E_UNAVAIL; 5343 } 5344 5345 int 5346 bcm_esw_field_qualify_MplsLabel2( 5347 int unit, 5348 bcm_field_entry_t entry, 5349 uint32 data, 5350 uint32 mask) 5351 { 5352 return BCM_E_UNAVAIL; 5353 } 5354 5355 int 5356 bcm_esw_field_qualify_MplsLabel2Bos( 5357 int unit, 5358 bcm_field_entry_t entry, 5359 uint8 data, 5360 uint8 mask) 5361 { 5362 return BCM_E_UNAVAIL; 5363 } 5364 5365 int 5366 bcm_esw_field_qualify_MplsLabel2Bos_get( 5367 int unit, 5368 bcm_field_entry_t entry, 5369 uint8 *data, 5370 uint8 *mask) 5371 { 5372 return BCM_E_UNAVAIL; 5373 } 5374 5375 int 5376 bcm_esw_field_qualify_MplsLabel2Exp( 5377 int unit, 5378 bcm_field_entry_t entry, 5379 uint8 data, 5380 uint8 mask) 5381 { 5382 return BCM_E_UNAVAIL; 5383 } 5384 5385 int 5386 bcm_esw_field_qualify_MplsLabel2Exp_get( 5387 int unit, 5388 bcm_field_entry_t entry, 5389 uint8 *data, 5390 uint8 *mask) 5391 { 5392 return BCM_E_UNAVAIL; 5393 } 5394 5395 int 5396 bcm_esw_field_qualify_MplsLabel2Id( 5397 int unit, 5398 bcm_field_entry_t entry, 5399 uint32 data, 5400 uint32 mask) 5401 { 5402 return BCM_E_UNAVAIL; 5403 } 5404 5405 int 5406 bcm_esw_field_qualify_MplsLabel2Id_get( 5407 int unit, 5408 bcm_field_entry_t entry, 5409 uint32 *data, 5410 uint32 *mask) 5411 { 5412 return BCM_E_UNAVAIL; 5413 } 5414 5415 int 5416 bcm_esw_field_qualify_MplsLabel2Ttl( 5417 int unit, 5418 bcm_field_entry_t entry, 5419 uint8 data, 5420 uint8 mask) 5421 { 5422 return BCM_E_UNAVAIL; 5423 } 5424 5425 int 5426 bcm_esw_field_qualify_MplsLabel2Ttl_get( 5427 int unit, 5428 bcm_field_entry_t entry, 5429 uint8 *data, 5430 uint8 *mask) 5431 { 5432 return BCM_E_UNAVAIL; 5433 } 5434 5435 int 5436 bcm_esw_field_qualify_MplsLabel2_get( 5437 int unit, 5438 bcm_field_entry_t entry, 5439 uint32 *data, 5440 uint32 *mask) 5441 { 5442 return BCM_E_UNAVAIL; 5443 } 5444 5445 int 5446 bcm_esw_field_qualify_MplsLabel3( 5447 int unit, 5448 bcm_field_entry_t entry, 5449 uint32 data, 5450 uint32 mask) 5451 { 5452 return BCM_E_UNAVAIL; 5453 } 5454 5455 int 5456 bcm_esw_field_qualify_MplsLabel3Bos( 5457 int unit, 5458 bcm_field_entry_t entry, 5459 uint8 data, 5460 uint8 mask) 5461 { 5462 return BCM_E_UNAVAIL; 5463 } 5464 5465 int 5466 bcm_esw_field_qualify_MplsLabel3Bos_get( 5467 int unit, 5468 bcm_field_entry_t entry, 5469 uint8 *data, 5470 uint8 *mask) 5471 { 5472 return BCM_E_UNAVAIL; 5473 } 5474 5475 int 5476 bcm_esw_field_qualify_MplsLabel3Exp( 5477 int unit, 5478 bcm_field_entry_t entry, 5479 uint8 data, 5480 uint8 mask) 5481 { 5482 return BCM_E_UNAVAIL; 5483 } 5484 5485 int 5486 bcm_esw_field_qualify_MplsLabel3Exp_get( 5487 int unit, 5488 bcm_field_entry_t entry, 5489 uint8 *data, 5490 uint8 *mask) 5491 { 5492 return BCM_E_UNAVAIL; 5493 } 5494 5495 int 5496 bcm_esw_field_qualify_MplsLabel3Id( 5497 int unit, 5498 bcm_field_entry_t entry, 5499 uint32 data, 5500 uint32 mask) 5501 { 5502 return BCM_E_UNAVAIL; 5503 } 5504 5505 int 5506 bcm_esw_field_qualify_MplsLabel3Id_get( 5507 int unit, 5508 bcm_field_entry_t entry, 5509 uint32 *data, 5510 uint32 *mask) 5511 { 5512 return BCM_E_UNAVAIL; 5513 } 5514 5515 int 5516 bcm_esw_field_qualify_MplsLabel3Ttl( 5517 int unit, 5518 bcm_field_entry_t entry, 5519 uint8 data, 5520 uint8 mask) 5521 { 5522 return BCM_E_UNAVAIL; 5523 } 5524 5525 int 5526 bcm_esw_field_qualify_MplsLabel3Ttl_get( 5527 int unit, 5528 bcm_field_entry_t entry, 5529 uint8 *data, 5530 uint8 *mask) 5531 { 5532 return BCM_E_UNAVAIL; 5533 } 5534 5535 int 5536 bcm_esw_field_qualify_MplsLabel3_get( 5537 int unit, 5538 bcm_field_entry_t entry, 5539 uint32 *data, 5540 uint32 *mask) 5541 { 5542 return BCM_E_UNAVAIL; 5543 } 5544 5545 int 5546 bcm_esw_field_qualify_MplsTerminatedHit( 5547 int unit, 5548 bcm_field_entry_t entry, 5549 uint8 data, 5550 uint8 mask) 5551 { 5552 return BCM_E_UNAVAIL; 5553 } 5554 5555 int 5556 bcm_esw_field_qualify_MplsTerminatedHit_get( 5557 int unit, 5558 bcm_field_entry_t entry, 5559 uint8 *data, 5560 uint8 *mask) 5561 { 5562 return BCM_E_UNAVAIL; 5563 } 5564 5565 int 5566 bcm_esw_field_qualify_MplsTerminatedValue( 5567 int unit, 5568 bcm_field_entry_t entry, 5569 uint64 data, 5570 uint64 mask) 5571 { 5572 return BCM_E_UNAVAIL; 5573 } 5574 5575 int 5576 bcm_esw_field_qualify_MplsTerminatedValue_get( 5577 int unit, 5578 bcm_field_entry_t entry, 5579 uint64 *data, 5580 uint64 *mask) 5581 { 5582 return BCM_E_UNAVAIL; 5583 } 5584 5585 int 5586 bcm_esw_field_qualify_NativeVSwitch( 5587 int unit, 5588 bcm_field_entry_t entry, 5589 bcm_vlan_t data, 5590 bcm_vlan_t mask) 5591 { 5592 return BCM_E_UNAVAIL; 5593 } 5594 5595 int 5596 bcm_esw_field_qualify_NativeVSwitchValid( 5597 int unit, 5598 bcm_field_entry_t entry, 5599 uint8 data, 5600 uint8 mask) 5601 { 5602 return BCM_E_UNAVAIL; 5603 } 5604 5605 int 5606 bcm_esw_field_qualify_NativeVSwitchValid_get( 5607 int unit, 5608 bcm_field_entry_t entry, 5609 uint8 *data, 5610 uint8 *mask) 5611 { 5612 return BCM_E_UNAVAIL; 5613 } 5614 5615 int 5616 bcm_esw_field_qualify_NativeVSwitch_get( 5617 int unit, 5618 bcm_field_entry_t entry, 5619 bcm_vlan_t *data, 5620 bcm_vlan_t *mask) 5621 { 5622 return BCM_E_UNAVAIL; 5623 } 5624 5625 int 5626 bcm_esw_field_qualify_OamHeaderOffset( 5627 int unit, 5628 bcm_field_entry_t entry, 5629 uint32 data, 5630 uint32 mask) 5631 { 5632 return BCM_E_UNAVAIL; 5633 } 5634 5635 int 5636 bcm_esw_field_qualify_OamHeaderOffset_get( 5637 int unit, 5638 bcm_field_entry_t entry, 5639 uint32 *data, 5640 uint32 *mask) 5641 { 5642 return BCM_E_UNAVAIL; 5643 } 5644 5645 int 5646 bcm_esw_field_qualify_OamInLifId( 5647 int unit, 5648 bcm_field_entry_t entry, 5649 uint32 data, 5650 uint32 mask) 5651 { 5652 return BCM_E_UNAVAIL; 5653 } 5654 5655 int 5656 bcm_esw_field_qualify_OamInLifIdValid( 5657 int unit, 5658 bcm_field_entry_t entry, 5659 uint8 data, 5660 uint8 mask) 5661 { 5662 return BCM_E_UNAVAIL; 5663 } 5664 5665 int 5666 bcm_esw_field_qualify_OamInLifIdValid_get( 5667 int unit, 5668 bcm_field_entry_t entry, 5669 uint8 *data, 5670 uint8 *mask) 5671 { 5672 return BCM_E_UNAVAIL; 5673 } 5674 5675 int 5676 bcm_esw_field_qualify_OamInLifId_get( 5677 int unit, 5678 bcm_field_entry_t entry, 5679 uint32 *data, 5680 uint32 *mask) 5681 { 5682 return BCM_E_UNAVAIL; 5683 } 5684 5685 int 5686 bcm_esw_field_qualify_OamMepId( 5687 int unit, 5688 bcm_field_entry_t entry, 5689 uint32 data, 5690 uint32 mask) 5691 { 5692 return BCM_E_UNAVAIL; 5693 } 5694 5695 int 5696 bcm_esw_field_qualify_OamMepId_get( 5697 int unit, 5698 bcm_field_entry_t entry, 5699 uint32 *data, 5700 uint32 *mask) 5701 { 5702 return BCM_E_UNAVAIL; 5703 } 5704 5705 int 5706 bcm_esw_field_qualify_OamMeterDisable( 5707 int unit, 5708 bcm_field_entry_t entry, 5709 uint8 data, 5710 uint8 mask) 5711 { 5712 return BCM_E_UNAVAIL; 5713 } 5714 5715 int 5716 bcm_esw_field_qualify_OamMeterDisable_get( 5717 int unit, 5718 bcm_field_entry_t entry, 5719 uint8 *data, 5720 uint8 *mask) 5721 { 5722 return BCM_E_UNAVAIL; 5723 } 5724 5725 int 5726 bcm_esw_field_qualify_OamStampOffset( 5727 int unit, 5728 bcm_field_entry_t entry, 5729 uint32 data, 5730 uint32 mask) 5731 { 5732 return BCM_E_UNAVAIL; 5733 } 5734 5735 int 5736 bcm_esw_field_qualify_OamStampOffset_get( 5737 int unit, 5738 bcm_field_entry_t entry, 5739 uint32 *data, 5740 uint32 *mask) 5741 { 5742 return BCM_E_UNAVAIL; 5743 } 5744 5745 int 5746 bcm_esw_field_qualify_OamSubtype( 5747 int unit, 5748 bcm_field_entry_t entry, 5749 uint8 data, 5750 uint8 mask) 5751 { 5752 return BCM_E_UNAVAIL; 5753 } 5754 5755 int 5756 bcm_esw_field_qualify_OamSubtype_get( 5757 int unit, 5758 bcm_field_entry_t entry, 5759 uint8 *data, 5760 uint8 *mask) 5761 { 5762 return BCM_E_UNAVAIL; 5763 } 5764 5765 int 5766 bcm_esw_field_qualify_OamTsSystemHeader( 5767 int unit, 5768 bcm_field_entry_t entry, 5769 uint64 data, 5770 uint64 mask) 5771 { 5772 return BCM_E_UNAVAIL; 5773 } 5774 5775 int 5776 bcm_esw_field_qualify_OamTsSystemHeader_get( 5777 int unit, 5778 bcm_field_entry_t entry, 5779 uint64 *data, 5780 uint64 *mask) 5781 { 5782 return BCM_E_UNAVAIL; 5783 } 5784 5785 int 5786 bcm_esw_field_qualify_OamUpMep( 5787 int unit, 5788 bcm_field_entry_t entry, 5789 uint8 data, 5790 uint8 mask) 5791 { 5792 return BCM_E_UNAVAIL; 5793 } 5794 5795 int 5796 bcm_esw_field_qualify_OamUpMep_get( 5797 int unit, 5798 bcm_field_entry_t entry, 5799 uint8 *data, 5800 uint8 *mask) 5801 { 5802 return BCM_E_UNAVAIL; 5803 } 5804 5805 int 5806 bcm_esw_field_qualify_OutVPort32( 5807 int unit, 5808 bcm_field_entry_t entry, 5809 uint32 data, 5810 uint32 mask) 5811 { 5812 return BCM_E_UNAVAIL; 5813 } 5814 5815 int 5816 bcm_esw_field_qualify_OutVPort32_get( 5817 int unit, 5818 bcm_field_entry_t entry, 5819 uint32 *data, 5820 uint32 *mask) 5821 { 5822 return BCM_E_UNAVAIL; 5823 } 5824 5825 int 5826 bcm_esw_field_qualify_OuterVlanActionRange( 5827 int unit, 5828 bcm_field_entry_t entry, 5829 bcm_vlan_t data, 5830 bcm_vlan_t mask) 5831 { 5832 return BCM_E_UNAVAIL; 5833 } 5834 5835 int 5836 bcm_esw_field_qualify_OuterVlanActionRange_get( 5837 int unit, 5838 bcm_field_entry_t entry, 5839 bcm_vlan_t *data, 5840 bcm_vlan_t *mask) 5841 { 5842 return BCM_E_UNAVAIL; 5843 } 5844 5845 int 5846 bcm_esw_field_qualify_OuterVlanPriCfi( 5847 int unit, 5848 bcm_field_entry_t entry, 5849 uint8 data, 5850 uint8 mask) 5851 { 5852 return BCM_E_UNAVAIL; 5853 } 5854 5855 int 5856 bcm_esw_field_qualify_OuterVlanPriCfi_get( 5857 int unit, 5858 bcm_field_entry_t entry, 5859 uint8 *data, 5860 uint8 *mask) 5861 { 5862 return BCM_E_UNAVAIL; 5863 } 5864 5865 int 5866 bcm_esw_field_qualify_PacketIsIEEE1588( 5867 int unit, 5868 bcm_field_entry_t entry, 5869 uint8 data, 5870 uint8 mask) 5871 { 5872 return BCM_E_UNAVAIL; 5873 } 5874 5875 int 5876 bcm_esw_field_qualify_PacketIsIEEE1588_get( 5877 int unit, 5878 bcm_field_entry_t entry, 5879 uint8 *data, 5880 uint8 *mask) 5881 { 5882 return BCM_E_UNAVAIL; 5883 } 5884 5885 int 5886 bcm_esw_field_qualify_PacketLengthRangeCheck( 5887 int unit, 5888 bcm_field_entry_t entry, 5889 bcm_field_range_t range, 5890 int invert) 5891 { 5892 return BCM_E_UNAVAIL; 5893 } 5894 5895 int 5896 bcm_esw_field_qualify_PacketLengthRangeCheck_get( 5897 int unit, 5898 bcm_field_entry_t entry, 5899 int max_count, 5900 bcm_field_range_t *range, 5901 int *invert, 5902 int *count) 5903 { 5904 return BCM_E_UNAVAIL; 5905 } 5906 5907 int 5908 bcm_esw_field_qualify_PacketSize( 5909 int unit, 5910 bcm_field_entry_t entry, 5911 uint32 data, 5912 uint32 mask) 5913 { 5914 return BCM_E_UNAVAIL; 5915 } 5916 5917 int 5918 bcm_esw_field_qualify_PacketSize_get( 5919 int unit, 5920 bcm_field_entry_t entry, 5921 uint32 *data, 5922 uint32 *mask) 5923 { 5924 return BCM_E_UNAVAIL; 5925 } 5926 5927 int 5928 bcm_esw_field_qualify_PacketTerminatedBytes( 5929 int unit, 5930 bcm_field_entry_t entry, 5931 uint32 data, 5932 uint32 mask) 5933 { 5934 return BCM_E_UNAVAIL; 5935 } 5936 5937 int 5938 bcm_esw_field_qualify_PacketTerminatedBytes_get( 5939 int unit, 5940 bcm_field_entry_t entry, 5941 uint32 *data, 5942 uint32 *mask) 5943 { 5944 return BCM_E_UNAVAIL; 5945 } 5946 5947 int 5948 bcm_esw_field_qualify_PolicerIntPrio( 5949 int unit, 5950 bcm_field_entry_t entry, 5951 uint8 data, 5952 uint8 mask) 5953 { 5954 return BCM_E_UNAVAIL; 5955 } 5956 5957 int 5958 bcm_esw_field_qualify_PolicerIntPrio_get( 5959 int unit, 5960 bcm_field_entry_t entry, 5961 uint8 *data, 5962 uint8 *mask) 5963 { 5964 return BCM_E_UNAVAIL; 5965 } 5966 5967 int 5968 bcm_esw_field_qualify_PortOrientation( 5969 int unit, 5970 bcm_field_entry_t entry, 5971 uint8 data, 5972 uint8 mask) 5973 { 5974 return BCM_E_UNAVAIL; 5975 } 5976 5977 int 5978 bcm_esw_field_qualify_PortOrientation_get( 5979 int unit, 5980 bcm_field_entry_t entry, 5981 uint8 *data, 5982 uint8 *mask) 5983 { 5984 return BCM_E_UNAVAIL; 5985 } 5986 5987 int 5988 bcm_esw_field_qualify_PreselId( 5989 int unit, 5990 bcm_field_entry_t entry, 5991 uint32 data, 5992 uint32 mask) 5993 { 5994 return BCM_E_UNAVAIL; 5995 } 5996 5997 int 5998 bcm_esw_field_qualify_PreselId_get( 5999 int unit, 6000 bcm_field_entry_t entry, 6001 uint32 *data, 6002 uint32 *mask) 6003 { 6004 return BCM_E_UNAVAIL; 6005 } 6006 6007 int 6008 bcm_esw_field_qualify_Ptch( 6009 int unit, 6010 bcm_field_entry_t entry, 6011 uint8 data, 6012 uint8 mask) 6013 { 6014 return BCM_E_UNAVAIL; 6015 } 6016 6017 int 6018 bcm_esw_field_qualify_Ptch_get( 6019 int unit, 6020 bcm_field_entry_t entry, 6021 uint8 *data, 6022 uint8 *mask) 6023 { 6024 return BCM_E_UNAVAIL; 6025 } 6026 6027 int 6028 bcm_esw_field_qualify_ReplicantAny( 6029 int unit, 6030 bcm_field_entry_t entry, 6031 uint8 data, 6032 uint8 mask) 6033 { 6034 return BCM_E_UNAVAIL; 6035 } 6036 6037 int 6038 bcm_esw_field_qualify_ReplicantAny_get( 6039 int unit, 6040 bcm_field_entry_t entry, 6041 uint8 *data, 6042 uint8 *mask) 6043 { 6044 return BCM_E_UNAVAIL; 6045 } 6046 6047 int 6048 bcm_esw_field_qualify_ReplicantFirst( 6049 int unit, 6050 bcm_field_entry_t entry, 6051 uint8 data, 6052 uint8 mask) 6053 { 6054 return BCM_E_UNAVAIL; 6055 } 6056 6057 int 6058 bcm_esw_field_qualify_ReplicantFirst_get( 6059 int unit, 6060 bcm_field_entry_t entry, 6061 uint8 *data, 6062 uint8 *mask) 6063 { 6064 return BCM_E_UNAVAIL; 6065 } 6066 6067 int 6068 bcm_esw_field_qualify_RxTrapCode( 6069 int unit, 6070 bcm_field_entry_t entry, 6071 bcm_rx_trap_t data) 6072 { 6073 return BCM_E_UNAVAIL; 6074 } 6075 6076 int 6077 bcm_esw_field_qualify_RxTrapCode32( 6078 int unit, 6079 bcm_field_entry_t entry, 6080 uint32 data, 6081 uint32 mask) 6082 { 6083 return BCM_E_UNAVAIL; 6084 } 6085 6086 int 6087 bcm_esw_field_qualify_RxTrapCode32_get( 6088 int unit, 6089 bcm_field_entry_t entry, 6090 uint32 *data, 6091 uint32 *mask) 6092 { 6093 return BCM_E_UNAVAIL; 6094 } 6095 6096 int 6097 bcm_esw_field_qualify_RxTrapCodeForSnoop( 6098 int unit, 6099 bcm_field_entry_t entry, 6100 uint32 data, 6101 uint32 mask) 6102 { 6103 return BCM_E_UNAVAIL; 6104 } 6105 6106 int 6107 bcm_esw_field_qualify_RxTrapCodeForSnoop_get( 6108 int unit, 6109 bcm_field_entry_t entry, 6110 uint32 *data, 6111 uint32 *mask) 6112 { 6113 return BCM_E_UNAVAIL; 6114 } 6115 6116 int 6117 bcm_esw_field_qualify_RxTrapCode_get( 6118 int unit, 6119 bcm_field_entry_t entry, 6120 bcm_rx_trap_t *data) 6121 { 6122 return BCM_E_UNAVAIL; 6123 } 6124 6125 int 6126 bcm_esw_field_qualify_RxTrapData( 6127 int unit, 6128 bcm_field_entry_t entry, 6129 uint32 data, 6130 uint32 mask) 6131 { 6132 return BCM_E_UNAVAIL; 6133 } 6134 6135 int 6136 bcm_esw_field_qualify_RxTrapData_get( 6137 int unit, 6138 bcm_field_entry_t entry, 6139 uint32 *data, 6140 uint32 *mask) 6141 { 6142 return BCM_E_UNAVAIL; 6143 } 6144 6145 int 6146 bcm_esw_field_qualify_RxTrapStrength( 6147 int unit, 6148 bcm_field_entry_t entry, 6149 uint32 data, 6150 uint32 mask) 6151 { 6152 return BCM_E_UNAVAIL; 6153 } 6154 6155 int 6156 bcm_esw_field_qualify_RxTrapStrength_get( 6157 int unit, 6158 bcm_field_entry_t entry, 6159 uint32 *data, 6160 uint32 *mask) 6161 { 6162 return BCM_E_UNAVAIL; 6163 } 6164 6165 int 6166 bcm_esw_field_qualify_SnoopCopy( 6167 int unit, 6168 bcm_field_entry_t entry, 6169 uint8 data, 6170 uint8 mask) 6171 { 6172 return BCM_E_UNAVAIL; 6173 } 6174 6175 int 6176 bcm_esw_field_qualify_SnoopCopy_get( 6177 int unit, 6178 bcm_field_entry_t entry, 6179 uint8 *data, 6180 uint8 *mask) 6181 { 6182 return BCM_E_UNAVAIL; 6183 } 6184 6185 int 6186 bcm_esw_field_qualify_SrcTMPort( 6187 int unit, 6188 bcm_field_entry_t entry, 6189 bcm_port_t data_port, 6190 bcm_port_t mask_port) 6191 { 6192 return BCM_E_UNAVAIL; 6193 } 6194 6195 int 6196 bcm_esw_field_qualify_SrcTMPort_get( 6197 int unit, 6198 bcm_field_entry_t entry, 6199 bcm_port_t *data_port, 6200 bcm_port_t *mask_port) 6201 { 6202 return BCM_E_UNAVAIL; 6203 } 6204 6205 int 6206 bcm_esw_field_qualify_StackingRoute( 6207 int unit, 6208 bcm_field_entry_t entry, 6209 uint32 data, 6210 uint32 mask) 6211 { 6212 return BCM_E_UNAVAIL; 6213 } 6214 6215 int 6216 bcm_esw_field_qualify_StackingRoute_get( 6217 int unit, 6218 bcm_field_entry_t entry, 6219 uint32 *data, 6220 uint32 *mask) 6221 { 6222 return BCM_E_UNAVAIL; 6223 } 6224 6225 int 6226 bcm_esw_field_qualify_StaggeredDirectValue( 6227 int unit, 6228 bcm_field_entry_t entry, 6229 uint32 data, 6230 uint32 mask) 6231 { 6232 return BCM_E_UNAVAIL; 6233 } 6234 6235 int 6236 bcm_esw_field_qualify_StaggeredDirectValue_get( 6237 int unit, 6238 bcm_field_entry_t entry, 6239 uint32 *data, 6240 uint32 *mask) 6241 { 6242 return BCM_E_UNAVAIL; 6243 } 6244 6245 int 6246 bcm_esw_field_qualify_StaggeredPreselProfile0( 6247 int unit, 6248 bcm_field_entry_t entry, 6249 uint32 data, 6250 uint32 mask) 6251 { 6252 return BCM_E_UNAVAIL; 6253 } 6254 6255 int 6256 bcm_esw_field_qualify_StaggeredPreselProfile0_get( 6257 int unit, 6258 bcm_field_entry_t entry, 6259 uint32 *data, 6260 uint32 *mask) 6261 { 6262 return BCM_E_UNAVAIL; 6263 } 6264 6265 int 6266 bcm_esw_field_qualify_StaggeredPreselProfile1( 6267 int unit, 6268 bcm_field_entry_t entry, 6269 uint32 data, 6270 uint32 mask) 6271 { 6272 return BCM_E_UNAVAIL; 6273 } 6274 6275 int 6276 bcm_esw_field_qualify_StaggeredPreselProfile1_get( 6277 int unit, 6278 bcm_field_entry_t entry, 6279 uint32 *data, 6280 uint32 *mask) 6281 { 6282 return BCM_E_UNAVAIL; 6283 } 6284 6285 int 6286 bcm_esw_field_qualify_StaggeredPreselProfile2( 6287 int unit, 6288 bcm_field_entry_t entry, 6289 uint32 data, 6290 uint32 mask) 6291 { 6292 return BCM_E_UNAVAIL; 6293 } 6294 6295 int 6296 bcm_esw_field_qualify_StaggeredPreselProfile2_get( 6297 int unit, 6298 bcm_field_entry_t entry, 6299 uint32 *data, 6300 uint32 *mask) 6301 { 6302 return BCM_E_UNAVAIL; 6303 } 6304 6305 int 6306 bcm_esw_field_qualify_StaggeredPreselProfile3( 6307 int unit, 6308 bcm_field_entry_t entry, 6309 uint32 data, 6310 uint32 mask) 6311 { 6312 return BCM_E_UNAVAIL; 6313 } 6314 6315 int 6316 bcm_esw_field_qualify_StaggeredPreselProfile3_get( 6317 int unit, 6318 bcm_field_entry_t entry, 6319 uint32 *data, 6320 uint32 *mask) 6321 { 6322 return BCM_E_UNAVAIL; 6323 } 6324 6325 int 6326 bcm_esw_field_qualify_StaggeredPreselProfileDirect( 6327 int unit, 6328 bcm_field_entry_t entry, 6329 uint32 data, 6330 uint32 mask) 6331 { 6332 return BCM_E_UNAVAIL; 6333 } 6334 6335 int 6336 bcm_esw_field_qualify_StaggeredPreselProfileDirect_get( 6337 int unit, 6338 bcm_field_entry_t entry, 6339 uint32 *data, 6340 uint32 *mask) 6341 { 6342 return BCM_E_UNAVAIL; 6343 } 6344 6345 int 6346 bcm_esw_field_qualify_StaggeredValue0( 6347 int unit, 6348 bcm_field_entry_t entry, 6349 uint32 data, 6350 uint32 mask) 6351 { 6352 return BCM_E_UNAVAIL; 6353 } 6354 6355 int 6356 bcm_esw_field_qualify_StaggeredValue0_get( 6357 int unit, 6358 bcm_field_entry_t entry, 6359 uint32 *data, 6360 uint32 *mask) 6361 { 6362 return BCM_E_UNAVAIL; 6363 } 6364 6365 int 6366 bcm_esw_field_qualify_StaggeredValue1( 6367 int unit, 6368 bcm_field_entry_t entry, 6369 uint32 data, 6370 uint32 mask) 6371 { 6372 return BCM_E_UNAVAIL; 6373 } 6374 6375 int 6376 bcm_esw_field_qualify_StaggeredValue1_get( 6377 int unit, 6378 bcm_field_entry_t entry, 6379 uint32 *data, 6380 uint32 *mask) 6381 { 6382 return BCM_E_UNAVAIL; 6383 } 6384 6385 int 6386 bcm_esw_field_qualify_StaggeredValue2( 6387 int unit, 6388 bcm_field_entry_t entry, 6389 uint32 data, 6390 uint32 mask) 6391 { 6392 return BCM_E_UNAVAIL; 6393 } 6394 6395 int 6396 bcm_esw_field_qualify_StaggeredValue2_get( 6397 int unit, 6398 bcm_field_entry_t entry, 6399 uint32 *data, 6400 uint32 *mask) 6401 { 6402 return BCM_E_UNAVAIL; 6403 } 6404 6405 int 6406 bcm_esw_field_qualify_StaggeredValue3( 6407 int unit, 6408 bcm_field_entry_t entry, 6409 uint32 data, 6410 uint32 mask) 6411 { 6412 return BCM_E_UNAVAIL; 6413 } 6414 6415 int 6416 bcm_esw_field_qualify_StaggeredValue3_get( 6417 int unit, 6418 bcm_field_entry_t entry, 6419 uint32 *data, 6420 uint32 *mask) 6421 { 6422 return BCM_E_UNAVAIL; 6423 } 6424 6425 int 6426 bcm_esw_field_qualify_TranslatedInnerVlan( 6427 int unit, 6428 bcm_field_entry_t entry, 6429 bcm_vlan_t data, 6430 bcm_vlan_t mask) 6431 { 6432 return BCM_E_UNAVAIL; 6433 } 6434 6435 int 6436 bcm_esw_field_qualify_TranslatedInnerVlanCfi( 6437 int unit, 6438 bcm_field_entry_t entry, 6439 uint8 data, 6440 uint8 mask) 6441 { 6442 return BCM_E_UNAVAIL; 6443 } 6444 6445 int 6446 bcm_esw_field_qualify_TranslatedInnerVlanCfi_get( 6447 int unit, 6448 bcm_field_entry_t entry, 6449 uint8 *data, 6450 uint8 *mask) 6451 { 6452 return BCM_E_UNAVAIL; 6453 } 6454 6455 int 6456 bcm_esw_field_qualify_TranslatedInnerVlanId( 6457 int unit, 6458 bcm_field_entry_t entry, 6459 bcm_vlan_t data, 6460 bcm_vlan_t mask) 6461 { 6462 return BCM_E_UNAVAIL; 6463 } 6464 6465 int 6466 bcm_esw_field_qualify_TranslatedInnerVlanId_get( 6467 int unit, 6468 bcm_field_entry_t entry, 6469 bcm_vlan_t *data, 6470 bcm_vlan_t *mask) 6471 { 6472 return BCM_E_UNAVAIL; 6473 } 6474 6475 int 6476 bcm_esw_field_qualify_TranslatedInnerVlanPri( 6477 int unit, 6478 bcm_field_entry_t entry, 6479 uint8 data, 6480 uint8 mask) 6481 { 6482 return BCM_E_UNAVAIL; 6483 } 6484 6485 int 6486 bcm_esw_field_qualify_TranslatedInnerVlanPri_get( 6487 int unit, 6488 bcm_field_entry_t entry, 6489 uint8 *data, 6490 uint8 *mask) 6491 { 6492 return BCM_E_UNAVAIL; 6493 } 6494 6495 int 6496 bcm_esw_field_qualify_TranslatedInnerVlan_get( 6497 int unit, 6498 bcm_field_entry_t entry, 6499 bcm_vlan_t *data, 6500 bcm_vlan_t *mask) 6501 { 6502 return BCM_E_UNAVAIL; 6503 } 6504 6505 int 6506 bcm_esw_field_qualify_TranslatedOuterVlan( 6507 int unit, 6508 bcm_field_entry_t entry, 6509 bcm_vlan_t data, 6510 bcm_vlan_t mask) 6511 { 6512 return BCM_E_UNAVAIL; 6513 } 6514 6515 int 6516 bcm_esw_field_qualify_TranslatedOuterVlanCfi( 6517 int unit, 6518 bcm_field_entry_t entry, 6519 uint8 data, 6520 uint8 mask) 6521 { 6522 return BCM_E_UNAVAIL; 6523 } 6524 6525 int 6526 bcm_esw_field_qualify_TranslatedOuterVlanCfi_get( 6527 int unit, 6528 bcm_field_entry_t entry, 6529 uint8 *data, 6530 uint8 *mask) 6531 { 6532 return BCM_E_UNAVAIL; 6533 } 6534 6535 int 6536 bcm_esw_field_qualify_TranslatedOuterVlanId( 6537 int unit, 6538 bcm_field_entry_t entry, 6539 bcm_vlan_t data, 6540 bcm_vlan_t mask) 6541 { 6542 return BCM_E_UNAVAIL; 6543 } 6544 6545 int 6546 bcm_esw_field_qualify_TranslatedOuterVlanId_get( 6547 int unit, 6548 bcm_field_entry_t entry, 6549 bcm_vlan_t *data, 6550 bcm_vlan_t *mask) 6551 { 6552 return BCM_E_UNAVAIL; 6553 } 6554 6555 int 6556 bcm_esw_field_qualify_TranslatedOuterVlanPri( 6557 int unit, 6558 bcm_field_entry_t entry, 6559 uint8 data, 6560 uint8 mask) 6561 { 6562 return BCM_E_UNAVAIL; 6563 } 6564 6565 int 6566 bcm_esw_field_qualify_TranslatedOuterVlanPri_get( 6567 int unit, 6568 bcm_field_entry_t entry, 6569 uint8 *data, 6570 uint8 *mask) 6571 { 6572 return BCM_E_UNAVAIL; 6573 } 6574 6575 int 6576 bcm_esw_field_qualify_TranslatedOuterVlan_get( 6577 int unit, 6578 bcm_field_entry_t entry, 6579 bcm_vlan_t *data, 6580 bcm_vlan_t *mask) 6581 { 6582 return BCM_E_UNAVAIL; 6583 } 6584 6585 int 6586 bcm_esw_field_qualify_TrillEgressRbridge( 6587 int unit, 6588 bcm_field_entry_t entry, 6589 uint32 data, 6590 uint32 mask) 6591 { 6592 return BCM_E_UNAVAIL; 6593 } 6594 6595 int 6596 bcm_esw_field_qualify_TrillEgressRbridge_get( 6597 int unit, 6598 bcm_field_entry_t entry, 6599 uint32 *data, 6600 uint32 *mask) 6601 { 6602 return BCM_E_UNAVAIL; 6603 } 6604 6605 int 6606 bcm_esw_field_qualify_TrillHopCount( 6607 int unit, 6608 bcm_field_entry_t entry, 6609 uint8 data, 6610 uint8 mask) 6611 { 6612 return BCM_E_UNAVAIL; 6613 } 6614 6615 int 6616 bcm_esw_field_qualify_TrillHopCount_get( 6617 int unit, 6618 bcm_field_entry_t entry, 6619 uint8 *data, 6620 uint8 *mask) 6621 { 6622 return BCM_E_UNAVAIL; 6623 } 6624 6625 int 6626 bcm_esw_field_qualify_TrillIVersion( 6627 int unit, 6628 bcm_field_entry_t entry, 6629 uint8 data, 6630 uint8 mask) 6631 { 6632 return BCM_E_UNAVAIL; 6633 } 6634 6635 int 6636 bcm_esw_field_qualify_TrillIVersion_get( 6637 int unit, 6638 bcm_field_entry_t entry, 6639 uint8 *data, 6640 uint8 *mask) 6641 { 6642 return BCM_E_UNAVAIL; 6643 } 6644 6645 int 6646 bcm_esw_field_qualify_TrillIngressRbridge( 6647 int unit, 6648 bcm_field_entry_t entry, 6649 uint16 data, 6650 uint16 mask) 6651 { 6652 return BCM_E_UNAVAIL; 6653 } 6654 6655 int 6656 bcm_esw_field_qualify_TrillIngressRbridge_get( 6657 int unit, 6658 bcm_field_entry_t entry, 6659 uint16 *data, 6660 uint16 *mask) 6661 { 6662 return BCM_E_UNAVAIL; 6663 } 6664 6665 int 6666 bcm_esw_field_qualify_TrillMultiDestination( 6667 int unit, 6668 bcm_field_entry_t entry, 6669 uint8 data, 6670 uint8 mask) 6671 { 6672 return BCM_E_UNAVAIL; 6673 } 6674 6675 int 6676 bcm_esw_field_qualify_TrillMultiDestination_get( 6677 int unit, 6678 bcm_field_entry_t entry, 6679 uint8 *data, 6680 uint8 *mask) 6681 { 6682 return BCM_E_UNAVAIL; 6683 } 6684 6685 int 6686 bcm_esw_field_qualify_TrillOpLength( 6687 int unit, 6688 bcm_field_entry_t entry, 6689 uint8 data, 6690 uint8 mask) 6691 { 6692 return BCM_E_UNAVAIL; 6693 } 6694 6695 int 6696 bcm_esw_field_qualify_TrillOpLength_get( 6697 int unit, 6698 bcm_field_entry_t entry, 6699 uint8 *data, 6700 uint8 *mask) 6701 { 6702 return BCM_E_UNAVAIL; 6703 } 6704 6705 int 6706 bcm_esw_field_qualify_TrillPayload( 6707 int unit, 6708 bcm_field_entry_t entry, 6709 uint64 data, 6710 uint64 mask) 6711 { 6712 return BCM_E_UNAVAIL; 6713 } 6714 6715 int 6716 bcm_esw_field_qualify_TrillPayload_get( 6717 int unit, 6718 bcm_field_entry_t entry, 6719 uint64 *data, 6720 uint64 *mask) 6721 { 6722 return BCM_E_UNAVAIL; 6723 } 6724 6725 int 6726 bcm_esw_field_qualify_TrunkHashResult( 6727 int unit, 6728 bcm_field_entry_t entry, 6729 uint32 data, 6730 uint32 mask) 6731 { 6732 return BCM_E_UNAVAIL; 6733 } 6734 6735 int 6736 bcm_esw_field_qualify_TrunkHashResult_get( 6737 int unit, 6738 bcm_field_entry_t entry, 6739 uint32 *data, 6740 uint32 *mask) 6741 { 6742 return BCM_E_UNAVAIL; 6743 } 6744 6745 int 6746 bcm_esw_field_qualify_TunnelId( 6747 int unit, 6748 bcm_field_entry_t entry, 6749 uint32 data, 6750 uint32 mask) 6751 { 6752 return BCM_E_UNAVAIL; 6753 } 6754 6755 int 6756 bcm_esw_field_qualify_TunnelId_get( 6757 int unit, 6758 bcm_field_entry_t entry, 6759 uint32 *data, 6760 uint32 *mask) 6761 { 6762 return BCM_E_UNAVAIL; 6763 } 6764 6765 int 6766 bcm_esw_field_qualify_TunnelTerminatedHit( 6767 int unit, 6768 bcm_field_entry_t entry, 6769 uint8 data, 6770 uint8 mask) 6771 { 6772 return BCM_E_UNAVAIL; 6773 } 6774 6775 int 6776 bcm_esw_field_qualify_TunnelTerminatedHit_get( 6777 int unit, 6778 bcm_field_entry_t entry, 6779 uint8 *data, 6780 uint8 *mask) 6781 { 6782 return BCM_E_UNAVAIL; 6783 } 6784 6785 int 6786 bcm_esw_field_qualify_TunnelTerminatedValue( 6787 int unit, 6788 bcm_field_entry_t entry, 6789 uint64 data, 6790 uint64 mask) 6791 { 6792 return BCM_E_UNAVAIL; 6793 } 6794 6795 int 6796 bcm_esw_field_qualify_TunnelTerminatedValue_get( 6797 int unit, 6798 bcm_field_entry_t entry, 6799 uint64 *data, 6800 uint64 *mask) 6801 { 6802 return BCM_E_UNAVAIL; 6803 } 6804 6805 int 6806 bcm_esw_field_qualify_VPortRangeCheck( 6807 int unit, 6808 bcm_field_entry_t entry, 6809 bcm_field_range_t range, 6810 int invert) 6811 { 6812 return BCM_E_UNAVAIL; 6813 } 6814 6815 int 6816 bcm_esw_field_qualify_VPortRangeCheck_get( 6817 int unit, 6818 bcm_field_entry_t entry, 6819 int max_count, 6820 bcm_field_range_t *range, 6821 int *invert, 6822 int *count) 6823 { 6824 return BCM_E_UNAVAIL; 6825 } 6826 6827 int 6828 bcm_esw_field_qualify_VlanAction( 6829 int unit, 6830 bcm_field_entry_t entry, 6831 uint32 data, 6832 uint32 mask) 6833 { 6834 return BCM_E_UNAVAIL; 6835 } 6836 6837 int 6838 bcm_esw_field_qualify_VlanAction_get( 6839 int unit, 6840 bcm_field_entry_t entry, 6841 uint32 *data, 6842 uint32 *mask) 6843 { 6844 return BCM_E_UNAVAIL; 6845 } 6846 6847 int 6848 bcm_esw_field_qualify_VlanTranslationValue( 6849 int unit, 6850 bcm_field_entry_t entry, 6851 uint64 data, 6852 uint64 mask) 6853 { 6854 return BCM_E_UNAVAIL; 6855 } 6856 6857 int 6858 bcm_esw_field_qualify_VlanTranslationValue_get( 6859 int unit, 6860 bcm_field_entry_t entry, 6861 uint64 *data, 6862 uint64 *mask) 6863 { 6864 return BCM_E_UNAVAIL; 6865 } 6866 6867 int 6868 bcm_esw_field_qualify_VpnUnknownDstMacDstPort( 6869 int unit, 6870 bcm_field_entry_t entry, 6871 bcm_gport_t port_id) 6872 { 6873 return BCM_E_UNAVAIL; 6874 } 6875 6876 int 6877 bcm_esw_field_qualify_VpnUnknownDstMacDstPort_get( 6878 int unit, 6879 bcm_field_entry_t entry, 6880 bcm_gport_t *port_id) 6881 { 6882 return BCM_E_UNAVAIL; 6883 } 6884 6885 int 6886 bcm_esw_field_range_info_get( 6887 int unit, 6888 bcm_field_stage_t stage, 6889 bcm_field_range_t *range_id, 6890 bcm_field_range_info_t *range_info) 6891 { 6892 return BCM_E_UNAVAIL; 6893 } 6894 6895 int 6896 bcm_esw_field_range_multi_create( 6897 int unit, 6898 bcm_field_range_t *range_id, 6899 uint32 create_flags, 6900 int count, 6901 uint32 *range_flags, 6902 uint32 *min_value, 6903 uint32 *max_value) 6904 { 6905 return BCM_E_UNAVAIL; 6906 } 6907 6908 int 6909 bcm_esw_field_range_multi_get( 6910 int unit, 6911 bcm_field_range_t range_id, 6912 int max_count, 6913 uint32 *range_flags, 6914 uint32 *minimum_value, 6915 uint32 *maxamum_value, 6916 int *actual_count) 6917 { 6918 return BCM_E_UNAVAIL; 6919 } 6920 6921 int 6922 bcm_esw_field_range_set( 6923 int unit, 6924 uint32 flags, 6925 bcm_field_stage_t stage, 6926 bcm_field_range_t range_id, 6927 bcm_field_range_info_t *range_info) 6928 { 6929 return BCM_E_UNAVAIL; 6930 } 6931 6932 int 6933 bcm_esw_field_stage_info_get( 6934 int unit, 6935 bcm_field_stage_t stage, 6936 bcm_field_stage_info_t *info) 6937 { 6938 return BCM_E_UNAVAIL; 6939 } 6940 6941 int 6942 bcm_esw_field_tcam_bank_evacuate( 6943 int unit, 6944 uint32 flags, 6945 bcm_field_group_t fg_id, 6946 bcm_field_tcam_bank_evacuate_info_t *evac_info) 6947 { 6948 return BCM_E_UNAVAIL; 6949 } 6950 6951 int 6952 bcm_esw_flowtracker_elephant_action_match_get( 6953 int unit, 6954 bcm_flowtracker_elephant_match_action_t action, 6955 uint32 *match_types, 6956 bcm_flowtracker_elephant_match_data_t *match_data) 6957 { 6958 return BCM_E_UNAVAIL; 6959 } 6960 6961 int 6962 bcm_esw_flowtracker_elephant_action_match_set( 6963 int unit, 6964 bcm_flowtracker_elephant_match_action_t action, 6965 uint32 match_types, 6966 bcm_flowtracker_elephant_match_data_t *match_data) 6967 { 6968 return BCM_E_UNAVAIL; 6969 } 6970 6971 int 6972 bcm_esw_flowtracker_elephant_control_get( 6973 int unit, 6974 bcm_flowtracker_elephant_control_t type, 6975 int *arg) 6976 { 6977 return BCM_E_UNAVAIL; 6978 } 6979 6980 int 6981 bcm_esw_flowtracker_elephant_control_set( 6982 int unit, 6983 bcm_flowtracker_elephant_control_t type, 6984 int arg) 6985 { 6986 return BCM_E_UNAVAIL; 6987 } 6988 6989 int 6990 bcm_esw_flowtracker_elephant_hash_config_get( 6991 int unit, 6992 bcm_flowtracker_elephant_hash_table_t hash_table, 6993 int instance_num, 6994 int bank_num, 6995 bcm_flowtracker_elephant_hash_type_t *hash_type, 6996 int *right_rotate_bits) 6997 { 6998 return BCM_E_UNAVAIL; 6999 } 7000 7001 int 7002 bcm_esw_flowtracker_elephant_hash_config_set( 7003 int unit, 7004 bcm_flowtracker_elephant_hash_table_t hash_table, 7005 int instance_num, 7006 int bank_num, 7007 bcm_flowtracker_elephant_hash_type_t hash_type, 7008 int right_rotate_bits) 7009 { 7010 return BCM_E_UNAVAIL; 7011 } 7012 7013 int 7014 bcm_esw_flowtracker_elephant_int_pri_remap_get( 7015 int unit, 7016 bcm_cos_t int_pri, 7017 bcm_cos_t *new_int_pri) 7018 { 7019 return BCM_E_UNAVAIL; 7020 } 7021 7022 int 7023 bcm_esw_flowtracker_elephant_int_pri_remap_set( 7024 int unit, 7025 bcm_cos_t int_pri, 7026 bcm_cos_t new_int_pri) 7027 { 7028 return BCM_E_UNAVAIL; 7029 } 7030 7031 int 7032 bcm_esw_flowtracker_elephant_stats_get( 7033 int unit, 7034 bcm_flowtracker_elephant_stats_t *stats) 7035 { 7036 return BCM_E_UNAVAIL; 7037 } 7038 7039 int 7040 bcm_esw_flowtracker_elephant_stats_set( 7041 int unit, 7042 bcm_flowtracker_elephant_stats_t *stats) 7043 { 7044 return BCM_E_UNAVAIL; 7045 } 7046 7047 int 7048 bcm_esw_flowtracker_elephant_stats_sync_get( 7049 int unit, 7050 bcm_flowtracker_elephant_stats_t *stats) 7051 { 7052 return BCM_E_UNAVAIL; 7053 } 7054 7055 int 7056 bcm_esw_gport_stat_get( 7057 int unit, 7058 bcm_gport_t gport, 7059 bcm_core_t core_id, 7060 bcm_stat_counter_interface_type_t engine_source, 7061 bcm_stat_pp_info_t *stat_info) 7062 { 7063 return BCM_E_UNAVAIL; 7064 } 7065 7066 int 7067 bcm_esw_gport_stat_set( 7068 int unit, 7069 bcm_gport_t gport, 7070 bcm_core_t core_id, 7071 bcm_stat_counter_interface_type_t engine_source, 7072 bcm_stat_pp_info_t stat_info) 7073 { 7074 return BCM_E_UNAVAIL; 7075 } 7076 7077 int 7078 bcm_esw_init_advanced( 7079 int unit, 7080 bcm_init_advanced_info_t *init_advanced_info) 7081 { 7082 return BCM_E_UNAVAIL; 7083 } 7084 7085 int 7086 bcm_esw_instru_control_get( 7087 int unit, 7088 uint32 flags, 7089 bcm_instru_control_t type, 7090 int *arg) 7091 { 7092 return BCM_E_UNAVAIL; 7093 } 7094 7095 int 7096 bcm_esw_instru_control_set( 7097 int unit, 7098 uint32 flags, 7099 bcm_instru_control_t type, 7100 int arg) 7101 { 7102 return BCM_E_UNAVAIL; 7103 } 7104 7105 int 7106 bcm_esw_instru_eventor_active_get( 7107 int unit, 7108 uint32 flags, 7109 int *out_active) 7110 { 7111 return BCM_E_UNAVAIL; 7112 } 7113 7114 int 7115 bcm_esw_instru_eventor_active_set( 7116 int unit, 7117 uint32 flags, 7118 int active) 7119 { 7120 return BCM_E_UNAVAIL; 7121 } 7122 7123 int 7124 bcm_esw_instru_eventor_builder_get( 7125 int unit, 7126 uint32 flags, 7127 bcm_eventor_builder_id_t builder, 7128 bcm_instru_eventor_builder_conf_t *out_conf) 7129 { 7130 return BCM_E_UNAVAIL; 7131 } 7132 7133 int 7134 bcm_esw_instru_eventor_builder_set( 7135 int unit, 7136 uint32 flags, 7137 bcm_eventor_builder_id_t builder, 7138 bcm_instru_eventor_builder_conf_t *conf) 7139 { 7140 return BCM_E_UNAVAIL; 7141 } 7142 7143 int 7144 bcm_esw_instru_eventor_context_get( 7145 int unit, 7146 uint32 flags, 7147 bcm_eventor_context_id_t context, 7148 bcm_eventor_context_type_t context_type, 7149 bcm_instru_eventor_context_conf_t *out_conf) 7150 { 7151 return BCM_E_UNAVAIL; 7152 } 7153 7154 int 7155 bcm_esw_instru_eventor_context_set( 7156 int unit, 7157 uint32 flags, 7158 bcm_eventor_context_id_t context, 7159 bcm_eventor_context_type_t context_type, 7160 bcm_instru_eventor_context_conf_t *conf) 7161 { 7162 return BCM_E_UNAVAIL; 7163 } 7164 7165 int 7166 bcm_esw_instru_gport_control_get( 7167 int unit, 7168 bcm_gport_t gport, 7169 uint32 flags, 7170 bcm_instru_gport_control_t type, 7171 int *arg) 7172 { 7173 return BCM_E_UNAVAIL; 7174 } 7175 7176 int 7177 bcm_esw_instru_gport_control_set( 7178 int unit, 7179 bcm_gport_t gport, 7180 uint32 flags, 7181 bcm_instru_gport_control_t type, 7182 int arg) 7183 { 7184 return BCM_E_UNAVAIL; 7185 } 7186 7187 int 7188 bcm_esw_instru_ipt_profile_get( 7189 int unit, 7190 uint32 flags, 7191 int ipt_profile, 7192 bcm_instru_ipt_t *config) 7193 { 7194 return BCM_E_UNAVAIL; 7195 } 7196 7197 int 7198 bcm_esw_instru_ipt_profile_set( 7199 int unit, 7200 uint32 flags, 7201 int ipt_profile, 7202 bcm_instru_ipt_t *config) 7203 { 7204 return BCM_E_UNAVAIL; 7205 } 7206 7207 int 7208 bcm_esw_instru_sflow_encap_create( 7209 int unit, 7210 bcm_instru_sflow_encap_info_t *sflow_encap_info) 7211 { 7212 return BCM_E_UNAVAIL; 7213 } 7214 7215 int 7216 bcm_esw_instru_sflow_encap_delete( 7217 int unit, 7218 bcm_instru_sflow_encap_info_t *sflow_encap_info) 7219 { 7220 return BCM_E_UNAVAIL; 7221 } 7222 7223 int 7224 bcm_esw_instru_sflow_encap_get( 7225 int unit, 7226 bcm_instru_sflow_encap_info_t *sflow_encap_info) 7227 { 7228 return BCM_E_UNAVAIL; 7229 } 7230 7231 int 7232 bcm_esw_instru_sflow_encap_traverse( 7233 int unit, 7234 bcm_instru_sflow_encap_traverse_cb cb, 7235 void *user_data) 7236 { 7237 return BCM_E_UNAVAIL; 7238 } 7239 7240 int 7241 bcm_esw_instru_vis_mode_get( 7242 int unit, 7243 bcm_vis_mode_t *mode) 7244 { 7245 return BCM_E_UNAVAIL; 7246 } 7247 7248 int 7249 bcm_esw_instru_vis_mode_set( 7250 int unit, 7251 bcm_vis_mode_t mode) 7252 { 7253 return BCM_E_UNAVAIL; 7254 } 7255 7256 #if defined(INCLUDE_INT) 7257 int 7258 bcm_esw_int_detach( 7259 int unit) 7260 { 7261 return BCM_E_UNAVAIL; 7262 } 7263 #endif 7264 7265 #if defined(INCLUDE_INT) 7266 int 7267 bcm_esw_int_init( 7268 int unit) 7269 { 7270 return BCM_E_UNAVAIL; 7271 } 7272 #endif 7273 7274 #if defined(INCLUDE_INT) 7275 int 7276 bcm_esw_int_turnaround_config_get( 7277 int unit, 7278 bcm_int_turnaround_config_t *config_data) 7279 { 7280 return BCM_E_UNAVAIL; 7281 } 7282 #endif 7283 7284 #if defined(INCLUDE_INT) 7285 int 7286 bcm_esw_int_turnaround_config_set( 7287 int unit, 7288 bcm_int_turnaround_config_t *config_data) 7289 { 7290 return BCM_E_UNAVAIL; 7291 } 7292 #endif 7293 7294 #if defined(INCLUDE_INT) 7295 int 7296 bcm_esw_int_turnaround_stat_get( 7297 int unit, 7298 bcm_int_turnaround_stat_t *stat_data) 7299 { 7300 return BCM_E_UNAVAIL; 7301 } 7302 #endif 7303 7304 int 7305 bcm_esw_ipsec_config_set( 7306 int unit, 7307 bcm_ipsec_config_t *config) 7308 { 7309 return BCM_E_UNAVAIL; 7310 } 7311 7312 int 7313 bcm_esw_ipsec_sa_create( 7314 int unit, 7315 uint32 flags, 7316 uint32 *sa_id, 7317 bcm_ipsec_sa_info_t *sa) 7318 { 7319 return BCM_E_UNAVAIL; 7320 } 7321 7322 int 7323 bcm_esw_ipsec_sa_delete( 7324 int unit, 7325 uint32 flags, 7326 uint32 sa_id) 7327 { 7328 return BCM_E_UNAVAIL; 7329 } 7330 7331 int 7332 bcm_esw_ipsec_sa_key_update( 7333 int unit, 7334 uint32 flags, 7335 uint32 sa_id, 7336 bcm_ipsec_sa_keys_t *sa_keys) 7337 { 7338 return BCM_E_UNAVAIL; 7339 } 7340 7341 int 7342 bcm_esw_ipsec_sa_to_tunnel_map_get( 7343 int unit, 7344 uint32 sa_id, 7345 uint32 *tunnel_id) 7346 { 7347 return BCM_E_UNAVAIL; 7348 } 7349 7350 int 7351 bcm_esw_ipsec_sa_to_tunnel_map_set( 7352 int unit, 7353 uint32 tunnel_id, 7354 uint32 sa_id) 7355 { 7356 return BCM_E_UNAVAIL; 7357 } 7358 7359 int 7360 bcm_esw_ipsec_tunnel_create( 7361 int unit, 7362 uint32 flags, 7363 uint32 *tunnel_id, 7364 bcm_ipsec_tunnel_info_t *tunnel_info) 7365 { 7366 return BCM_E_UNAVAIL; 7367 } 7368 7369 int 7370 bcm_esw_ipsec_tunnel_delete( 7371 int unit, 7372 uint32 flags, 7373 uint32 tunnel_id) 7374 { 7375 return BCM_E_UNAVAIL; 7376 } 7377 7378 int 7379 bcm_esw_l2_addr_by_struct_delete( 7380 int unit, 7381 bcm_l2_addr_t *l2addr) 7382 { 7383 return BCM_E_UNAVAIL; 7384 } 7385 7386 int 7387 bcm_esw_l2_addr_by_struct_get( 7388 int unit, 7389 bcm_l2_addr_t *l2addr) 7390 { 7391 return BCM_E_UNAVAIL; 7392 } 7393 7394 int 7395 bcm_esw_l2_addr_msg_distribute_get( 7396 int unit, 7397 bcm_l2_addr_distribute_t *distribution) 7398 { 7399 return BCM_E_UNAVAIL; 7400 } 7401 7402 int 7403 bcm_esw_l2_addr_msg_distribute_set( 7404 int unit, 7405 bcm_l2_addr_distribute_t *distribution) 7406 { 7407 return BCM_E_UNAVAIL; 7408 } 7409 7410 int 7411 bcm_esw_l2_addr_multi_add( 7412 int unit, 7413 bcm_l2_addr_t *l2addr, 7414 int count) 7415 { 7416 return BCM_E_UNAVAIL; 7417 } 7418 7419 int 7420 bcm_esw_l2_addr_multi_delete( 7421 int unit, 7422 bcm_l2_addr_t *l2addr, 7423 int count) 7424 { 7425 return BCM_E_UNAVAIL; 7426 } 7427 7428 int 7429 bcm_esw_l2_age_timer_meta_cycle_get( 7430 int unit, 7431 int *meta_cycle_time) 7432 { 7433 return BCM_E_UNAVAIL; 7434 } 7435 7436 int 7437 bcm_esw_l2_age_timer_meta_cycle_set( 7438 int unit, 7439 int meta_cycle_time) 7440 { 7441 return BCM_E_UNAVAIL; 7442 } 7443 7444 int 7445 bcm_esw_l2_auth_add( 7446 int unit, 7447 bcm_l2_auth_addr_t *addr) 7448 { 7449 return BCM_E_UNAVAIL; 7450 } 7451 7452 int 7453 bcm_esw_l2_auth_delete( 7454 int unit, 7455 bcm_l2_auth_addr_t *addr) 7456 { 7457 return BCM_E_UNAVAIL; 7458 } 7459 7460 int 7461 bcm_esw_l2_auth_delete_all( 7462 int unit) 7463 { 7464 return BCM_E_UNAVAIL; 7465 } 7466 7467 int 7468 bcm_esw_l2_auth_get( 7469 int unit, 7470 bcm_l2_auth_addr_t *addr) 7471 { 7472 return BCM_E_UNAVAIL; 7473 } 7474 7475 int 7476 bcm_esw_l2_auth_traverse( 7477 int unit, 7478 bcm_l2_auth_traverse_cb trav_fn, 7479 void *user_data) 7480 { 7481 return BCM_E_UNAVAIL; 7482 } 7483 7484 int 7485 bcm_esw_l2_cache_profile_get( 7486 int unit, 7487 int trap_type, 7488 uint32 profile_idx, 7489 uint32 flags, 7490 bcm_l2cp_profile_info_t *l2cp_profile_info) 7491 { 7492 return BCM_E_UNAVAIL; 7493 } 7494 7495 int 7496 bcm_esw_l2_cache_profile_set( 7497 int unit, 7498 int trap_type, 7499 uint32 profile_idx, 7500 uint32 flags, 7501 bcm_l2cp_profile_info_t *l2cp_profile_info) 7502 { 7503 return BCM_E_UNAVAIL; 7504 } 7505 7506 int 7507 bcm_esw_l2_cache_vpn_to_profile_map_get( 7508 int unit, 7509 uint32 vsi, 7510 uint32 *profile_idx) 7511 { 7512 return BCM_E_UNAVAIL; 7513 } 7514 7515 int 7516 bcm_esw_l2_cache_vpn_to_profile_map_set( 7517 int unit, 7518 uint32 vsi, 7519 uint32 profile_idx) 7520 { 7521 return BCM_E_UNAVAIL; 7522 } 7523 7524 int 7525 bcm_esw_l2_egress_create( 7526 int unit, 7527 bcm_l2_egress_t *egr) 7528 { 7529 return BCM_E_UNAVAIL; 7530 } 7531 7532 int 7533 bcm_esw_l2_egress_destroy( 7534 int unit, 7535 bcm_if_t encap_id) 7536 { 7537 return BCM_E_UNAVAIL; 7538 } 7539 7540 int 7541 bcm_esw_l2_egress_find( 7542 int unit, 7543 bcm_l2_egress_t *egr, 7544 bcm_if_t *encap_id) 7545 { 7546 return BCM_E_UNAVAIL; 7547 } 7548 7549 int 7550 bcm_esw_l2_egress_get( 7551 int unit, 7552 bcm_if_t encap_id, 7553 bcm_l2_egress_t *egr) 7554 { 7555 return BCM_E_UNAVAIL; 7556 } 7557 7558 int 7559 bcm_esw_l2_egress_traverse( 7560 int unit, 7561 bcm_l2_egress_traverse_cb trav_fn, 7562 void *user_data) 7563 { 7564 return BCM_E_UNAVAIL; 7565 } 7566 7567 int 7568 bcm_esw_l2_gport_forward_info_get( 7569 int unit, 7570 int gport_id, 7571 bcm_l2_gport_forward_info_t *forward_info) 7572 { 7573 return BCM_E_UNAVAIL; 7574 } 7575 7576 int 7577 bcm_esw_l2_learn_limit_disable( 7578 int unit) 7579 { 7580 return BCM_E_UNAVAIL; 7581 } 7582 7583 int 7584 bcm_esw_l2_learn_limit_enable( 7585 int unit) 7586 { 7587 return BCM_E_UNAVAIL; 7588 } 7589 7590 int 7591 bcm_esw_l2_learn_msgs_config_get( 7592 int unit, 7593 bcm_l2_learn_msgs_config_t *learn_msg_config) 7594 { 7595 return BCM_E_UNAVAIL; 7596 } 7597 7598 int 7599 bcm_esw_l2_learn_msgs_config_set( 7600 int unit, 7601 bcm_l2_learn_msgs_config_t *learn_msg_config) 7602 { 7603 return BCM_E_UNAVAIL; 7604 } 7605 7606 int 7607 bcm_esw_l2_match_masked_traverse( 7608 int unit, 7609 uint32 flags, 7610 bcm_l2_addr_t *match_addr, 7611 bcm_l2_addr_t *mask_addr, 7612 bcm_l2_traverse_cb trav_fn, 7613 void *user_data) 7614 { 7615 return BCM_E_UNAVAIL; 7616 } 7617 7618 int 7619 bcm_esw_l2_replace_match( 7620 int unit, 7621 uint32 flags, 7622 bcm_l2_addr_t *match_addr, 7623 bcm_l2_addr_t *mask_addr, 7624 bcm_l2_addr_t *replace_addr, 7625 bcm_l2_addr_t *replace_mask_addr) 7626 { 7627 return BCM_E_UNAVAIL; 7628 } 7629 7630 int 7631 bcm_esw_l2_stat_enable_set( 7632 int unit, 7633 bcm_l2_addr_t *l2_addr, 7634 int enable) 7635 { 7636 return BCM_E_UNAVAIL; 7637 } 7638 7639 int 7640 bcm_esw_l2_stat_get( 7641 int unit, 7642 bcm_l2_addr_t *l2_addr, 7643 bcm_l2_stat_t stat, 7644 uint64 *val) 7645 { 7646 return BCM_E_UNAVAIL; 7647 } 7648 7649 int 7650 bcm_esw_l2_stat_get32( 7651 int unit, 7652 bcm_l2_addr_t *l2_addr, 7653 bcm_l2_stat_t stat, 7654 uint32 *val) 7655 { 7656 return BCM_E_UNAVAIL; 7657 } 7658 7659 int 7660 bcm_esw_l2_stat_set( 7661 int unit, 7662 bcm_l2_addr_t *l2_addr, 7663 bcm_l2_stat_t stat, 7664 uint64 val) 7665 { 7666 return BCM_E_UNAVAIL; 7667 } 7668 7669 int 7670 bcm_esw_l2_stat_set32( 7671 int unit, 7672 bcm_l2_addr_t *l2_addr, 7673 bcm_l2_stat_t stat, 7674 uint32 val) 7675 { 7676 return BCM_E_UNAVAIL; 7677 } 7678 7679 #if defined(INCLUDE_L3) 7680 int 7681 bcm_esw_l3_egress_arp_traverse( 7682 int unit, 7683 bcm_l3_egress_traverse_cb trav_fn, 7684 void *user_data) 7685 { 7686 return BCM_E_UNAVAIL; 7687 } 7688 #endif 7689 7690 #if defined(INCLUDE_L3) 7691 int 7692 bcm_esw_l3_egress_ecmp_resilient_replace( 7693 int unit, 7694 uint32 flags, 7695 bcm_l3_egress_ecmp_resilient_entry_t *match_entry, 7696 int *num_entries, 7697 bcm_l3_egress_ecmp_resilient_entry_t *replace_entry) 7698 { 7699 return BCM_E_UNAVAIL; 7700 } 7701 #endif 7702 7703 #if defined(INCLUDE_L3) 7704 int 7705 bcm_esw_l3_egress_ecmp_resilient_traverse( 7706 int unit, 7707 uint32 flags, 7708 bcm_l3_egress_ecmp_resilient_entry_t *match_entry, 7709 bcm_l3_egress_ecmp_resilient_traverse_cb trav_fn, 7710 void *user_data) 7711 { 7712 return BCM_E_UNAVAIL; 7713 } 7714 #endif 7715 7716 #if defined(INCLUDE_L3) 7717 int 7718 bcm_esw_l3_vpbr_entry_add( 7719 int unit, 7720 bcm_l3_vpbr_entry_t *entry) 7721 { 7722 return BCM_E_UNAVAIL; 7723 } 7724 #endif 7725 7726 #if defined(INCLUDE_L3) 7727 int 7728 bcm_esw_l3_vpbr_entry_delete( 7729 int unit, 7730 bcm_l3_vpbr_entry_t *entry) 7731 { 7732 return BCM_E_UNAVAIL; 7733 } 7734 #endif 7735 7736 #if defined(INCLUDE_L3) 7737 int 7738 bcm_esw_l3_vpbr_entry_delete_all( 7739 int unit, 7740 bcm_l3_vpbr_entry_t *entry) 7741 { 7742 return BCM_E_UNAVAIL; 7743 } 7744 #endif 7745 7746 #if defined(INCLUDE_L3) 7747 int 7748 bcm_esw_l3_vpbr_entry_get( 7749 int unit, 7750 bcm_l3_vpbr_entry_t *entry) 7751 { 7752 return BCM_E_UNAVAIL; 7753 } 7754 #endif 7755 7756 #if defined(INCLUDE_L3) 7757 int 7758 bcm_esw_l3_vpbr_traverse( 7759 int unit, 7760 uint32 flags, 7761 bcm_l3_vpbr_traverse_cb cb, 7762 void *user_data) 7763 { 7764 return BCM_E_UNAVAIL; 7765 } 7766 #endif 7767 7768 #if defined(INCLUDE_L3) 7769 int 7770 bcm_esw_l3_vrrp_config_add( 7771 int unit, 7772 uint32 flags, 7773 bcm_vlan_t vlan, 7774 uint32 vrid) 7775 { 7776 return BCM_E_UNAVAIL; 7777 } 7778 #endif 7779 7780 #if defined(INCLUDE_L3) 7781 int 7782 bcm_esw_l3_vrrp_config_delete( 7783 int unit, 7784 uint32 flags, 7785 bcm_vlan_t vlan, 7786 uint32 vrid) 7787 { 7788 return BCM_E_UNAVAIL; 7789 } 7790 #endif 7791 7792 #if defined(INCLUDE_L3) 7793 int 7794 bcm_esw_l3_vrrp_config_delete_all( 7795 int unit, 7796 uint32 flags, 7797 bcm_vlan_t vlan) 7798 { 7799 return BCM_E_UNAVAIL; 7800 } 7801 #endif 7802 7803 #if defined(INCLUDE_L3) 7804 int 7805 bcm_esw_l3_vrrp_config_get( 7806 int unit, 7807 uint32 flags, 7808 bcm_vlan_t vlan, 7809 uint32 alloc_size, 7810 uint32 *vrid_array, 7811 uint32 *count) 7812 { 7813 return BCM_E_UNAVAIL; 7814 } 7815 #endif 7816 7817 int 7818 bcm_esw_latency_monitor_config_get( 7819 int unit, 7820 uint8 monitor_id, 7821 bcm_latency_monitor_config_t *config) 7822 { 7823 return BCM_E_UNAVAIL; 7824 } 7825 7826 int 7827 bcm_esw_latency_monitor_config_set( 7828 int unit, 7829 uint8 monitor_id, 7830 bcm_latency_monitor_config_t *config) 7831 { 7832 return BCM_E_UNAVAIL; 7833 } 7834 7835 int 7836 bcm_esw_latency_monitor_cosq_config_get( 7837 int unit, 7838 uint8 monitor_id, 7839 uint8 cosq, 7840 bcm_latency_monitor_cosq_info_t *cosq_info) 7841 { 7842 return BCM_E_UNAVAIL; 7843 } 7844 7845 int 7846 bcm_esw_latency_monitor_cosq_config_set( 7847 int unit, 7848 uint8 monitor_id, 7849 uint8 cosq, 7850 bcm_latency_monitor_cosq_info_t cosq_info) 7851 { 7852 return BCM_E_UNAVAIL; 7853 } 7854 7855 int 7856 bcm_esw_latency_monitor_destroy( 7857 int unit, 7858 uint8 monitor_id) 7859 { 7860 return BCM_E_UNAVAIL; 7861 } 7862 7863 int 7864 bcm_esw_latency_monitor_detach( 7865 int unit) 7866 { 7867 return BCM_E_UNAVAIL; 7868 } 7869 7870 int 7871 bcm_esw_latency_monitor_enable( 7872 int unit, 7873 uint8 monitor_id, 7874 uint8 enable) 7875 { 7876 return BCM_E_UNAVAIL; 7877 } 7878 7879 int 7880 bcm_esw_latency_monitor_histogram_get( 7881 int unit, 7882 uint8 monitor_id, 7883 uint8 cosq, 7884 uint8 byte_counter_flag, 7885 bcm_latency_monitor_histogram_t *histogram) 7886 { 7887 return BCM_E_UNAVAIL; 7888 } 7889 7890 int 7891 bcm_esw_latency_monitor_info_get( 7892 int unit, 7893 uint8 monitor_id, 7894 bcm_latency_monitor_info_t *monitor_info) 7895 { 7896 return BCM_E_UNAVAIL; 7897 } 7898 7899 int 7900 bcm_esw_latency_monitor_init( 7901 int unit) 7902 { 7903 return BCM_E_UNAVAIL; 7904 } 7905 7906 int 7907 bcm_esw_latency_monitor_latency_limit_table_get( 7908 int unit, 7909 uint8 table_size, 7910 uint32 *latency_limit_table) 7911 { 7912 return BCM_E_UNAVAIL; 7913 } 7914 7915 int 7916 bcm_esw_latency_monitor_latency_limit_table_set( 7917 int unit, 7918 uint8 table_size, 7919 uint32 *latency_limit_table) 7920 { 7921 return BCM_E_UNAVAIL; 7922 } 7923 7924 int 7925 bcm_esw_lb_control_get( 7926 int unit, 7927 bcm_lbg_t lbg_id, 7928 bcm_lb_direction_type_t direction, 7929 uint32 flags, 7930 bcm_lb_control_t lb_control, 7931 int *arg) 7932 { 7933 return BCM_E_UNAVAIL; 7934 } 7935 7936 int 7937 bcm_esw_lb_control_set( 7938 int unit, 7939 bcm_lbg_t lbg_id, 7940 bcm_lb_direction_type_t direction, 7941 uint32 flags, 7942 bcm_lb_control_t lb_control, 7943 int arg) 7944 { 7945 return BCM_E_UNAVAIL; 7946 } 7947 7948 int 7949 bcm_esw_lb_enable_get( 7950 int unit, 7951 bcm_lbg_t lbg_id, 7952 uint32 flags, 7953 uint32 *enable) 7954 { 7955 return BCM_E_UNAVAIL; 7956 } 7957 7958 int 7959 bcm_esw_lb_enable_set( 7960 int unit, 7961 bcm_lbg_t lbg_id, 7962 uint32 flags, 7963 uint32 enable) 7964 { 7965 return BCM_E_UNAVAIL; 7966 } 7967 7968 int 7969 bcm_esw_lb_flush_configure_get( 7970 int unit, 7971 bcm_lbg_t lbg_id, 7972 uint32 flags, 7973 bcm_lb_flush_type_t type, 7974 int *arg) 7975 { 7976 return BCM_E_UNAVAIL; 7977 } 7978 7979 int 7980 bcm_esw_lb_flush_configure_set( 7981 int unit, 7982 bcm_lbg_t lbg_id, 7983 uint32 flags, 7984 bcm_lb_flush_type_t type, 7985 int arg) 7986 { 7987 return BCM_E_UNAVAIL; 7988 } 7989 7990 int 7991 bcm_esw_lb_modem_control_get( 7992 int unit, 7993 bcm_modem_t modem_id, 7994 bcm_lb_direction_type_t direction, 7995 uint32 flags, 7996 bcm_lb_modem_control_t modem_control, 7997 int *arg) 7998 { 7999 return BCM_E_UNAVAIL; 8000 } 8001 8002 int 8003 bcm_esw_lb_modem_control_set( 8004 int unit, 8005 bcm_modem_t modem_id, 8006 bcm_lb_direction_type_t direction, 8007 uint32 flags, 8008 bcm_lb_modem_control_t modem_control, 8009 int arg) 8010 { 8011 return BCM_E_UNAVAIL; 8012 } 8013 8014 int 8015 bcm_esw_lb_modem_packet_config_get( 8016 int unit, 8017 bcm_modem_t modem_id, 8018 uint32 flags, 8019 bcm_lb_modem_packet_config_t *packet_config) 8020 { 8021 return BCM_E_UNAVAIL; 8022 } 8023 8024 int 8025 bcm_esw_lb_modem_packet_config_set( 8026 int unit, 8027 bcm_modem_t modem_id, 8028 uint32 flags, 8029 bcm_lb_modem_packet_config_t *packet_config) 8030 { 8031 return BCM_E_UNAVAIL; 8032 } 8033 8034 int 8035 bcm_esw_lb_modem_shaper_get( 8036 int unit, 8037 bcm_modem_t modem_id, 8038 uint32 flags, 8039 bcm_lb_modem_shaper_config_t *shaper) 8040 { 8041 return BCM_E_UNAVAIL; 8042 } 8043 8044 int 8045 bcm_esw_lb_modem_shaper_set( 8046 int unit, 8047 bcm_modem_t modem_id, 8048 uint32 flags, 8049 bcm_lb_modem_shaper_config_t *shaper) 8050 { 8051 return BCM_E_UNAVAIL; 8052 } 8053 8054 int 8055 bcm_esw_lb_modem_stat_get( 8056 int unit, 8057 bcm_modem_t modem_id, 8058 bcm_lb_direction_type_t direction, 8059 uint32 flags, 8060 bcm_lb_modem_stat_val_t type, 8061 uint64 *value) 8062 { 8063 return BCM_E_UNAVAIL; 8064 } 8065 8066 int 8067 bcm_esw_lb_modem_status_get( 8068 int unit, 8069 bcm_modem_t modem_id, 8070 bcm_lb_direction_type_t direction, 8071 uint32 flags, 8072 bcm_lb_modem_status_type_t status_type, 8073 int *value) 8074 { 8075 return BCM_E_UNAVAIL; 8076 } 8077 8078 int 8079 bcm_esw_lb_modem_to_lbg_map_get( 8080 int unit, 8081 bcm_modem_t modem_id, 8082 bcm_lb_direction_type_t direction, 8083 uint32 flags, 8084 bcm_lbg_t *lbg_id) 8085 { 8086 return BCM_E_UNAVAIL; 8087 } 8088 8089 int 8090 bcm_esw_lb_modem_to_lbg_map_set( 8091 int unit, 8092 bcm_modem_t modem_id, 8093 bcm_lb_direction_type_t direction, 8094 uint32 flags, 8095 bcm_lbg_t lbg_id) 8096 { 8097 return BCM_E_UNAVAIL; 8098 } 8099 8100 int 8101 bcm_esw_lb_modem_to_port_map_get( 8102 int unit, 8103 bcm_modem_t modem_id, 8104 uint32 flags, 8105 bcm_gport_t *port) 8106 { 8107 return BCM_E_UNAVAIL; 8108 } 8109 8110 int 8111 bcm_esw_lb_modem_to_port_map_set( 8112 int unit, 8113 bcm_modem_t modem_id, 8114 uint32 flags, 8115 bcm_gport_t port) 8116 { 8117 return BCM_E_UNAVAIL; 8118 } 8119 8120 int 8121 bcm_esw_lb_packet_config_get( 8122 int unit, 8123 uint32 flags, 8124 bcm_lb_packet_config_t *packet_config) 8125 { 8126 return BCM_E_UNAVAIL; 8127 } 8128 8129 int 8130 bcm_esw_lb_packet_config_set( 8131 int unit, 8132 uint32 flags, 8133 bcm_lb_packet_config_t *packet_config) 8134 { 8135 return BCM_E_UNAVAIL; 8136 } 8137 8138 int 8139 bcm_esw_lb_rx_modem_map_get( 8140 int unit, 8141 bcm_lb_rx_modem_map_index_t *map_index, 8142 uint32 flags, 8143 bcm_lb_rx_modem_map_config_t *map_config) 8144 { 8145 return BCM_E_UNAVAIL; 8146 } 8147 8148 int 8149 bcm_esw_lb_rx_modem_map_set( 8150 int unit, 8151 bcm_lb_rx_modem_map_index_t *map_index, 8152 uint32 flags, 8153 bcm_lb_rx_modem_map_config_t *map_config) 8154 { 8155 return BCM_E_UNAVAIL; 8156 } 8157 8158 int 8159 bcm_esw_lb_sequence_number_width_get( 8160 int unit, 8161 bcm_lbg_t lbg_id, 8162 bcm_lb_direction_type_t direction, 8163 uint32 flags, 8164 int *number_width) 8165 { 8166 return BCM_E_UNAVAIL; 8167 } 8168 8169 int 8170 bcm_esw_lb_sequence_number_width_set( 8171 int unit, 8172 bcm_lbg_t lbg_id, 8173 bcm_lb_direction_type_t direction, 8174 uint32 flags, 8175 int number_width) 8176 { 8177 return BCM_E_UNAVAIL; 8178 } 8179 8180 int 8181 bcm_esw_lb_stat_get( 8182 int unit, 8183 bcm_lbg_t lbg_id, 8184 bcm_lb_direction_type_t direction, 8185 uint32 flags, 8186 bcm_lb_stat_val_t type, 8187 uint64 *value) 8188 { 8189 return BCM_E_UNAVAIL; 8190 } 8191 8192 int 8193 bcm_esw_lb_status_get( 8194 int unit, 8195 bcm_lbg_t lbg_id, 8196 bcm_lb_direction_type_t direction, 8197 uint32 flags, 8198 bcm_lb_status_type_t status_type, 8199 int *value) 8200 { 8201 return BCM_E_UNAVAIL; 8202 } 8203 8204 int 8205 bcm_esw_lb_tc_dp_to_priority_config_get( 8206 int unit, 8207 uint32 flags, 8208 bcm_lb_tc_dp_t *tc_dp, 8209 bcm_lb_pkt_pri_t *pkt_pri) 8210 { 8211 return BCM_E_UNAVAIL; 8212 } 8213 8214 int 8215 bcm_esw_lb_tc_dp_to_priority_config_set( 8216 int unit, 8217 uint32 flags, 8218 bcm_lb_tc_dp_t *tc_dp, 8219 bcm_lb_pkt_pri_t *pkt_pri) 8220 { 8221 return BCM_E_UNAVAIL; 8222 } 8223 8224 int 8225 bcm_esw_lb_tx_sched_get( 8226 int unit, 8227 uint32 flags, 8228 int max_lbg_count, 8229 bcm_lb_lbg_weight_t *lbg_weights, 8230 int *lbg_count) 8231 { 8232 return BCM_E_UNAVAIL; 8233 } 8234 8235 int 8236 bcm_esw_lb_tx_sched_set( 8237 int unit, 8238 uint32 flags, 8239 int lbg_count, 8240 bcm_lb_lbg_weight_t *lbg_weights) 8241 { 8242 return BCM_E_UNAVAIL; 8243 } 8244 8245 int 8246 bcm_esw_linkscan_trigger_event_get( 8247 int unit, 8248 bcm_port_t port, 8249 uint32 flags, 8250 bcm_linkscan_trigger_event_t trigger_event, 8251 int *enable) 8252 { 8253 return BCM_E_UNAVAIL; 8254 } 8255 8256 int 8257 bcm_esw_linkscan_trigger_event_set( 8258 int unit, 8259 bcm_port_t port, 8260 uint32 flags, 8261 bcm_linkscan_trigger_event_t trigger_event, 8262 int enable) 8263 { 8264 return BCM_E_UNAVAIL; 8265 } 8266 8267 #if defined(INCLUDE_MACSEC) 8268 #ifdef BCM_ESW_SUPPORT 8269 int 8270 bcm_esw_macsec_event_enable_get( 8271 int unit, 8272 bcm_macsec_event_t t, 8273 int *enable) 8274 { 8275 return bcm_common_macsec_event_enable_get(unit, t, enable); 8276 } 8277 #endif 8278 #endif 8279 8280 #if defined(INCLUDE_MACSEC) 8281 #ifdef BCM_ESW_SUPPORT 8282 int 8283 bcm_esw_macsec_event_enable_set( 8284 int unit, 8285 bcm_macsec_event_t t, 8286 int enable) 8287 { 8288 return bcm_common_macsec_event_enable_set(unit, t, enable); 8289 } 8290 #endif 8291 #endif 8292 8293 #if defined(INCLUDE_MACSEC) 8294 #ifdef BCM_ESW_SUPPORT 8295 int 8296 bcm_esw_macsec_event_register( 8297 int unit, 8298 bcm_macsec_event_cb cb, 8299 void *user_data) 8300 { 8301 return bcm_common_macsec_event_register(unit, cb, user_data); 8302 } 8303 #endif 8304 #endif 8305 8306 #if defined(INCLUDE_MACSEC) 8307 #ifdef BCM_ESW_SUPPORT 8308 int 8309 bcm_esw_macsec_event_unregister( 8310 int unit, 8311 bcm_macsec_event_cb cb) 8312 { 8313 return bcm_common_macsec_event_unregister(unit, cb); 8314 } 8315 #endif 8316 #endif 8317 8318 #if defined(INCLUDE_MACSEC) 8319 #ifdef BCM_ESW_SUPPORT 8320 int 8321 bcm_esw_macsec_flow_create( 8322 int unit, 8323 bcm_port_t port, 8324 uint32 flags, 8325 bcm_macsec_flow_match_t *flow, 8326 bcm_macsec_flow_action_t *action, 8327 int *flowId) 8328 { 8329 return bcm_common_macsec_flow_create(unit, port, flags, flow, action, flowId); 8330 } 8331 #endif 8332 #endif 8333 8334 #if defined(INCLUDE_MACSEC) 8335 #ifdef BCM_ESW_SUPPORT 8336 int 8337 bcm_esw_macsec_flow_destroy( 8338 int unit, 8339 bcm_port_t port, 8340 int flowId) 8341 { 8342 return bcm_common_macsec_flow_destroy(unit, port, flowId); 8343 } 8344 #endif 8345 #endif 8346 8347 #if defined(INCLUDE_MACSEC) 8348 #ifdef BCM_ESW_SUPPORT 8349 int 8350 bcm_esw_macsec_flow_get( 8351 int unit, 8352 bcm_port_t port, 8353 int flowId, 8354 bcm_macsec_flow_match_t *flow, 8355 bcm_macsec_flow_action_t *a) 8356 { 8357 return bcm_common_macsec_flow_get(unit, port, flowId, flow, a); 8358 } 8359 #endif 8360 #endif 8361 8362 #if defined(INCLUDE_MACSEC) 8363 #ifdef BCM_ESW_SUPPORT 8364 int 8365 bcm_esw_macsec_flow_traverse( 8366 int unit, 8367 bcm_port_t port, 8368 bcm_macsec_flow_traverse_cb callbk, 8369 void *user_data) 8370 { 8371 return bcm_common_macsec_flow_traverse(unit, port, callbk, user_data); 8372 } 8373 #endif 8374 #endif 8375 8376 #if defined(INCLUDE_MACSEC) 8377 #ifdef BCM_ESW_SUPPORT 8378 int 8379 bcm_esw_macsec_port_capability_get( 8380 int unit, 8381 bcm_port_t port, 8382 bcm_macsec_port_capability_t *cap) 8383 { 8384 return bcm_common_macsec_port_capability_get(unit, port, cap); 8385 } 8386 #endif 8387 #endif 8388 8389 #if defined(INCLUDE_MACSEC) 8390 #ifdef BCM_ESW_SUPPORT 8391 int 8392 bcm_esw_macsec_port_config_get( 8393 int unit, 8394 bcm_port_t port, 8395 bcm_macsec_port_config_t *cfg) 8396 { 8397 return bcm_common_macsec_port_config_get(unit, port, cfg); 8398 } 8399 #endif 8400 #endif 8401 8402 #if defined(INCLUDE_MACSEC) 8403 #ifdef BCM_ESW_SUPPORT 8404 int 8405 bcm_esw_macsec_port_config_set( 8406 int unit, 8407 bcm_port_t port, 8408 bcm_macsec_port_config_t *cfg) 8409 { 8410 return bcm_common_macsec_port_config_set(unit, port, cfg); 8411 } 8412 #endif 8413 #endif 8414 8415 #if defined(INCLUDE_MACSEC) 8416 #ifdef BCM_ESW_SUPPORT 8417 int 8418 bcm_esw_macsec_port_traverse( 8419 int unit, 8420 bcm_macsec_port_traverse_cb callbk, 8421 void *user_data) 8422 { 8423 return bcm_common_macsec_port_traverse(unit, callbk, user_data); 8424 } 8425 #endif 8426 #endif 8427 8428 #if defined(INCLUDE_MACSEC) 8429 #ifdef BCM_ESW_SUPPORT 8430 int 8431 bcm_esw_macsec_secure_assoc_create( 8432 int unit, 8433 bcm_port_t port, 8434 uint32 flags, 8435 int chanId, 8436 bcm_macsec_secure_assoc_t *assoc, 8437 int *assocId) 8438 { 8439 return bcm_common_macsec_secure_assoc_create(unit, port, flags, chanId, assoc, assocId); 8440 } 8441 #endif 8442 #endif 8443 8444 #if defined(INCLUDE_MACSEC) 8445 #ifdef BCM_ESW_SUPPORT 8446 int 8447 bcm_esw_macsec_secure_assoc_destroy( 8448 int unit, 8449 bcm_port_t port, 8450 int assocId) 8451 { 8452 return bcm_common_macsec_secure_assoc_destroy(unit, port, assocId); 8453 } 8454 #endif 8455 #endif 8456 8457 #if defined(INCLUDE_MACSEC) 8458 #ifdef BCM_ESW_SUPPORT 8459 int 8460 bcm_esw_macsec_secure_assoc_get( 8461 int unit, 8462 bcm_port_t port, 8463 int assocId, 8464 bcm_macsec_secure_assoc_t *assoc, 8465 int *chanId) 8466 { 8467 return bcm_common_macsec_secure_assoc_get(unit, port, assocId, assoc, chanId); 8468 } 8469 #endif 8470 #endif 8471 8472 #if defined(INCLUDE_MACSEC) 8473 #ifdef BCM_ESW_SUPPORT 8474 int 8475 bcm_esw_macsec_secure_assoc_traverse( 8476 int unit, 8477 bcm_port_t port, 8478 int chanId, 8479 bcm_macsec_secure_assoc_traverse_cb cb, 8480 void *user_data) 8481 { 8482 return bcm_common_macsec_secure_assoc_traverse(unit, port, chanId, cb, user_data); 8483 } 8484 #endif 8485 #endif 8486 8487 #if defined(INCLUDE_MACSEC) 8488 #ifdef BCM_ESW_SUPPORT 8489 int 8490 bcm_esw_macsec_secure_chan_create( 8491 int unit, 8492 bcm_port_t port, 8493 uint32 flags, 8494 bcm_macsec_secure_chan_t *chan, 8495 int *chanId) 8496 { 8497 return bcm_common_macsec_secure_chan_create(unit, port, flags, chan, chanId); 8498 } 8499 #endif 8500 #endif 8501 8502 #if defined(INCLUDE_MACSEC) 8503 #ifdef BCM_ESW_SUPPORT 8504 int 8505 bcm_esw_macsec_secure_chan_destroy( 8506 int unit, 8507 bcm_port_t port, 8508 int chanId) 8509 { 8510 return bcm_common_macsec_secure_chan_destroy(unit, port, chanId); 8511 } 8512 #endif 8513 #endif 8514 8515 #if defined(INCLUDE_MACSEC) 8516 #ifdef BCM_ESW_SUPPORT 8517 int 8518 bcm_esw_macsec_secure_chan_get( 8519 int unit, 8520 bcm_port_t port, 8521 int chanId, 8522 bcm_macsec_secure_chan_t *chan) 8523 { 8524 return bcm_common_macsec_secure_chan_get(unit, port, chanId, chan); 8525 } 8526 #endif 8527 #endif 8528 8529 #if defined(INCLUDE_MACSEC) 8530 #ifdef BCM_ESW_SUPPORT 8531 int 8532 bcm_esw_macsec_secure_chan_traverse( 8533 int unit, 8534 bcm_port_t port, 8535 bcm_macsec_chan_traverse_cb calback, 8536 void *user_data) 8537 { 8538 return bcm_common_macsec_secure_chan_traverse(unit, port, calback, user_data); 8539 } 8540 #endif 8541 #endif 8542 8543 #if defined(INCLUDE_MACSEC) 8544 #ifdef BCM_ESW_SUPPORT 8545 int 8546 bcm_esw_macsec_stat_clear( 8547 int unit, 8548 bcm_port_t port) 8549 { 8550 return bcm_common_macsec_stat_clear(unit, port); 8551 } 8552 #endif 8553 #endif 8554 8555 #if defined(INCLUDE_MACSEC) 8556 #ifdef BCM_ESW_SUPPORT 8557 int 8558 bcm_esw_macsec_stat_get( 8559 int unit, 8560 bcm_port_t port, 8561 bcm_macsec_stat_t stat, 8562 int chanId, 8563 int assocId, 8564 uint64 *val) 8565 { 8566 return bcm_common_macsec_stat_get(unit, port, stat, chanId, assocId, val); 8567 } 8568 #endif 8569 #endif 8570 8571 #if defined(INCLUDE_MACSEC) 8572 #ifdef BCM_ESW_SUPPORT 8573 int 8574 bcm_esw_macsec_stat_get32( 8575 int unit, 8576 bcm_port_t port, 8577 bcm_macsec_stat_t stat, 8578 int chanId, 8579 int assocId, 8580 uint32 *val) 8581 { 8582 return bcm_common_macsec_stat_get32(unit, port, stat, chanId, assocId, val); 8583 } 8584 #endif 8585 #endif 8586 8587 #if defined(INCLUDE_MACSEC) 8588 #ifdef BCM_ESW_SUPPORT 8589 int 8590 bcm_esw_macsec_stat_set( 8591 int unit, 8592 bcm_port_t port, 8593 bcm_macsec_stat_t stat, 8594 int chanId, 8595 int assocId, 8596 uint64 val) 8597 { 8598 return bcm_common_macsec_stat_set(unit, port, stat, chanId, assocId, val); 8599 } 8600 #endif 8601 #endif 8602 8603 #if defined(INCLUDE_MACSEC) 8604 #ifdef BCM_ESW_SUPPORT 8605 int 8606 bcm_esw_macsec_stat_set32( 8607 int unit, 8608 bcm_port_t port, 8609 bcm_macsec_stat_t stat, 8610 int chanId, 8611 int assocId, 8612 uint32 val) 8613 { 8614 return bcm_common_macsec_stat_set32(unit, port, stat, chanId, assocId, val); 8615 } 8616 #endif 8617 #endif 8618 8619 int 8620 bcm_esw_mirror_destination_count_command_get( 8621 int unit, 8622 bcm_core_t core_id, 8623 bcm_gport_t mirror_dest_id, 8624 int counter_cmd_id, 8625 uint32 flags, 8626 bcm_mirror_profile_cmd_count_t *mirror_count_info) 8627 { 8628 return BCM_E_UNAVAIL; 8629 } 8630 8631 int 8632 bcm_esw_mirror_destination_count_command_set( 8633 int unit, 8634 bcm_core_t core_id, 8635 bcm_gport_t mirror_dest_id, 8636 int counter_cmd_id, 8637 uint32 flags, 8638 bcm_mirror_profile_cmd_count_t *mirror_count_info) 8639 { 8640 return BCM_E_UNAVAIL; 8641 } 8642 8643 int 8644 bcm_esw_mirror_header_info_get( 8645 int unit, 8646 bcm_gport_t mirror_dest_id, 8647 uint32 *flags, 8648 bcm_mirror_header_info_t *mirror_header_info) 8649 { 8650 return BCM_E_UNAVAIL; 8651 } 8652 8653 int 8654 bcm_esw_mirror_header_info_set( 8655 int unit, 8656 uint32 flags, 8657 bcm_gport_t mirror_dest_id, 8658 bcm_mirror_header_info_t *mirror_header_info) 8659 { 8660 return BCM_E_UNAVAIL; 8661 } 8662 8663 int 8664 bcm_esw_mirror_port_destination_add( 8665 int unit, 8666 bcm_port_t port, 8667 uint32 flags, 8668 bcm_gport_t mirror_dest, 8669 bcm_mirror_options_t options) 8670 { 8671 return BCM_E_UNAVAIL; 8672 } 8673 8674 int 8675 bcm_esw_mirror_port_destination_get( 8676 int unit, 8677 bcm_port_t port, 8678 uint32 flags, 8679 int mirror_dest_size, 8680 bcm_gport_t *mirror_dest, 8681 int *mirror_dest_count, 8682 bcm_mirror_options_t *options) 8683 { 8684 return BCM_E_UNAVAIL; 8685 } 8686 8687 int 8688 bcm_esw_mirror_port_info_get( 8689 int unit, 8690 bcm_port_t port, 8691 uint32 flags, 8692 bcm_mirror_port_info_t *info) 8693 { 8694 return BCM_E_UNAVAIL; 8695 } 8696 8697 int 8698 bcm_esw_mirror_port_info_set( 8699 int unit, 8700 bcm_port_t port, 8701 uint32 flags, 8702 bcm_mirror_port_info_t *info) 8703 { 8704 return BCM_E_UNAVAIL; 8705 } 8706 8707 int 8708 bcm_esw_mirror_port_to_rcy_port_map_get( 8709 int unit, 8710 uint32 flags, 8711 bcm_port_t forward_port, 8712 bcm_mirror_port_to_rcy_map_info_t *rcy_map_info) 8713 { 8714 return BCM_E_UNAVAIL; 8715 } 8716 8717 int 8718 bcm_esw_mirror_port_to_rcy_port_map_set( 8719 int unit, 8720 uint32 flags, 8721 bcm_port_t forward_port, 8722 bcm_mirror_port_to_rcy_map_info_t *rcy_map_info) 8723 { 8724 return BCM_E_UNAVAIL; 8725 } 8726 8727 int 8728 bcm_esw_mirror_port_vlan_dest_add( 8729 int unit, 8730 bcm_port_t port, 8731 bcm_vlan_t vlan, 8732 uint32 flags, 8733 bcm_gport_t destid) 8734 { 8735 return BCM_E_UNAVAIL; 8736 } 8737 8738 int 8739 bcm_esw_mirror_port_vlan_dest_delete( 8740 int unit, 8741 bcm_port_t port, 8742 bcm_vlan_t vlan, 8743 uint32 flags, 8744 bcm_gport_t destid) 8745 { 8746 return BCM_E_UNAVAIL; 8747 } 8748 8749 int 8750 bcm_esw_mirror_port_vlan_dest_delete_all( 8751 int unit, 8752 bcm_port_t port, 8753 bcm_vlan_t vlan, 8754 uint32 flags) 8755 { 8756 return BCM_E_UNAVAIL; 8757 } 8758 8759 int 8760 bcm_esw_mirror_port_vlan_dest_get( 8761 int unit, 8762 bcm_port_t port, 8763 bcm_vlan_t vlan, 8764 uint32 flags, 8765 uint32 mirror_dest_size, 8766 bcm_gport_t *destid, 8767 uint32 *destcount) 8768 { 8769 return BCM_E_UNAVAIL; 8770 } 8771 8772 int 8773 bcm_esw_mirror_port_vlan_destination_add( 8774 int unit, 8775 bcm_port_t port, 8776 bcm_vlan_t vlan, 8777 uint32 flags, 8778 bcm_gport_t destid, 8779 bcm_mirror_options_t options) 8780 { 8781 return BCM_E_UNAVAIL; 8782 } 8783 8784 int 8785 bcm_esw_mirror_port_vlan_destination_get( 8786 int unit, 8787 bcm_port_t port, 8788 bcm_vlan_t vlan, 8789 uint32 flags, 8790 uint32 mirror_dest_size, 8791 bcm_gport_t *destid, 8792 uint32 *destcount, 8793 bcm_mirror_options_t *options) 8794 { 8795 return BCM_E_UNAVAIL; 8796 } 8797 8798 int 8799 bcm_esw_mirror_port_vlan_get( 8800 int unit, 8801 bcm_port_t port, 8802 bcm_vlan_t vlan, 8803 bcm_gport_t *dest_port, 8804 uint32 *flags) 8805 { 8806 return BCM_E_UNAVAIL; 8807 } 8808 8809 int 8810 bcm_esw_mirror_port_vlan_set( 8811 int unit, 8812 bcm_port_t port, 8813 bcm_vlan_t vlan, 8814 bcm_gport_t destport, 8815 uint32 flags) 8816 { 8817 return BCM_E_UNAVAIL; 8818 } 8819 8820 #if defined(INCLUDE_L3) 8821 int 8822 bcm_esw_mpls_esi_encap_add( 8823 int unit, 8824 bcm_mpls_esi_info_t *esi_info) 8825 { 8826 return BCM_E_UNAVAIL; 8827 } 8828 #endif 8829 8830 #if defined(INCLUDE_L3) 8831 int 8832 bcm_esw_mpls_esi_encap_delete( 8833 int unit, 8834 bcm_mpls_esi_info_t *esi_info) 8835 { 8836 return BCM_E_UNAVAIL; 8837 } 8838 #endif 8839 8840 #if defined(INCLUDE_L3) 8841 int 8842 bcm_esw_mpls_esi_encap_get( 8843 int unit, 8844 bcm_mpls_esi_info_t *esi_info) 8845 { 8846 return BCM_E_UNAVAIL; 8847 } 8848 #endif 8849 8850 #if defined(INCLUDE_L3) 8851 int 8852 bcm_esw_mpls_esi_encap_traverse( 8853 int unit, 8854 bcm_mpls_esi_encap_traverse_cb cb, 8855 void *user_data) 8856 { 8857 return BCM_E_UNAVAIL; 8858 } 8859 #endif 8860 8861 #if defined(INCLUDE_L3) 8862 int 8863 bcm_esw_mpls_port_stat_enable_set( 8864 int unit, 8865 bcm_gport_t mpls_port, 8866 int enable) 8867 { 8868 return BCM_E_UNAVAIL; 8869 } 8870 #endif 8871 8872 #if defined(INCLUDE_L3) 8873 int 8874 bcm_esw_mpls_port_stat_get( 8875 int unit, 8876 bcm_gport_t mpls_port, 8877 bcm_cos_t cos, 8878 bcm_mpls_port_stat_t stat, 8879 uint64 *val) 8880 { 8881 return BCM_E_UNAVAIL; 8882 } 8883 #endif 8884 8885 #if defined(INCLUDE_L3) 8886 int 8887 bcm_esw_mpls_port_stat_get32( 8888 int unit, 8889 bcm_gport_t mpls_port, 8890 bcm_cos_t cos, 8891 bcm_mpls_port_stat_t stat, 8892 uint32 *val) 8893 { 8894 return BCM_E_UNAVAIL; 8895 } 8896 #endif 8897 8898 #if defined(INCLUDE_L3) 8899 int 8900 bcm_esw_mpls_port_stat_set( 8901 int unit, 8902 bcm_gport_t mpls_port, 8903 bcm_cos_t cos, 8904 bcm_mpls_port_stat_t stat, 8905 uint64 val) 8906 { 8907 return BCM_E_UNAVAIL; 8908 } 8909 #endif 8910 8911 #if defined(INCLUDE_L3) 8912 int 8913 bcm_esw_mpls_port_stat_set32( 8914 int unit, 8915 bcm_gport_t mpls_port, 8916 bcm_cos_t cos, 8917 bcm_mpls_port_stat_t stat, 8918 uint32 val) 8919 { 8920 return BCM_E_UNAVAIL; 8921 } 8922 #endif 8923 8924 #if defined(INCLUDE_L3) 8925 int 8926 bcm_esw_mpls_port_traverse( 8927 int unit, 8928 bcm_mpls_port_traverse_info_t additional_info, 8929 bcm_mpls_port_traverse_cb trav_fn, 8930 void *user_data) 8931 { 8932 return BCM_E_UNAVAIL; 8933 } 8934 #endif 8935 8936 #if defined(INCLUDE_L3) 8937 int 8938 bcm_esw_mpls_range_action_add( 8939 int unit, 8940 bcm_mpls_label_t label_low, 8941 bcm_mpls_label_t label_high, 8942 bcm_mpls_range_action_t *action) 8943 { 8944 return BCM_E_UNAVAIL; 8945 } 8946 #endif 8947 8948 #if defined(INCLUDE_L3) 8949 int 8950 bcm_esw_mpls_range_action_get( 8951 int unit, 8952 bcm_mpls_label_t label_low, 8953 bcm_mpls_label_t label_high, 8954 bcm_mpls_range_action_t *action) 8955 { 8956 return BCM_E_UNAVAIL; 8957 } 8958 #endif 8959 8960 #if defined(INCLUDE_L3) 8961 int 8962 bcm_esw_mpls_range_action_remove( 8963 int unit, 8964 bcm_mpls_label_t label_low, 8965 bcm_mpls_label_t label_high) 8966 { 8967 return BCM_E_UNAVAIL; 8968 } 8969 #endif 8970 8971 #if defined(INCLUDE_L3) 8972 int 8973 bcm_esw_mpls_tunnel_initiator_create( 8974 int unit, 8975 bcm_if_t intf, 8976 int num_labels, 8977 bcm_mpls_egress_label_t *label_array) 8978 { 8979 return BCM_E_UNAVAIL; 8980 } 8981 #endif 8982 8983 #if defined(INCLUDE_L3) 8984 int 8985 bcm_esw_mpls_tunnel_initiator_traverse( 8986 int unit, 8987 bcm_mpls_tunnel_initiator_traverse_info_t *additional_info, 8988 bcm_mpls_tunnel_initiator_traverse_cb cb, 8989 void *user_data) 8990 { 8991 return BCM_E_UNAVAIL; 8992 } 8993 #endif 8994 8995 #if defined(INCLUDE_L3) 8996 int 8997 bcm_esw_mpls_tunnel_switch_create( 8998 int unit, 8999 bcm_mpls_tunnel_switch_t *info) 9000 { 9001 return BCM_E_UNAVAIL; 9002 } 9003 #endif 9004 9005 int 9006 bcm_esw_multicast_add( 9007 int unit, 9008 bcm_multicast_t group, 9009 uint32 flags, 9010 int nof_replications, 9011 bcm_multicast_replication_t *rep_array) 9012 { 9013 return BCM_E_UNAVAIL; 9014 } 9015 9016 int 9017 bcm_esw_multicast_delete( 9018 int unit, 9019 bcm_multicast_t group, 9020 uint32 flags, 9021 int nof_replications, 9022 bcm_multicast_replication_t *rep_array) 9023 { 9024 return BCM_E_UNAVAIL; 9025 } 9026 9027 int 9028 bcm_esw_multicast_encap_extension_create( 9029 int unit, 9030 uint32 flags, 9031 bcm_if_t *multicast_replication_index, 9032 int encap_extension_count, 9033 bcm_if_t *encap_extension_array) 9034 { 9035 return BCM_E_UNAVAIL; 9036 } 9037 9038 int 9039 bcm_esw_multicast_encap_extension_delete_all( 9040 int unit) 9041 { 9042 return BCM_E_UNAVAIL; 9043 } 9044 9045 int 9046 bcm_esw_multicast_encap_extension_destroy( 9047 int unit, 9048 uint32 flags, 9049 bcm_if_t multicast_replication_index) 9050 { 9051 return BCM_E_UNAVAIL; 9052 } 9053 9054 int 9055 bcm_esw_multicast_encap_extension_get( 9056 int unit, 9057 uint32 flags, 9058 bcm_if_t multicast_replication_index, 9059 int encap_max, 9060 bcm_if_t *encap_extension_array, 9061 int *encap_extension_count) 9062 { 9063 return BCM_E_UNAVAIL; 9064 } 9065 9066 int 9067 bcm_esw_multicast_encap_extension_traverse( 9068 int unit, 9069 bcm_multicast_encap_extension_traverse_cb trav_fn, 9070 void *user_data) 9071 { 9072 return BCM_E_UNAVAIL; 9073 } 9074 9075 int 9076 bcm_esw_multicast_fabric_distribution_get( 9077 int unit, 9078 bcm_multicast_t group, 9079 bcm_fabric_distribution_t *ds_id) 9080 { 9081 return BCM_E_UNAVAIL; 9082 } 9083 9084 int 9085 bcm_esw_multicast_fabric_distribution_set( 9086 int unit, 9087 bcm_multicast_t group, 9088 bcm_fabric_distribution_t ds_id) 9089 { 9090 return BCM_E_UNAVAIL; 9091 } 9092 9093 int 9094 bcm_esw_multicast_get( 9095 int unit, 9096 bcm_multicast_t group, 9097 uint32 flags, 9098 int replication_max, 9099 bcm_multicast_replication_t *out_rep_array, 9100 int *rep_count) 9101 { 9102 return BCM_E_UNAVAIL; 9103 } 9104 9105 int 9106 bcm_esw_multicast_ingress_add( 9107 int unit, 9108 bcm_multicast_t group, 9109 bcm_gport_t port, 9110 bcm_if_t encap_id) 9111 { 9112 return BCM_E_UNAVAIL; 9113 } 9114 9115 int 9116 bcm_esw_multicast_ingress_delete( 9117 int unit, 9118 bcm_multicast_t group, 9119 bcm_gport_t port, 9120 bcm_if_t encap_id) 9121 { 9122 return BCM_E_UNAVAIL; 9123 } 9124 9125 int 9126 bcm_esw_multicast_ingress_delete_all( 9127 int unit, 9128 bcm_multicast_t group) 9129 { 9130 return BCM_E_UNAVAIL; 9131 } 9132 9133 int 9134 bcm_esw_multicast_ingress_get( 9135 int unit, 9136 bcm_multicast_t group, 9137 int port_max, 9138 bcm_gport_t *port_array, 9139 bcm_if_t *encap_id_array, 9140 int *port_count) 9141 { 9142 return BCM_E_UNAVAIL; 9143 } 9144 9145 int 9146 bcm_esw_multicast_ingress_set( 9147 int unit, 9148 bcm_multicast_t group, 9149 int port_count, 9150 bcm_gport_t *port_array, 9151 bcm_if_t *encap_id_array) 9152 { 9153 return BCM_E_UNAVAIL; 9154 } 9155 9156 int 9157 bcm_esw_multicast_set( 9158 int unit, 9159 bcm_multicast_t group, 9160 uint32 flags, 9161 int nof_replications, 9162 bcm_multicast_replication_t *rep_array) 9163 { 9164 return BCM_E_UNAVAIL; 9165 } 9166 9167 int 9168 bcm_esw_multicast_stat_control_get( 9169 int unit, 9170 bcm_core_t core_id, 9171 uint32 flags, 9172 int command_id, 9173 bcm_multicast_stat_control_type_t type, 9174 int *arg) 9175 { 9176 return BCM_E_UNAVAIL; 9177 } 9178 9179 int 9180 bcm_esw_multicast_stat_control_set( 9181 int unit, 9182 bcm_core_t core_id, 9183 uint32 flags, 9184 int command_id, 9185 bcm_multicast_stat_control_type_t type, 9186 int arg) 9187 { 9188 return BCM_E_UNAVAIL; 9189 } 9190 9191 int 9192 bcm_esw_oam_ais_add( 9193 int unit, 9194 bcm_oam_ais_t *ais_ptr) 9195 { 9196 return BCM_E_UNAVAIL; 9197 } 9198 9199 int 9200 bcm_esw_oam_ais_delete( 9201 int unit, 9202 bcm_oam_ais_t *ais_ptr) 9203 { 9204 return BCM_E_UNAVAIL; 9205 } 9206 9207 int 9208 bcm_esw_oam_ais_get( 9209 int unit, 9210 bcm_oam_ais_t *ais_ptr) 9211 { 9212 return BCM_E_UNAVAIL; 9213 } 9214 9215 int 9216 bcm_esw_oam_control_indexed_get( 9217 int unit, 9218 bcm_oam_control_key_t key, 9219 uint64 *arg) 9220 { 9221 return BCM_E_UNAVAIL; 9222 } 9223 9224 int 9225 bcm_esw_oam_control_indexed_set( 9226 int unit, 9227 bcm_oam_control_key_t key, 9228 uint64 arg) 9229 { 9230 return BCM_E_UNAVAIL; 9231 } 9232 9233 int 9234 bcm_esw_oam_lif_profile_get( 9235 int unit, 9236 uint32 flags, 9237 bcm_gport_t gport, 9238 bcm_oam_profile_t *ingress_oam_profile, 9239 bcm_oam_profile_t *egress_oam_profile) 9240 { 9241 return BCM_E_UNAVAIL; 9242 } 9243 9244 int 9245 bcm_esw_oam_lif_profile_set( 9246 int unit, 9247 uint32 flags, 9248 bcm_gport_t gport, 9249 bcm_oam_profile_t ingress_oam_profile, 9250 bcm_oam_profile_t egress_oam_profile) 9251 { 9252 return BCM_E_UNAVAIL; 9253 } 9254 9255 int 9256 bcm_esw_oam_mpls_tp_channel_type_rx_delete( 9257 int unit, 9258 bcm_oam_mpls_tp_channel_type_t channel_type, 9259 int num_values, 9260 int *list_of_values) 9261 { 9262 return BCM_E_UNAVAIL; 9263 } 9264 9265 int 9266 bcm_esw_oam_mpls_tp_channel_type_rx_get( 9267 int unit, 9268 bcm_oam_mpls_tp_channel_type_t channel_type, 9269 int num_values, 9270 int *list_of_values, 9271 int *value_count) 9272 { 9273 return BCM_E_UNAVAIL; 9274 } 9275 9276 int 9277 bcm_esw_oam_mpls_tp_channel_type_rx_set( 9278 int unit, 9279 bcm_oam_mpls_tp_channel_type_t channel_type, 9280 int num_values, 9281 int *list_of_values) 9282 { 9283 return BCM_E_UNAVAIL; 9284 } 9285 9286 int 9287 bcm_esw_oam_mpls_tp_channel_type_tx_delete( 9288 int unit, 9289 bcm_oam_mpls_tp_channel_type_t channel_type, 9290 int value) 9291 { 9292 return BCM_E_UNAVAIL; 9293 } 9294 9295 int 9296 bcm_esw_oam_opcode_map_get( 9297 int unit, 9298 int opcode, 9299 int *profile) 9300 { 9301 return BCM_E_UNAVAIL; 9302 } 9303 9304 int 9305 bcm_esw_oam_opcode_map_set( 9306 int unit, 9307 int opcode, 9308 int profile) 9309 { 9310 return BCM_E_UNAVAIL; 9311 } 9312 9313 int 9314 bcm_esw_oam_performance_event_register( 9315 int unit, 9316 bcm_oam_event_types_t event_types, 9317 bcm_oam_performance_event_cb cb, 9318 void *user_data) 9319 { 9320 return BCM_E_UNAVAIL; 9321 } 9322 9323 int 9324 bcm_esw_oam_performance_event_unregister( 9325 int unit, 9326 bcm_oam_event_types_t event_types, 9327 bcm_oam_performance_event_cb cb) 9328 { 9329 return BCM_E_UNAVAIL; 9330 } 9331 9332 int 9333 bcm_esw_oam_profile_action_get( 9334 int unit, 9335 uint32 flags, 9336 bcm_oam_profile_t profile_id, 9337 bcm_oam_action_key_t *oam_action_key, 9338 bcm_oam_action_result_t *oam_action_result) 9339 { 9340 return BCM_E_UNAVAIL; 9341 } 9342 9343 int 9344 bcm_esw_oam_profile_action_set( 9345 int unit, 9346 uint32 flags, 9347 bcm_oam_profile_t profile_id, 9348 bcm_oam_action_key_t *oam_action_key, 9349 bcm_oam_action_result_t *oam_action_result) 9350 { 9351 return BCM_E_UNAVAIL; 9352 } 9353 9354 int 9355 bcm_esw_oam_profile_create( 9356 int unit, 9357 uint32 flags, 9358 bcm_oam_profile_type_t oam_profile_type, 9359 bcm_oam_profile_t *profile_id) 9360 { 9361 return BCM_E_UNAVAIL; 9362 } 9363 9364 int 9365 bcm_esw_oam_profile_delete( 9366 int unit, 9367 uint32 flags, 9368 bcm_oam_profile_t profile_id) 9369 { 9370 return BCM_E_UNAVAIL; 9371 } 9372 9373 int 9374 bcm_esw_oam_profile_id_get_by_type( 9375 int unit, 9376 uint8 profile_id, 9377 bcm_oam_profile_type_t oam_profile_type, 9378 uint32 *flags, 9379 bcm_oam_profile_t *enc_profile_id) 9380 { 9381 return BCM_E_UNAVAIL; 9382 } 9383 9384 int 9385 bcm_esw_oam_protection_packet_header_get( 9386 int unit, 9387 bcm_pkt_blk_t *packet_header) 9388 { 9389 return BCM_E_UNAVAIL; 9390 } 9391 9392 int 9393 bcm_esw_oam_protection_packet_header_set( 9394 int unit, 9395 bcm_pkt_blk_t *packet_header) 9396 { 9397 return BCM_E_UNAVAIL; 9398 } 9399 9400 int 9401 bcm_esw_oam_psc_add( 9402 int unit, 9403 bcm_oam_psc_t *psc_ptr) 9404 { 9405 return BCM_E_UNAVAIL; 9406 } 9407 9408 int 9409 bcm_esw_oam_psc_delete( 9410 int unit, 9411 bcm_oam_psc_t *psc_ptr) 9412 { 9413 return BCM_E_UNAVAIL; 9414 } 9415 9416 int 9417 bcm_esw_oam_psc_get( 9418 int unit, 9419 bcm_oam_psc_t *psc_ptr) 9420 { 9421 return BCM_E_UNAVAIL; 9422 } 9423 9424 int 9425 bcm_esw_oam_pw_status_add( 9426 int unit, 9427 bcm_oam_pw_status_t *pw_status_ptr) 9428 { 9429 return BCM_E_UNAVAIL; 9430 } 9431 9432 int 9433 bcm_esw_oam_pw_status_delete( 9434 int unit, 9435 bcm_oam_pw_status_t *pw_status_ptr) 9436 { 9437 return BCM_E_UNAVAIL; 9438 } 9439 9440 int 9441 bcm_esw_oam_pw_status_get( 9442 int unit, 9443 bcm_oam_pw_status_t *pw_status_ptr) 9444 { 9445 return BCM_E_UNAVAIL; 9446 } 9447 9448 int 9449 bcm_esw_oam_reflector_encap_create( 9450 int unit, 9451 uint32 flags, 9452 bcm_if_t *encap_id) 9453 { 9454 return BCM_E_UNAVAIL; 9455 } 9456 9457 int 9458 bcm_esw_oam_reflector_encap_destroy( 9459 int unit, 9460 uint32 flags, 9461 bcm_if_t encap_id) 9462 { 9463 return BCM_E_UNAVAIL; 9464 } 9465 9466 int 9467 bcm_esw_oam_sd_sf_detection_add( 9468 int unit, 9469 bcm_oam_sd_sf_detection_t *sd_sf_ptr) 9470 { 9471 return BCM_E_UNAVAIL; 9472 } 9473 9474 int 9475 bcm_esw_oam_sd_sf_detection_delete( 9476 int unit, 9477 bcm_oam_sd_sf_detection_t *sd_sf_ptr) 9478 { 9479 return BCM_E_UNAVAIL; 9480 } 9481 9482 int 9483 bcm_esw_oam_sd_sf_detection_get( 9484 int unit, 9485 bcm_oam_sd_sf_detection_t *sd_sf_ptr) 9486 { 9487 return BCM_E_UNAVAIL; 9488 } 9489 9490 int 9491 bcm_esw_oam_tod_leap_control_get( 9492 int unit, 9493 bcm_oam_timestamp_format_t ts_format, 9494 bcm_oam_tod_leap_control_t *leap_info) 9495 { 9496 return BCM_E_UNAVAIL; 9497 } 9498 9499 int 9500 bcm_esw_oam_tod_leap_control_set( 9501 int unit, 9502 bcm_oam_timestamp_format_t ts_format, 9503 bcm_oam_tod_leap_control_t leap_info) 9504 { 9505 return BCM_E_UNAVAIL; 9506 } 9507 9508 int 9509 bcm_esw_oam_tst_rx_add( 9510 int unit, 9511 bcm_oam_tst_rx_t *tst_ptr) 9512 { 9513 return BCM_E_UNAVAIL; 9514 } 9515 9516 int 9517 bcm_esw_oam_tst_rx_delete( 9518 int unit, 9519 bcm_oam_tst_rx_t *tst_ptr) 9520 { 9521 return BCM_E_UNAVAIL; 9522 } 9523 9524 int 9525 bcm_esw_oam_tst_rx_get( 9526 int unit, 9527 bcm_oam_tst_rx_t *tst_ptr) 9528 { 9529 return BCM_E_UNAVAIL; 9530 } 9531 9532 int 9533 bcm_esw_oam_tst_tx_add( 9534 int unit, 9535 bcm_oam_tst_tx_t *tst_ptr) 9536 { 9537 return BCM_E_UNAVAIL; 9538 } 9539 9540 int 9541 bcm_esw_oam_tst_tx_delete( 9542 int unit, 9543 bcm_oam_tst_tx_t *tst_ptr) 9544 { 9545 return BCM_E_UNAVAIL; 9546 } 9547 9548 int 9549 bcm_esw_oam_tst_tx_get( 9550 int unit, 9551 bcm_oam_tst_tx_t *tst_ptr) 9552 { 9553 return BCM_E_UNAVAIL; 9554 } 9555 9556 int 9557 bcm_esw_oam_y_1711_alarm_add( 9558 int unit, 9559 bcm_oam_y_1711_alarm_t *alarm_ptr) 9560 { 9561 return BCM_E_UNAVAIL; 9562 } 9563 9564 int 9565 bcm_esw_oam_y_1711_alarm_delete( 9566 int unit, 9567 bcm_oam_y_1711_alarm_t *alarm_ptr) 9568 { 9569 return BCM_E_UNAVAIL; 9570 } 9571 9572 int 9573 bcm_esw_oam_y_1711_alarm_get( 9574 int unit, 9575 bcm_oam_y_1711_alarm_t *alarm_ptr) 9576 { 9577 return BCM_E_UNAVAIL; 9578 } 9579 9580 int 9581 bcm_esw_obm_port_max_usage_mode_get( 9582 int unit, 9583 bcm_port_t port, 9584 bcm_obm_max_watermark_mode_t *obm_wm_mode) 9585 { 9586 return BCM_E_UNAVAIL; 9587 } 9588 9589 int 9590 bcm_esw_obm_port_max_usage_mode_set( 9591 int unit, 9592 bcm_port_t port, 9593 bcm_obm_max_watermark_mode_t obm_wm_mode) 9594 { 9595 return BCM_E_UNAVAIL; 9596 } 9597 9598 int 9599 bcm_esw_obm_port_pri_traffic_class_mapping_get( 9600 int unit, 9601 bcm_port_t port, 9602 bcm_obm_lookup_priority_type_t piority_type, 9603 int priority, 9604 bcm_obm_traffic_class_t *obm_tc) 9605 { 9606 return BCM_E_UNAVAIL; 9607 } 9608 9609 int 9610 bcm_esw_obm_port_pri_traffic_class_mapping_set( 9611 int unit, 9612 bcm_port_t port, 9613 bcm_obm_lookup_priority_type_t piority_type, 9614 int priority, 9615 bcm_obm_traffic_class_t obm_tc) 9616 { 9617 return BCM_E_UNAVAIL; 9618 } 9619 9620 int 9621 bcm_esw_obm_traffic_class_pfc_priority_mapping_get( 9622 int unit, 9623 bcm_port_t port, 9624 bcm_obm_traffic_class_t obm_traffic_class, 9625 int max_pri_count, 9626 int *priority_list, 9627 int *pri_count) 9628 { 9629 return BCM_E_UNAVAIL; 9630 } 9631 9632 int 9633 bcm_esw_obm_traffic_class_pfc_priority_mapping_set( 9634 int unit, 9635 bcm_port_t port, 9636 bcm_obm_traffic_class_t obm_traffic_class, 9637 int max_pri_count, 9638 int *priority_list) 9639 { 9640 return BCM_E_UNAVAIL; 9641 } 9642 9643 int 9644 bcm_esw_oob_fc_tx_port_mapping_get( 9645 int unit, 9646 int max_count, 9647 int *port_array, 9648 int *oob_port_array, 9649 int *count) 9650 { 9651 return BCM_E_UNAVAIL; 9652 } 9653 9654 int 9655 bcm_esw_oob_fc_tx_port_mapping_set( 9656 int unit, 9657 int count, 9658 int *port_array, 9659 int *oob_port_array) 9660 { 9661 return BCM_E_UNAVAIL; 9662 } 9663 9664 int 9665 bcm_esw_oob_fc_tx_queue_profile_get( 9666 int unit, 9667 int profile_id, 9668 int max_count, 9669 bcm_oob_fc_tx_queue_config_t *config, 9670 int *count) 9671 { 9672 return BCM_E_UNAVAIL; 9673 } 9674 9675 int 9676 bcm_esw_oob_fc_tx_queue_profile_set( 9677 int unit, 9678 int profile_id, 9679 int count, 9680 bcm_oob_fc_tx_queue_config_t *config) 9681 { 9682 return BCM_E_UNAVAIL; 9683 } 9684 9685 int 9686 bcm_esw_policer_aggregate_group_create( 9687 int unit, 9688 bcm_policer_aggregate_group_info_t *info, 9689 bcm_policer_t *policer_id, 9690 int *npolicers) 9691 { 9692 return BCM_E_UNAVAIL; 9693 } 9694 9695 int 9696 bcm_esw_policer_color_decision_get( 9697 int unit, 9698 bcm_policer_color_decision_t *policer_color_decision) 9699 { 9700 return BCM_E_UNAVAIL; 9701 } 9702 9703 int 9704 bcm_esw_policer_color_decision_set( 9705 int unit, 9706 bcm_policer_color_decision_t *policer_color_decision) 9707 { 9708 return BCM_E_UNAVAIL; 9709 } 9710 9711 int 9712 bcm_esw_policer_color_resolution_get( 9713 int unit, 9714 bcm_policer_color_resolution_t *policer_color_resolution) 9715 { 9716 return BCM_E_UNAVAIL; 9717 } 9718 9719 int 9720 bcm_esw_policer_color_resolution_set( 9721 int unit, 9722 bcm_policer_color_resolution_t *policer_color_resolution) 9723 { 9724 return BCM_E_UNAVAIL; 9725 } 9726 9727 int 9728 bcm_esw_policer_control_get( 9729 int unit, 9730 int flags, 9731 int policer_database_handle, 9732 bcm_policer_control_type_t type, 9733 uint32 *arg) 9734 { 9735 return BCM_E_UNAVAIL; 9736 } 9737 9738 int 9739 bcm_esw_policer_control_set( 9740 int unit, 9741 int flags, 9742 int policer_database_handle, 9743 bcm_policer_control_type_t type, 9744 uint32 arg) 9745 { 9746 return BCM_E_UNAVAIL; 9747 } 9748 9749 int 9750 bcm_esw_policer_database_create( 9751 int unit, 9752 int flags, 9753 int policer_database_handle, 9754 bcm_policer_database_config_t *config) 9755 { 9756 return BCM_E_UNAVAIL; 9757 } 9758 9759 int 9760 bcm_esw_policer_database_destroy( 9761 int unit, 9762 int flags, 9763 int policer_database_handle) 9764 { 9765 return BCM_E_UNAVAIL; 9766 } 9767 9768 int 9769 bcm_esw_policer_database_enable_get( 9770 int unit, 9771 int flags, 9772 int policer_database_handle, 9773 int *enable) 9774 { 9775 return BCM_E_UNAVAIL; 9776 } 9777 9778 int 9779 bcm_esw_policer_database_enable_set( 9780 int unit, 9781 int flags, 9782 int policer_database_handle, 9783 int enable) 9784 { 9785 return BCM_E_UNAVAIL; 9786 } 9787 9788 int 9789 bcm_esw_policer_engine_database_attach( 9790 int unit, 9791 int flags, 9792 bcm_policer_engine_t *engine, 9793 bcm_policer_database_attach_config_t *config) 9794 { 9795 return BCM_E_UNAVAIL; 9796 } 9797 9798 int 9799 bcm_esw_policer_engine_database_detach( 9800 int unit, 9801 int flags, 9802 bcm_policer_engine_t *engine) 9803 { 9804 return BCM_E_UNAVAIL; 9805 } 9806 9807 int 9808 bcm_esw_policer_engine_database_get( 9809 int unit, 9810 int flags, 9811 bcm_policer_engine_t *engine, 9812 bcm_policer_database_attach_config_t *config) 9813 { 9814 return BCM_E_UNAVAIL; 9815 } 9816 9817 int 9818 bcm_esw_policer_expansion_groups_get( 9819 int unit, 9820 int flags, 9821 bcm_core_t core_id, 9822 bcm_policer_expansion_group_t *expansion_group) 9823 { 9824 return BCM_E_UNAVAIL; 9825 } 9826 9827 int 9828 bcm_esw_policer_expansion_groups_set( 9829 int unit, 9830 int flags, 9831 bcm_core_t core_id, 9832 bcm_policer_expansion_group_t *expansion_group) 9833 { 9834 return BCM_E_UNAVAIL; 9835 } 9836 9837 int 9838 bcm_esw_policer_primary_color_resolution_get( 9839 int unit, 9840 int flags, 9841 bcm_policer_primary_color_resolution_key_t *key, 9842 bcm_policer_primary_color_resolution_config_t *config) 9843 { 9844 return BCM_E_UNAVAIL; 9845 } 9846 9847 int 9848 bcm_esw_policer_primary_color_resolution_set( 9849 int unit, 9850 int flags, 9851 bcm_policer_primary_color_resolution_key_t *key, 9852 bcm_policer_primary_color_resolution_config_t *config) 9853 { 9854 return BCM_E_UNAVAIL; 9855 } 9856 9857 int 9858 bcm_esw_policer_stat_enable_get( 9859 int unit, 9860 bcm_policer_t policer_id, 9861 int *enable) 9862 { 9863 return BCM_E_UNAVAIL; 9864 } 9865 9866 int 9867 bcm_esw_policer_stat_enable_set( 9868 int unit, 9869 bcm_policer_t policer_id, 9870 int enable) 9871 { 9872 return BCM_E_UNAVAIL; 9873 } 9874 9875 int 9876 bcm_esw_policer_stat_get( 9877 int unit, 9878 bcm_policer_t policer_id, 9879 bcm_cos_t int_pri, 9880 bcm_policer_stat_t stat, 9881 uint64 *value) 9882 { 9883 return BCM_E_UNAVAIL; 9884 } 9885 9886 int 9887 bcm_esw_policer_stat_get32( 9888 int unit, 9889 bcm_policer_t policer_id, 9890 bcm_cos_t int_pri, 9891 bcm_policer_stat_t stat, 9892 uint32 *value) 9893 { 9894 return BCM_E_UNAVAIL; 9895 } 9896 9897 int 9898 bcm_esw_policer_stat_set( 9899 int unit, 9900 bcm_policer_t policer_id, 9901 bcm_cos_t int_pri, 9902 bcm_policer_stat_t stat, 9903 uint64 value) 9904 { 9905 return BCM_E_UNAVAIL; 9906 } 9907 9908 int 9909 bcm_esw_policer_stat_set32( 9910 int unit, 9911 bcm_policer_t policer_id, 9912 bcm_cos_t int_pri, 9913 bcm_policer_stat_t stat, 9914 uint32 value) 9915 { 9916 return BCM_E_UNAVAIL; 9917 } 9918 9919 int 9920 bcm_esw_port_add( 9921 int unit, 9922 bcm_port_t port, 9923 uint32 flags, 9924 bcm_port_interface_info_t *interface_info, 9925 bcm_port_mapping_info_t *mapping_info) 9926 { 9927 return BCM_E_UNAVAIL; 9928 } 9929 9930 int 9931 bcm_esw_port_congestion_get( 9932 int unit, 9933 bcm_gport_t congestion_port, 9934 bcm_gport_t port, 9935 uint32 flags, 9936 int *channel_id) 9937 { 9938 return BCM_E_UNAVAIL; 9939 } 9940 9941 int 9942 bcm_esw_port_congestion_set( 9943 int unit, 9944 bcm_gport_t congestion_port, 9945 bcm_gport_t port, 9946 uint32 flags, 9947 int channel_id) 9948 { 9949 return BCM_E_UNAVAIL; 9950 } 9951 9952 int 9953 bcm_esw_port_encap_local_get( 9954 int unit, 9955 bcm_gport_t gport, 9956 uint32 flags, 9957 int *encap_local_id) 9958 { 9959 return BCM_E_UNAVAIL; 9960 } 9961 9962 int 9963 bcm_esw_port_encap_map_get( 9964 int unit, 9965 uint32 flags, 9966 bcm_if_t encap_id, 9967 bcm_gport_t *port) 9968 { 9969 return BCM_E_UNAVAIL; 9970 } 9971 9972 int 9973 bcm_esw_port_encap_map_set( 9974 int unit, 9975 uint32 flags, 9976 bcm_if_t encap_id, 9977 bcm_gport_t port) 9978 { 9979 return BCM_E_UNAVAIL; 9980 } 9981 9982 int 9983 bcm_esw_port_extender_mapping_info_get( 9984 int unit, 9985 uint32 flags, 9986 bcm_port_extender_mapping_type_t type, 9987 bcm_port_extender_mapping_info_t *mapping_info) 9988 { 9989 return BCM_E_UNAVAIL; 9990 } 9991 9992 int 9993 bcm_esw_port_extender_mapping_info_set( 9994 int unit, 9995 uint32 flags, 9996 bcm_port_extender_mapping_type_t type, 9997 bcm_port_extender_mapping_info_t *mapping_info) 9998 { 9999 return BCM_E_UNAVAIL; 10000 } 10001 10002 int 10003 bcm_esw_port_flood_group_get( 10004 int unit, 10005 bcm_gport_t port, 10006 uint32 flags, 10007 bcm_port_flood_group_t *flood_groups) 10008 { 10009 return BCM_E_UNAVAIL; 10010 } 10011 10012 int 10013 bcm_esw_port_flood_group_set( 10014 int unit, 10015 bcm_gport_t port, 10016 uint32 flags, 10017 bcm_port_flood_group_t *flood_groups) 10018 { 10019 return BCM_E_UNAVAIL; 10020 } 10021 10022 int 10023 bcm_esw_port_force_dest_get( 10024 int unit, 10025 bcm_gport_t gport, 10026 bcm_port_dest_info_t *dest_info) 10027 { 10028 return BCM_E_UNAVAIL; 10029 } 10030 10031 int 10032 bcm_esw_port_force_dest_set( 10033 int unit, 10034 bcm_gport_t gport, 10035 bcm_port_dest_info_t *dest_info) 10036 { 10037 return BCM_E_UNAVAIL; 10038 } 10039 10040 int 10041 bcm_esw_port_get( 10042 int unit, 10043 bcm_port_t port, 10044 uint32 *flags, 10045 bcm_port_interface_info_t *interface_info, 10046 bcm_port_mapping_info_t *mapping_info) 10047 { 10048 return BCM_E_UNAVAIL; 10049 } 10050 10051 int 10052 bcm_esw_port_ilkn_lane_map_get( 10053 int unit, 10054 int flags, 10055 bcm_port_t port, 10056 int num_of_lanes, 10057 int *lanes) 10058 { 10059 return BCM_E_UNAVAIL; 10060 } 10061 10062 int 10063 bcm_esw_port_ilkn_lane_map_set( 10064 int unit, 10065 int flags, 10066 bcm_port_t port, 10067 int num_of_lanes, 10068 int *lanes) 10069 { 10070 return BCM_E_UNAVAIL; 10071 } 10072 10073 int 10074 bcm_esw_port_ingress_tdm_failover_get( 10075 int unit, 10076 int flag, 10077 bcm_pbmp_t *tdm_enable_pbmp) 10078 { 10079 return BCM_E_UNAVAIL; 10080 } 10081 10082 int 10083 bcm_esw_port_ingress_tdm_failover_set( 10084 int unit, 10085 int flag, 10086 bcm_pbmp_t tdm_enable_pbmp) 10087 { 10088 return BCM_E_UNAVAIL; 10089 } 10090 10091 int 10092 bcm_esw_port_interface_config_get( 10093 int unit, 10094 bcm_port_t port, 10095 bcm_port_interface_config_t *config) 10096 { 10097 return BCM_E_UNAVAIL; 10098 } 10099 10100 int 10101 bcm_esw_port_interface_config_set( 10102 int unit, 10103 bcm_port_t port, 10104 bcm_port_interface_config_t *config) 10105 { 10106 return BCM_E_UNAVAIL; 10107 } 10108 10109 int 10110 bcm_esw_port_internal_get( 10111 int unit, 10112 uint32 flags, 10113 int internal_ports_max, 10114 bcm_gport_t *internal_gport, 10115 int *internal_ports_count) 10116 { 10117 return BCM_E_UNAVAIL; 10118 } 10119 10120 int 10121 bcm_esw_port_l3_encapsulated_mtu_get( 10122 int unit, 10123 bcm_port_t port, 10124 int *size) 10125 { 10126 return BCM_E_UNAVAIL; 10127 } 10128 10129 int 10130 bcm_esw_port_l3_encapsulated_mtu_set( 10131 int unit, 10132 bcm_port_t port, 10133 int size) 10134 { 10135 return BCM_E_UNAVAIL; 10136 } 10137 10138 int 10139 bcm_esw_port_lane_to_serdes_map_get( 10140 int unit, 10141 int flags, 10142 int map_size, 10143 bcm_port_lane_to_serdes_map_t *serdes_map) 10144 { 10145 return BCM_E_UNAVAIL; 10146 } 10147 10148 int 10149 bcm_esw_port_lane_to_serdes_map_set( 10150 int unit, 10151 int flags, 10152 int map_size, 10153 bcm_port_lane_to_serdes_map_t *serdes_map) 10154 { 10155 return BCM_E_UNAVAIL; 10156 } 10157 10158 int 10159 bcm_esw_port_link_state_get( 10160 int unit, 10161 bcm_port_t port, 10162 uint32 flags, 10163 bcm_port_link_state_t *state) 10164 { 10165 return BCM_E_UNAVAIL; 10166 } 10167 10168 int 10169 bcm_esw_port_management_packet_config_get( 10170 int unit, 10171 bcm_port_t port, 10172 bcm_port_management_packet_config_t *config_array, 10173 int max_config, 10174 int *config_count) 10175 { 10176 return BCM_E_UNAVAIL; 10177 } 10178 10179 int 10180 bcm_esw_port_management_packet_config_set( 10181 int unit, 10182 bcm_port_t port, 10183 bcm_port_management_packet_config_t *config) 10184 { 10185 return BCM_E_UNAVAIL; 10186 } 10187 10188 int 10189 bcm_esw_port_nif_priority_get( 10190 int unit, 10191 bcm_gport_t local_port, 10192 uint32 flags, 10193 bcm_port_nif_prio_t *priority, 10194 bcm_pbmp_t *affected_ports) 10195 { 10196 return BCM_E_UNAVAIL; 10197 } 10198 10199 int 10200 bcm_esw_port_nif_priority_set( 10201 int unit, 10202 bcm_gport_t local_port, 10203 uint32 flags, 10204 bcm_port_nif_prio_t *priority, 10205 bcm_pbmp_t *affected_ports) 10206 { 10207 return BCM_E_UNAVAIL; 10208 } 10209 10210 int 10211 bcm_esw_port_pon_info_get( 10212 int unit, 10213 bcm_port_t pon_port, 10214 bcm_port_pon_info_t *info) 10215 { 10216 return BCM_E_UNAVAIL; 10217 } 10218 10219 int 10220 bcm_esw_port_pon_info_set( 10221 int unit, 10222 bcm_port_t pon_port, 10223 bcm_port_pon_info_t *info) 10224 { 10225 return BCM_E_UNAVAIL; 10226 } 10227 10228 int 10229 bcm_esw_port_pon_tunnel_add( 10230 int unit, 10231 bcm_gport_t pon_port, 10232 uint32 flags, 10233 bcm_gport_t *tunnel_port_id) 10234 { 10235 return BCM_E_UNAVAIL; 10236 } 10237 10238 int 10239 bcm_esw_port_pon_tunnel_map_get( 10240 int unit, 10241 bcm_gport_t pon_port, 10242 bcm_tunnel_id_t tunnel_id, 10243 bcm_gport_t *tunnel_port_id) 10244 { 10245 return BCM_E_UNAVAIL; 10246 } 10247 10248 int 10249 bcm_esw_port_pon_tunnel_map_set( 10250 int unit, 10251 bcm_gport_t pon_port, 10252 bcm_tunnel_id_t tunnel_id, 10253 bcm_gport_t tunnel_port_id) 10254 { 10255 return BCM_E_UNAVAIL; 10256 } 10257 10258 int 10259 bcm_esw_port_pon_tunnel_remove( 10260 int unit, 10261 bcm_gport_t tunnel_port_id) 10262 { 10263 return BCM_E_UNAVAIL; 10264 } 10265 10266 int 10267 bcm_esw_port_priority_config_get( 10268 int unit, 10269 bcm_port_t port, 10270 bcm_port_prio_config_t *priority_config) 10271 { 10272 return BCM_E_UNAVAIL; 10273 } 10274 10275 int 10276 bcm_esw_port_priority_config_set( 10277 int unit, 10278 bcm_port_t port, 10279 bcm_port_prio_config_t *port_priority_config) 10280 { 10281 return BCM_E_UNAVAIL; 10282 } 10283 10284 int 10285 bcm_esw_port_remove( 10286 int unit, 10287 bcm_port_t port, 10288 uint32 flags) 10289 { 10290 return BCM_E_UNAVAIL; 10291 } 10292 10293 int 10294 bcm_esw_port_resource_default_get( 10295 int unit, 10296 bcm_gport_t port, 10297 uint32 flags, 10298 bcm_port_resource_t *resource) 10299 { 10300 return BCM_E_UNAVAIL; 10301 } 10302 10303 int 10304 bcm_esw_port_tpid_class_create( 10305 int unit, 10306 uint32 flags, 10307 bcm_port_tag_struct_type_t tag_struct_type, 10308 bcm_port_tag_format_class_t *tag_format_class_id) 10309 { 10310 return BCM_E_UNAVAIL; 10311 } 10312 10313 int 10314 bcm_esw_port_tpid_class_destroy( 10315 int unit, 10316 uint32 flags, 10317 bcm_port_tag_format_class_t tag_format_class_id) 10318 { 10319 return BCM_E_UNAVAIL; 10320 } 10321 10322 int 10323 bcm_esw_port_tpid_class_get( 10324 int unit, 10325 bcm_port_tpid_class_t *tpid_class) 10326 { 10327 return BCM_E_UNAVAIL; 10328 } 10329 10330 int 10331 bcm_esw_port_tpid_class_set( 10332 int unit, 10333 bcm_port_tpid_class_t *tpid_class) 10334 { 10335 return BCM_E_UNAVAIL; 10336 } 10337 10338 int 10339 bcm_esw_port_vlan_dscp_map_get( 10340 int unit, 10341 bcm_port_t port, 10342 bcm_vlan_t vlan, 10343 int dscp, 10344 int *internal_pri, 10345 bcm_color_t *color) 10346 { 10347 return BCM_E_UNAVAIL; 10348 } 10349 10350 int 10351 bcm_esw_port_vlan_dscp_map_set( 10352 int unit, 10353 bcm_port_t port, 10354 bcm_vlan_t vlan, 10355 int dscp, 10356 int internal_pri, 10357 bcm_color_t color) 10358 { 10359 return BCM_E_UNAVAIL; 10360 } 10361 10362 int 10363 bcm_esw_port_vlan_pri_map_get( 10364 int unit, 10365 bcm_port_t port, 10366 bcm_vlan_t vlan, 10367 int pkt_pri, 10368 int cfi, 10369 int *internal_pri, 10370 bcm_color_t *color) 10371 { 10372 return BCM_E_UNAVAIL; 10373 } 10374 10375 int 10376 bcm_esw_port_vlan_pri_map_set( 10377 int unit, 10378 bcm_port_t port, 10379 bcm_vlan_t vlan, 10380 int pkt_pri, 10381 int cfi, 10382 int internal_pri, 10383 bcm_color_t color) 10384 { 10385 return BCM_E_UNAVAIL; 10386 } 10387 10388 int 10389 bcm_esw_port_vlan_priority_mapping_get( 10390 int unit, 10391 bcm_port_t port, 10392 bcm_vlan_t vid, 10393 int pkt_pri, 10394 int cfi, 10395 bcm_priority_mapping_t *pri_map) 10396 { 10397 return BCM_E_UNAVAIL; 10398 } 10399 10400 int 10401 bcm_esw_port_vlan_priority_mapping_set( 10402 int unit, 10403 bcm_port_t port, 10404 bcm_vlan_t vid, 10405 int pkt_pri, 10406 int cfi, 10407 bcm_priority_mapping_t *pri_map) 10408 { 10409 return BCM_E_UNAVAIL; 10410 } 10411 10412 int 10413 bcm_esw_port_vlan_vector_get( 10414 int unit, 10415 bcm_gport_t port_id, 10416 bcm_vlan_vector_t vlan_vec) 10417 { 10418 return BCM_E_UNAVAIL; 10419 } 10420 10421 int 10422 bcm_esw_port_vlan_vector_set( 10423 int unit, 10424 bcm_gport_t port_id, 10425 bcm_vlan_vector_t vlan_vec) 10426 { 10427 return BCM_E_UNAVAIL; 10428 } 10429 10430 int 10431 bcm_esw_port_wide_data_get( 10432 int unit, 10433 bcm_gport_t gport, 10434 uint32 flags, 10435 uint64 *data) 10436 { 10437 return BCM_E_UNAVAIL; 10438 } 10439 10440 int 10441 bcm_esw_port_wide_data_set( 10442 int unit, 10443 bcm_gport_t gport, 10444 uint32 flags, 10445 uint64 data) 10446 { 10447 return BCM_E_UNAVAIL; 10448 } 10449 10450 int 10451 bcm_esw_qos_control_get( 10452 int unit, 10453 bcm_qos_control_type_t type, 10454 int *arg) 10455 { 10456 return BCM_E_UNAVAIL; 10457 } 10458 10459 int 10460 bcm_esw_qos_control_set( 10461 int unit, 10462 bcm_qos_control_type_t type, 10463 int arg) 10464 { 10465 return BCM_E_UNAVAIL; 10466 } 10467 10468 int 10469 bcm_esw_qos_map_control_get( 10470 int unit, 10471 uint32 map_id, 10472 uint32 flags, 10473 bcm_qos_map_control_type_t type, 10474 uint64 *arg) 10475 { 10476 return BCM_E_UNAVAIL; 10477 } 10478 10479 int 10480 bcm_esw_qos_map_control_set( 10481 int unit, 10482 uint32 map_id, 10483 uint32 flags, 10484 bcm_qos_map_control_type_t type, 10485 uint64 arg) 10486 { 10487 return BCM_E_UNAVAIL; 10488 } 10489 10490 int 10491 bcm_esw_qos_map_id_get_by_profile( 10492 int unit, 10493 uint32 flags, 10494 int profile, 10495 int *map_id) 10496 { 10497 return BCM_E_UNAVAIL; 10498 } 10499 10500 int 10501 bcm_esw_rx_mtu_get( 10502 int unit, 10503 bcm_rx_mtu_config_t *config) 10504 { 10505 return BCM_E_UNAVAIL; 10506 } 10507 10508 int 10509 bcm_esw_rx_mtu_profile_get( 10510 int unit, 10511 uint32 flags, 10512 bcm_rx_mtu_profile_key_t *mtu_key, 10513 bcm_rx_mtu_profile_value_t *mtu_value) 10514 { 10515 return BCM_E_UNAVAIL; 10516 } 10517 10518 int 10519 bcm_esw_rx_mtu_profile_set( 10520 int unit, 10521 uint32 flags, 10522 bcm_rx_mtu_profile_key_t *mtu_key, 10523 bcm_rx_mtu_profile_value_t *mtu_value) 10524 { 10525 return BCM_E_UNAVAIL; 10526 } 10527 10528 int 10529 bcm_esw_rx_mtu_set( 10530 int unit, 10531 bcm_rx_mtu_config_t *config) 10532 { 10533 return BCM_E_UNAVAIL; 10534 } 10535 10536 int 10537 bcm_esw_rx_reasons_policer_set( 10538 int unit, 10539 bcm_rx_reasons_t rx_reasons, 10540 bcm_policer_t polid) 10541 { 10542 return BCM_E_UNAVAIL; 10543 } 10544 10545 int 10546 bcm_esw_rx_snoop_create( 10547 int unit, 10548 int flags, 10549 int *snoop_cmnd) 10550 { 10551 return BCM_E_UNAVAIL; 10552 } 10553 10554 int 10555 bcm_esw_rx_snoop_destroy( 10556 int unit, 10557 int flags, 10558 int snoop_cmnd) 10559 { 10560 return BCM_E_UNAVAIL; 10561 } 10562 10563 int 10564 bcm_esw_rx_snoop_get( 10565 int unit, 10566 int snoop_cmnd, 10567 bcm_rx_snoop_config_t *config) 10568 { 10569 return BCM_E_UNAVAIL; 10570 } 10571 10572 int 10573 bcm_esw_rx_snoop_set( 10574 int unit, 10575 int snoop_cmnd, 10576 bcm_rx_snoop_config_t *config) 10577 { 10578 return BCM_E_UNAVAIL; 10579 } 10580 10581 int 10582 bcm_esw_rx_trap_action_profile_clear( 10583 int unit, 10584 bcm_rx_trap_t trap_type) 10585 { 10586 return BCM_E_UNAVAIL; 10587 } 10588 10589 int 10590 bcm_esw_rx_trap_action_profile_get( 10591 int unit, 10592 bcm_rx_trap_t trap_type, 10593 bcm_gport_t *gport) 10594 { 10595 return BCM_E_UNAVAIL; 10596 } 10597 10598 int 10599 bcm_esw_rx_trap_action_profile_set( 10600 int unit, 10601 uint32 flags, 10602 bcm_rx_trap_t trap_type, 10603 bcm_gport_t gport) 10604 { 10605 return BCM_E_UNAVAIL; 10606 } 10607 10608 int 10609 bcm_esw_rx_trap_get( 10610 int unit, 10611 int trap_id, 10612 bcm_rx_trap_config_t *config) 10613 { 10614 return BCM_E_UNAVAIL; 10615 } 10616 10617 int 10618 bcm_esw_rx_trap_lif_get( 10619 int unit, 10620 bcm_rx_trap_lif_config_t *lif_config_p) 10621 { 10622 return BCM_E_UNAVAIL; 10623 } 10624 10625 int 10626 bcm_esw_rx_trap_lif_set( 10627 int unit, 10628 uint32 flags, 10629 bcm_rx_trap_lif_config_t *lif_config_p) 10630 { 10631 return BCM_E_UNAVAIL; 10632 } 10633 10634 int 10635 bcm_esw_rx_trap_prog_get( 10636 int unit, 10637 uint8 prog_index, 10638 bcm_rx_trap_prog_config_t *prog_config_p) 10639 { 10640 return BCM_E_UNAVAIL; 10641 } 10642 10643 int 10644 bcm_esw_rx_trap_prog_set( 10645 int unit, 10646 uint32 flags, 10647 uint8 prog_index, 10648 bcm_rx_trap_prog_config_t *prog_config_p) 10649 { 10650 return BCM_E_UNAVAIL; 10651 } 10652 10653 int 10654 bcm_esw_rx_trap_protocol_clear( 10655 int unit, 10656 bcm_rx_trap_protocol_key_t *key_p) 10657 { 10658 return BCM_E_UNAVAIL; 10659 } 10660 10661 int 10662 bcm_esw_rx_trap_protocol_get( 10663 int unit, 10664 bcm_rx_trap_protocol_key_t *key_p, 10665 bcm_gport_t *trap_gport_p) 10666 { 10667 return BCM_E_UNAVAIL; 10668 } 10669 10670 int 10671 bcm_esw_rx_trap_protocol_profiles_get( 10672 int unit, 10673 bcm_gport_t port, 10674 bcm_rx_trap_protocol_profiles_t *protocol_profiles_p) 10675 { 10676 return BCM_E_UNAVAIL; 10677 } 10678 10679 int 10680 bcm_esw_rx_trap_protocol_profiles_set( 10681 int unit, 10682 bcm_gport_t port, 10683 bcm_rx_trap_protocol_profiles_t *protocol_profiles_p) 10684 { 10685 return BCM_E_UNAVAIL; 10686 } 10687 10688 int 10689 bcm_esw_rx_trap_protocol_set( 10690 int unit, 10691 bcm_rx_trap_protocol_key_t *key_p, 10692 bcm_gport_t trap_gport) 10693 { 10694 return BCM_E_UNAVAIL; 10695 } 10696 10697 int 10698 bcm_esw_rx_trap_set( 10699 int unit, 10700 int trap_id, 10701 bcm_rx_trap_config_t *config) 10702 { 10703 return BCM_E_UNAVAIL; 10704 } 10705 10706 int 10707 bcm_esw_rx_trap_sw_to_hw_id_map_get( 10708 int unit, 10709 uint32 flags, 10710 int sw_trap_id, 10711 int *hw_trap_id) 10712 { 10713 return BCM_E_UNAVAIL; 10714 } 10715 10716 int 10717 bcm_esw_rx_trap_type_create( 10718 int unit, 10719 int flags, 10720 bcm_rx_trap_t type, 10721 int *trap_id) 10722 { 10723 return BCM_E_UNAVAIL; 10724 } 10725 10726 int 10727 bcm_esw_rx_trap_type_destroy( 10728 int unit, 10729 int trap_id) 10730 { 10731 return BCM_E_UNAVAIL; 10732 } 10733 10734 int 10735 bcm_esw_rx_trap_type_from_id_get( 10736 int unit, 10737 int flags, 10738 int trap_id, 10739 bcm_rx_trap_t *trap_type) 10740 { 10741 return BCM_E_UNAVAIL; 10742 } 10743 10744 int 10745 bcm_esw_rx_trap_type_get( 10746 int unit, 10747 int flags, 10748 bcm_rx_trap_t type, 10749 int *trap_id) 10750 { 10751 return BCM_E_UNAVAIL; 10752 } 10753 10754 #ifdef BCM_ESW_SUPPORT 10755 int 10756 bcm_esw_sat_config_get( 10757 int unit, 10758 bcm_sat_config_t *conf) 10759 { 10760 return bcm_common_sat_config_get(unit, conf); 10761 } 10762 #endif 10763 10764 #ifdef BCM_ESW_SUPPORT 10765 int 10766 bcm_esw_sat_config_set( 10767 int unit, 10768 bcm_sat_config_t *conf) 10769 { 10770 return bcm_common_sat_config_set(unit, conf); 10771 } 10772 #endif 10773 10774 #ifdef BCM_ESW_SUPPORT 10775 int 10776 bcm_esw_sat_ctf_availability_config_set( 10777 int unit, 10778 bcm_sat_ctf_t ctf_id, 10779 bcm_sat_ctf_availability_config_t *config) 10780 { 10781 return bcm_common_sat_ctf_availability_config_set(unit, ctf_id, config); 10782 } 10783 #endif 10784 10785 #ifdef BCM_ESW_SUPPORT 10786 int 10787 bcm_esw_sat_ctf_bin_limit_get( 10788 int unit, 10789 int max_bins_count, 10790 bcm_sat_ctf_bin_limit_t *bins, 10791 int *bins_count) 10792 { 10793 return bcm_common_sat_ctf_bin_limit_get(unit, max_bins_count, bins, bins_count); 10794 } 10795 #endif 10796 10797 #ifdef BCM_ESW_SUPPORT 10798 int 10799 bcm_esw_sat_ctf_bin_limit_set( 10800 int unit, 10801 int bins_count, 10802 bcm_sat_ctf_bin_limit_t *bins) 10803 { 10804 return bcm_common_sat_ctf_bin_limit_set(unit, bins_count, bins); 10805 } 10806 #endif 10807 10808 #ifdef BCM_ESW_SUPPORT 10809 int 10810 bcm_esw_sat_ctf_create( 10811 int unit, 10812 uint32 flags, 10813 bcm_sat_ctf_t *ctf_id) 10814 { 10815 return bcm_common_sat_ctf_create(unit, flags, ctf_id); 10816 } 10817 #endif 10818 10819 #ifdef BCM_ESW_SUPPORT 10820 int 10821 bcm_esw_sat_ctf_destroy( 10822 int unit, 10823 bcm_sat_ctf_t ctf_id) 10824 { 10825 return bcm_common_sat_ctf_destroy(unit, ctf_id); 10826 } 10827 #endif 10828 10829 #ifdef BCM_ESW_SUPPORT 10830 int 10831 bcm_esw_sat_ctf_destroy_all( 10832 int unit) 10833 { 10834 return bcm_common_sat_ctf_destroy_all(unit); 10835 } 10836 #endif 10837 10838 #ifdef BCM_ESW_SUPPORT 10839 int 10840 bcm_esw_sat_ctf_identifier_map( 10841 int unit, 10842 bcm_sat_ctf_identifier_t *identifier, 10843 bcm_sat_ctf_t ctf_id) 10844 { 10845 return bcm_common_sat_ctf_identifier_map(unit, identifier, ctf_id); 10846 } 10847 #endif 10848 10849 #ifdef BCM_ESW_SUPPORT 10850 int 10851 bcm_esw_sat_ctf_identifier_unmap( 10852 int unit, 10853 bcm_sat_ctf_identifier_t *identifier) 10854 { 10855 return bcm_common_sat_ctf_identifier_unmap(unit, identifier); 10856 } 10857 #endif 10858 10859 #ifdef BCM_ESW_SUPPORT 10860 int 10861 bcm_esw_sat_ctf_packet_config( 10862 int unit, 10863 bcm_sat_ctf_t ctf_id, 10864 bcm_sat_ctf_packet_info_t *packet_info) 10865 { 10866 return bcm_common_sat_ctf_packet_config(unit, ctf_id, packet_info); 10867 } 10868 #endif 10869 10870 #ifdef BCM_ESW_SUPPORT 10871 int 10872 bcm_esw_sat_ctf_reports_config_set( 10873 int unit, 10874 bcm_sat_ctf_t ctf_id, 10875 bcm_sat_ctf_report_config_t *reports) 10876 { 10877 return bcm_common_sat_ctf_reports_config_set(unit, ctf_id, reports); 10878 } 10879 #endif 10880 10881 #ifdef BCM_ESW_SUPPORT 10882 int 10883 bcm_esw_sat_ctf_stat_config_set( 10884 int unit, 10885 bcm_sat_ctf_t ctf_id, 10886 bcm_sat_ctf_stat_config_t *stat) 10887 { 10888 return bcm_common_sat_ctf_stat_config_set(unit, ctf_id, stat); 10889 } 10890 #endif 10891 10892 #ifdef BCM_ESW_SUPPORT 10893 int 10894 bcm_esw_sat_ctf_stat_get( 10895 int unit, 10896 bcm_sat_ctf_t ctf_id, 10897 uint32 flags, 10898 bcm_sat_ctf_stat_t *stat) 10899 { 10900 return bcm_common_sat_ctf_stat_get(unit, ctf_id, flags, stat); 10901 } 10902 #endif 10903 10904 #ifdef BCM_ESW_SUPPORT 10905 int 10906 bcm_esw_sat_ctf_trap_add( 10907 int unit, 10908 uint32 trap_id) 10909 { 10910 return bcm_common_sat_ctf_trap_add(unit, trap_id); 10911 } 10912 #endif 10913 10914 #ifdef BCM_ESW_SUPPORT 10915 int 10916 bcm_esw_sat_ctf_trap_data_to_session_map( 10917 int unit, 10918 uint32 trap_data, 10919 uint32 trap_data_mask, 10920 uint32 session_id) 10921 { 10922 return bcm_common_sat_ctf_trap_data_to_session_map(unit, trap_data, trap_data_mask, session_id); 10923 } 10924 #endif 10925 10926 #ifdef BCM_ESW_SUPPORT 10927 int 10928 bcm_esw_sat_ctf_trap_data_to_session_unmap( 10929 int unit, 10930 uint32 trap_data, 10931 uint32 trap_data_mask) 10932 { 10933 return bcm_common_sat_ctf_trap_data_to_session_unmap(unit, trap_data, trap_data_mask); 10934 } 10935 #endif 10936 10937 #ifdef BCM_ESW_SUPPORT 10938 int 10939 bcm_esw_sat_ctf_trap_remove( 10940 int unit, 10941 uint32 trap_id) 10942 { 10943 return bcm_common_sat_ctf_trap_remove(unit, trap_id); 10944 } 10945 #endif 10946 10947 #ifdef BCM_ESW_SUPPORT 10948 int 10949 bcm_esw_sat_ctf_trap_remove_all( 10950 int unit) 10951 { 10952 return bcm_common_sat_ctf_trap_remove_all(unit); 10953 } 10954 #endif 10955 10956 #ifdef BCM_ESW_SUPPORT 10957 int 10958 bcm_esw_sat_ctf_traverse( 10959 int unit, 10960 bcm_sat_ctf_traverse_cb cb, 10961 void *user_data) 10962 { 10963 return bcm_common_sat_ctf_traverse(unit, cb, user_data); 10964 } 10965 #endif 10966 10967 #ifdef BCM_ESW_SUPPORT 10968 int 10969 bcm_esw_sat_endpoint_create( 10970 int unit, 10971 bcm_sat_endpoint_info_t *endpoint_info) 10972 { 10973 return bcm_common_sat_endpoint_create(unit, endpoint_info); 10974 } 10975 #endif 10976 10977 #ifdef BCM_ESW_SUPPORT 10978 int 10979 bcm_esw_sat_endpoint_destroy( 10980 int unit, 10981 bcm_sat_endpoint_t endpoint, 10982 uint32 flags) 10983 { 10984 return bcm_common_sat_endpoint_destroy(unit, endpoint, flags); 10985 } 10986 #endif 10987 10988 #ifdef BCM_ESW_SUPPORT 10989 int 10990 bcm_esw_sat_endpoint_destroy_all( 10991 int unit, 10992 uint32 flags) 10993 { 10994 return bcm_common_sat_endpoint_destroy_all(unit, flags); 10995 } 10996 #endif 10997 10998 #ifdef BCM_ESW_SUPPORT 10999 int 11000 bcm_esw_sat_endpoint_get( 11001 int unit, 11002 bcm_sat_endpoint_t endpoint, 11003 uint32 flags, 11004 bcm_sat_endpoint_info_t *endpoint_info) 11005 { 11006 return bcm_common_sat_endpoint_get(unit, endpoint, flags, endpoint_info); 11007 } 11008 #endif 11009 11010 #ifdef BCM_ESW_SUPPORT 11011 int 11012 bcm_esw_sat_endpoint_traverse( 11013 int unit, 11014 uint32 flags, 11015 bcm_sat_endpoint_traverse_cb cb, 11016 void *user_data) 11017 { 11018 return bcm_common_sat_endpoint_traverse(unit, flags, cb, user_data); 11019 } 11020 #endif 11021 11022 #ifdef BCM_ESW_SUPPORT 11023 int 11024 bcm_esw_sat_event_register( 11025 int unit, 11026 bcm_sat_event_type_t event_type, 11027 bcm_sat_event_cb cb, 11028 void *user_data) 11029 { 11030 return bcm_common_sat_event_register(unit, event_type, cb, user_data); 11031 } 11032 #endif 11033 11034 #ifdef BCM_ESW_SUPPORT 11035 int 11036 bcm_esw_sat_event_unregister( 11037 int unit, 11038 bcm_sat_event_type_t event_type, 11039 bcm_sat_event_cb cb) 11040 { 11041 return bcm_common_sat_event_unregister(unit, event_type, cb); 11042 } 11043 #endif 11044 11045 #ifdef BCM_ESW_SUPPORT 11046 int 11047 bcm_esw_sat_gtf_bandwidth_get( 11048 int unit, 11049 bcm_sat_gtf_t gtf_id, 11050 int priority, 11051 bcm_sat_gtf_bandwidth_t *bw) 11052 { 11053 return bcm_common_sat_gtf_bandwidth_get(unit, gtf_id, priority, bw); 11054 } 11055 #endif 11056 11057 #ifdef BCM_ESW_SUPPORT 11058 int 11059 bcm_esw_sat_gtf_bandwidth_set( 11060 int unit, 11061 bcm_sat_gtf_t gtf_id, 11062 int priority, 11063 bcm_sat_gtf_bandwidth_t *bw) 11064 { 11065 return bcm_common_sat_gtf_bandwidth_set(unit, gtf_id, priority, bw); 11066 } 11067 #endif 11068 11069 #ifdef BCM_ESW_SUPPORT 11070 int 11071 bcm_esw_sat_gtf_create( 11072 int unit, 11073 uint32 flags, 11074 bcm_sat_gtf_t *gtf_id) 11075 { 11076 return bcm_common_sat_gtf_create(unit, flags, gtf_id); 11077 } 11078 #endif 11079 11080 #ifdef BCM_ESW_SUPPORT 11081 int 11082 bcm_esw_sat_gtf_destroy( 11083 int unit, 11084 bcm_sat_gtf_t gtf_id) 11085 { 11086 return bcm_common_sat_gtf_destroy(unit, gtf_id); 11087 } 11088 #endif 11089 11090 #ifdef BCM_ESW_SUPPORT 11091 int 11092 bcm_esw_sat_gtf_destroy_all( 11093 int unit) 11094 { 11095 return bcm_common_sat_gtf_destroy_all(unit); 11096 } 11097 #endif 11098 11099 #ifdef BCM_ESW_SUPPORT 11100 int 11101 bcm_esw_sat_gtf_packet_config( 11102 int unit, 11103 bcm_sat_gtf_t gtf_id, 11104 bcm_sat_gtf_packet_config_t *config) 11105 { 11106 return bcm_common_sat_gtf_packet_config(unit, gtf_id, config); 11107 } 11108 #endif 11109 11110 int 11111 bcm_esw_sat_gtf_packet_config_get( 11112 int unit, 11113 bcm_sat_gtf_t gtf_id, 11114 bcm_sat_gtf_packet_config_t *config) 11115 { 11116 return BCM_E_UNAVAIL; 11117 } 11118 11119 int 11120 bcm_esw_sat_gtf_packet_config_set( 11121 int unit, 11122 bcm_sat_gtf_t gtf_id, 11123 bcm_sat_gtf_packet_config_t *config) 11124 { 11125 return BCM_E_UNAVAIL; 11126 } 11127 11128 #ifdef BCM_ESW_SUPPORT 11129 int 11130 bcm_esw_sat_gtf_packet_start( 11131 int unit, 11132 bcm_sat_gtf_t gtf_id, 11133 bcm_sat_gtf_pri_t priority) 11134 { 11135 return bcm_common_sat_gtf_packet_start(unit, gtf_id, priority); 11136 } 11137 #endif 11138 11139 #ifdef BCM_ESW_SUPPORT 11140 int 11141 bcm_esw_sat_gtf_packet_stop( 11142 int unit, 11143 bcm_sat_gtf_t gtf_id, 11144 bcm_sat_gtf_pri_t priority) 11145 { 11146 return bcm_common_sat_gtf_packet_stop(unit, gtf_id, priority); 11147 } 11148 #endif 11149 11150 #ifdef BCM_ESW_SUPPORT 11151 int 11152 bcm_esw_sat_gtf_rate_pattern_get( 11153 int unit, 11154 bcm_sat_gtf_t gtf_id, 11155 int priority, 11156 bcm_sat_gtf_rate_pattern_t *config) 11157 { 11158 return bcm_common_sat_gtf_rate_pattern_get(unit, gtf_id, priority, config); 11159 } 11160 #endif 11161 11162 #ifdef BCM_ESW_SUPPORT 11163 int 11164 bcm_esw_sat_gtf_rate_pattern_set( 11165 int unit, 11166 bcm_sat_gtf_t gtf_id, 11167 int priority, 11168 bcm_sat_gtf_rate_pattern_t *config) 11169 { 11170 return bcm_common_sat_gtf_rate_pattern_set(unit, gtf_id, priority, config); 11171 } 11172 #endif 11173 11174 #ifdef BCM_ESW_SUPPORT 11175 int 11176 bcm_esw_sat_gtf_stat_get( 11177 int unit, 11178 bcm_sat_gtf_t gtf_id, 11179 int priority, 11180 uint32 flags, 11181 bcm_sat_gtf_stat_counter_t type, 11182 uint64 *value) 11183 { 11184 return bcm_common_sat_gtf_stat_get(unit, gtf_id, priority, flags, type, value); 11185 } 11186 #endif 11187 11188 int 11189 bcm_esw_sat_gtf_stat_multi_get( 11190 int unit, 11191 bcm_sat_gtf_t gtf_id, 11192 bcm_sat_gtf_stat_multi_t *stat) 11193 { 11194 return BCM_E_UNAVAIL; 11195 } 11196 11197 #ifdef BCM_ESW_SUPPORT 11198 int 11199 bcm_esw_sat_gtf_traverse( 11200 int unit, 11201 bcm_sat_gtf_traverse_cb cb, 11202 void *user_data) 11203 { 11204 return bcm_common_sat_gtf_traverse(unit, cb, user_data); 11205 } 11206 #endif 11207 11208 int 11209 bcm_esw_srv6_sid_initiator_create( 11210 int unit, 11211 bcm_srv6_sid_initiator_info_t *info) 11212 { 11213 return BCM_E_UNAVAIL; 11214 } 11215 11216 int 11217 bcm_esw_srv6_sid_initiator_delete( 11218 int unit, 11219 bcm_srv6_sid_initiator_info_t *info) 11220 { 11221 return BCM_E_UNAVAIL; 11222 } 11223 11224 int 11225 bcm_esw_srv6_sid_initiator_get( 11226 int unit, 11227 bcm_srv6_sid_initiator_info_t *info) 11228 { 11229 return BCM_E_UNAVAIL; 11230 } 11231 11232 int 11233 bcm_esw_srv6_sid_initiator_traverse( 11234 int unit, 11235 bcm_srv6_sid_initiator_traverse_info_t additional_info, 11236 bcm_srv6_sid_initiator_traverse_cb cb, 11237 void *user_data) 11238 { 11239 return BCM_E_UNAVAIL; 11240 } 11241 11242 int 11243 bcm_esw_srv6_srh_base_initiator_create( 11244 int unit, 11245 bcm_srv6_srh_base_initiator_info_t *info) 11246 { 11247 return BCM_E_UNAVAIL; 11248 } 11249 11250 int 11251 bcm_esw_srv6_srh_base_initiator_delete( 11252 int unit, 11253 bcm_srv6_srh_base_initiator_info_t *info) 11254 { 11255 return BCM_E_UNAVAIL; 11256 } 11257 11258 int 11259 bcm_esw_srv6_srh_base_initiator_get( 11260 int unit, 11261 bcm_srv6_srh_base_initiator_info_t *info) 11262 { 11263 return BCM_E_UNAVAIL; 11264 } 11265 11266 int 11267 bcm_esw_srv6_srh_base_initiator_traverse( 11268 int unit, 11269 bcm_srv6_srh_base_initiator_traverse_info_t additional_info, 11270 bcm_srv6_srh_base_initiator_traverse_cb cb, 11271 void *user_data) 11272 { 11273 return BCM_E_UNAVAIL; 11274 } 11275 11276 int 11277 bcm_esw_srv6_terminator_next_protocol_add( 11278 int unit, 11279 bcm_srv6_terminator_next_protocol_mapping_t *info) 11280 { 11281 return BCM_E_UNAVAIL; 11282 } 11283 11284 int 11285 bcm_esw_srv6_terminator_next_protocol_delete( 11286 int unit, 11287 bcm_srv6_terminator_next_protocol_mapping_t *info) 11288 { 11289 return BCM_E_UNAVAIL; 11290 } 11291 11292 int 11293 bcm_esw_srv6_terminator_next_protocol_get( 11294 int unit, 11295 bcm_srv6_terminator_next_protocol_mapping_t *info) 11296 { 11297 return BCM_E_UNAVAIL; 11298 } 11299 11300 int 11301 bcm_esw_srv6_terminator_next_protocol_traverse( 11302 int unit, 11303 bcm_srv6_terminator_next_protocol_traverse_info_t additional_info, 11304 bcm_srv6_terminator_next_protocol_traverse_cb cb, 11305 void *user_data) 11306 { 11307 return BCM_E_UNAVAIL; 11308 } 11309 11310 int 11311 bcm_esw_stat_control_get( 11312 int unit, 11313 int flags, 11314 bcm_stat_control_t type, 11315 int *arg) 11316 { 11317 return BCM_E_UNAVAIL; 11318 } 11319 11320 int 11321 bcm_esw_stat_control_set( 11322 int unit, 11323 int flags, 11324 bcm_stat_control_t type, 11325 int arg) 11326 { 11327 return BCM_E_UNAVAIL; 11328 } 11329 11330 int 11331 bcm_esw_stat_counter_config_get( 11332 int unit, 11333 bcm_stat_counter_engine_t *engine, 11334 bcm_stat_counter_config_t *config) 11335 { 11336 return BCM_E_UNAVAIL; 11337 } 11338 11339 int 11340 bcm_esw_stat_counter_config_set( 11341 int unit, 11342 bcm_stat_counter_engine_t *engine, 11343 bcm_stat_counter_config_t *config) 11344 { 11345 return BCM_E_UNAVAIL; 11346 } 11347 11348 int 11349 bcm_esw_stat_counter_database_control_get( 11350 int unit, 11351 uint32 flags, 11352 bcm_stat_counter_database_t *database, 11353 bcm_stat_counter_database_control_t control, 11354 uint32 *arg) 11355 { 11356 return BCM_E_UNAVAIL; 11357 } 11358 11359 int 11360 bcm_esw_stat_counter_database_control_set( 11361 int unit, 11362 uint32 flags, 11363 bcm_stat_counter_database_t *database, 11364 bcm_stat_counter_database_control_t control, 11365 uint32 arg) 11366 { 11367 return BCM_E_UNAVAIL; 11368 } 11369 11370 int 11371 bcm_esw_stat_counter_database_create( 11372 int unit, 11373 uint32 flags, 11374 bcm_core_t core_id, 11375 int *database_id) 11376 { 11377 return BCM_E_UNAVAIL; 11378 } 11379 11380 int 11381 bcm_esw_stat_counter_database_destroy( 11382 int unit, 11383 uint32 flags, 11384 bcm_stat_counter_database_t *database) 11385 { 11386 return BCM_E_UNAVAIL; 11387 } 11388 11389 int 11390 bcm_esw_stat_counter_database_enable_get( 11391 int unit, 11392 uint32 flags, 11393 bcm_stat_counter_database_t *database, 11394 bcm_stat_counter_enable_t *enable) 11395 { 11396 return BCM_E_UNAVAIL; 11397 } 11398 11399 int 11400 bcm_esw_stat_counter_database_enable_set( 11401 int unit, 11402 uint32 flags, 11403 bcm_stat_counter_database_t *database, 11404 bcm_stat_counter_enable_t *enable) 11405 { 11406 return BCM_E_UNAVAIL; 11407 } 11408 11409 int 11410 bcm_esw_stat_counter_engine_attach( 11411 int unit, 11412 uint32 flags, 11413 bcm_stat_counter_database_t *database, 11414 int engine_id) 11415 { 11416 return BCM_E_UNAVAIL; 11417 } 11418 11419 int 11420 bcm_esw_stat_counter_engine_control_get( 11421 int unit, 11422 uint32 flags, 11423 bcm_stat_engine_t *engine, 11424 bcm_stat_counter_engine_control_t control, 11425 uint32 *arg) 11426 { 11427 return BCM_E_UNAVAIL; 11428 } 11429 11430 int 11431 bcm_esw_stat_counter_engine_control_set( 11432 int unit, 11433 uint32 flags, 11434 bcm_stat_engine_t *engine, 11435 bcm_stat_counter_engine_control_t control, 11436 uint32 arg) 11437 { 11438 return BCM_E_UNAVAIL; 11439 } 11440 11441 int 11442 bcm_esw_stat_counter_engine_detach( 11443 int unit, 11444 uint32 flags, 11445 bcm_stat_counter_database_t *database, 11446 int engine_id) 11447 { 11448 return BCM_E_UNAVAIL; 11449 } 11450 11451 int 11452 bcm_esw_stat_counter_eviction_get( 11453 int unit, 11454 uint32 flags, 11455 bcm_stat_engine_t *engine, 11456 bcm_stat_eviction_t *eviction) 11457 { 11458 return BCM_E_UNAVAIL; 11459 } 11460 11461 int 11462 bcm_esw_stat_counter_eviction_set( 11463 int unit, 11464 uint32 flags, 11465 bcm_stat_engine_t *engine, 11466 bcm_stat_eviction_t *eviction) 11467 { 11468 return BCM_E_UNAVAIL; 11469 } 11470 11471 int 11472 bcm_esw_stat_counter_expansion_select_get( 11473 int unit, 11474 uint32 flags, 11475 bcm_stat_counter_interface_key_t *interface, 11476 bcm_stat_expansion_select_t *expansion_select) 11477 { 11478 return BCM_E_UNAVAIL; 11479 } 11480 11481 int 11482 bcm_esw_stat_counter_expansion_select_set( 11483 int unit, 11484 uint32 flags, 11485 bcm_stat_counter_interface_key_t *interface, 11486 bcm_stat_expansion_select_t *expansion_select) 11487 { 11488 return BCM_E_UNAVAIL; 11489 } 11490 11491 int 11492 bcm_esw_stat_counter_explicit_get( 11493 int unit, 11494 uint32 flags, 11495 bcm_stat_counter_explicit_input_data_t *stat_counter_input_data, 11496 bcm_stat_counter_output_data_t *stat_counter_output_data) 11497 { 11498 return BCM_E_UNAVAIL; 11499 } 11500 11501 int 11502 bcm_esw_stat_counter_filter_get( 11503 int unit, 11504 bcm_stat_counter_source_t source, 11505 int filter_max_count, 11506 bcm_stat_counter_filter_t *filter_array, 11507 int *filter_count) 11508 { 11509 return BCM_E_UNAVAIL; 11510 } 11511 11512 int 11513 bcm_esw_stat_counter_filter_group_get( 11514 int unit, 11515 uint32 flags, 11516 bcm_stat_counter_command_id_key_t *key, 11517 bcm_stat_counter_group_filter_t filter, 11518 int *is_active) 11519 { 11520 return BCM_E_UNAVAIL; 11521 } 11522 11523 int 11524 bcm_esw_stat_counter_filter_group_set( 11525 int unit, 11526 uint32 flags, 11527 bcm_stat_counter_command_id_key_t *key, 11528 bcm_stat_counter_group_filter_t filter, 11529 int is_active) 11530 { 11531 return BCM_E_UNAVAIL; 11532 } 11533 11534 int 11535 bcm_esw_stat_counter_filter_is_active_get( 11536 int unit, 11537 bcm_stat_counter_source_t source, 11538 bcm_stat_counter_filter_t filter, 11539 int *is_active) 11540 { 11541 return BCM_E_UNAVAIL; 11542 } 11543 11544 int 11545 bcm_esw_stat_counter_filter_set( 11546 int unit, 11547 bcm_stat_counter_source_t source, 11548 bcm_stat_counter_filter_t *filter_array, 11549 int filter_count, 11550 int is_active) 11551 { 11552 return BCM_E_UNAVAIL; 11553 } 11554 11555 int 11556 bcm_esw_stat_counter_get( 11557 int unit, 11558 uint32 flags, 11559 bcm_stat_counter_input_data_t *stat_counter_input_data, 11560 bcm_stat_counter_output_data_t *stat_counter_output_data) 11561 { 11562 return BCM_E_UNAVAIL; 11563 } 11564 11565 int 11566 bcm_esw_stat_counter_interface_get( 11567 int unit, 11568 uint32 flags, 11569 bcm_stat_counter_database_t *database, 11570 bcm_stat_counter_interface_t *config) 11571 { 11572 return BCM_E_UNAVAIL; 11573 } 11574 11575 int 11576 bcm_esw_stat_counter_interface_set( 11577 int unit, 11578 uint32 flags, 11579 bcm_stat_counter_database_t *database, 11580 bcm_stat_counter_interface_t *config) 11581 { 11582 return BCM_E_UNAVAIL; 11583 } 11584 11585 int 11586 bcm_esw_stat_counter_lif_counting_get( 11587 int unit, 11588 uint32 flags, 11589 bcm_stat_counter_source_t *source, 11590 bcm_stat_counter_lif_mask_t *counting_mask, 11591 bcm_stat_counter_lif_stack_id_t *lif_stack_id_to_count) 11592 { 11593 return BCM_E_UNAVAIL; 11594 } 11595 11596 int 11597 bcm_esw_stat_counter_lif_counting_range_get( 11598 int unit, 11599 uint32 flags, 11600 bcm_stat_counter_source_type_t source, 11601 bcm_stat_counter_lif_range_id_t range_id, 11602 bcm_stat_counter_lif_counting_range_t *lif_range) 11603 { 11604 return BCM_E_UNAVAIL; 11605 } 11606 11607 int 11608 bcm_esw_stat_counter_lif_counting_range_set( 11609 int unit, 11610 uint32 flags, 11611 bcm_stat_counter_source_type_t source, 11612 bcm_stat_counter_lif_range_id_t range_id, 11613 bcm_stat_counter_lif_counting_range_t *lif_range) 11614 { 11615 return BCM_E_UNAVAIL; 11616 } 11617 11618 int 11619 bcm_esw_stat_counter_lif_counting_set( 11620 int unit, 11621 uint32 flags, 11622 bcm_stat_counter_source_t *source, 11623 bcm_stat_counter_lif_mask_t *counting_mask, 11624 bcm_stat_counter_lif_stack_id_t lif_stack_id_to_count) 11625 { 11626 return BCM_E_UNAVAIL; 11627 } 11628 11629 int 11630 bcm_esw_stat_counter_set_mapping_get( 11631 int unit, 11632 uint32 flags, 11633 bcm_stat_counter_database_t *database, 11634 bcm_stat_counter_set_map_t *counter_set_map) 11635 { 11636 return BCM_E_UNAVAIL; 11637 } 11638 11639 int 11640 bcm_esw_stat_counter_set_mapping_set( 11641 int unit, 11642 uint32 flags, 11643 bcm_stat_counter_database_t *database, 11644 bcm_stat_counter_set_map_t *counter_set_map) 11645 { 11646 return BCM_E_UNAVAIL; 11647 } 11648 11649 int 11650 bcm_esw_stat_egress_receive_tm_pointer_format_get( 11651 int unit, 11652 int flags, 11653 bcm_stat_egress_receive_tm_pointer_format_t *pointer_format) 11654 { 11655 return BCM_E_UNAVAIL; 11656 } 11657 11658 int 11659 bcm_esw_stat_egress_receive_tm_pointer_format_set( 11660 int unit, 11661 int flags, 11662 bcm_stat_egress_receive_tm_pointer_format_t *pointer_format) 11663 { 11664 return BCM_E_UNAVAIL; 11665 } 11666 11667 int 11668 bcm_esw_stat_eviction_boundaries_get( 11669 int unit, 11670 uint32 flags, 11671 bcm_stat_engine_t *engine, 11672 bcm_stat_eviction_boundaries_t *boundaries) 11673 { 11674 return BCM_E_UNAVAIL; 11675 } 11676 11677 int 11678 bcm_esw_stat_eviction_boundaries_set( 11679 int unit, 11680 uint32 flags, 11681 bcm_stat_engine_t *engine, 11682 bcm_stat_eviction_boundaries_t *boundaries) 11683 { 11684 return BCM_E_UNAVAIL; 11685 } 11686 11687 int 11688 bcm_esw_stat_group_drop_reasons_get( 11689 int unit, 11690 uint32 flags, 11691 bcm_stat_counter_group_filter_t group, 11692 int max_drop_reason_count, 11693 bcm_cosq_drop_reason_t *drop_reasons_array, 11694 int *drop_reasons_count) 11695 { 11696 return BCM_E_UNAVAIL; 11697 } 11698 11699 int 11700 bcm_esw_stat_group_drop_reasons_set( 11701 int unit, 11702 uint32 flags, 11703 bcm_stat_counter_group_filter_t group, 11704 bcm_cosq_drop_reason_t *drop_reasons_array, 11705 int drop_reasons_count) 11706 { 11707 return BCM_E_UNAVAIL; 11708 } 11709 11710 int 11711 bcm_esw_stat_latency_port_stat_id_get( 11712 int unit, 11713 int flags, 11714 bcm_stat_latency_port_stat_id_key_t *key, 11715 int *stat_id) 11716 { 11717 return BCM_E_UNAVAIL; 11718 } 11719 11720 int 11721 bcm_esw_stat_lif_counting_profile_get( 11722 int unit, 11723 uint32 flags, 11724 int lif_counting_profile, 11725 bcm_stat_lif_counting_t *lif_counting) 11726 { 11727 return BCM_E_UNAVAIL; 11728 } 11729 11730 int 11731 bcm_esw_stat_lif_counting_profile_set( 11732 int unit, 11733 uint32 flags, 11734 int lif_counting_profile, 11735 bcm_stat_lif_counting_t *lif_counting) 11736 { 11737 return BCM_E_UNAVAIL; 11738 } 11739 11740 int 11741 bcm_esw_stat_lif_counting_stack_level_priority_get( 11742 int unit, 11743 uint32 flags, 11744 bcm_stat_lif_counting_source_t *source, 11745 bcm_stat_counter_lif_stack_id_t lif_stack_level, 11746 int *priority) 11747 { 11748 return BCM_E_UNAVAIL; 11749 } 11750 11751 int 11752 bcm_esw_stat_lif_counting_stack_level_priority_set( 11753 int unit, 11754 uint32 flags, 11755 bcm_stat_lif_counting_source_t *source, 11756 bcm_stat_counter_lif_stack_id_t lif_stack_level, 11757 int priority) 11758 { 11759 return BCM_E_UNAVAIL; 11760 } 11761 11762 int 11763 bcm_esw_stat_pkt_size_adjust_select_get( 11764 int unit, 11765 int flags, 11766 bcm_stat_counter_command_id_key_t *key, 11767 bcm_stat_pkt_size_adjust_select_type_t select_type, 11768 int *enable) 11769 { 11770 return BCM_E_UNAVAIL; 11771 } 11772 11773 int 11774 bcm_esw_stat_pkt_size_adjust_select_set( 11775 int unit, 11776 int flags, 11777 bcm_stat_counter_command_id_key_t *key, 11778 bcm_stat_pkt_size_adjust_select_type_t select_type, 11779 int enable) 11780 { 11781 return BCM_E_UNAVAIL; 11782 } 11783 11784 int 11785 bcm_esw_stat_pp_profile_create( 11786 int unit, 11787 int flags, 11788 bcm_stat_counter_interface_type_t engine_source, 11789 int *stat_pp_profile, 11790 bcm_stat_pp_profile_info_t *stat_pp_profile_info) 11791 { 11792 return BCM_E_UNAVAIL; 11793 } 11794 11795 int 11796 bcm_esw_stat_pp_profile_delete( 11797 int unit, 11798 int stat_pp_profile) 11799 { 11800 return BCM_E_UNAVAIL; 11801 } 11802 11803 int 11804 bcm_esw_stat_pp_profile_get( 11805 int unit, 11806 int stat_pp_profile, 11807 bcm_stat_pp_profile_info_t *stat_pp_profile_info) 11808 { 11809 return BCM_E_UNAVAIL; 11810 } 11811 11812 int 11813 bcm_esw_stat_stif_record_format_get( 11814 int unit, 11815 int flags, 11816 int max_nof_elements, 11817 bcm_stat_stif_record_format_element_t *elements_array, 11818 int *nof_elements) 11819 { 11820 return BCM_E_UNAVAIL; 11821 } 11822 11823 int 11824 bcm_esw_stat_stif_record_format_set( 11825 int unit, 11826 int flags, 11827 int nof_elements, 11828 bcm_stat_stif_record_format_element_t *record_format_elements) 11829 { 11830 return BCM_E_UNAVAIL; 11831 } 11832 11833 int 11834 bcm_esw_stat_stif_source_mapping_get( 11835 int unit, 11836 int flags, 11837 bcm_stat_stif_source_t source, 11838 bcm_port_t *port) 11839 { 11840 return BCM_E_UNAVAIL; 11841 } 11842 11843 int 11844 bcm_esw_stat_stif_source_mapping_set( 11845 int unit, 11846 int flags, 11847 bcm_stat_stif_source_t source, 11848 bcm_port_t port) 11849 { 11850 return BCM_E_UNAVAIL; 11851 } 11852 11853 int 11854 bcm_esw_stat_threshold_get( 11855 int unit, 11856 bcm_port_t port, 11857 bcm_stat_val_t stat, 11858 bcm_stat_threshold_t *threshold) 11859 { 11860 return BCM_E_UNAVAIL; 11861 } 11862 11863 int 11864 bcm_esw_stat_threshold_set( 11865 int unit, 11866 bcm_port_t port, 11867 bcm_stat_val_t stat, 11868 bcm_stat_threshold_t *threshold) 11869 { 11870 return BCM_E_UNAVAIL; 11871 } 11872 11873 int 11874 bcm_esw_stk_domain_stk_trunk_add( 11875 int unit, 11876 int tm_domain, 11877 bcm_trunk_t stk_trunk) 11878 { 11879 return BCM_E_UNAVAIL; 11880 } 11881 11882 int 11883 bcm_esw_stk_domain_stk_trunk_delete( 11884 int unit, 11885 int tm_domain, 11886 bcm_trunk_t stk_trunk) 11887 { 11888 return BCM_E_UNAVAIL; 11889 } 11890 11891 int 11892 bcm_esw_stk_domain_stk_trunk_get( 11893 int unit, 11894 bcm_trunk_t stk_trunk, 11895 int domain_max, 11896 int *domain_array, 11897 int *domain_count) 11898 { 11899 return BCM_E_UNAVAIL; 11900 } 11901 11902 int 11903 bcm_esw_stk_gport_sysport_get( 11904 int unit, 11905 bcm_gport_t gport, 11906 bcm_gport_t *sysport) 11907 { 11908 return BCM_E_UNAVAIL; 11909 } 11910 11911 int 11912 bcm_esw_stk_modid_domain_add( 11913 int unit, 11914 int modid, 11915 int tm_domain) 11916 { 11917 return BCM_E_UNAVAIL; 11918 } 11919 11920 int 11921 bcm_esw_stk_modid_domain_delete( 11922 int unit, 11923 int modid, 11924 int tm_domain) 11925 { 11926 return BCM_E_UNAVAIL; 11927 } 11928 11929 int 11930 bcm_esw_stk_modid_domain_get( 11931 int unit, 11932 int tm_domain, 11933 int mod_max, 11934 int *mod_array, 11935 int *mod_count) 11936 { 11937 return BCM_E_UNAVAIL; 11938 } 11939 11940 int 11941 bcm_esw_stk_modport_remote_map_get( 11942 int unit, 11943 bcm_gport_t port, 11944 uint32 flags, 11945 int *remote_modid, 11946 bcm_port_t *remote_port) 11947 { 11948 return BCM_E_UNAVAIL; 11949 } 11950 11951 int 11952 bcm_esw_stk_modport_remote_map_set( 11953 int unit, 11954 bcm_gport_t port, 11955 uint32 flags, 11956 int remote_modid, 11957 bcm_port_t remote_port) 11958 { 11959 return BCM_E_UNAVAIL; 11960 } 11961 11962 int 11963 bcm_esw_stk_module_max_get( 11964 int unit, 11965 uint32 flags, 11966 bcm_module_t *max_module) 11967 { 11968 return BCM_E_UNAVAIL; 11969 } 11970 11971 int 11972 bcm_esw_stk_module_max_set( 11973 int unit, 11974 uint32 flags, 11975 bcm_module_t max_module) 11976 { 11977 return BCM_E_UNAVAIL; 11978 } 11979 11980 int 11981 bcm_esw_stk_sysport_gport_get( 11982 int unit, 11983 bcm_gport_t sysport, 11984 bcm_gport_t *gport) 11985 { 11986 return BCM_E_UNAVAIL; 11987 } 11988 11989 int 11990 bcm_esw_stk_sysport_gport_set( 11991 int unit, 11992 bcm_gport_t sysport, 11993 bcm_gport_t gport) 11994 { 11995 return BCM_E_UNAVAIL; 11996 } 11997 11998 int 11999 bcm_esw_stk_system_gport_map_create( 12000 int unit, 12001 bcm_stk_system_gport_map_t *sys_gport_map) 12002 { 12003 return BCM_E_UNAVAIL; 12004 } 12005 12006 int 12007 bcm_esw_stk_system_gport_map_destroy( 12008 int unit, 12009 bcm_gport_t system_gport) 12010 { 12011 return BCM_E_UNAVAIL; 12012 } 12013 12014 int 12015 bcm_esw_stk_system_gport_map_get( 12016 int unit, 12017 bcm_stk_system_gport_map_t *sys_gport_map) 12018 { 12019 return BCM_E_UNAVAIL; 12020 } 12021 12022 int 12023 bcm_esw_sum_config_get( 12024 int unit, 12025 bcm_sum_config_t *config_data, 12026 bcm_pbmp_t *pbmp) 12027 { 12028 return BCM_E_UNAVAIL; 12029 } 12030 12031 int 12032 bcm_esw_sum_config_set( 12033 int unit, 12034 bcm_sum_config_t *config_data, 12035 bcm_pbmp_t pbmp) 12036 { 12037 return BCM_E_UNAVAIL; 12038 } 12039 12040 int 12041 bcm_esw_sum_detach( 12042 int unit) 12043 { 12044 return BCM_E_UNAVAIL; 12045 } 12046 12047 int 12048 bcm_esw_sum_init( 12049 int unit) 12050 { 12051 return BCM_E_UNAVAIL; 12052 } 12053 12054 int 12055 bcm_esw_sum_stat_get( 12056 int unit, 12057 uint32 max_samples, 12058 bcm_sum_stat_info_t *stats_data, 12059 uint32 *num_samples, 12060 bcm_sum_stat_type_t stat_type, 12061 uint32 usec_sample_period) 12062 { 12063 return BCM_E_UNAVAIL; 12064 } 12065 12066 int 12067 bcm_esw_switch_control_indexed_get( 12068 int unit, 12069 bcm_switch_control_key_t key, 12070 bcm_switch_control_info_t *value) 12071 { 12072 return BCM_E_UNAVAIL; 12073 } 12074 12075 int 12076 bcm_esw_switch_control_indexed_port_get( 12077 int unit, 12078 bcm_port_t port, 12079 bcm_switch_control_key_t key, 12080 bcm_switch_control_info_t *value) 12081 { 12082 return BCM_E_UNAVAIL; 12083 } 12084 12085 int 12086 bcm_esw_switch_control_indexed_port_set( 12087 int unit, 12088 bcm_port_t port, 12089 bcm_switch_control_key_t key, 12090 bcm_switch_control_info_t value) 12091 { 12092 return BCM_E_UNAVAIL; 12093 } 12094 12095 int 12096 bcm_esw_switch_control_indexed_set( 12097 int unit, 12098 bcm_switch_control_key_t key, 12099 bcm_switch_control_info_t value) 12100 { 12101 return BCM_E_UNAVAIL; 12102 } 12103 12104 int 12105 bcm_esw_switch_dram_init( 12106 int unit, 12107 uint32 flags) 12108 { 12109 return BCM_E_UNAVAIL; 12110 } 12111 12112 int 12113 bcm_esw_switch_dram_power_down( 12114 int unit, 12115 uint32 flags) 12116 { 12117 return BCM_E_UNAVAIL; 12118 } 12119 12120 int 12121 bcm_esw_switch_dram_power_down_cb_register( 12122 int unit, 12123 uint32 flags, 12124 bcm_switch_dram_power_down_callback_t callback, 12125 void *userdata) 12126 { 12127 return BCM_E_UNAVAIL; 12128 } 12129 12130 int 12131 bcm_esw_switch_dram_power_down_cb_unregister( 12132 int unit, 12133 bcm_switch_dram_power_down_callback_t callback, 12134 void *userdata) 12135 { 12136 return BCM_E_UNAVAIL; 12137 } 12138 12139 int 12140 bcm_esw_switch_dram_traffic_enable_set( 12141 int unit, 12142 uint32 flags, 12143 uint32 enable) 12144 { 12145 return BCM_E_UNAVAIL; 12146 } 12147 12148 int 12149 bcm_esw_switch_dram_vendor_info_get( 12150 int unit, 12151 bcm_switch_dram_vendor_info_t *info) 12152 { 12153 return BCM_E_UNAVAIL; 12154 } 12155 12156 int 12157 bcm_esw_switch_event_control_get( 12158 int unit, 12159 bcm_switch_event_t event, 12160 bcm_switch_event_control_t type, 12161 uint32 *value) 12162 { 12163 return BCM_E_UNAVAIL; 12164 } 12165 12166 int 12167 bcm_esw_switch_event_control_set( 12168 int unit, 12169 bcm_switch_event_t event, 12170 bcm_switch_event_control_t type, 12171 uint32 value) 12172 { 12173 return BCM_E_UNAVAIL; 12174 } 12175 12176 int 12177 bcm_esw_switch_fec_property_get( 12178 int unit, 12179 bcm_switch_fec_property_config_t *fec_config) 12180 { 12181 return BCM_E_UNAVAIL; 12182 } 12183 12184 int 12185 bcm_esw_switch_hard_reset_cb_register( 12186 int unit, 12187 uint32 flags, 12188 bcm_switch_hard_reset_callback_t callback, 12189 void *userdata) 12190 { 12191 return BCM_E_UNAVAIL; 12192 } 12193 12194 int 12195 bcm_esw_switch_hard_reset_cb_unregister( 12196 int unit, 12197 bcm_switch_hard_reset_callback_t callback, 12198 void *userdata) 12199 { 12200 return BCM_E_UNAVAIL; 12201 } 12202 12203 int 12204 bcm_esw_switch_kbp_apptype_info_get( 12205 int unit, 12206 bcm_core_t core, 12207 bcm_field_AppType_t apptype, 12208 bcm_switch_kbp_apptype_info_t *apptype_info) 12209 { 12210 return BCM_E_UNAVAIL; 12211 } 12212 12213 int 12214 bcm_esw_switch_kbp_info_get( 12215 int unit, 12216 bcm_core_t core, 12217 bcm_switch_kbp_info_t *kbp_info) 12218 { 12219 return BCM_E_UNAVAIL; 12220 } 12221 12222 int 12223 bcm_esw_switch_l3_protocol_group_get( 12224 int unit, 12225 uint32 *group_members, 12226 bcm_l3_protocol_group_id_t *group_id) 12227 { 12228 return BCM_E_UNAVAIL; 12229 } 12230 12231 int 12232 bcm_esw_switch_l3_protocol_group_set( 12233 int unit, 12234 uint32 group_members, 12235 bcm_l3_protocol_group_id_t group_id) 12236 { 12237 return BCM_E_UNAVAIL; 12238 } 12239 12240 int 12241 bcm_esw_switch_lif_property_get( 12242 int unit, 12243 bcm_switch_lif_property_t lif_property, 12244 bcm_switch_lif_property_config_t *lif_config) 12245 { 12246 return BCM_E_UNAVAIL; 12247 } 12248 12249 int 12250 bcm_esw_switch_lif_property_set( 12251 int unit, 12252 bcm_switch_lif_property_t lif_property, 12253 bcm_switch_lif_property_config_t *lif_config) 12254 { 12255 return BCM_E_UNAVAIL; 12256 } 12257 12258 int 12259 bcm_esw_switch_pkt_trace_info_clear( 12260 int unit, 12261 bcm_port_t port) 12262 { 12263 return BCM_E_UNAVAIL; 12264 } 12265 12266 int 12267 bcm_esw_switch_reflector_create( 12268 int unit, 12269 uint32 flags, 12270 bcm_if_t *encap_id, 12271 bcm_switch_reflector_data_t *data) 12272 { 12273 return BCM_E_UNAVAIL; 12274 } 12275 12276 int 12277 bcm_esw_switch_reflector_destroy( 12278 int unit, 12279 uint32 flags, 12280 bcm_if_t encap_id) 12281 { 12282 return BCM_E_UNAVAIL; 12283 } 12284 12285 int 12286 bcm_esw_switch_reflector_get( 12287 int unit, 12288 uint32 flags, 12289 bcm_if_t encap_id, 12290 bcm_switch_reflector_data_t *data) 12291 { 12292 return BCM_E_UNAVAIL; 12293 } 12294 12295 int 12296 bcm_esw_switch_reflector_traverse( 12297 int unit, 12298 uint32 flags, 12299 bcm_switch_reflector_traverse_cb traverse_cb, 12300 void *user_data) 12301 { 12302 return BCM_E_UNAVAIL; 12303 } 12304 12305 int 12306 bcm_esw_switch_rov_get( 12307 int unit, 12308 uint32 flags, 12309 uint32 *rov) 12310 { 12311 return BCM_E_UNAVAIL; 12312 } 12313 12314 int 12315 bcm_esw_switch_service_get( 12316 int unit, 12317 bcm_switch_service_t service, 12318 bcm_switch_service_config_t *config) 12319 { 12320 return BCM_E_UNAVAIL; 12321 } 12322 12323 int 12324 bcm_esw_switch_service_set( 12325 int unit, 12326 bcm_switch_service_t service, 12327 bcm_switch_service_config_t *config) 12328 { 12329 return BCM_E_UNAVAIL; 12330 } 12331 12332 int 12333 bcm_esw_switch_thermo_sensor_read( 12334 int unit, 12335 bcm_switch_thermo_sensor_type_t sensor_type, 12336 int interface_id, 12337 bcm_switch_thermo_sensor_t *sensor_data) 12338 { 12339 return BCM_E_UNAVAIL; 12340 } 12341 12342 int 12343 bcm_esw_switch_tpid_class_get( 12344 int unit, 12345 bcm_switch_tpid_class_t *tpid_class) 12346 { 12347 return BCM_E_UNAVAIL; 12348 } 12349 12350 int 12351 bcm_esw_switch_user_buffer_read( 12352 int unit, 12353 uint32 flags, 12354 bcm_switch_user_buffer_type_t buff_type, 12355 uint8 *buf, 12356 int offset, 12357 int nbytes) 12358 { 12359 return BCM_E_UNAVAIL; 12360 } 12361 12362 int 12363 bcm_esw_switch_user_buffer_write( 12364 int unit, 12365 uint32 flags, 12366 bcm_switch_user_buffer_type_t buff_type, 12367 uint8 *buf, 12368 int offset, 12369 int nbytes) 12370 { 12371 return BCM_E_UNAVAIL; 12372 } 12373 12374 #if defined(INCLUDE_L3) 12375 #if defined(INCLUDE_L3) 12376 int 12377 bcm_esw_trill_multicast_adjacency_add( 12378 int unit, 12379 bcm_trill_multicast_adjacency_t *trill_multicast_adjacency) 12380 { 12381 return BCM_E_UNAVAIL; 12382 } 12383 #endif 12384 #endif 12385 12386 #if defined(INCLUDE_L3) 12387 #if defined(INCLUDE_L3) 12388 int 12389 bcm_esw_trill_multicast_adjacency_delete( 12390 int unit, 12391 bcm_trill_multicast_adjacency_t *trill_multicast_adjacency) 12392 { 12393 return BCM_E_UNAVAIL; 12394 } 12395 #endif 12396 #endif 12397 12398 #if defined(INCLUDE_L3) 12399 #if defined(INCLUDE_L3) 12400 int 12401 bcm_esw_trill_multicast_adjacency_delete_all( 12402 int unit) 12403 { 12404 return BCM_E_UNAVAIL; 12405 } 12406 #endif 12407 #endif 12408 12409 #if defined(INCLUDE_L3) 12410 #if defined(INCLUDE_L3) 12411 int 12412 bcm_esw_trill_multicast_adjacency_traverse( 12413 int unit, 12414 bcm_trill_multicast_adjacency_traverse_cb cb, 12415 void *user_data) 12416 { 12417 return BCM_E_UNAVAIL; 12418 } 12419 #endif 12420 #endif 12421 12422 #if defined(INCLUDE_L3) 12423 #if defined(INCLUDE_L3) 12424 int 12425 bcm_esw_trill_rbridge_entry_add( 12426 int unit, 12427 bcm_trill_rbridge_t *trill_entry) 12428 { 12429 return BCM_E_UNAVAIL; 12430 } 12431 #endif 12432 #endif 12433 12434 #if defined(INCLUDE_L3) 12435 #if defined(INCLUDE_L3) 12436 int 12437 bcm_esw_trill_rbridge_entry_delete( 12438 int unit, 12439 bcm_trill_rbridge_t *trill_entry) 12440 { 12441 return BCM_E_UNAVAIL; 12442 } 12443 #endif 12444 #endif 12445 12446 #if defined(INCLUDE_L3) 12447 #if defined(INCLUDE_L3) 12448 int 12449 bcm_esw_trill_rbridge_entry_get( 12450 int unit, 12451 bcm_trill_rbridge_t *trill_entry) 12452 { 12453 return BCM_E_UNAVAIL; 12454 } 12455 #endif 12456 #endif 12457 12458 #if defined(INCLUDE_L3) 12459 #if defined(INCLUDE_L3) 12460 int 12461 bcm_esw_trill_vpn_create( 12462 int unit, 12463 bcm_trill_vpn_config_t *info) 12464 { 12465 return BCM_E_UNAVAIL; 12466 } 12467 #endif 12468 #endif 12469 12470 #if defined(INCLUDE_L3) 12471 #if defined(INCLUDE_L3) 12472 int 12473 bcm_esw_trill_vpn_destroy( 12474 int unit, 12475 bcm_vpn_t vpn) 12476 { 12477 return BCM_E_UNAVAIL; 12478 } 12479 #endif 12480 #endif 12481 12482 #if defined(INCLUDE_L3) 12483 #if defined(INCLUDE_L3) 12484 int 12485 bcm_esw_trill_vpn_destroy_all( 12486 int unit) 12487 { 12488 return BCM_E_UNAVAIL; 12489 } 12490 #endif 12491 #endif 12492 12493 #if defined(INCLUDE_L3) 12494 #if defined(INCLUDE_L3) 12495 int 12496 bcm_esw_trill_vpn_get( 12497 int unit, 12498 bcm_vpn_t vpn, 12499 bcm_trill_vpn_config_t *info) 12500 { 12501 return BCM_E_UNAVAIL; 12502 } 12503 #endif 12504 #endif 12505 12506 #if defined(INCLUDE_L3) 12507 #if defined(INCLUDE_L3) 12508 int 12509 bcm_esw_trill_vpn_traverse( 12510 int unit, 12511 bcm_trill_vpn_traverse_cb cb, 12512 void *user_data) 12513 { 12514 return BCM_E_UNAVAIL; 12515 } 12516 #endif 12517 #endif 12518 12519 int 12520 bcm_esw_trunk_pp_port_allocation_get( 12521 int unit, 12522 bcm_trunk_t trunk_id, 12523 uint32 flags, 12524 bcm_trunk_pp_port_allocation_info_t *allocation_info) 12525 { 12526 return BCM_E_UNAVAIL; 12527 } 12528 12529 int 12530 bcm_esw_trunk_pp_port_allocation_set( 12531 int unit, 12532 bcm_trunk_t trunk_id, 12533 uint32 flags, 12534 bcm_trunk_pp_port_allocation_info_t *allocation_info) 12535 { 12536 return BCM_E_UNAVAIL; 12537 } 12538 12539 int 12540 bcm_esw_trunk_resilient_replace( 12541 int unit, 12542 uint32 flags, 12543 bcm_trunk_resilient_entry_t *match_entry, 12544 int *num_entries, 12545 bcm_trunk_resilient_entry_t *replace_entry) 12546 { 12547 return BCM_E_UNAVAIL; 12548 } 12549 12550 int 12551 bcm_esw_trunk_resilient_traverse( 12552 int unit, 12553 uint32 flags, 12554 bcm_trunk_resilient_entry_t *match_entry, 12555 bcm_trunk_resilient_traverse_cb trav_fn, 12556 void *user_data) 12557 { 12558 return BCM_E_UNAVAIL; 12559 } 12560 12561 int 12562 bcm_esw_trunk_spa_to_system_phys_port_map_get( 12563 int unit, 12564 uint32 flags, 12565 uint32 system_port_aggregate, 12566 bcm_gport_t *gport) 12567 { 12568 return BCM_E_UNAVAIL; 12569 } 12570 12571 #if defined(INCLUDE_L3) 12572 int 12573 bcm_esw_tunnel_initiator_create( 12574 int unit, 12575 bcm_l3_intf_t *intf, 12576 bcm_tunnel_initiator_t *tunnel) 12577 { 12578 return BCM_E_UNAVAIL; 12579 } 12580 #endif 12581 12582 #if defined(INCLUDE_L3) 12583 int 12584 bcm_esw_tunnel_terminator_config_add( 12585 int unit, 12586 uint32 flags, 12587 bcm_tunnel_terminator_config_key_t *config_key, 12588 bcm_tunnel_terminator_config_action_t *config_action) 12589 { 12590 return BCM_E_UNAVAIL; 12591 } 12592 #endif 12593 12594 #if defined(INCLUDE_L3) 12595 int 12596 bcm_esw_tunnel_terminator_config_delete( 12597 int unit, 12598 bcm_tunnel_terminator_config_key_t *config_key) 12599 { 12600 return BCM_E_UNAVAIL; 12601 } 12602 #endif 12603 12604 #if defined(INCLUDE_L3) 12605 int 12606 bcm_esw_tunnel_terminator_config_get( 12607 int unit, 12608 bcm_tunnel_terminator_config_key_t *config_key, 12609 bcm_tunnel_terminator_config_action_t *config_action) 12610 { 12611 return BCM_E_UNAVAIL; 12612 } 12613 #endif 12614 12615 #if defined(INCLUDE_L3) 12616 int 12617 bcm_esw_tunnel_terminator_config_traverse( 12618 int unit, 12619 bcm_tunnel_terminator_config_traverse_cb cb, 12620 void *user_data) 12621 { 12622 return BCM_E_UNAVAIL; 12623 } 12624 #endif 12625 12626 #if defined(INCLUDE_L3) 12627 int 12628 bcm_esw_tunnel_terminator_create( 12629 int unit, 12630 bcm_tunnel_terminator_t *info) 12631 { 12632 return BCM_E_UNAVAIL; 12633 } 12634 #endif 12635 12636 int 12637 bcm_esw_vlan_gport_info_get( 12638 int unit, 12639 bcm_vlan_gport_info_t *vlan_gport_info) 12640 { 12641 return BCM_E_UNAVAIL; 12642 } 12643 12644 int 12645 bcm_esw_vlan_port_stat_multi_get( 12646 int unit, 12647 bcm_vlan_t vlan, 12648 bcm_port_t port, 12649 bcm_cos_t cos, 12650 int nstat, 12651 bcm_vlan_stat_t *stat_arr, 12652 uint64 *value_arr) 12653 { 12654 return BCM_E_UNAVAIL; 12655 } 12656 12657 int 12658 bcm_esw_vlan_port_stat_multi_get32( 12659 int unit, 12660 bcm_vlan_t vlan, 12661 bcm_port_t port, 12662 bcm_cos_t cos, 12663 int nstat, 12664 bcm_vlan_stat_t *stat_arr, 12665 uint32 *value_arr) 12666 { 12667 return BCM_E_UNAVAIL; 12668 } 12669 12670 int 12671 bcm_esw_vlan_port_stat_multi_set( 12672 int unit, 12673 bcm_vlan_t vlan, 12674 bcm_port_t port, 12675 bcm_cos_t cos, 12676 int nstat, 12677 bcm_vlan_stat_t *stat_arr, 12678 uint64 *value_arr) 12679 { 12680 return BCM_E_UNAVAIL; 12681 } 12682 12683 int 12684 bcm_esw_vlan_port_stat_multi_set32( 12685 int unit, 12686 bcm_vlan_t vlan, 12687 bcm_port_t port, 12688 bcm_cos_t cos, 12689 int nstat, 12690 bcm_vlan_stat_t *stat_arr, 12691 uint32 *value_arr) 12692 { 12693 return BCM_E_UNAVAIL; 12694 } 12695 12696 int 12697 bcm_esw_vlan_port_translation_get( 12698 int unit, 12699 bcm_vlan_port_translation_t *vlan_port_translation) 12700 { 12701 return BCM_E_UNAVAIL; 12702 } 12703 12704 int 12705 bcm_esw_vlan_port_translation_set( 12706 int unit, 12707 bcm_vlan_port_translation_t *vlan_port_translation) 12708 { 12709 return BCM_E_UNAVAIL; 12710 } 12711 12712 int 12713 bcm_esw_vlan_port_traverse( 12714 int unit, 12715 bcm_vlan_port_traverse_info_t *additional_info, 12716 bcm_vlan_port_traverse_cb trav_fn, 12717 void *user_data) 12718 { 12719 return BCM_E_UNAVAIL; 12720 } 12721 12722 int 12723 bcm_esw_vlan_translate_action_class_get( 12724 int unit, 12725 bcm_vlan_translate_action_class_t *action_class) 12726 { 12727 return BCM_E_UNAVAIL; 12728 } 12729 12730 int 12731 bcm_esw_vlan_translate_action_class_set( 12732 int unit, 12733 bcm_vlan_translate_action_class_t *action_class) 12734 { 12735 return BCM_E_UNAVAIL; 12736 } 12737 12738 int 12739 bcm_esw_vlan_translate_action_create( 12740 int unit, 12741 bcm_gport_t port, 12742 bcm_vlan_translate_key_t key_type, 12743 bcm_vlan_t outer_vlan, 12744 bcm_vlan_t inner_vlan, 12745 bcm_vlan_action_set_t *action) 12746 { 12747 return BCM_E_UNAVAIL; 12748 } 12749 12750 int 12751 bcm_esw_vlan_translate_action_id_create( 12752 int unit, 12753 uint32 flags, 12754 int *action_id) 12755 { 12756 return BCM_E_UNAVAIL; 12757 } 12758 12759 int 12760 bcm_esw_vlan_translate_action_id_destroy( 12761 int unit, 12762 uint32 flags, 12763 int action_id) 12764 { 12765 return BCM_E_UNAVAIL; 12766 } 12767 12768 int 12769 bcm_esw_vlan_translate_action_id_destroy_all( 12770 int unit, 12771 uint32 flags) 12772 { 12773 return BCM_E_UNAVAIL; 12774 } 12775 12776 int 12777 bcm_esw_vlan_translate_action_id_get( 12778 int unit, 12779 uint32 flags, 12780 int action_id, 12781 bcm_vlan_action_set_t *action) 12782 { 12783 return BCM_E_UNAVAIL; 12784 } 12785 12786 int 12787 bcm_esw_vlan_translate_action_id_set( 12788 int unit, 12789 uint32 flags, 12790 int action_id, 12791 bcm_vlan_action_set_t *action) 12792 { 12793 return BCM_E_UNAVAIL; 12794 } 12795 12796 int 12797 bcm_esw_vlan_vector_stp_set( 12798 int unit, 12799 bcm_vlan_vector_t vlan_vector, 12800 bcm_port_t port, 12801 int stp_state) 12802 { 12803 return BCM_E_UNAVAIL; 12804 } 12805 12806 int 12807 bcm_esw_vswitch_create( 12808 int unit, 12809 bcm_vlan_t *vsi) 12810 { 12811 return BCM_E_UNAVAIL; 12812 } 12813 12814 int 12815 bcm_esw_vswitch_create_with_id( 12816 int unit, 12817 bcm_vlan_t vsi) 12818 { 12819 return BCM_E_UNAVAIL; 12820 } 12821 12822 int 12823 bcm_esw_vswitch_cross_connect_add( 12824 int unit, 12825 bcm_vswitch_cross_connect_t *gports) 12826 { 12827 return BCM_E_UNAVAIL; 12828 } 12829 12830 int 12831 bcm_esw_vswitch_cross_connect_delete( 12832 int unit, 12833 bcm_vswitch_cross_connect_t *gports) 12834 { 12835 return BCM_E_UNAVAIL; 12836 } 12837 12838 int 12839 bcm_esw_vswitch_cross_connect_delete_all( 12840 int unit) 12841 { 12842 return BCM_E_UNAVAIL; 12843 } 12844 12845 int 12846 bcm_esw_vswitch_cross_connect_get( 12847 int unit, 12848 bcm_vswitch_cross_connect_t *gports) 12849 { 12850 return BCM_E_UNAVAIL; 12851 } 12852 12853 int 12854 bcm_esw_vswitch_cross_connect_traverse( 12855 int unit, 12856 bcm_vswitch_cross_connect_traverse_cb cb, 12857 void *user_data) 12858 { 12859 return BCM_E_UNAVAIL; 12860 } 12861 12862 int 12863 bcm_esw_vswitch_destroy( 12864 int unit, 12865 bcm_vlan_t vsi) 12866 { 12867 return BCM_E_UNAVAIL; 12868 } 12869 12870 int 12871 bcm_esw_vswitch_destroy_all( 12872 int unit) 12873 { 12874 return BCM_E_UNAVAIL; 12875 } 12876 12877 int 12878 bcm_esw_vswitch_detach( 12879 int unit) 12880 { 12881 return BCM_E_UNAVAIL; 12882 } 12883 12884 int 12885 bcm_esw_vswitch_flexible_connect_add( 12886 int unit, 12887 uint32 flags, 12888 bcm_vswitch_flexible_connect_match_t *port_match, 12889 bcm_vswitch_flexible_connect_fwd_t *port_fwd) 12890 { 12891 return BCM_E_UNAVAIL; 12892 } 12893 12894 int 12895 bcm_esw_vswitch_flexible_connect_delete( 12896 int unit, 12897 bcm_vswitch_flexible_connect_match_t *port_match) 12898 { 12899 return BCM_E_UNAVAIL; 12900 } 12901 12902 int 12903 bcm_esw_vswitch_flexible_connect_get( 12904 int unit, 12905 uint32 flags, 12906 bcm_vswitch_flexible_connect_match_t *port_match, 12907 bcm_vswitch_flexible_connect_fwd_t *port_fwd) 12908 { 12909 return BCM_E_UNAVAIL; 12910 } 12911 12912 int 12913 bcm_esw_vswitch_init( 12914 int unit) 12915 { 12916 return BCM_E_UNAVAIL; 12917 } 12918 12919 int 12920 bcm_esw_vswitch_port_add( 12921 int unit, 12922 bcm_vlan_t vsi, 12923 bcm_gport_t port) 12924 { 12925 return BCM_E_UNAVAIL; 12926 } 12927 12928 int 12929 bcm_esw_vswitch_port_delete( 12930 int unit, 12931 bcm_vlan_t vsi, 12932 bcm_gport_t port) 12933 { 12934 return BCM_E_UNAVAIL; 12935 } 12936 12937 int 12938 bcm_esw_vswitch_port_delete_all( 12939 int unit, 12940 bcm_vlan_t vsi) 12941 { 12942 return BCM_E_UNAVAIL; 12943 } 12944 12945 int 12946 bcm_esw_vswitch_port_get( 12947 int unit, 12948 bcm_gport_t port, 12949 bcm_vlan_t *vsi) 12950 { 12951 return BCM_E_UNAVAIL; 12952 } 12953 12954 int 12955 bcm_esw_vswitch_port_traverse( 12956 int unit, 12957 bcm_vlan_t vsi, 12958 bcm_vswitch_port_traverse_cb cb, 12959 void *user_data) 12960 { 12961 return BCM_E_UNAVAIL; 12962 } 12963 12964 #if defined(INCLUDE_L3) 12965 #if defined(INCLUDE_L3) 12966 int 12967 bcm_esw_vxlan_network_domain_config_add( 12968 int unit, 12969 bcm_vxlan_network_domain_config_t *config) 12970 { 12971 return BCM_E_UNAVAIL; 12972 } 12973 #endif 12974 #endif 12975 12976 #if defined(INCLUDE_L3) 12977 #if defined(INCLUDE_L3) 12978 int 12979 bcm_esw_vxlan_network_domain_config_get( 12980 int unit, 12981 bcm_vxlan_network_domain_config_t *config) 12982 { 12983 return BCM_E_UNAVAIL; 12984 } 12985 #endif 12986 #endif 12987 12988 #if defined(INCLUDE_L3) 12989 #if defined(INCLUDE_L3) 12990 int 12991 bcm_esw_vxlan_network_domain_config_remove( 12992 int unit, 12993 bcm_vxlan_network_domain_config_t *config) 12994 { 12995 return BCM_E_UNAVAIL; 12996 } 12997 #endif 12998 #endif 12999 13000 #if defined(INCLUDE_L3) 13001 #if defined(INCLUDE_L3) 13002 int 13003 bcm_esw_vxlan_network_domain_config_traverse( 13004 int unit, 13005 bcm_vxlan_network_domain_config_additional_info_t *additional_info, 13006 bcm_vxlan_network_domain_config_traverse_cb cb, 13007 void *user_data) 13008 { 13009 return BCM_E_UNAVAIL; 13010 } 13011 #endif 13012 #endif 13013 13014 #if defined(INCLUDE_XFLOW_MACSEC) 13015 #ifdef BCM_ESW_SUPPORT 13016 int 13017 bcm_esw_xflow_macsec_control_get( 13018 int unit, 13019 uint32 flags, 13020 bcm_xflow_macsec_instance_id_t instance_id, 13021 bcm_xflow_macsec_control_t type, 13022 uint64 *value) 13023 { 13024 return bcm_common_xflow_macsec_control_get(unit, flags, instance_id, type, value); 13025 } 13026 #endif 13027 #endif 13028 13029 #if defined(INCLUDE_XFLOW_MACSEC) 13030 #ifdef BCM_ESW_SUPPORT 13031 int 13032 bcm_esw_xflow_macsec_control_set( 13033 int unit, 13034 uint32 flags, 13035 bcm_xflow_macsec_instance_id_t instance_id, 13036 bcm_xflow_macsec_control_t type, 13037 uint64 value) 13038 { 13039 return bcm_common_xflow_macsec_control_set(unit, flags, instance_id, type, value); 13040 } 13041 #endif 13042 #endif 13043 13044 #if defined(INCLUDE_XFLOW_MACSEC) 13045 #ifdef BCM_ESW_SUPPORT 13046 int 13047 bcm_esw_xflow_macsec_decrypt_flow_create( 13048 int unit, 13049 uint32 flags, 13050 bcm_xflow_macsec_instance_id_t instance_id, 13051 bcm_xflow_macsec_decrypt_flow_info_t *flow_info, 13052 int priority, 13053 bcm_xflow_macsec_flow_id_t *flow_id) 13054 { 13055 return bcm_common_xflow_macsec_decrypt_flow_create(unit, flags, instance_id, flow_info, priority, flow_id); 13056 } 13057 #endif 13058 #endif 13059 13060 #if defined(INCLUDE_XFLOW_MACSEC) 13061 #ifdef BCM_ESW_SUPPORT 13062 int 13063 bcm_esw_xflow_macsec_decrypt_flow_destroy( 13064 int unit, 13065 bcm_xflow_macsec_flow_id_t flow_id) 13066 { 13067 return bcm_common_xflow_macsec_decrypt_flow_destroy(unit, flow_id); 13068 } 13069 #endif 13070 #endif 13071 13072 #if defined(INCLUDE_XFLOW_MACSEC) 13073 #ifdef BCM_ESW_SUPPORT 13074 int 13075 bcm_esw_xflow_macsec_decrypt_flow_enable_get( 13076 int unit, 13077 bcm_xflow_macsec_flow_id_t flow_id, 13078 int *enable) 13079 { 13080 return bcm_common_xflow_macsec_decrypt_flow_enable_get(unit, flow_id, enable); 13081 } 13082 #endif 13083 #endif 13084 13085 #if defined(INCLUDE_XFLOW_MACSEC) 13086 #ifdef BCM_ESW_SUPPORT 13087 int 13088 bcm_esw_xflow_macsec_decrypt_flow_enable_set( 13089 int unit, 13090 bcm_xflow_macsec_flow_id_t flow_id, 13091 int enable) 13092 { 13093 return bcm_common_xflow_macsec_decrypt_flow_enable_set(unit, flow_id, enable); 13094 } 13095 #endif 13096 #endif 13097 13098 #if defined(INCLUDE_XFLOW_MACSEC) 13099 #ifdef BCM_ESW_SUPPORT 13100 int 13101 bcm_esw_xflow_macsec_decrypt_flow_get( 13102 int unit, 13103 bcm_xflow_macsec_flow_id_t flow_id, 13104 bcm_xflow_macsec_decrypt_flow_info_t *flow_info, 13105 int *priority) 13106 { 13107 return bcm_common_xflow_macsec_decrypt_flow_get(unit, flow_id, flow_info, priority); 13108 } 13109 #endif 13110 #endif 13111 13112 #if defined(INCLUDE_XFLOW_MACSEC) 13113 #ifdef BCM_ESW_SUPPORT 13114 int 13115 bcm_esw_xflow_macsec_decrypt_flow_set( 13116 int unit, 13117 bcm_xflow_macsec_flow_id_t flow_id, 13118 bcm_xflow_macsec_decrypt_flow_info_t *flow_info, 13119 int priority) 13120 { 13121 return bcm_common_xflow_macsec_decrypt_flow_set(unit, flow_id, flow_info, priority); 13122 } 13123 #endif 13124 #endif 13125 13126 #if defined(INCLUDE_XFLOW_MACSEC) 13127 #ifdef BCM_ESW_SUPPORT 13128 int 13129 bcm_esw_xflow_macsec_decrypt_policy_create( 13130 int unit, 13131 uint32 flags, 13132 bcm_xflow_macsec_instance_id_t instance_id, 13133 bcm_xflow_macsec_decrypt_policy_info_t *policy_info, 13134 bcm_xflow_macsec_policy_id_t *policy_id) 13135 { 13136 return bcm_common_xflow_macsec_decrypt_policy_create(unit, flags, instance_id, policy_info, policy_id); 13137 } 13138 #endif 13139 #endif 13140 13141 #if defined(INCLUDE_XFLOW_MACSEC) 13142 #ifdef BCM_ESW_SUPPORT 13143 int 13144 bcm_esw_xflow_macsec_decrypt_policy_destroy( 13145 int unit, 13146 bcm_xflow_macsec_policy_id_t policy_id) 13147 { 13148 return bcm_common_xflow_macsec_decrypt_policy_destroy(unit, policy_id); 13149 } 13150 #endif 13151 #endif 13152 13153 #if defined(INCLUDE_XFLOW_MACSEC) 13154 #ifdef BCM_ESW_SUPPORT 13155 int 13156 bcm_esw_xflow_macsec_decrypt_policy_get( 13157 int unit, 13158 bcm_xflow_macsec_policy_id_t policy_id, 13159 bcm_xflow_macsec_decrypt_policy_info_t *policy_info) 13160 { 13161 return bcm_common_xflow_macsec_decrypt_policy_get(unit, policy_id, policy_info); 13162 } 13163 #endif 13164 #endif 13165 13166 #if defined(INCLUDE_XFLOW_MACSEC) 13167 #ifdef BCM_ESW_SUPPORT 13168 int 13169 bcm_esw_xflow_macsec_decrypt_policy_set( 13170 int unit, 13171 bcm_xflow_macsec_policy_id_t policy_id, 13172 bcm_xflow_macsec_decrypt_policy_info_t *policy_info) 13173 { 13174 return bcm_common_xflow_macsec_decrypt_policy_set(unit, policy_id, policy_info); 13175 } 13176 #endif 13177 #endif 13178 13179 #if defined(INCLUDE_XFLOW_MACSEC) 13180 #ifdef BCM_ESW_SUPPORT 13181 int 13182 bcm_esw_xflow_macsec_event_deregister( 13183 int unit, 13184 bcm_xflow_macsec_event_cb cb) 13185 { 13186 return bcm_common_xflow_macsec_event_deregister(unit, cb); 13187 } 13188 #endif 13189 #endif 13190 13191 #if defined(INCLUDE_XFLOW_MACSEC) 13192 #ifdef BCM_ESW_SUPPORT 13193 int 13194 bcm_esw_xflow_macsec_event_register( 13195 int unit, 13196 bcm_xflow_macsec_event_cb cb, 13197 void *user_data) 13198 { 13199 return bcm_common_xflow_macsec_event_register(unit, cb, user_data); 13200 } 13201 #endif 13202 #endif 13203 13204 #if defined(INCLUDE_XFLOW_MACSEC) 13205 #ifdef BCM_ESW_SUPPORT 13206 int 13207 bcm_esw_xflow_macsec_mac_addr_control_get( 13208 int unit, 13209 uint32 flags, 13210 bcm_xflow_macsec_instance_id_t instance_id, 13211 bcm_xflow_macsec_mac_addr_control_t control_type, 13212 bcm_xflow_macsec_mac_addr_info_t *control_info) 13213 { 13214 return bcm_common_xflow_macsec_mac_addr_control_get(unit, flags, instance_id, control_type, control_info); 13215 } 13216 #endif 13217 #endif 13218 13219 #if defined(INCLUDE_XFLOW_MACSEC) 13220 #ifdef BCM_ESW_SUPPORT 13221 int 13222 bcm_esw_xflow_macsec_mac_addr_control_set( 13223 int unit, 13224 uint32 flags, 13225 bcm_xflow_macsec_instance_id_t instance_id, 13226 bcm_xflow_macsec_mac_addr_control_t control_type, 13227 bcm_xflow_macsec_mac_addr_info_t *control_info) 13228 { 13229 return bcm_common_xflow_macsec_mac_addr_control_set(unit, flags, instance_id, control_type, control_info); 13230 } 13231 #endif 13232 #endif 13233 13234 #if defined(INCLUDE_XFLOW_MACSEC) 13235 #ifdef BCM_ESW_SUPPORT 13236 int 13237 bcm_esw_xflow_macsec_mtu_get( 13238 int unit, 13239 int flags, 13240 bcm_xflow_macsec_instance_id_t instance_id, 13241 bcm_xflow_macsec_mtu_t mtu_sel, 13242 uint32 *mtu) 13243 { 13244 return bcm_common_xflow_macsec_mtu_get(unit, flags, instance_id, mtu_sel, mtu); 13245 } 13246 #endif 13247 #endif 13248 13249 #if defined(INCLUDE_XFLOW_MACSEC) 13250 #ifdef BCM_ESW_SUPPORT 13251 int 13252 bcm_esw_xflow_macsec_mtu_set( 13253 int unit, 13254 int flags, 13255 bcm_xflow_macsec_instance_id_t instance_id, 13256 uint32 mtu, 13257 bcm_xflow_macsec_mtu_t *mtu_sel) 13258 { 13259 return bcm_common_xflow_macsec_mtu_set(unit, flags, instance_id, mtu, mtu_sel); 13260 } 13261 #endif 13262 #endif 13263 13264 #if defined(INCLUDE_XFLOW_MACSEC) 13265 #ifdef BCM_ESW_SUPPORT 13266 int 13267 bcm_esw_xflow_macsec_sectag_etype_get( 13268 int unit, 13269 bcm_xflow_macsec_instance_id_t instance_id, 13270 bcm_xflow_macsec_sectag_ethertype_t sectag_etype_sel, 13271 uint32 *sectag_etype) 13272 { 13273 return bcm_common_xflow_macsec_sectag_etype_get(unit, instance_id, sectag_etype_sel, sectag_etype); 13274 } 13275 #endif 13276 #endif 13277 13278 #if defined(INCLUDE_XFLOW_MACSEC) 13279 #ifdef BCM_ESW_SUPPORT 13280 int 13281 bcm_esw_xflow_macsec_sectag_etype_set( 13282 int unit, 13283 int flags, 13284 bcm_xflow_macsec_instance_id_t instance_id, 13285 uint32 sectag_etype, 13286 bcm_xflow_macsec_sectag_ethertype_t *sectag_etype_sel) 13287 { 13288 return bcm_common_xflow_macsec_sectag_etype_set(unit, flags, instance_id, sectag_etype, sectag_etype_sel); 13289 } 13290 #endif 13291 #endif 13292 13293 #if defined(INCLUDE_XFLOW_MACSEC) 13294 #ifdef BCM_ESW_SUPPORT 13295 int 13296 bcm_esw_xflow_macsec_secure_assoc_create( 13297 int unit, 13298 uint32 flags, 13299 bcm_xflow_macsec_secure_chan_id_t chan_id, 13300 bcm_xflow_macsec_secure_assoc_info_t *assoc_info, 13301 bcm_xflow_macsec_secure_assoc_id_t *assoc_id) 13302 { 13303 return bcm_common_xflow_macsec_secure_assoc_create(unit, flags, chan_id, assoc_info, assoc_id); 13304 } 13305 #endif 13306 #endif 13307 13308 #if defined(INCLUDE_XFLOW_MACSEC) 13309 #ifdef BCM_ESW_SUPPORT 13310 int 13311 bcm_esw_xflow_macsec_secure_assoc_destroy( 13312 int unit, 13313 bcm_xflow_macsec_secure_assoc_id_t assoc_id) 13314 { 13315 return bcm_common_xflow_macsec_secure_assoc_destroy(unit, assoc_id); 13316 } 13317 #endif 13318 #endif 13319 13320 #if defined(INCLUDE_XFLOW_MACSEC) 13321 #ifdef BCM_ESW_SUPPORT 13322 int 13323 bcm_esw_xflow_macsec_secure_assoc_get( 13324 int unit, 13325 bcm_xflow_macsec_secure_assoc_id_t assoc_id, 13326 bcm_xflow_macsec_secure_assoc_info_t *assoc_info, 13327 bcm_xflow_macsec_secure_chan_id_t *chan_id) 13328 { 13329 return bcm_common_xflow_macsec_secure_assoc_get(unit, assoc_id, assoc_info, chan_id); 13330 } 13331 #endif 13332 #endif 13333 13334 #if defined(INCLUDE_XFLOW_MACSEC) 13335 #ifdef BCM_ESW_SUPPORT 13336 int 13337 bcm_esw_xflow_macsec_secure_assoc_set( 13338 int unit, 13339 bcm_xflow_macsec_secure_assoc_id_t assoc_id, 13340 bcm_xflow_macsec_secure_assoc_info_t *assoc_info) 13341 { 13342 return bcm_common_xflow_macsec_secure_assoc_set(unit, assoc_id, assoc_info); 13343 } 13344 #endif 13345 #endif 13346 13347 #if defined(INCLUDE_XFLOW_MACSEC) 13348 #ifdef BCM_ESW_SUPPORT 13349 int 13350 bcm_esw_xflow_macsec_secure_assoc_traverse( 13351 int unit, 13352 bcm_xflow_macsec_secure_chan_id_t chan_id, 13353 bcm_xflow_macsec_secure_assoc_traverse_cb callback, 13354 void *user_data) 13355 { 13356 return bcm_common_xflow_macsec_secure_assoc_traverse(unit, chan_id, callback, user_data); 13357 } 13358 #endif 13359 #endif 13360 13361 #if defined(INCLUDE_XFLOW_MACSEC) 13362 #ifdef BCM_ESW_SUPPORT 13363 int 13364 bcm_esw_xflow_macsec_secure_chan_create( 13365 int unit, 13366 uint32 flags, 13367 bcm_xflow_macsec_instance_id_t instance_id, 13368 bcm_xflow_macsec_secure_chan_info_t *chan_info, 13369 int priority, 13370 bcm_xflow_macsec_secure_chan_id_t *chan_id) 13371 { 13372 return bcm_common_xflow_macsec_secure_chan_create(unit, flags, instance_id, chan_info, priority, chan_id); 13373 } 13374 #endif 13375 #endif 13376 13377 #if defined(INCLUDE_XFLOW_MACSEC) 13378 #ifdef BCM_ESW_SUPPORT 13379 int 13380 bcm_esw_xflow_macsec_secure_chan_destroy( 13381 int unit, 13382 bcm_xflow_macsec_secure_chan_id_t chan_id) 13383 { 13384 return bcm_common_xflow_macsec_secure_chan_destroy(unit, chan_id); 13385 } 13386 #endif 13387 #endif 13388 13389 #if defined(INCLUDE_XFLOW_MACSEC) 13390 #ifdef BCM_ESW_SUPPORT 13391 int 13392 bcm_esw_xflow_macsec_secure_chan_enable_get( 13393 int unit, 13394 bcm_xflow_macsec_secure_chan_id_t chan_id, 13395 int *enable) 13396 { 13397 return bcm_common_xflow_macsec_secure_chan_enable_get(unit, chan_id, enable); 13398 } 13399 #endif 13400 #endif 13401 13402 #if defined(INCLUDE_XFLOW_MACSEC) 13403 #ifdef BCM_ESW_SUPPORT 13404 int 13405 bcm_esw_xflow_macsec_secure_chan_enable_set( 13406 int unit, 13407 bcm_xflow_macsec_secure_chan_id_t chan_id, 13408 int enable) 13409 { 13410 return bcm_common_xflow_macsec_secure_chan_enable_set(unit, chan_id, enable); 13411 } 13412 #endif 13413 #endif 13414 13415 #if defined(INCLUDE_XFLOW_MACSEC) 13416 #ifdef BCM_ESW_SUPPORT 13417 int 13418 bcm_esw_xflow_macsec_secure_chan_get( 13419 int unit, 13420 bcm_xflow_macsec_secure_chan_id_t chan_id, 13421 bcm_xflow_macsec_secure_chan_info_t *chan_info, 13422 int *priority) 13423 { 13424 return bcm_common_xflow_macsec_secure_chan_get(unit, chan_id, chan_info, priority); 13425 } 13426 #endif 13427 #endif 13428 13429 #if defined(INCLUDE_XFLOW_MACSEC) 13430 #ifdef BCM_ESW_SUPPORT 13431 int 13432 bcm_esw_xflow_macsec_secure_chan_info_traverse( 13433 int unit, 13434 uint32 flags, 13435 bcm_xflow_macsec_instance_id_t instance_id, 13436 bcm_xflow_macsec_chan_traverse_cb callback, 13437 void *user_data) 13438 { 13439 return bcm_common_xflow_macsec_secure_chan_info_traverse(unit, flags, instance_id, callback, user_data); 13440 } 13441 #endif 13442 #endif 13443 13444 #if defined(INCLUDE_XFLOW_MACSEC) 13445 #ifdef BCM_ESW_SUPPORT 13446 int 13447 bcm_esw_xflow_macsec_secure_chan_set( 13448 int unit, 13449 uint32 flags, 13450 bcm_xflow_macsec_secure_chan_id_t chan_id, 13451 bcm_xflow_macsec_secure_chan_info_t *chan_info, 13452 int priority) 13453 { 13454 return bcm_common_xflow_macsec_secure_chan_set(unit, flags, chan_id, chan_info, priority); 13455 } 13456 #endif 13457 #endif 13458 13459 #if defined(INCLUDE_XFLOW_MACSEC) 13460 #ifdef BCM_ESW_SUPPORT 13461 int 13462 bcm_esw_xflow_macsec_stat_get( 13463 int unit, 13464 uint32 flags, 13465 bcm_xflow_macsec_id_t id, 13466 bcm_xflow_macsec_stat_type_t stat_type, 13467 uint64 *value) 13468 { 13469 return bcm_common_xflow_macsec_stat_get(unit, flags, id, stat_type, value); 13470 } 13471 #endif 13472 #endif 13473 13474 #if defined(INCLUDE_XFLOW_MACSEC) 13475 #ifdef BCM_ESW_SUPPORT 13476 int 13477 bcm_esw_xflow_macsec_stat_multi_get( 13478 int unit, 13479 uint32 flags, 13480 bcm_xflow_macsec_id_t id, 13481 uint32 num_stats, 13482 bcm_xflow_macsec_stat_type_t *stat_type_array, 13483 uint64 *value_array) 13484 { 13485 return bcm_common_xflow_macsec_stat_multi_get(unit, flags, id, num_stats, stat_type_array, value_array); 13486 } 13487 #endif 13488 #endif 13489 13490 #if defined(INCLUDE_XFLOW_MACSEC) 13491 #ifdef BCM_ESW_SUPPORT 13492 int 13493 bcm_esw_xflow_macsec_stat_multi_set( 13494 int unit, 13495 uint32 flags, 13496 bcm_xflow_macsec_id_t id, 13497 uint32 num_stats, 13498 bcm_xflow_macsec_stat_type_t *stat_type_array, 13499 uint64 *value_array) 13500 { 13501 return bcm_common_xflow_macsec_stat_multi_set(unit, flags, id, num_stats, stat_type_array, value_array); 13502 } 13503 #endif 13504 #endif 13505 13506 #if defined(INCLUDE_XFLOW_MACSEC) 13507 #ifdef BCM_ESW_SUPPORT 13508 int 13509 bcm_esw_xflow_macsec_stat_set( 13510 int unit, 13511 uint32 flags, 13512 bcm_xflow_macsec_id_t id, 13513 bcm_xflow_macsec_stat_type_t stat_type, 13514 uint64 value) 13515 { 13516 return bcm_common_xflow_macsec_stat_set(unit, flags, id, stat_type, value); 13517 } 13518 #endif 13519 #endif 13520 13521 #if defined(INCLUDE_XFLOW_MACSEC) 13522 #ifdef BCM_ESW_SUPPORT 13523 int 13524 bcm_esw_xflow_macsec_subport_id_get( 13525 int unit, 13526 bcm_xflow_macsec_id_t id, 13527 bcm_xflow_macsec_subport_id_t *macsec_subport_id) 13528 { 13529 return bcm_common_xflow_macsec_subport_id_get(unit, id, macsec_subport_id); 13530 } 13531 #endif 13532 #endif 13533 13534 #if defined(INCLUDE_XFLOW_MACSEC) 13535 #ifdef BCM_ESW_SUPPORT 13536 int 13537 bcm_esw_xflow_macsec_vlan_tpid_array_get( 13538 int unit, 13539 bcm_xflow_macsec_instance_id_t instance_id, 13540 bcm_xflow_macsec_vlan_tpid_t *vlan_tpid) 13541 { 13542 return bcm_common_xflow_macsec_vlan_tpid_array_get(unit, instance_id, vlan_tpid); 13543 } 13544 #endif 13545 #endif 13546 13547 #if defined(INCLUDE_XFLOW_MACSEC) 13548 #ifdef BCM_ESW_SUPPORT 13549 int 13550 bcm_esw_xflow_macsec_vlan_tpid_array_index_get( 13551 int unit, 13552 bcm_xflow_macsec_instance_id_t instance_id, 13553 uint32 vlan_tpid, 13554 uint8 *tpid_index_sel) 13555 { 13556 return bcm_common_xflow_macsec_vlan_tpid_array_index_get(unit, instance_id, vlan_tpid, tpid_index_sel); 13557 } 13558 #endif 13559 #endif 13560 13561 #if defined(INCLUDE_XFLOW_MACSEC) 13562 #ifdef BCM_ESW_SUPPORT 13563 int 13564 bcm_esw_xflow_macsec_vlan_tpid_array_set( 13565 int unit, 13566 bcm_xflow_macsec_instance_id_t instance_id, 13567 bcm_xflow_macsec_vlan_tpid_t *vlan_tpid) 13568 { 13569 return bcm_common_xflow_macsec_vlan_tpid_array_set(unit, instance_id, vlan_tpid); 13570 } 13571 #endif 13572 #endif 13573