ui_rom_defi_fap10m.h (490642B)
1 /* 2 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 3 * 4 * Copyright 2007-2020 Broadcom Inc. All rights reserved. 5 */ 6 #ifndef UI_ROM_DEFI_FAP10M_INCLUDED 7 /* { */ 8 #define UI_ROM_DEFI_FAP10M_INCLUDED 9 /* 10 * General include file for reference design. 11 */ 12 #include <appl/diag/dpp/ref_sys.h> 13 /* 14 * User Interface include file. 15 */ 16 #include <appl/diag/dpp/ui_defx.h> 17 #include <appl/diag/dpp/utils_defx.h> 18 19 #include <ui_pure_defi_fap10m.h> 20 #include <soc/dpp/SAND/Management/sand_chip_consts.h> 21 #include <ChipSim/chip_sim_fe200_chip_defines_indirect.h> 22 23 #include <ChipSim/chip_sim.h> 24 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_chip_defines.h> 25 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_general.h> 26 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_statistics.h> 27 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_diagnostics.h> 28 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_spatial_multicast.h> 29 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_configuration.h> 30 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_configuration.h> 31 #include <soc/dpp/SOC_SAND_FAP10M/fap10m_api_scheduler_flows.h> 32 #include <soc/dpp/SAND/SAND_FM/sand_chip_defines.h> 33 #include <appl/diag/dpp/dune_rpc.h> 34 35 #include <soc/dpp/SOC_SAND_FE200/fe200_api_statistics.h> 36 37 /* 38 * UI definition{ 39 */ 40 41 /******************************************************** 42 *NAME 43 * Fap10m_pause_after_read_mem_read_vals 44 *TYPE: BUFFER 45 *DATE: 22/MAR/2002 46 *FUNCTION: 47 * ARRAY CONTAINING THE DEFAULT VALUE 48 * RELATED TO THE PARAMETER "PAUSE_AFTER_READ" IN THE CONTEXT 49 * OF SUBJECT 'MEM'. 50 *ORGANIZATION: 51 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 52 * int val_type - 53 * Type of variable (VAL_NUMERIC, VAL_TEXT, 54 * VAL_IP OR VAL_SYMBOL) 55 * union value - 56 * Union of one of 57 * int int_value 58 * char *string_value 59 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 60 * unsigned long ip_value ; 61 * Value of default variable. 62 *USAGE: 63 * SEE ORGANIZATION. 64 *REMARKS: 65 * NONE. 66 *SEE ALSO: 67 */ 68 EXTERN CONST 69 PARAM_VAL_RULES 70 Fap10m_pause_after_read_mem_read_vals[] 71 #ifdef INIT 72 = 73 { 74 { 75 VAL_NUMERIC,SYMB_NAME_NUMERIC, 76 { 77 { 78 HAS_MIN_VALUE | HAS_MAX_VALUE, 79 1000000,0, 80 /* 81 * Number of times this value can be repeated (i.e., 82 * value is an array). Must be at least 1! 83 */ 84 1, 85 (VAL_PROC_PTR)NULL 86 } 87 } 88 }, 89 /* 90 * Last element. Do not remove. 91 */ 92 { 93 VAL_END_OF_LIST 94 } 95 } 96 #endif 97 ; 98 /******************************************************** 99 *NAME 100 * Fap10m_pause_after_read_mem_read_default 101 *TYPE: BUFFER 102 *DATE: 22/MAR/2002 103 *FUNCTION: 104 * ARRAY CONTAINING THE DEFAULT VALUE 105 * RELATED TO THE PARAMETER "PAUSE_AFTER_READ" IN THE CONTEXT 106 * OF SUBJECT 'MEM'. 107 *ORGANIZATION: 108 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 109 * int val_type - 110 * Type of variable (VAL_NUMERIC, VAL_TEXT, 111 * VAL_IP OR VAL_SYMBOL) 112 * union value - 113 * Union of one of 114 * int int_value 115 * char *string_value 116 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 117 * unsigned long ip_value ; 118 * Value of default variable. 119 *USAGE: 120 * SEE ORGANIZATION. 121 *REMARKS: 122 * NONE. 123 *SEE ALSO: 124 */ 125 EXTERN CONST 126 PARAM_VAL 127 Fap10m_pause_after_read_mem_read_default 128 #ifdef INIT 129 = 130 { 131 VAL_NUMERIC, 132 0, 133 { 134 /* 135 * Casting may be required here only to keep the compiler silent. 136 */ 137 (unsigned long)0 138 } 139 } 140 #endif 141 ; 142 /******************************************************** 143 *NAME 144 * Fap10m_nof_times_mem_read_vals 145 *TYPE: BUFFER 146 *DATE: 22/MAR/2002 147 *FUNCTION: 148 * ARRAY CONTAINING THE DEFAULT VALUE 149 * RELATED TO THE PARAMETER "NOF_TIME" IN THE CONTEXT 150 * OF SUBJECT 'MEM'. 151 *ORGANIZATION: 152 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 153 * int val_type - 154 * Type of variable (VAL_NUMERIC, VAL_TEXT, 155 * VAL_IP OR VAL_SYMBOL) 156 * union value - 157 * Union of one of 158 * int int_value 159 * char *string_value 160 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 161 * unsigned long ip_value ; 162 * Value of default variable. 163 *USAGE: 164 * SEE ORGANIZATION. 165 *REMARKS: 166 * NONE. 167 *SEE ALSO: 168 */ 169 EXTERN CONST 170 PARAM_VAL_RULES 171 Fap10m_nof_times_mem_read_vals[] 172 #ifdef INIT 173 = 174 { 175 { 176 VAL_NUMERIC,SYMB_NAME_NUMERIC, 177 { 178 { 179 HAS_MIN_VALUE | HAS_MAX_VALUE, 180 10000,0, 181 /* 182 * Number of times this value can be repeated (i.e., 183 * value is an array). Must be at least 1! 184 */ 185 1, 186 (VAL_PROC_PTR)NULL 187 } 188 } 189 }, 190 /* 191 * Last element. Do not remove. 192 */ 193 { 194 VAL_END_OF_LIST 195 } 196 } 197 #endif 198 ; 199 /******************************************************** 200 *NAME 201 * Fap10m_nof_times_mem_read_default 202 *TYPE: BUFFER 203 *DATE: 22/MAR/2002 204 *FUNCTION: 205 * ARRAY CONTAINING THE DEFAULT VALUE 206 * RELATED TO THE PARAMETER "PAUSE_AFTER_READ" IN THE CONTEXT 207 * OF SUBJECT 'MEM'. 208 *ORGANIZATION: 209 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 210 * int val_type - 211 * Type of variable (VAL_NUMERIC, VAL_TEXT, 212 * VAL_IP OR VAL_SYMBOL) 213 * union value - 214 * Union of one of 215 * int int_value 216 * char *string_value 217 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 218 * unsigned long ip_value ; 219 * Value of default variable. 220 *USAGE: 221 * SEE ORGANIZATION. 222 *REMARKS: 223 * NONE. 224 *SEE ALSO: 225 */ 226 EXTERN CONST 227 PARAM_VAL 228 Fap10m_nof_times_mem_read_default 229 #ifdef INIT 230 = 231 { 232 VAL_NUMERIC, 233 0, 234 { 235 /* 236 * Casting may be required here only to keep the compiler silent. 237 */ 238 (unsigned long)1 239 } 240 } 241 #endif 242 ; 243 /******************************************************** 244 *NAME 245 * Fap10m_pp_port_default 246 *TYPE: BUFFER 247 *DATE: 25/MAR/2003 248 *FUNCTION: 249 * Default number if no amplitude. 250 *ORGANIZATION: 251 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 252 * int val_type - 253 * Type of variable (VAL_NUMERIC, VAL_TEXT, 254 * VAL_IP OR VAL_SYMBOL) 255 * union value - 256 * Union of one of 257 * int int_value 258 * char *string_value 259 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 260 * unsigned long ip_value ; 261 * Value of default variable. 262 *USAGE: 263 * SEE ORGANIZATION. 264 *REMARKS: 265 * NONE. 266 *SEE ALSO: 267 */ 268 EXTERN CONST 269 PARAM_VAL 270 Fap10m_pp_port_default 271 #ifdef INIT 272 = 273 { 274 VAL_NUMERIC, 275 0, 276 { 277 /* 278 * Casting may be required here only to keep the compiler silent. 279 */ 280 (unsigned long)5 281 } 282 } 283 #endif 284 ; 285 /******************************************************** 286 *NAME 287 * Fap10m_vlan_id_vals 288 *TYPE: BUFFER 289 *DATE: 25/MAR/2003 290 *FUNCTION: 291 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 292 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 293 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 294 *ORGANIZATION: 295 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 296 * int val_type - 297 * Type of value. Can be: 298 * VAL_END_OF_LIST 0 299 * VAL_NUMERIC 1 300 * VAL_SYMBOL 2 301 * VAL_TEXT 3 302 * VAL_IP 4 303 * The first one is only to indicate the end of 304 * this array. The others indicate what kind of 305 * value this is. 306 * char *symb_val - 307 * ASCII presentation of the symbolic value. 308 * Note: Must be small letters only! 309 * For numeric variables: 310 * This is a dummy variable. Enables searching 311 * array of 'PARAM_VAL_RULES' for name (string) 312 * matching without special case for numeric 313 * variable. 314 * VAL_DESCRIPTOR val_descriptor - 315 * Union of structures (of types VAL_NUM_DESCRIPTOR, 316 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 317 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 318 * See details in file of definition. Note: Symbols 319 * must be small letters only! 320 *USAGE: 321 * SEE ORGANIZATION. 322 *REMARKS: 323 * NONE. 324 *SEE ALSO: 325 */ 326 EXTERN CONST 327 PARAM_VAL_RULES 328 Fap10m_vlan_id_vals[] 329 #ifdef INIT 330 = 331 { 332 { 333 VAL_NUMERIC,SYMB_NAME_NUMERIC, 334 { 335 { 336 HAS_MIN_VALUE | HAS_MAX_VALUE, 337 BIT(12)-1,0, 338 /* 339 * Number of times this value can be repeated (i.e., 340 * value is an array). Must be at least 1! 341 */ 342 1, 343 (VAL_PROC_PTR)NULL 344 } 345 } 346 }, 347 /* 348 * Last element. Do not remove. 349 */ 350 { 351 VAL_END_OF_LIST 352 } 353 } 354 #endif 355 ; 356 357 /******************************************************** 358 *NAME 359 * Fap10m_vlan_id_default 360 *TYPE: BUFFER 361 *DATE: 25/MAR/2003 362 *FUNCTION: 363 * Default number if no amplitude. 364 *ORGANIZATION: 365 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 366 * int val_type - 367 * Type of variable (VAL_NUMERIC, VAL_TEXT, 368 * VAL_IP OR VAL_SYMBOL) 369 * union value - 370 * Union of one of 371 * int int_value 372 * char *string_value 373 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 374 * unsigned long ip_value ; 375 * Value of default variable. 376 *USAGE: 377 * SEE ORGANIZATION. 378 *REMARKS: 379 * NONE. 380 *SEE ALSO: 381 */ 382 EXTERN CONST 383 PARAM_VAL 384 Fap10m_vlan_id_default 385 #ifdef INIT 386 = 387 { 388 VAL_NUMERIC, 389 0, 390 { 391 /* 392 * Casting may be required here only to keep the compiler silent. 393 */ 394 (unsigned long)1 395 } 396 } 397 #endif 398 ; 399 /******************************************************** 400 *NAME 401 * Fap10m_wfq0_weight_default 402 *TYPE: BUFFER 403 *DATE: 25/MAR/2003 404 *FUNCTION: 405 * Default number if no amplitude. 406 *ORGANIZATION: 407 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 408 * int val_type - 409 * Type of variable (VAL_NUMERIC, VAL_TEXT, 410 * VAL_IP OR VAL_SYMBOL) 411 * union value - 412 * Union of one of 413 * int int_value 414 * char *string_value 415 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 416 * unsigned long ip_value ; 417 * Value of default variable. 418 *USAGE: 419 * SEE ORGANIZATION. 420 *REMARKS: 421 * NONE. 422 *SEE ALSO: 423 */ 424 EXTERN CONST 425 PARAM_VAL 426 Fap10m_wfq0_weight_default 427 #ifdef INIT 428 = 429 { 430 VAL_NUMERIC, 431 0, 432 { 433 /* 434 * Casting may be required here only to keep the compiler silent. 435 */ 436 (unsigned long)50 437 } 438 } 439 #endif 440 ; 441 /******************************************************** 442 *NAME 443 * FAP10M_initial_output_link_num_vals 444 *TYPE: BUFFER 445 *DATE: 25/MAR/2003 446 *FUNCTION: 447 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 448 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 449 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 450 *ORGANIZATION: 451 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 452 * int val_type - 453 * Type of value. Can be: 454 * VAL_END_OF_LIST 0 455 * VAL_NUMERIC 1 456 * VAL_SYMBOL 2 457 * VAL_TEXT 3 458 * VAL_IP 4 459 * The first one is only to indicate the end of 460 * this array. The others indicate what kind of 461 * value this is. 462 * char *symb_val - 463 * ASCII presentation of the symbolic value. 464 * Note: Must be small letters only! 465 * For numeric variables: 466 * This is a dummy variable. Enables searching 467 * array of 'PARAM_VAL_RULES' for name (string) 468 * matching without special case for numeric 469 * variable. 470 * VAL_DESCRIPTOR val_descriptor - 471 * Union of structures (of types VAL_NUM_DESCRIPTOR, 472 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 473 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 474 * See details in file of definition. Note: Symbols 475 * must be small letters only! 476 *USAGE: 477 * SEE ORGANIZATION. 478 *REMARKS: 479 * NONE. 480 *SEE ALSO: 481 */ 482 EXTERN CONST 483 PARAM_VAL_RULES 484 FAP10M_initial_output_link_num_vals[] 485 #ifdef INIT 486 = 487 { 488 { 489 VAL_NUMERIC,SYMB_NAME_NUMERIC, 490 { 491 { 492 HAS_MIN_VALUE | HAS_MAX_VALUE, 493 8,0, 494 /* 495 * Number of times this value can be repeated (i.e., 496 * value is an array). Must be at least 1! 497 */ 498 1, 499 (VAL_PROC_PTR)NULL 500 } 501 } 502 }, 503 /* 504 * Last element. Do not remove. 505 */ 506 { 507 VAL_END_OF_LIST 508 } 509 } 510 #endif 511 ; 512 /******************************************************** 513 *NAME 514 * FAP10M_fe1_link_num_vals 515 *TYPE: BUFFER 516 *DATE: 25/MAR/2003 517 *FUNCTION: 518 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 519 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 520 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 521 *ORGANIZATION: 522 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 523 * int val_type - 524 * Type of value. Can be: 525 * VAL_END_OF_LIST 0 526 * VAL_NUMERIC 1 527 * VAL_SYMBOL 2 528 * VAL_TEXT 3 529 * VAL_IP 4 530 * The first one is only to indicate the end of 531 * this array. The others indicate what kind of 532 * value this is. 533 * char *symb_val - 534 * ASCII presentation of the symbolic value. 535 * Note: Must be small letters only! 536 * For numeric variables: 537 * This is a dummy variable. Enables searching 538 * array of 'PARAM_VAL_RULES' for name (string) 539 * matching without special case for numeric 540 * variable. 541 * VAL_DESCRIPTOR val_descriptor - 542 * Union of structures (of types VAL_NUM_DESCRIPTOR, 543 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 544 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 545 * See details in file of definition. Note: Symbols 546 * must be small letters only! 547 *USAGE: 548 * SEE ORGANIZATION. 549 *REMARKS: 550 * NONE. 551 *SEE ALSO: 552 */ 553 EXTERN CONST 554 PARAM_VAL_RULES 555 FAP10M_fe1_link_num_vals[] 556 #ifdef INIT 557 = 558 { 559 { 560 VAL_NUMERIC,SYMB_NAME_NUMERIC, 561 { 562 { 563 HAS_MIN_VALUE | HAS_MAX_VALUE, 564 31,0, 565 /* 566 * Number of times this value can be repeated (i.e., 567 * value is an array). Must be at least 1! 568 */ 569 1, 570 (VAL_PROC_PTR)NULL 571 } 572 } 573 }, 574 /* 575 * Last element. Do not remove. 576 */ 577 { 578 VAL_END_OF_LIST 579 } 580 } 581 #endif 582 ; 583 /******************************************************** 584 *NAME 585 * Fap10m_queue_label_type_default 586 *TYPE: BUFFER 587 *DATE: 25/MAR/2003 588 *FUNCTION: 589 * Default number if no amplitude. 590 *ORGANIZATION: 591 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 592 * int val_type - 593 * Type of variable (VAL_NUMERIC, VAL_TEXT, 594 * VAL_IP OR VAL_SYMBOL) 595 * union value - 596 * Union of one of 597 * int int_value 598 * char *string_value 599 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 600 * unsigned long ip_value ; 601 * Value of default variable. 602 *USAGE: 603 * SEE ORGANIZATION. 604 *REMARKS: 605 * NONE. 606 *SEE ALSO: 607 */ 608 EXTERN CONST 609 PARAM_VAL 610 Fap10m_queue_label_type_default 611 #ifdef INIT 612 = 613 { 614 VAL_SYMBOL, 615 FAP10M_DESTINATION_MAPPING, 616 { 617 /* 618 * Casting may be required here only to keep the compiler silent. 619 */ 620 (unsigned long)"destination_mapping" 621 } 622 } 623 #endif 624 ; 625 /******************************************************** 626 *NAME 627 * Fap10m_Interrupt_mockup_default 628 *TYPE: BUFFER 629 *DATE: 25/MAR/2003 630 *FUNCTION: 631 * Default number if no amplitude. 632 *ORGANIZATION: 633 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 634 * int val_type - 635 * Type of variable (VAL_NUMERIC, VAL_TEXT, 636 * VAL_IP OR VAL_SYMBOL) 637 * union value - 638 * Union of one of 639 * int int_value 640 * char *string_value 641 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 642 * unsigned long ip_value ; 643 * Value of default variable. 644 *USAGE: 645 * SEE ORGANIZATION. 646 *REMARKS: 647 * NONE. 648 *SEE ALSO: 649 */ 650 EXTERN CONST 651 PARAM_VAL 652 Fap10m_Interrupt_mockup_default 653 #ifdef INIT 654 = 655 { 656 VAL_SYMBOL, 657 2, 658 { 659 /* 660 * Casting may be required here only to keep the compiler silent. 661 */ 662 (unsigned long)"dont_mockup_interruupts" 663 } 664 } 665 #endif 666 ; 667 /******************************************************** 668 *NAME 669 * Fap10m_fe1_link_default 670 *TYPE: BUFFER 671 *DATE: 25/MAR/2003 672 *FUNCTION: 673 * Default number if no amplitude. 674 *ORGANIZATION: 675 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 676 * int val_type - 677 * Type of variable (VAL_NUMERIC, VAL_TEXT, 678 * VAL_IP OR VAL_SYMBOL) 679 * union value - 680 * Union of one of 681 * int int_value 682 * char *string_value 683 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 684 * unsigned long ip_value ; 685 * Value of default variable. 686 *USAGE: 687 * SEE ORGANIZATION. 688 *REMARKS: 689 * NONE. 690 *SEE ALSO: 691 */ 692 EXTERN CONST 693 PARAM_VAL 694 Fap10m_fe1_link_default 695 #ifdef INIT 696 = 697 { 698 VAL_NUMERIC, 699 0, 700 { 701 /* 702 * Casting may be required here only to keep the compiler silent. 703 */ 704 (unsigned long)0 705 } 706 } 707 #endif 708 ; 709 /******************************************************** 710 *NAME 711 * FAP10M_fe2_link_num_vals 712 *TYPE: BUFFER 713 *DATE: 25/MAR/2003 714 *FUNCTION: 715 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 716 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 717 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 718 *ORGANIZATION: 719 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 720 * int val_type - 721 * Type of value. Can be: 722 * VAL_END_OF_LIST 0 723 * VAL_NUMERIC 1 724 * VAL_SYMBOL 2 725 * VAL_TEXT 3 726 * VAL_IP 4 727 * The first one is only to indicate the end of 728 * this array. The others indicate what kind of 729 * value this is. 730 * char *symb_val - 731 * ASCII presentation of the symbolic value. 732 * Note: Must be small letters only! 733 * For numeric variables: 734 * This is a dummy variable. Enables searching 735 * array of 'PARAM_VAL_RULES' for name (string) 736 * matching without special case for numeric 737 * variable. 738 * VAL_DESCRIPTOR val_descriptor - 739 * Union of structures (of types VAL_NUM_DESCRIPTOR, 740 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 741 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 742 * See details in file of definition. Note: Symbols 743 * must be small letters only! 744 *USAGE: 745 * SEE ORGANIZATION. 746 *REMARKS: 747 * NONE. 748 *SEE ALSO: 749 */ 750 EXTERN CONST 751 PARAM_VAL_RULES 752 FAP10M_fe2_link_num_vals[] 753 #ifdef INIT 754 = 755 { 756 { 757 VAL_NUMERIC,SYMB_NAME_NUMERIC, 758 { 759 { 760 HAS_MIN_VALUE | HAS_MAX_VALUE, 761 63,0, 762 /* 763 * Number of times this value can be repeated (i.e., 764 * value is an array). Must be at least 1! 765 */ 766 1, 767 (VAL_PROC_PTR)NULL 768 } 769 } 770 }, 771 /* 772 * Last element. Do not remove. 773 */ 774 { 775 VAL_END_OF_LIST 776 } 777 } 778 #endif 779 ; 780 /******************************************************** 781 *NAME 782 * Fap10m_fe2_link_default 783 *TYPE: BUFFER 784 *DATE: 25/MAR/2003 785 *FUNCTION: 786 * Default number if no amplitude. 787 *ORGANIZATION: 788 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 789 * int val_type - 790 * Type of variable (VAL_NUMERIC, VAL_TEXT, 791 * VAL_IP OR VAL_SYMBOL) 792 * union value - 793 * Union of one of 794 * int int_value 795 * char *string_value 796 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 797 * unsigned long ip_value ; 798 * Value of default variable. 799 *USAGE: 800 * SEE ORGANIZATION. 801 *REMARKS: 802 * NONE. 803 *SEE ALSO: 804 */ 805 EXTERN CONST 806 PARAM_VAL 807 Fap10m_fe2_link_default 808 #ifdef INIT 809 = 810 { 811 VAL_NUMERIC, 812 0, 813 { 814 /* 815 * Casting may be required here only to keep the compiler silent. 816 */ 817 (unsigned long)0 818 } 819 } 820 #endif 821 ; 822 /******************************************************** 823 *NAME 824 * Fap10m_fe3_link_num_vals 825 *TYPE: BUFFER 826 *DATE: 25/MAR/2003 827 *FUNCTION: 828 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 829 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 830 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 831 *ORGANIZATION: 832 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 833 * int val_type - 834 * Type of value. Can be: 835 * VAL_END_OF_LIST 0 836 * VAL_NUMERIC 1 837 * VAL_SYMBOL 2 838 * VAL_TEXT 3 839 * VAL_IP 4 840 * The first one is only to indicate the end of 841 * this array. The others indicate what kind of 842 * value this is. 843 * char *symb_val - 844 * ASCII presentation of the symbolic value. 845 * Note: Must be small letters only! 846 * For numeric variables: 847 * This is a dummy variable. Enables searching 848 * array of 'PARAM_VAL_RULES' for name (string) 849 * matching without special case for numeric 850 * variable. 851 * VAL_DESCRIPTOR val_descriptor - 852 * Union of structures (of types VAL_NUM_DESCRIPTOR, 853 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 854 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 855 * See details in file of definition. Note: Symbols 856 * must be small letters only! 857 *USAGE: 858 * SEE ORGANIZATION. 859 *REMARKS: 860 * NONE. 861 *SEE ALSO: 862 */ 863 EXTERN CONST 864 PARAM_VAL_RULES 865 Fap10m_fe3_link_num_vals[] 866 #ifdef INIT 867 = 868 { 869 { 870 VAL_NUMERIC,SYMB_NAME_NUMERIC, 871 { 872 { 873 HAS_MIN_VALUE | HAS_MAX_VALUE, 874 31,0, 875 /* 876 * Number of times this value can be repeated (i.e., 877 * value is an array). Must be at least 1! 878 */ 879 1, 880 (VAL_PROC_PTR)NULL 881 } 882 } 883 }, 884 /* 885 * Last element. Do not remove. 886 */ 887 { 888 VAL_END_OF_LIST 889 } 890 } 891 #endif 892 ; 893 /******************************************************** 894 *NAME 895 * Fap10m_fe3_link_default 896 *TYPE: BUFFER 897 *DATE: 25/MAR/2003 898 *FUNCTION: 899 * Default number if no amplitude. 900 *ORGANIZATION: 901 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 902 * int val_type - 903 * Type of variable (VAL_NUMERIC, VAL_TEXT, 904 * VAL_IP OR VAL_SYMBOL) 905 * union value - 906 * Union of one of 907 * int int_value 908 * char *string_value 909 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 910 * unsigned long ip_value ; 911 * Value of default variable. 912 *USAGE: 913 * SEE ORGANIZATION. 914 *REMARKS: 915 * NONE. 916 *SEE ALSO: 917 */ 918 EXTERN CONST 919 PARAM_VAL 920 Fap10m_fe3_link_default 921 #ifdef INIT 922 = 923 { 924 VAL_NUMERIC, 925 0, 926 { 927 /* 928 * Casting may be required here only to keep the compiler silent. 929 */ 930 (unsigned long)0 931 } 932 } 933 #endif 934 ; 935 /******************************************************** 936 *NAME 937 * Fap10m_source_chip_id_num_val 938 *TYPE: BUFFER 939 *DATE: 25/MAR/2003 940 *FUNCTION: 941 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 942 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 943 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 944 *ORGANIZATION: 945 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 946 * int val_type - 947 * Type of value. Can be: 948 * VAL_END_OF_LIST 0 949 * VAL_NUMERIC 1 950 * VAL_SYMBOL 2 951 * VAL_TEXT 3 952 * VAL_IP 4 953 * The first one is only to indicate the end of 954 * this array. The others indicate what kind of 955 * value this is. 956 * char *symb_val - 957 * ASCII presentation of the symbolic value. 958 * Note: Must be small letters only! 959 * For numeric variables: 960 * This is a dummy variable. Enables searching 961 * array of 'PARAM_VAL_RULES' for name (string) 962 * matching without special case for numeric 963 * variable. 964 * VAL_DESCRIPTOR val_descriptor - 965 * Union of structures (of types VAL_NUM_DESCRIPTOR, 966 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 967 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 968 * See details in file of definition. Note: Symbols 969 * must be small letters only! 970 *USAGE: 971 * SEE ORGANIZATION. 972 *REMARKS: 973 * NONE. 974 *SEE ALSO: 975 */ 976 EXTERN CONST 977 PARAM_VAL_RULES 978 Fap10m_source_chip_id_num_val[] 979 #ifdef INIT 980 = 981 { 982 { 983 VAL_NUMERIC,SYMB_NAME_NUMERIC, 984 { 985 { 986 HAS_MIN_VALUE | HAS_MAX_VALUE, 987 FAP10M_NOF_FAPS_IN_SYSTEM-1 /* 255 */,0, 988 /* 989 * Number of times this value can be repeated (i.e., 990 * value is an array). Must be at least 1! 991 */ 992 1, 993 (VAL_PROC_PTR)NULL 994 } 995 } 996 }, 997 /* 998 * Last element. Do not remove. 999 */ 1000 { 1001 VAL_END_OF_LIST 1002 } 1003 } 1004 #endif 1005 ; 1006 /******************************************************** 1007 *NAME 1008 * Fap10m_source_chip_id_default 1009 *TYPE: BUFFER 1010 *DATE: 25/MAR/2003 1011 *FUNCTION: 1012 * Default number if no amplitude. 1013 *ORGANIZATION: 1014 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1015 * int val_type - 1016 * Type of variable (VAL_NUMERIC, VAL_TEXT, 1017 * VAL_IP OR VAL_SYMBOL) 1018 * union value - 1019 * Union of one of 1020 * int int_value 1021 * char *string_value 1022 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 1023 * unsigned long ip_value ; 1024 * Value of default variable. 1025 *USAGE: 1026 * SEE ORGANIZATION. 1027 *REMARKS: 1028 * NONE. 1029 *SEE ALSO: 1030 */ 1031 EXTERN CONST 1032 PARAM_VAL 1033 Fap10m_source_chip_id_default 1034 #ifdef INIT 1035 = 1036 { 1037 VAL_NUMERIC, 1038 0, 1039 { 1040 /* 1041 * Casting may be required here only to keep the compiler silent. 1042 */ 1043 (unsigned long)-1 1044 } 1045 } 1046 #endif 1047 ; 1048 /******************************************************** 1049 *NAME 1050 * Fap10m_cell_body_num_vals 1051 *TYPE: BUFFER 1052 *DATE: 25/MAR/2003 1053 *FUNCTION: 1054 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1055 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 1056 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 1057 *ORGANIZATION: 1058 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1059 * int val_type - 1060 * Type of value. Can be: 1061 * VAL_END_OF_LIST 0 1062 * VAL_NUMERIC 1 1063 * VAL_SYMBOL 2 1064 * VAL_TEXT 3 1065 * VAL_IP 4 1066 * The first one is only to indicate the end of 1067 * this array. The others indicate what kind of 1068 * value this is. 1069 * char *symb_val - 1070 * ASCII presentation of the symbolic value. 1071 * Note: Must be small letters only! 1072 * For numeric variables: 1073 * This is a dummy variable. Enables searching 1074 * array of 'PARAM_VAL_RULES' for name (string) 1075 * matching without special case for numeric 1076 * variable. 1077 * VAL_DESCRIPTOR val_descriptor - 1078 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1079 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1080 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1081 * See details in file of definition. Note: Symbols 1082 * must be small letters only! 1083 *USAGE: 1084 * SEE ORGANIZATION. 1085 *REMARKS: 1086 * NONE. 1087 *SEE ALSO: 1088 */ 1089 EXTERN CONST 1090 PARAM_VAL_RULES 1091 Fap10m_cell_body_num_vals[] 1092 #ifdef INIT 1093 = 1094 { 1095 { 1096 VAL_NUMERIC,SYMB_NAME_NUMERIC, 1097 { 1098 { 1099 0, 1100 0,0, 1101 /* 1102 * Number of times this value can be repeated (i.e., 1103 * value is an array). Must be at least 1! 1104 */ 1105 8, 1106 (VAL_PROC_PTR)NULL 1107 } 1108 } 1109 }, 1110 /* 1111 * Last element. Do not remove. 1112 */ 1113 { 1114 VAL_END_OF_LIST 1115 } 1116 } 1117 #endif 1118 ; 1119 /******************************************************** 1120 *NAME 1121 * Fap10m_list_of_links_num_vals 1122 *TYPE: BUFFER 1123 *DATE: 25/MAR/2003 1124 *FUNCTION: 1125 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1126 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 1127 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 1128 *ORGANIZATION: 1129 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1130 * int val_type - 1131 * Type of value. Can be: 1132 * VAL_END_OF_LIST 0 1133 * VAL_NUMERIC 1 1134 * VAL_SYMBOL 2 1135 * VAL_TEXT 3 1136 * VAL_IP 4 1137 * The first one is only to indicate the end of 1138 * this array. The others indicate what kind of 1139 * value this is. 1140 * char *symb_val - 1141 * ASCII presentation of the symbolic value. 1142 * Note: Must be small letters only! 1143 * For numeric variables: 1144 * This is a dummy variable. Enables searching 1145 * array of 'PARAM_VAL_RULES' for name (string) 1146 * matching without special case for numeric 1147 * variable. 1148 * VAL_DESCRIPTOR val_descriptor - 1149 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1150 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1151 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1152 * See details in file of definition. Note: Symbols 1153 * must be small letters only! 1154 *USAGE: 1155 * SEE ORGANIZATION. 1156 *REMARKS: 1157 * NONE. 1158 *SEE ALSO: 1159 */ 1160 EXTERN CONST 1161 PARAM_VAL_RULES 1162 Fap10m_list_of_links_num_vals[] 1163 #ifdef INIT 1164 = 1165 { 1166 { 1167 VAL_NUMERIC,SYMB_NAME_NUMERIC, 1168 { 1169 { 1170 0, 1171 0,0, 1172 /* 1173 * Number of times this value can be repeated (i.e., 1174 * value is an array). Must be at least 1! 1175 */ 1176 1, 1177 (VAL_PROC_PTR)NULL 1178 } 1179 } 1180 }, 1181 /* 1182 * Last element. Do not remove. 1183 */ 1184 { 1185 VAL_END_OF_LIST 1186 } 1187 } 1188 #endif 1189 ; 1190 /******************************************************** 1191 *NAME 1192 * Fap10m_entity_type 1193 *TYPE: BUFFER 1194 *DATE: 1/JAN/2003 1195 *FUNCTION: 1196 * ARRAY CONTAINING THE DEFAULT VALUE 1197 * RELATED TO THE PARAMETER "DATA". 1198 *ORGANIZATION: 1199 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1200 * int val_type - 1201 * Type of variable (VAL_NUMERIC, VAL_TEXT, 1202 * VAL_IP OR VAL_SYMBOL) 1203 * union value - 1204 * Union of one of 1205 * int int_value 1206 * char *string_value 1207 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 1208 * unsigned long ip_value ; 1209 * Value of default variable. 1210 *USAGE: 1211 * SEE ORGANIZATION. 1212 *REMARKS: 1213 * NONE. 1214 *SEE ALSO: 1215 */ 1216 EXTERN CONST 1217 PARAM_VAL_RULES 1218 Fap10m_entity_type[] 1219 #ifdef INIT 1220 = 1221 { 1222 { 1223 VAL_SYMBOL, 1224 "fe1", 1225 { 1226 { 1227 SOC_SAND_FE1_ENTITY, 1228 /* 1229 * Casting added here just to keep the stupid compiler silent. 1230 */ 1231 (long)" fe1 entity type.", 1232 /* 1233 * Pointer to a function to call after symbolic value 1234 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1235 * Casting to 'long' added here just to keep the stupid 1236 * compiler silent. 1237 */ 1238 (long)NULL 1239 } 1240 } 1241 }, 1242 { 1243 VAL_SYMBOL, 1244 "fe2", 1245 { 1246 { 1247 SOC_SAND_FE2_ENTITY, 1248 /* 1249 * Casting added here just to keep the stupid compiler silent. 1250 */ 1251 (long)" fe2 entity type.", 1252 /* 1253 * Pointer to a function to call after symbolic value 1254 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1255 * Casting to 'long' added here just to keep the stupid 1256 * compiler silent. 1257 */ 1258 (long)NULL 1259 } 1260 } 1261 }, 1262 { 1263 VAL_SYMBOL, 1264 "fe3", 1265 { 1266 { 1267 SOC_SAND_FE3_ENTITY, 1268 /* 1269 * Casting added here just to keep the stupid compiler silent. 1270 */ 1271 (long)" fe3 entity type.", 1272 /* 1273 * Pointer to a function to call after symbolic value 1274 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1275 * Casting to 'long' added here just to keep the stupid 1276 * compiler silent. 1277 */ 1278 (long)NULL 1279 } 1280 } 1281 }, 1282 { 1283 VAL_SYMBOL, 1284 "fip", 1285 { 1286 { 1287 SOC_SAND_FIP_ENTITY, 1288 /* 1289 * Casting added here just to keep the stupid compiler silent. 1290 */ 1291 (long)" fip entity type.", 1292 /* 1293 * Pointer to a function to call after symbolic value 1294 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1295 * Casting to 'long' added here just to keep the stupid 1296 * compiler silent. 1297 */ 1298 (long)NULL 1299 } 1300 } 1301 }, 1302 { 1303 VAL_SYMBOL, 1304 "fop", 1305 { 1306 { 1307 SOC_SAND_FOP_ENTITY, 1308 /* 1309 * Casting added here just to keep the stupid compiler silent. 1310 */ 1311 (long)" fop entity type.", 1312 /* 1313 * Pointer to a function to call after symbolic value 1314 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1315 * Casting to 'long' added here just to keep the stupid 1316 * compiler silent. 1317 */ 1318 (long)NULL 1319 } 1320 } 1321 }, 1322 { 1323 VAL_SYMBOL, 1324 "don't care", 1325 { 1326 { 1327 SOC_SAND_DONT_CARE_ENTITY, 1328 /* 1329 * Casting added here just to keep the stupid compiler silent. 1330 */ 1331 (long)" don't care what's entity type.", 1332 /* 1333 * Pointer to a function to call after symbolic value 1334 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1335 * Casting to 'long' added here just to keep the stupid 1336 * compiler silent. 1337 */ 1338 (long)NULL 1339 } 1340 } 1341 }, 1342 /* 1343 * Last element. Do not remove. 1344 */ 1345 { 1346 VAL_END_OF_LIST 1347 } 1348 } 1349 #endif 1350 ; 1351 /******************************************************** 1352 *NAME 1353 * Fap10m_local_loopback_on_vals 1354 *TYPE: BUFFER 1355 *DATE: 15/APR/2003 1356 *FUNCTION: 1357 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1358 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 1359 * CONTEXT OF SUBJECT 'NVRAM'. 1360 *ORGANIZATION: 1361 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1362 * int val_type - 1363 * Type of value. Can be: 1364 * VAL_END_OF_LIST 0 1365 * VAL_NUMERIC 1 1366 * VAL_SYMBOL 2 1367 * VAL_TEXT 3 1368 * VAL_IP 4 1369 * The first one is only to indicate the end of 1370 * this array. The others indicate what kind of 1371 * value this is. 1372 * VAL_DESCRIPTOR val_descriptor - 1373 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1374 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1375 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1376 * See details in file of definition. Note: Symbols 1377 * must be small letters only! 1378 *USAGE: 1379 * SEE ORGANIZATION. 1380 *REMARKS: 1381 * NONE. 1382 *SEE ALSO: 1383 */ 1384 EXTERN CONST 1385 PARAM_VAL_RULES 1386 Fap10m_local_loopback_on_vals[] 1387 #ifdef INIT 1388 = 1389 { 1390 { 1391 VAL_SYMBOL, 1392 "on", 1393 { 1394 { 1395 ON_EQUIVALENT, 1396 /* 1397 * Casting added here just to keep the stupid compiler silent. 1398 */ 1399 (long)" loppback mode is set to local.", 1400 /* 1401 * Pointer to a function to call after symbolic value 1402 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1403 * Casting to 'long' added here just to keep the stupid 1404 * compiler silent. 1405 */ 1406 (long)NULL 1407 } 1408 } 1409 }, 1410 { 1411 VAL_SYMBOL, 1412 "off", 1413 { 1414 { 1415 OFF_EQUIVALENT, 1416 /* 1417 * Casting added here just to keep the stupid compiler silent. 1418 */ 1419 (long)" loppback mode is not set to local.", 1420 /* 1421 * Pointer to a function to call after symbolic value 1422 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1423 * Casting to 'long' added here just to keep the stupid 1424 * compiler silent. 1425 */ 1426 (long)NULL 1427 } 1428 } 1429 }, 1430 /* 1431 * Last element. Do not remove. 1432 */ 1433 { 1434 VAL_END_OF_LIST 1435 } 1436 } 1437 #endif 1438 ; 1439 /******************************************************** 1440 *NAME 1441 * Fap10m_activate_prbs_generator_vals 1442 *TYPE: BUFFER 1443 *DATE: 15/APR/2003 1444 *FUNCTION: 1445 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1446 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 1447 * CONTEXT OF SUBJECT 'NVRAM'. 1448 *ORGANIZATION: 1449 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1450 * int val_type - 1451 * Type of value. Can be: 1452 * VAL_END_OF_LIST 0 1453 * VAL_NUMERIC 1 1454 * VAL_SYMBOL 2 1455 * VAL_TEXT 3 1456 * VAL_IP 4 1457 * The first one is only to indicate the end of 1458 * this array. The others indicate what kind of 1459 * value this is. 1460 * VAL_DESCRIPTOR val_descriptor - 1461 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1462 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1463 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1464 * See details in file of definition. Note: Symbols 1465 * must be small letters only! 1466 *USAGE: 1467 * SEE ORGANIZATION. 1468 *REMARKS: 1469 * NONE. 1470 *SEE ALSO: 1471 */ 1472 EXTERN CONST 1473 PARAM_VAL_RULES 1474 Fap10m_activate_prbs_generator_vals[] 1475 #ifdef INIT 1476 = 1477 { 1478 { 1479 VAL_SYMBOL, 1480 "on", 1481 { 1482 { 1483 ON_EQUIVALENT, 1484 /* 1485 * Casting added here just to keep the stupid compiler silent. 1486 */ 1487 (long)" Activate prbs generator.", 1488 /* 1489 * Pointer to a function to call after symbolic value 1490 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1491 * Casting to 'long' added here just to keep the stupid 1492 * compiler silent. 1493 */ 1494 (long)NULL 1495 } 1496 } 1497 }, 1498 { 1499 VAL_SYMBOL, 1500 "off", 1501 { 1502 { 1503 OFF_EQUIVALENT, 1504 /* 1505 * Casting added here just to keep the stupid compiler silent. 1506 */ 1507 (long)" Deactivate prbs generator.", 1508 /* 1509 * Pointer to a function to call after symbolic value 1510 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1511 * Casting to 'long' added here just to keep the stupid 1512 * compiler silent. 1513 */ 1514 (long)NULL 1515 } 1516 } 1517 }, 1518 /* 1519 * Last element. Do not remove. 1520 */ 1521 { 1522 VAL_END_OF_LIST 1523 } 1524 } 1525 #endif 1526 ; 1527 /******************************************************** 1528 *NAME 1529 * Fap10m_activate_prbs_checker_vals 1530 *TYPE: BUFFER 1531 *DATE: 15/APR/2003 1532 *FUNCTION: 1533 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1534 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 1535 * CONTEXT OF SUBJECT 'NVRAM'. 1536 *ORGANIZATION: 1537 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1538 * int val_type - 1539 * Type of value. Can be: 1540 * VAL_END_OF_LIST 0 1541 * VAL_NUMERIC 1 1542 * VAL_SYMBOL 2 1543 * VAL_TEXT 3 1544 * VAL_IP 4 1545 * The first one is only to indicate the end of 1546 * this array. The others indicate what kind of 1547 * value this is. 1548 * VAL_DESCRIPTOR val_descriptor - 1549 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1550 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1551 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1552 * See details in file of definition. Note: Symbols 1553 * must be small letters only! 1554 *USAGE: 1555 * SEE ORGANIZATION. 1556 *REMARKS: 1557 * NONE. 1558 *SEE ALSO: 1559 */ 1560 EXTERN CONST 1561 PARAM_VAL_RULES 1562 Fap10m_activate_prbs_checker_vals[] 1563 #ifdef INIT 1564 = 1565 { 1566 { 1567 VAL_SYMBOL, 1568 "on", 1569 { 1570 { 1571 ON_EQUIVALENT, 1572 /* 1573 * Casting added here just to keep the stupid compiler silent. 1574 */ 1575 (long)" Activate prbs checker.", 1576 /* 1577 * Pointer to a function to call after symbolic value 1578 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1579 * Casting to 'long' added here just to keep the stupid 1580 * compiler silent. 1581 */ 1582 (long)NULL 1583 } 1584 } 1585 }, 1586 { 1587 VAL_SYMBOL, 1588 "off", 1589 { 1590 { 1591 OFF_EQUIVALENT, 1592 /* 1593 * Casting added here just to keep the stupid compiler silent. 1594 */ 1595 (long)" Deactivate prbs checker.", 1596 /* 1597 * Pointer to a function to call after symbolic value 1598 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1599 * Casting to 'long' added here just to keep the stupid 1600 * compiler silent. 1601 */ 1602 (long)NULL 1603 } 1604 } 1605 }, 1606 /* 1607 * Last element. Do not remove. 1608 */ 1609 { 1610 VAL_END_OF_LIST 1611 } 1612 } 1613 #endif 1614 ; 1615 /******************************************************** 1616 *NAME 1617 * FAP10M_mac_counter_type_vals 1618 *TYPE: BUFFER 1619 *DATE: 15/APR/2003 1620 *FUNCTION: 1621 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1622 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 1623 * CONTEXT OF SUBJECT 'NVRAM'. 1624 *ORGANIZATION: 1625 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1626 * int val_type - 1627 * Type of value. Can be: 1628 * VAL_END_OF_LIST 0 1629 * VAL_NUMERIC 1 1630 * VAL_SYMBOL 2 1631 * VAL_TEXT 3 1632 * VAL_IP 4 1633 * The first one is only to indicate the end of 1634 * this array. The others indicate what kind of 1635 * value this is. 1636 * VAL_DESCRIPTOR val_descriptor - 1637 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1638 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1639 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1640 * See details in file of definition. Note: Symbols 1641 * must be small letters only! 1642 *USAGE: 1643 * SEE ORGANIZATION. 1644 *REMARKS: 1645 * NONE. 1646 *SEE ALSO: 1647 */ 1648 EXTERN CONST 1649 PARAM_VAL_RULES 1650 FAP10M_mac_counter_type_vals[] 1651 #ifdef INIT 1652 = 1653 { 1654 { 1655 VAL_SYMBOL, 1656 "all_cells", 1657 { 1658 { 1659 COUNT_ALL_CELLS, 1660 /* 1661 * Casting added here just to keep the stupid compiler silent. 1662 */ 1663 (long)" Counts all cells.", 1664 /* 1665 * Pointer to a function to call after symbolic value 1666 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1667 * Casting to 'long' added here just to keep the stupid 1668 * compiler silent. 1669 */ 1670 (long)NULL 1671 } 1672 } 1673 }, 1674 { 1675 VAL_SYMBOL, 1676 "control_cells", 1677 { 1678 { 1679 COUNT_CONTROL_CELLS_ONLY, 1680 /* 1681 * Casting added here just to keep the stupid compiler silent. 1682 */ 1683 (long)" Counts control cells.", 1684 /* 1685 * Pointer to a function to call after symbolic value 1686 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1687 * Casting to 'long' added here just to keep the stupid 1688 * compiler silent. 1689 */ 1690 (long)NULL 1691 } 1692 } 1693 }, 1694 { 1695 VAL_SYMBOL, 1696 "non-empty_data_cells", 1697 { 1698 { 1699 COUNT_PKT_DATA_CELLS_ONLY, 1700 /* 1701 * Casting added here just to keep the stupid compiler silent. 1702 */ 1703 (long)" Counts packet data cells.", 1704 /* 1705 * Pointer to a function to call after symbolic value 1706 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1707 * Casting to 'long' added here just to keep the stupid 1708 * compiler silent. 1709 */ 1710 (long)NULL 1711 } 1712 } 1713 }, 1714 { 1715 VAL_SYMBOL, 1716 "empty_data_cells", 1717 { 1718 { 1719 COUNT_EMPTY_DATA_CELLS_ONLY, 1720 /* 1721 * Casting added here just to keep the stupid compiler silent. 1722 */ 1723 (long)" Counts empty data cells.", 1724 /* 1725 * Pointer to a function to call after symbolic value 1726 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1727 * Casting to 'long' added here just to keep the stupid 1728 * compiler silent. 1729 */ 1730 (long)NULL 1731 } 1732 } 1733 }, 1734 /* 1735 * Last element. Do not remove. 1736 */ 1737 { 1738 VAL_END_OF_LIST 1739 } 1740 } 1741 #endif 1742 ; 1743 /******************************************************** 1744 *NAME 1745 * Fap10m_enable_disable 1746 *TYPE: BUFFER 1747 *DATE: 15/1/2005 1748 *FUNCTION: 1749 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1750 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 1751 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 1752 *ORGANIZATION: 1753 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1754 * int val_type - 1755 * Type of value. Can be: 1756 * VAL_END_OF_LIST 0 1757 * VAL_NUMERIC 1 1758 * VAL_SYMBOL 2 1759 * VAL_TEXT 3 1760 * VAL_IP 4 1761 * The first one is only to indicate the end of 1762 * this array. The others indicate what kind of 1763 * value this is. 1764 * char *symb_val - 1765 * ASCII presentation of the symbolic value. 1766 * Note: Must be small letters only! 1767 * For numeric variables: 1768 * This is a dummy variable. Enables searching 1769 * array of 'PARAM_VAL_RULES' for name (string) 1770 * matching without special case for numeric 1771 * variable. 1772 * VAL_DESCRIPTOR val_descriptor - 1773 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1774 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1775 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1776 * See details in file of definition. Note: Symbols 1777 * must be small letters only! 1778 *USAGE: 1779 * SEE ORGANIZATION. 1780 *REMARKS: 1781 * NONE. 1782 *SEE ALSO: 1783 */ 1784 EXTERN CONST 1785 PARAM_VAL_RULES 1786 Fap10m_enable_disable[] 1787 #ifdef INIT 1788 = 1789 { 1790 { 1791 VAL_SYMBOL, 1792 "enable", 1793 { 1794 { 1795 TRUE, 1796 /* 1797 * Casting added here just to keep the stupid compiler silent. 1798 */ 1799 (long)" Enable RX direction fabric link flow control.", 1800 /* 1801 * Pointer to a function to call after symbolic value 1802 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1803 * Casting to 'long' added here just to keep the stupid 1804 * compiler silent. 1805 */ 1806 (long)NULL 1807 } 1808 } 1809 }, 1810 { 1811 VAL_SYMBOL, 1812 "disable", 1813 { 1814 { 1815 FALSE, 1816 /* 1817 * Casting added here just to keep the stupid compiler silent. 1818 */ 1819 (long)" Disable RX direction fabric link flow control.", 1820 /* 1821 * Pointer to a function to call after symbolic value 1822 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1823 * Casting to 'long' added here just to keep the stupid 1824 * compiler silent. 1825 */ 1826 (long)NULL 1827 } 1828 } 1829 }, 1830 /* 1831 * Last element. Do not remove. 1832 */ 1833 { 1834 VAL_END_OF_LIST 1835 } 1836 } 1837 1838 #endif 1839 ; 1840 /******************************************************** 1841 *NAME 1842 * Fap10m_tx_fc 1843 *TYPE: BUFFER 1844 *DATE: 15/1/2005 1845 *FUNCTION: 1846 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1847 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 1848 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 1849 *ORGANIZATION: 1850 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1851 * int val_type - 1852 * Type of value. Can be: 1853 * VAL_END_OF_LIST 0 1854 * VAL_NUMERIC 1 1855 * VAL_SYMBOL 2 1856 * VAL_TEXT 3 1857 * VAL_IP 4 1858 * The first one is only to indicate the end of 1859 * this array. The others indicate what kind of 1860 * value this is. 1861 * char *symb_val - 1862 * ASCII presentation of the symbolic value. 1863 * Note: Must be small letters only! 1864 * For numeric variables: 1865 * This is a dummy variable. Enables searching 1866 * array of 'PARAM_VAL_RULES' for name (string) 1867 * matching without special case for numeric 1868 * variable. 1869 * VAL_DESCRIPTOR val_descriptor - 1870 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1871 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1872 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1873 * See details in file of definition. Note: Symbols 1874 * must be small letters only! 1875 *USAGE: 1876 * SEE ORGANIZATION. 1877 *REMARKS: 1878 * NONE. 1879 *SEE ALSO: 1880 */ 1881 EXTERN CONST 1882 PARAM_VAL_RULES 1883 Fap10m_tx_fc[] 1884 #ifdef INIT 1885 = 1886 { 1887 { 1888 VAL_SYMBOL, 1889 "enable", 1890 { 1891 { 1892 TRUE, 1893 /* 1894 * Casting added here just to keep the stupid compiler silent. 1895 */ 1896 (long)" Enable TX direction fabric link flow control.", 1897 /* 1898 * Pointer to a function to call after symbolic value 1899 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1900 * Casting to 'long' added here just to keep the stupid 1901 * compiler silent. 1902 */ 1903 (long)NULL 1904 } 1905 } 1906 }, 1907 { 1908 VAL_SYMBOL, 1909 "disable", 1910 { 1911 { 1912 FALSE, 1913 /* 1914 * Casting added here just to keep the stupid compiler silent. 1915 */ 1916 (long)" Disable TX direction fabric link flow control.", 1917 /* 1918 * Pointer to a function to call after symbolic value 1919 * has been accepted. Casting should be 'VAL_PROC_PTR'. 1920 * Casting to 'long' added here just to keep the stupid 1921 * compiler silent. 1922 */ 1923 (long)NULL 1924 } 1925 } 1926 }, 1927 /* 1928 * Last element. Do not remove. 1929 */ 1930 { 1931 VAL_END_OF_LIST 1932 } 1933 } 1934 1935 #endif 1936 ; 1937 /******************************************************** 1938 *NAME 1939 * Fap10m_serdes_number_num_vals 1940 *TYPE: BUFFER 1941 *DATE: 25/MAR/2003 1942 *FUNCTION: 1943 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 1944 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 1945 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 1946 *ORGANIZATION: 1947 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 1948 * int val_type - 1949 * Type of value. Can be: 1950 * VAL_END_OF_LIST 0 1951 * VAL_NUMERIC 1 1952 * VAL_SYMBOL 2 1953 * VAL_TEXT 3 1954 * VAL_IP 4 1955 * The first one is only to indicate the end of 1956 * this array. The others indicate what kind of 1957 * value this is. 1958 * char *symb_val - 1959 * ASCII presentation of the symbolic value. 1960 * Note: Must be small letters only! 1961 * For numeric variables: 1962 * This is a dummy variable. Enables searching 1963 * array of 'PARAM_VAL_RULES' for name (string) 1964 * matching without special case for numeric 1965 * variable. 1966 * VAL_DESCRIPTOR val_descriptor - 1967 * Union of structures (of types VAL_NUM_DESCRIPTOR, 1968 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 1969 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 1970 * See details in file of definition. Note: Symbols 1971 * must be small letters only! 1972 *USAGE: 1973 * SEE ORGANIZATION. 1974 *REMARKS: 1975 * NONE. 1976 *SEE ALSO: 1977 */ 1978 EXTERN CONST 1979 PARAM_VAL_RULES 1980 Fap10m_serdes_number_num_vals[] 1981 #ifdef INIT 1982 = 1983 { 1984 { 1985 VAL_NUMERIC,SYMB_NAME_NUMERIC, 1986 { 1987 { 1988 HAS_MIN_VALUE | HAS_MAX_VALUE, 1989 FAP10M_NUMBER_OF_LINKS-1,0, 1990 /* 1991 * Number of times this value can be repeated (i.e., 1992 * value is an array). Must be at least 1! 1993 */ 1994 1, 1995 (VAL_PROC_PTR)NULL 1996 } 1997 } 1998 }, 1999 /* 2000 * Last element. Do not remove. 2001 */ 2002 { 2003 VAL_END_OF_LIST 2004 } 2005 } 2006 #endif 2007 ; 2008 /******************************************************** 2009 *NAME 2010 * Fap10m_prbs_generator_links 2011 *TYPE: BUFFER 2012 *DATE: 25/MAR/2003 2013 *FUNCTION: 2014 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2015 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2016 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2017 *ORGANIZATION: 2018 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2019 * int val_type - 2020 * Type of value. Can be: 2021 * VAL_END_OF_LIST 0 2022 * VAL_NUMERIC 1 2023 * VAL_SYMBOL 2 2024 * VAL_TEXT 3 2025 * VAL_IP 4 2026 * The first one is only to indicate the end of 2027 * this array. The others indicate what kind of 2028 * value this is. 2029 * char *symb_val - 2030 * ASCII presentation of the symbolic value. 2031 * Note: Must be small letters only! 2032 * For numeric variables: 2033 * This is a dummy variable. Enables searching 2034 * array of 'PARAM_VAL_RULES' for name (string) 2035 * matching without special case for numeric 2036 * variable. 2037 * VAL_DESCRIPTOR val_descriptor - 2038 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2039 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2040 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2041 * See details in file of definition. Note: Symbols 2042 * must be small letters only! 2043 *USAGE: 2044 * SEE ORGANIZATION. 2045 *REMARKS: 2046 * NONE. 2047 *SEE ALSO: 2048 */ 2049 EXTERN CONST 2050 PARAM_VAL_RULES 2051 Fap10m_prbs_generator_links[] 2052 #ifdef INIT 2053 = 2054 { 2055 { 2056 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2057 { 2058 { 2059 HAS_MIN_VALUE | HAS_MAX_VALUE, 2060 FAP10M_NUMBER_OF_LINKS-1,0, 2061 /* 2062 * Number of times this value can be repeated (i.e., 2063 * value is an array). Must be at least 1! 2064 */ 2065 FAP10M_NUMBER_OF_LINKS, 2066 (VAL_PROC_PTR)NULL 2067 } 2068 } 2069 }, 2070 /* 2071 * Last element. Do not remove. 2072 */ 2073 { 2074 VAL_END_OF_LIST 2075 } 2076 } 2077 #endif 2078 ; 2079 2080 /******************************************************** 2081 *NAME 2082 * Fap10m_serdes_number_default 2083 *TYPE: BUFFER 2084 *DATE: 25/MAR/2003 2085 *FUNCTION: 2086 * Default number if no amplitude. 2087 *ORGANIZATION: 2088 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2089 * int val_type - 2090 * Type of variable (VAL_NUMERIC, VAL_TEXT, 2091 * VAL_IP OR VAL_SYMBOL) 2092 * union value - 2093 * Union of one of 2094 * int int_value 2095 * char *string_value 2096 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 2097 * unsigned long ip_value ; 2098 * Value of default variable. 2099 *USAGE: 2100 * SEE ORGANIZATION. 2101 *REMARKS: 2102 * NONE. 2103 *SEE ALSO: 2104 */ 2105 EXTERN CONST 2106 PARAM_VAL 2107 Fap10m_serdes_number_default 2108 #ifdef INIT 2109 = 2110 { 2111 VAL_NUMERIC, 2112 0, 2113 { 2114 /* 2115 * Casting may be required here only to keep the compiler silent. 2116 */ 2117 (unsigned long)0 2118 } 2119 } 2120 #endif 2121 ; 2122 /******************************************************** 2123 *NAME 2124 * Fap10m_serdes_amplitude_num_vals 2125 *TYPE: BUFFER 2126 *DATE: 25/MAR/2003 2127 *FUNCTION: 2128 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2129 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2130 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2131 *ORGANIZATION: 2132 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2133 * int val_type - 2134 * Type of value. Can be: 2135 * VAL_END_OF_LIST 0 2136 * VAL_NUMERIC 1 2137 * VAL_SYMBOL 2 2138 * VAL_TEXT 3 2139 * VAL_IP 4 2140 * The first one is only to indicate the end of 2141 * this array. The others indicate what kind of 2142 * value this is. 2143 * char *symb_val - 2144 * ASCII presentation of the symbolic value. 2145 * Note: Must be small letters only! 2146 * For numeric variables: 2147 * This is a dummy variable. Enables searching 2148 * array of 'PARAM_VAL_RULES' for name (string) 2149 * matching without special case for numeric 2150 * variable. 2151 * VAL_DESCRIPTOR val_descriptor - 2152 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2153 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2154 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2155 * See details in file of definition. Note: Symbols 2156 * must be small letters only! 2157 *USAGE: 2158 * SEE ORGANIZATION. 2159 *REMARKS: 2160 * NONE. 2161 *SEE ALSO: 2162 */ 2163 EXTERN CONST 2164 PARAM_VAL_RULES 2165 Fap10m_serdes_amplitude_num_vals[] 2166 #ifdef INIT 2167 = 2168 { 2169 { 2170 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2171 { 2172 { 2173 HAS_MIN_VALUE | HAS_MAX_VALUE, 2174 7,0, 2175 /* 2176 * Number of times this value can be repeated (i.e., 2177 * value is an array). Must be at least 1! 2178 */ 2179 1, 2180 (VAL_PROC_PTR)NULL 2181 } 2182 } 2183 }, 2184 /* 2185 * Last element. Do not remove. 2186 */ 2187 { 2188 VAL_END_OF_LIST 2189 } 2190 } 2191 #endif 2192 ; 2193 /******************************************************** 2194 *NAME 2195 * Fap10m_serdes_amplitude_default 2196 *TYPE: BUFFER 2197 *DATE: 25/MAR/2003 2198 *FUNCTION: 2199 * Default number if no amplitude. 2200 *ORGANIZATION: 2201 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2202 * int val_type - 2203 * Type of variable (VAL_NUMERIC, VAL_TEXT, 2204 * VAL_IP OR VAL_SYMBOL) 2205 * union value - 2206 * Union of one of 2207 * int int_value 2208 * char *string_value 2209 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 2210 * unsigned long ip_value ; 2211 * Value of default variable. 2212 *USAGE: 2213 * SEE ORGANIZATION. 2214 *REMARKS: 2215 * NONE. 2216 *SEE ALSO: 2217 */ 2218 EXTERN CONST 2219 PARAM_VAL 2220 Fap10m_serdes_amplitude_default 2221 #ifdef INIT 2222 = 2223 { 2224 VAL_NUMERIC, 2225 0, 2226 { 2227 /* 2228 * Casting may be required here only to keep the compiler silent. 2229 */ 2230 (unsigned long)1 2231 } 2232 } 2233 #endif 2234 ; 2235 /******************************************************** 2236 *NAME 2237 * Fap10m_serdes_common_mode_num_vals 2238 *TYPE: BUFFER 2239 *DATE: 25/MAR/2003 2240 *FUNCTION: 2241 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2242 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2243 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2244 *ORGANIZATION: 2245 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2246 * int val_type - 2247 * Type of value. Can be: 2248 * VAL_END_OF_LIST 0 2249 * VAL_NUMERIC 1 2250 * VAL_SYMBOL 2 2251 * VAL_TEXT 3 2252 * VAL_IP 4 2253 * The first one is only to indicate the end of 2254 * this array. The others indicate what kind of 2255 * value this is. 2256 * char *symb_val - 2257 * ASCII presentation of the symbolic value. 2258 * Note: Must be small letters only! 2259 * For numeric variables: 2260 * This is a dummy variable. Enables searching 2261 * array of 'PARAM_VAL_RULES' for name (string) 2262 * matching without special case for numeric 2263 * variable. 2264 * VAL_DESCRIPTOR val_descriptor - 2265 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2266 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2267 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2268 * See details in file of definition. Note: Symbols 2269 * must be small letters only! 2270 *USAGE: 2271 * SEE ORGANIZATION. 2272 *REMARKS: 2273 * NONE. 2274 *SEE ALSO: 2275 */ 2276 EXTERN CONST 2277 PARAM_VAL_RULES 2278 Fap10m_serdes_common_mode_num_vals[] 2279 #ifdef INIT 2280 = 2281 { 2282 { 2283 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2284 { 2285 { 2286 HAS_MIN_VALUE | HAS_MAX_VALUE, 2287 3,0, 2288 /* 2289 * Number of times this value can be repeated (i.e., 2290 * value is an array). Must be at least 1! 2291 */ 2292 1, 2293 (VAL_PROC_PTR)NULL 2294 } 2295 } 2296 }, 2297 /* 2298 * Last element. Do not remove. 2299 */ 2300 { 2301 VAL_END_OF_LIST 2302 } 2303 } 2304 #endif 2305 ; 2306 /******************************************************** 2307 *NAME 2308 * Fap10m_serdes_common_mode_default 2309 *TYPE: BUFFER 2310 *DATE: 25/MAR/2003 2311 *FUNCTION: 2312 * Default number if no amplitude. 2313 *ORGANIZATION: 2314 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2315 * int val_type - 2316 * Type of variable (VAL_NUMERIC, VAL_TEXT, 2317 * VAL_IP OR VAL_SYMBOL) 2318 * union value - 2319 * Union of one of 2320 * int int_value 2321 * char *string_value 2322 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 2323 * unsigned long ip_value ; 2324 * Value of default variable. 2325 *USAGE: 2326 * SEE ORGANIZATION. 2327 *REMARKS: 2328 * NONE. 2329 *SEE ALSO: 2330 */ 2331 EXTERN CONST 2332 PARAM_VAL 2333 Fap10m_serdes_common_mode_default 2334 #ifdef INIT 2335 = 2336 { 2337 VAL_NUMERIC, 2338 0, 2339 { 2340 /* 2341 * Casting may be required here only to keep the compiler silent. 2342 */ 2343 (unsigned long)2 2344 } 2345 } 2346 #endif 2347 ; 2348 /******************************************************** 2349 *NAME 2350 * Fap10m_serdes_main_control_num_vals 2351 *TYPE: BUFFER 2352 *DATE: 25/MAR/2003 2353 *FUNCTION: 2354 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2355 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2356 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2357 *ORGANIZATION: 2358 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2359 * int val_type - 2360 * Type of value. Can be: 2361 * VAL_END_OF_LIST 0 2362 * VAL_NUMERIC 1 2363 * VAL_SYMBOL 2 2364 * VAL_TEXT 3 2365 * VAL_IP 4 2366 * The first one is only to indicate the end of 2367 * this array. The others indicate what kind of 2368 * value this is. 2369 * char *symb_val - 2370 * ASCII presentation of the symbolic value. 2371 * Note: Must be small letters only! 2372 * For numeric variables: 2373 * This is a dummy variable. Enables searching 2374 * array of 'PARAM_VAL_RULES' for name (string) 2375 * matching without special case for numeric 2376 * variable. 2377 * VAL_DESCRIPTOR val_descriptor - 2378 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2379 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2380 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2381 * See details in file of definition. Note: Symbols 2382 * must be small letters only! 2383 *USAGE: 2384 * SEE ORGANIZATION. 2385 *REMARKS: 2386 * NONE. 2387 *SEE ALSO: 2388 */ 2389 EXTERN CONST 2390 PARAM_VAL_RULES 2391 Fap10m_serdes_main_control_num_vals[] 2392 #ifdef INIT 2393 = 2394 { 2395 { 2396 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2397 { 2398 { 2399 HAS_MIN_VALUE | HAS_MAX_VALUE, 2400 3,0, 2401 /* 2402 * Number of times this value can be repeated (i.e., 2403 * value is an array). Must be at least 1! 2404 */ 2405 1, 2406 (VAL_PROC_PTR)NULL 2407 } 2408 } 2409 }, 2410 /* 2411 * Last element. Do not remove. 2412 */ 2413 { 2414 VAL_END_OF_LIST 2415 } 2416 } 2417 #endif 2418 ; 2419 /******************************************************** 2420 *NAME 2421 * Fap10m_serdes_main_control_default 2422 *TYPE: BUFFER 2423 *DATE: 25/MAR/2003 2424 *FUNCTION: 2425 * Default number if no amplitude. 2426 *ORGANIZATION: 2427 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2428 * int val_type - 2429 * Type of variable (VAL_NUMERIC, VAL_TEXT, 2430 * VAL_IP OR VAL_SYMBOL) 2431 * union value - 2432 * Union of one of 2433 * int int_value 2434 * char *string_value 2435 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 2436 * unsigned long ip_value ; 2437 * Value of default variable. 2438 *USAGE: 2439 * SEE ORGANIZATION. 2440 *REMARKS: 2441 * NONE. 2442 *SEE ALSO: 2443 */ 2444 EXTERN CONST 2445 PARAM_VAL 2446 Fap10m_serdes_main_control_default 2447 #ifdef INIT 2448 = 2449 { 2450 VAL_NUMERIC, 2451 0, 2452 { 2453 /* 2454 * Casting may be required here only to keep the compiler silent. 2455 */ 2456 (unsigned long)0 2457 } 2458 } 2459 #endif 2460 ; 2461 /******************************************************** 2462 *NAME 2463 * Fap10m_serdes_power_down_num_vals 2464 *TYPE: BUFFER 2465 *DATE: 25/MAR/2003 2466 *FUNCTION: 2467 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2468 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2469 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2470 *ORGANIZATION: 2471 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2472 * int val_type - 2473 * Type of value. Can be: 2474 * VAL_END_OF_LIST 0 2475 * VAL_NUMERIC 1 2476 * VAL_SYMBOL 2 2477 * VAL_TEXT 3 2478 * VAL_IP 4 2479 * The first one is only to indicate the end of 2480 * this array. The others indicate what kind of 2481 * value this is. 2482 * char *symb_val - 2483 * ASCII presentation of the symbolic value. 2484 * Note: Must be small letters only! 2485 * For numeric variables: 2486 * This is a dummy variable. Enables searching 2487 * array of 'PARAM_VAL_RULES' for name (string) 2488 * matching without special case for numeric 2489 * variable. 2490 * VAL_DESCRIPTOR val_descriptor - 2491 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2492 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2493 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2494 * See details in file of definition. Note: Symbols 2495 * must be small letters only! 2496 *USAGE: 2497 * SEE ORGANIZATION. 2498 *REMARKS: 2499 * NONE. 2500 *SEE ALSO: 2501 */ 2502 EXTERN CONST 2503 PARAM_VAL_RULES 2504 Fap10m_serdes_power_down_num_vals[] 2505 #ifdef INIT 2506 = 2507 { 2508 { 2509 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2510 { 2511 { 2512 HAS_MIN_VALUE | HAS_MAX_VALUE, 2513 1,0, 2514 /* 2515 * Number of times this value can be repeated (i.e., 2516 * value is an array). Must be at least 1! 2517 */ 2518 1, 2519 (VAL_PROC_PTR)NULL 2520 } 2521 } 2522 }, 2523 /* 2524 * Last element. Do not remove. 2525 */ 2526 { 2527 VAL_END_OF_LIST 2528 } 2529 } 2530 #endif 2531 ; 2532 /******************************************************** 2533 *NAME 2534 * Fap10m_serdes_power_down_default 2535 *TYPE: BUFFER 2536 *DATE: 25/MAR/2003 2537 *FUNCTION: 2538 * Default number if no amplitude. 2539 *ORGANIZATION: 2540 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2541 * int val_type - 2542 * Type of variable (VAL_NUMERIC, VAL_TEXT, 2543 * VAL_IP OR VAL_SYMBOL) 2544 * union value - 2545 * Union of one of 2546 * int int_value 2547 * char *string_value 2548 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 2549 * unsigned long ip_value ; 2550 * Value of default variable. 2551 *USAGE: 2552 * SEE ORGANIZATION. 2553 *REMARKS: 2554 * NONE. 2555 *SEE ALSO: 2556 */ 2557 EXTERN CONST 2558 PARAM_VAL 2559 Fap10m_serdes_power_down_default 2560 #ifdef INIT 2561 = 2562 { 2563 VAL_NUMERIC, 2564 0, 2565 { 2566 /* 2567 * Casting may be required here only to keep the compiler silent. 2568 */ 2569 (unsigned long)0 2570 } 2571 } 2572 #endif 2573 ; 2574 /******************************************************** 2575 *NAME 2576 * Fap10m_serdes_pre_emphasis_num_vals 2577 *TYPE: BUFFER 2578 *DATE: 25/MAR/2003 2579 *FUNCTION: 2580 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2581 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2582 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2583 *ORGANIZATION: 2584 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2585 * int val_type - 2586 * Type of value. Can be: 2587 * VAL_END_OF_LIST 0 2588 * VAL_NUMERIC 1 2589 * VAL_SYMBOL 2 2590 * VAL_TEXT 3 2591 * VAL_IP 4 2592 * The first one is only to indicate the end of 2593 * this array. The others indicate what kind of 2594 * value this is. 2595 * char *symb_val - 2596 * ASCII presentation of the symbolic value. 2597 * Note: Must be small letters only! 2598 * For numeric variables: 2599 * This is a dummy variable. Enables searching 2600 * array of 'PARAM_VAL_RULES' for name (string) 2601 * matching without special case for numeric 2602 * variable. 2603 * VAL_DESCRIPTOR val_descriptor - 2604 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2605 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2606 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2607 * See details in file of definition. Note: Symbols 2608 * must be small letters only! 2609 *USAGE: 2610 * SEE ORGANIZATION. 2611 *REMARKS: 2612 * NONE. 2613 *SEE ALSO: 2614 */ 2615 EXTERN CONST 2616 PARAM_VAL_RULES 2617 Fap10m_serdes_pre_emphasis_num_vals[] 2618 #ifdef INIT 2619 = 2620 { 2621 { 2622 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2623 { 2624 { 2625 HAS_MIN_VALUE | HAS_MAX_VALUE, 2626 3,0, 2627 /* 2628 * Number of times this value can be repeated (i.e., 2629 * value is an array). Must be at least 1! 2630 */ 2631 1, 2632 (VAL_PROC_PTR)NULL 2633 } 2634 } 2635 }, 2636 /* 2637 * Last element. Do not remove. 2638 */ 2639 { 2640 VAL_END_OF_LIST 2641 } 2642 } 2643 #endif 2644 ; 2645 /******************************************************** 2646 *NAME 2647 * Fap10m_percent 2648 *TYPE: BUFFER 2649 *DATE: 25/MAR/2003 2650 *FUNCTION: 2651 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2652 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2653 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2654 *ORGANIZATION: 2655 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2656 * int val_type - 2657 * Type of value. Can be: 2658 * VAL_END_OF_LIST 0 2659 * VAL_NUMERIC 1 2660 * VAL_SYMBOL 2 2661 * VAL_TEXT 3 2662 * VAL_IP 4 2663 * The first one is only to indicate the end of 2664 * this array. The others indicate what kind of 2665 * value this is. 2666 * char *symb_val - 2667 * ASCII presentation of the symbolic value. 2668 * Note: Must be small letters only! 2669 * For numeric variables: 2670 * This is a dummy variable. Enables searching 2671 * array of 'PARAM_VAL_RULES' for name (string) 2672 * matching without special case for numeric 2673 * variable. 2674 * VAL_DESCRIPTOR val_descriptor - 2675 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2676 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2677 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2678 * See details in file of definition. Note: Symbols 2679 * must be small letters only! 2680 *USAGE: 2681 * SEE ORGANIZATION. 2682 *REMARKS: 2683 * NONE. 2684 *SEE ALSO: 2685 */ 2686 EXTERN CONST 2687 PARAM_VAL_RULES 2688 Fap10m_percent[] 2689 #ifdef INIT 2690 = 2691 { 2692 { 2693 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2694 { 2695 { 2696 HAS_MIN_VALUE | HAS_MAX_VALUE, 2697 100,0, 2698 /* 2699 * Number of times this value can be repeated (i.e., 2700 * value is an array). Must be at least 1! 2701 */ 2702 1, 2703 (VAL_PROC_PTR)NULL 2704 } 2705 } 2706 }, 2707 /* 2708 * Last element. Do not remove. 2709 */ 2710 { 2711 VAL_END_OF_LIST 2712 } 2713 } 2714 #endif 2715 ; 2716 /******************************************************** 2717 *NAME 2718 * Fap10m_sp_active_links 2719 *TYPE: BUFFER 2720 *DATE: 25/MAR/2003 2721 *FUNCTION: 2722 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2723 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2724 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2725 *ORGANIZATION: 2726 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2727 * int val_type - 2728 * Type of value. Can be: 2729 * VAL_END_OF_LIST 0 2730 * VAL_NUMERIC 1 2731 * VAL_SYMBOL 2 2732 * VAL_TEXT 3 2733 * VAL_IP 4 2734 * The first one is only to indicate the end of 2735 * this array. The others indicate what kind of 2736 * value this is. 2737 * char *symb_val - 2738 * ASCII presentation of the symbolic value. 2739 * Note: Must be small letters only! 2740 * For numeric variables: 2741 * This is a dummy variable. Enables searching 2742 * array of 'PARAM_VAL_RULES' for name (string) 2743 * matching without special case for numeric 2744 * variable. 2745 * VAL_DESCRIPTOR val_descriptor - 2746 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2747 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2748 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2749 * See details in file of definition. Note: Symbols 2750 * must be small letters only! 2751 *USAGE: 2752 * SEE ORGANIZATION. 2753 *REMARKS: 2754 * NONE. 2755 *SEE ALSO: 2756 */ 2757 EXTERN CONST 2758 PARAM_VAL_RULES 2759 Fap10m_sp_active_links[] 2760 #ifdef INIT 2761 = 2762 { 2763 { 2764 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2765 { 2766 { 2767 HAS_MIN_VALUE | HAS_MAX_VALUE, 2768 FAP10M_ENABLE_ALL_LINKS,0, 2769 /* 2770 * Number of times this value can be repeated (i.e., 2771 * value is an array). Must be at least 1! 2772 */ 2773 1, 2774 (VAL_PROC_PTR)NULL 2775 } 2776 } 2777 }, 2778 /* 2779 * Last element. Do not remove. 2780 */ 2781 { 2782 VAL_END_OF_LIST 2783 } 2784 } 2785 #endif 2786 ; 2787 /******************************************************** 2788 *NAME 2789 * Fap10m_sms_max_bandwidth 2790 *TYPE: BUFFER 2791 *DATE: 25/MAR/2003 2792 *FUNCTION: 2793 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2794 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2795 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2796 *ORGANIZATION: 2797 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2798 * int val_type - 2799 * Type of value. Can be: 2800 * VAL_END_OF_LIST 0 2801 * VAL_NUMERIC 1 2802 * VAL_SYMBOL 2 2803 * VAL_TEXT 3 2804 * VAL_IP 4 2805 * The first one is only to indicate the end of 2806 * this array. The others indicate what kind of 2807 * value this is. 2808 * char *symb_val - 2809 * ASCII presentation of the symbolic value. 2810 * Note: Must be small letters only! 2811 * For numeric variables: 2812 * This is a dummy variable. Enables searching 2813 * array of 'PARAM_VAL_RULES' for name (string) 2814 * matching without special case for numeric 2815 * variable. 2816 * VAL_DESCRIPTOR val_descriptor - 2817 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2818 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2819 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2820 * See details in file of definition. Note: Symbols 2821 * must be small letters only! 2822 *USAGE: 2823 * SEE ORGANIZATION. 2824 *REMARKS: 2825 * NONE. 2826 *SEE ALSO: 2827 */ 2828 EXTERN CONST 2829 PARAM_VAL_RULES 2830 Fap10m_sms_max_bandwidth[] 2831 #ifdef INIT 2832 = 2833 { 2834 { 2835 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2836 { 2837 { 2838 HAS_MIN_VALUE | HAS_MAX_VALUE, 2839 160000,0, 2840 /* 2841 * Number of times this value can be repeated (i.e., 2842 * value is an array). Must be at least 1! 2843 */ 2844 1, 2845 (VAL_PROC_PTR)NULL 2846 } 2847 } 2848 }, 2849 /* 2850 * Last element. Do not remove. 2851 */ 2852 { 2853 VAL_END_OF_LIST 2854 } 2855 } 2856 #endif 2857 ; 2858 /******************************************************** 2859 *NAME 2860 * Fap10m_spatial_multicast_id 2861 *TYPE: BUFFER 2862 *DATE: 25/MAR/2003 2863 *FUNCTION: 2864 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2865 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2866 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2867 *ORGANIZATION: 2868 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2869 * int val_type - 2870 * Type of value. Can be: 2871 * VAL_END_OF_LIST 0 2872 * VAL_NUMERIC 1 2873 * VAL_SYMBOL 2 2874 * VAL_TEXT 3 2875 * VAL_IP 4 2876 * The first one is only to indicate the end of 2877 * this array. The others indicate what kind of 2878 * value this is. 2879 * char *symb_val - 2880 * ASCII presentation of the symbolic value. 2881 * Note: Must be small letters only! 2882 * For numeric variables: 2883 * This is a dummy variable. Enables searching 2884 * array of 'PARAM_VAL_RULES' for name (string) 2885 * matching without special case for numeric 2886 * variable. 2887 * VAL_DESCRIPTOR val_descriptor - 2888 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2889 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2890 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2891 * See details in file of definition. Note: Symbols 2892 * must be small letters only! 2893 *USAGE: 2894 * SEE ORGANIZATION. 2895 *REMARKS: 2896 * NONE. 2897 *SEE ALSO: 2898 */ 2899 EXTERN CONST 2900 PARAM_VAL_RULES 2901 Fap10m_spatial_multicast_id[] 2902 #ifdef INIT 2903 = 2904 { 2905 { 2906 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2907 { 2908 { 2909 HAS_MIN_VALUE | HAS_MAX_VALUE, 2910 FAP10M_SPATIAL_MULTICAST_NOF_GROUPS-1,0, 2911 /* 2912 * Number of times this value can be repeated (i.e., 2913 * value is an array). Must be at least 1! 2914 */ 2915 1, 2916 (VAL_PROC_PTR)NULL 2917 } 2918 } 2919 }, 2920 /* 2921 * Last element. Do not remove. 2922 */ 2923 { 2924 VAL_END_OF_LIST 2925 } 2926 } 2927 #endif 2928 ; 2929 /******************************************************** 2930 *NAME 2931 * Fap10m_max_nof_ports 2932 *TYPE: BUFFER 2933 *DATE: 25/MAR/2003 2934 *FUNCTION: 2935 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 2936 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 2937 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 2938 *ORGANIZATION: 2939 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 2940 * int val_type - 2941 * Type of value. Can be: 2942 * VAL_END_OF_LIST 0 2943 * VAL_NUMERIC 1 2944 * VAL_SYMBOL 2 2945 * VAL_TEXT 3 2946 * VAL_IP 4 2947 * The first one is only to indicate the end of 2948 * this array. The others indicate what kind of 2949 * value this is. 2950 * char *symb_val - 2951 * ASCII presentation of the symbolic value. 2952 * Note: Must be small letters only! 2953 * For numeric variables: 2954 * This is a dummy variable. Enables searching 2955 * array of 'PARAM_VAL_RULES' for name (string) 2956 * matching without special case for numeric 2957 * variable. 2958 * VAL_DESCRIPTOR val_descriptor - 2959 * Union of structures (of types VAL_NUM_DESCRIPTOR, 2960 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 2961 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 2962 * See details in file of definition. Note: Symbols 2963 * must be small letters only! 2964 *USAGE: 2965 * SEE ORGANIZATION. 2966 *REMARKS: 2967 * NONE. 2968 *SEE ALSO: 2969 */ 2970 EXTERN CONST 2971 PARAM_VAL_RULES 2972 Fap10m_max_nof_ports[] 2973 #ifdef INIT 2974 = 2975 { 2976 { 2977 VAL_NUMERIC,SYMB_NAME_NUMERIC, 2978 { 2979 { 2980 HAS_MIN_VALUE | HAS_MAX_VALUE, 2981 FAP10M_NOF_SCH_PORTS-2,0, 2982 /* 2983 * Number of times this value can be repeated (i.e., 2984 * value is an array). Must be at least 1! 2985 */ 2986 1, 2987 (VAL_PROC_PTR)NULL 2988 } 2989 } 2990 }, 2991 /* 2992 * Last element. Do not remove. 2993 */ 2994 { 2995 VAL_END_OF_LIST 2996 } 2997 } 2998 #endif 2999 ; 3000 /******************************************************** 3001 *NAME 3002 * Fap10m_spatial_multicast_queue 3003 *TYPE: BUFFER 3004 *DATE: 25/MAR/2003 3005 *FUNCTION: 3006 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3007 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3008 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3009 *ORGANIZATION: 3010 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3011 * int val_type - 3012 * Type of value. Can be: 3013 * VAL_END_OF_LIST 0 3014 * VAL_NUMERIC 1 3015 * VAL_SYMBOL 2 3016 * VAL_TEXT 3 3017 * VAL_IP 4 3018 * The first one is only to indicate the end of 3019 * this array. The others indicate what kind of 3020 * value this is. 3021 * char *symb_val - 3022 * ASCII presentation of the symbolic value. 3023 * Note: Must be small letters only! 3024 * For numeric variables: 3025 * This is a dummy variable. Enables searching 3026 * array of 'PARAM_VAL_RULES' for name (string) 3027 * matching without special case for numeric 3028 * variable. 3029 * VAL_DESCRIPTOR val_descriptor - 3030 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3031 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3032 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3033 * See details in file of definition. Note: Symbols 3034 * must be small letters only! 3035 *USAGE: 3036 * SEE ORGANIZATION. 3037 *REMARKS: 3038 * NONE. 3039 *SEE ALSO: 3040 */ 3041 EXTERN CONST 3042 PARAM_VAL_RULES 3043 Fap10m_spatial_multicast_queue[] 3044 #ifdef INIT 3045 = 3046 { 3047 { 3048 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3049 { 3050 { 3051 HAS_MIN_VALUE | HAS_MAX_VALUE, 3052 FAP10M_SP_QUEUE_3,FAP10M_SP_QUEUE_0, 3053 /* 3054 * Number of times this value can be repeated (i.e., 3055 * value is an array). Must be at least 1! 3056 */ 3057 1, 3058 (VAL_PROC_PTR)NULL 3059 } 3060 } 3061 }, 3062 /* 3063 * Last element. Do not remove. 3064 */ 3065 { 3066 VAL_END_OF_LIST 3067 } 3068 } 3069 #endif 3070 ; 3071 /******************************************************** 3072 *NAME 3073 * Fap10m_flow_id 3074 *TYPE: BUFFER 3075 *DATE: 25/MAR/2003 3076 *FUNCTION: 3077 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3078 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3079 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3080 *ORGANIZATION: 3081 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3082 * int val_type - 3083 * Type of value. Can be: 3084 * VAL_END_OF_LIST 0 3085 * VAL_NUMERIC 1 3086 * VAL_SYMBOL 2 3087 * VAL_TEXT 3 3088 * VAL_IP 4 3089 * The first one is only to indicate the end of 3090 * this array. The others indicate what kind of 3091 * value this is. 3092 * char *symb_val - 3093 * ASCII presentation of the symbolic value. 3094 * Note: Must be small letters only! 3095 * For numeric variables: 3096 * This is a dummy variable. Enables searching 3097 * array of 'PARAM_VAL_RULES' for name (string) 3098 * matching without special case for numeric 3099 * variable. 3100 * VAL_DESCRIPTOR val_descriptor - 3101 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3102 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3103 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3104 * See details in file of definition. Note: Symbols 3105 * must be small letters only! 3106 *USAGE: 3107 * SEE ORGANIZATION. 3108 *REMARKS: 3109 * NONE. 3110 *SEE ALSO: 3111 */ 3112 EXTERN CONST 3113 PARAM_VAL_RULES 3114 Fap10m_flow_id[] 3115 #ifdef INIT 3116 = 3117 { 3118 { 3119 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3120 { 3121 { 3122 HAS_MIN_VALUE | HAS_MAX_VALUE, 3123 FAP10M_NOF_FLOWS-1,0, 3124 /* 3125 * Number of times this value can be repeated (i.e., 3126 * value is an array). Must be at least 1! 3127 */ 3128 1, 3129 (VAL_PROC_PTR)NULL 3130 } 3131 } 3132 }, 3133 /* 3134 * Last element. Do not remove. 3135 */ 3136 { 3137 VAL_END_OF_LIST 3138 } 3139 } 3140 #endif 3141 ; 3142 /******************************************************** 3143 *NAME 3144 * fap10m_scheduler_recycle_flow_weight_vals 3145 *TYPE: BUFFER 3146 *DATE: 25/MAR/2003 3147 *FUNCTION: 3148 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3149 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3150 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3151 *ORGANIZATION: 3152 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3153 * int val_type - 3154 * Type of value. Can be: 3155 * VAL_END_OF_LIST 0 3156 * VAL_NUMERIC 1 3157 * VAL_SYMBOL 2 3158 * VAL_TEXT 3 3159 * VAL_IP 4 3160 * The first one is only to indicate the end of 3161 * this array. The others indicate what kind of 3162 * value this is. 3163 * char *symb_val - 3164 * ASCII presentation of the symbolic value. 3165 * Note: Must be small letters only! 3166 * For numeric variables: 3167 * This is a dummy variable. Enables searching 3168 * array of 'PARAM_VAL_RULES' for name (string) 3169 * matching without special case for numeric 3170 * variable. 3171 * VAL_DESCRIPTOR val_descriptor - 3172 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3173 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3174 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3175 * See details in file of definition. Note: Symbols 3176 * must be small letters only! 3177 *USAGE: 3178 * SEE ORGANIZATION. 3179 *REMARKS: 3180 * NONE. 3181 *SEE ALSO: 3182 */ 3183 EXTERN CONST 3184 PARAM_VAL_RULES 3185 fap10m_scheduler_recycle_flow_weight_vals[] 3186 #ifdef INIT 3187 = 3188 { 3189 { 3190 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3191 { 3192 { 3193 HAS_MIN_VALUE | HAS_MAX_VALUE, 3194 63, 0, 3195 /* 3196 * Number of times this value can be repeated (i.e., 3197 * value is an array). Must be at least 1! 3198 */ 3199 1, 3200 (VAL_PROC_PTR)NULL 3201 } 3202 } 3203 }, 3204 /* 3205 * Last element. Do not remove. 3206 */ 3207 { 3208 VAL_END_OF_LIST 3209 } 3210 } 3211 #endif 3212 ; 3213 /******************************************************** 3214 *NAME 3215 * Fap10m_profile_id 3216 *TYPE: BUFFER 3217 *DATE: 25/MAR/2003 3218 *FUNCTION: 3219 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3220 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3221 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3222 *ORGANIZATION: 3223 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3224 * int val_type - 3225 * Type of value. Can be: 3226 * VAL_END_OF_LIST 0 3227 * VAL_NUMERIC 1 3228 * VAL_SYMBOL 2 3229 * VAL_TEXT 3 3230 * VAL_IP 4 3231 * The first one is only to indicate the end of 3232 * this array. The others indicate what kind of 3233 * value this is. 3234 * char *symb_val - 3235 * ASCII presentation of the symbolic value. 3236 * Note: Must be small letters only! 3237 * For numeric variables: 3238 * This is a dummy variable. Enables searching 3239 * array of 'PARAM_VAL_RULES' for name (string) 3240 * matching without special case for numeric 3241 * variable. 3242 * VAL_DESCRIPTOR val_descriptor - 3243 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3244 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3245 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3246 * See details in file of definition. Note: Symbols 3247 * must be small letters only! 3248 *USAGE: 3249 * SEE ORGANIZATION. 3250 *REMARKS: 3251 * NONE. 3252 *SEE ALSO: 3253 */ 3254 EXTERN CONST 3255 PARAM_VAL_RULES 3256 Fap10m_profile_id[] 3257 #ifdef INIT 3258 = 3259 { 3260 { 3261 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3262 { 3263 { 3264 HAS_MIN_VALUE | HAS_MAX_VALUE, 3265 FAP10M_NOF_PRE_DEFINED_PROFILES-1,0, 3266 /* 3267 * Number of times this value can be repeated (i.e., 3268 * value is an array). Must be at least 1! 3269 */ 3270 1, 3271 (VAL_PROC_PTR)NULL 3272 } 3273 } 3274 }, 3275 /* 3276 * Last element. Do not remove. 3277 */ 3278 { 3279 VAL_END_OF_LIST 3280 } 3281 } 3282 #endif 3283 ; 3284 /******************************************************** 3285 *NAME 3286 * Fap10m_nof_queues 3287 *TYPE: BUFFER 3288 *DATE: 25/MAR/2003 3289 *FUNCTION: 3290 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3291 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3292 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3293 *ORGANIZATION: 3294 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3295 * int val_type - 3296 * Type of value. Can be: 3297 * VAL_END_OF_LIST 0 3298 * VAL_NUMERIC 1 3299 * VAL_SYMBOL 2 3300 * VAL_TEXT 3 3301 * VAL_IP 4 3302 * The first one is only to indicate the end of 3303 * this array. The others indicate what kind of 3304 * value this is. 3305 * char *symb_val - 3306 * ASCII presentation of the symbolic value. 3307 * Note: Must be small letters only! 3308 * For numeric variables: 3309 * This is a dummy variable. Enables searching 3310 * array of 'PARAM_VAL_RULES' for name (string) 3311 * matching without special case for numeric 3312 * variable. 3313 * VAL_DESCRIPTOR val_descriptor - 3314 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3315 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3316 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3317 * See details in file of definition. Note: Symbols 3318 * must be small letters only! 3319 *USAGE: 3320 * SEE ORGANIZATION. 3321 *REMARKS: 3322 * NONE. 3323 *SEE ALSO: 3324 */ 3325 EXTERN CONST 3326 PARAM_VAL_RULES 3327 Fap10m_nof_queues[] 3328 #ifdef INIT 3329 = 3330 { 3331 { 3332 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3333 { 3334 { 3335 HAS_MIN_VALUE | HAS_MAX_VALUE, 3336 FAP10M_NOF_QUEUES,0, 3337 /* 3338 * Number of times this value can be repeated (i.e., 3339 * value is an array). Must be at least 1! 3340 */ 3341 1, 3342 (VAL_PROC_PTR)NULL 3343 } 3344 } 3345 }, 3346 /* 3347 * Last element. Do not remove. 3348 */ 3349 { 3350 VAL_END_OF_LIST 3351 } 3352 } 3353 #endif 3354 ; 3355 /******************************************************** 3356 *NAME 3357 * Fap10m_queue_id 3358 *TYPE: BUFFER 3359 *DATE: 25/MAR/2003 3360 *FUNCTION: 3361 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3362 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3363 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3364 *ORGANIZATION: 3365 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3366 * int val_type - 3367 * Type of value. Can be: 3368 * VAL_END_OF_LIST 0 3369 * VAL_NUMERIC 1 3370 * VAL_SYMBOL 2 3371 * VAL_TEXT 3 3372 * VAL_IP 4 3373 * The first one is only to indicate the end of 3374 * this array. The others indicate what kind of 3375 * value this is. 3376 * char *symb_val - 3377 * ASCII presentation of the symbolic value. 3378 * Note: Must be small letters only! 3379 * For numeric variables: 3380 * This is a dummy variable. Enables searching 3381 * array of 'PARAM_VAL_RULES' for name (string) 3382 * matching without special case for numeric 3383 * variable. 3384 * VAL_DESCRIPTOR val_descriptor - 3385 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3386 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3387 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3388 * See details in file of definition. Note: Symbols 3389 * must be small letters only! 3390 *USAGE: 3391 * SEE ORGANIZATION. 3392 *REMARKS: 3393 * NONE. 3394 *SEE ALSO: 3395 */ 3396 EXTERN CONST 3397 PARAM_VAL_RULES 3398 Fap10m_queue_id[] 3399 #ifdef INIT 3400 = 3401 { 3402 { 3403 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3404 { 3405 { 3406 HAS_MIN_VALUE | HAS_MAX_VALUE, 3407 FAP10M_NOF_QUEUES-1,0, 3408 /* 3409 * Number of times this value can be repeated (i.e., 3410 * value is an array). Must be at least 1! 3411 */ 3412 1, 3413 (VAL_PROC_PTR)NULL 3414 } 3415 } 3416 }, 3417 /* 3418 * Last element. Do not remove. 3419 */ 3420 { 3421 VAL_END_OF_LIST 3422 } 3423 } 3424 #endif 3425 ; 3426 /******************************************************** 3427 *NAME 3428 * Fap10m_packet_data 3429 *TYPE: BUFFER 3430 *DATE: 25/MAR/2003 3431 *FUNCTION: 3432 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3433 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3434 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3435 *ORGANIZATION: 3436 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3437 * int val_type - 3438 * Type of value. Can be: 3439 * VAL_END_OF_LIST 0 3440 * VAL_NUMERIC 1 3441 * VAL_SYMBOL 2 3442 * VAL_TEXT 3 3443 * VAL_IP 4 3444 * The first one is only to indicate the end of 3445 * this array. The others indicate what kind of 3446 * value this is. 3447 * char *symb_val - 3448 * ASCII presentation of the symbolic value. 3449 * Note: Must be small letters only! 3450 * For numeric variables: 3451 * This is a dummy variable. Enables searching 3452 * array of 'PARAM_VAL_RULES' for name (string) 3453 * matching without special case for numeric 3454 * variable. 3455 * VAL_DESCRIPTOR val_descriptor - 3456 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3457 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3458 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3459 * See details in file of definition. Note: Symbols 3460 * must be small letters only! 3461 *USAGE: 3462 * SEE ORGANIZATION. 3463 *REMARKS: 3464 * NONE. 3465 *SEE ALSO: 3466 */ 3467 EXTERN CONST 3468 PARAM_VAL_RULES 3469 Fap10m_packet_data[] 3470 #ifdef INIT 3471 = 3472 { 3473 { 3474 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3475 { 3476 { 3477 0, 3478 0,0, 3479 /* 3480 * Number of times this value can be repeated (i.e., 3481 * value is an array). Must be at least 1! 3482 */ 3483 MAX_REPEATED_PARAM_VAL, 3484 (VAL_PROC_PTR)NULL 3485 } 3486 } 3487 }, 3488 /* 3489 * Last element. Do not remove. 3490 */ 3491 { 3492 VAL_END_OF_LIST 3493 } 3494 } 3495 #endif 3496 ; 3497 /******************************************************** 3498 *NAME 3499 * Fap10m_recycle_multicast_tree_id 3500 *TYPE: BUFFER 3501 *DATE: 25/MAR/2003 3502 *FUNCTION: 3503 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3504 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3505 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3506 *ORGANIZATION: 3507 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3508 * int val_type - 3509 * Type of value. Can be: 3510 * VAL_END_OF_LIST 0 3511 * VAL_NUMERIC 1 3512 * VAL_SYMBOL 2 3513 * VAL_TEXT 3 3514 * VAL_IP 4 3515 * The first one is only to indicate the end of 3516 * this array. The others indicate what kind of 3517 * value this is. 3518 * char *symb_val - 3519 * ASCII presentation of the symbolic value. 3520 * Note: Must be small letters only! 3521 * For numeric variables: 3522 * This is a dummy variable. Enables searching 3523 * array of 'PARAM_VAL_RULES' for name (string) 3524 * matching without special case for numeric 3525 * variable. 3526 * VAL_DESCRIPTOR val_descriptor - 3527 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3528 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3529 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3530 * See details in file of definition. Note: Symbols 3531 * must be small letters only! 3532 *USAGE: 3533 * SEE ORGANIZATION. 3534 *REMARKS: 3535 * NONE. 3536 *SEE ALSO: 3537 */ 3538 EXTERN CONST 3539 PARAM_VAL_RULES 3540 Fap10m_recycle_multicast_tree_id[] 3541 #ifdef INIT 3542 = 3543 { 3544 { 3545 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3546 { 3547 { 3548 HAS_MIN_VALUE | HAS_MAX_VALUE, 3549 FAP10M_RECYCLE_MULTICAST_NOF_GROUPS-1,0, 3550 /* 3551 * Number of times this value can be repeated (i.e., 3552 * value is an array). Must be at least 1! 3553 */ 3554 1, 3555 (VAL_PROC_PTR)NULL 3556 } 3557 } 3558 }, 3559 /* 3560 * Last element. Do not remove. 3561 */ 3562 { 3563 VAL_END_OF_LIST 3564 } 3565 } 3566 #endif 3567 ; 3568 /******************************************************** 3569 *NAME 3570 * Fap10m_recycle_multicast_queues 3571 *TYPE: BUFFER 3572 *DATE: 25/MAR/2003 3573 *FUNCTION: 3574 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3575 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3576 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3577 *ORGANIZATION: 3578 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3579 * int val_type - 3580 * Type of value. Can be: 3581 * VAL_END_OF_LIST 0 3582 * VAL_NUMERIC 1 3583 * VAL_SYMBOL 2 3584 * VAL_TEXT 3 3585 * VAL_IP 4 3586 * The first one is only to indicate the end of 3587 * this array. The others indicate what kind of 3588 * value this is. 3589 * char *symb_val - 3590 * ASCII presentation of the symbolic value. 3591 * Note: Must be small letters only! 3592 * For numeric variables: 3593 * This is a dummy variable. Enables searching 3594 * array of 'PARAM_VAL_RULES' for name (string) 3595 * matching without special case for numeric 3596 * variable. 3597 * VAL_DESCRIPTOR val_descriptor - 3598 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3599 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3600 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3601 * See details in file of definition. Note: Symbols 3602 * must be small letters only! 3603 *USAGE: 3604 * SEE ORGANIZATION. 3605 *REMARKS: 3606 * NONE. 3607 *SEE ALSO: 3608 */ 3609 EXTERN CONST 3610 PARAM_VAL_RULES 3611 Fap10m_recycle_multicast_queues[] 3612 #ifdef INIT 3613 = 3614 { 3615 { 3616 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3617 { 3618 { 3619 HAS_MIN_VALUE | HAS_MAX_VALUE, 3620 FAP10M_NOF_QUEUES-1,0, 3621 /* 3622 * Number of times this value can be repeated (i.e., 3623 * value is an array). Must be at least 1! 3624 */ 3625 2, 3626 (VAL_PROC_PTR)NULL 3627 } 3628 } 3629 }, 3630 /* 3631 * Last element. Do not remove. 3632 */ 3633 { 3634 VAL_END_OF_LIST 3635 } 3636 } 3637 #endif 3638 ; 3639 /******************************************************** 3640 *NAME 3641 * Fap10m_recycle_queue_index 3642 *TYPE: BUFFER 3643 *DATE: 25/MAR/2003 3644 *FUNCTION: 3645 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3646 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3647 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3648 *ORGANIZATION: 3649 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3650 * int val_type - 3651 * Type of value. Can be: 3652 * VAL_END_OF_LIST 0 3653 * VAL_NUMERIC 1 3654 * VAL_SYMBOL 2 3655 * VAL_TEXT 3 3656 * VAL_IP 4 3657 * The first one is only to indicate the end of 3658 * this array. The others indicate what kind of 3659 * value this is. 3660 * char *symb_val - 3661 * ASCII presentation of the symbolic value. 3662 * Note: Must be small letters only! 3663 * For numeric variables: 3664 * This is a dummy variable. Enables searching 3665 * array of 'PARAM_VAL_RULES' for name (string) 3666 * matching without special case for numeric 3667 * variable. 3668 * VAL_DESCRIPTOR val_descriptor - 3669 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3670 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3671 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3672 * See details in file of definition. Note: Symbols 3673 * must be small letters only! 3674 *USAGE: 3675 * SEE ORGANIZATION. 3676 *REMARKS: 3677 * NONE. 3678 *SEE ALSO: 3679 */ 3680 EXTERN CONST 3681 PARAM_VAL_RULES 3682 Fap10m_recycle_queue_index[] 3683 #ifdef INIT 3684 = 3685 { 3686 { 3687 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3688 { 3689 { 3690 HAS_MIN_VALUE | HAS_MAX_VALUE, 3691 FAP10M_RECYCLING_QUEUES-1,0, 3692 /* 3693 * Number of times this value can be repeated (i.e., 3694 * value is an array). Must be at least 1! 3695 */ 3696 1, 3697 (VAL_PROC_PTR)NULL 3698 } 3699 } 3700 }, 3701 /* 3702 * Last element. Do not remove. 3703 */ 3704 { 3705 VAL_END_OF_LIST 3706 } 3707 } 3708 #endif 3709 ; 3710 /******************************************************** 3711 *NAME 3712 * Fap10m_fap_id 3713 *TYPE: BUFFER 3714 *DATE: 25/MAR/2003 3715 *FUNCTION: 3716 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3717 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3718 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3719 *ORGANIZATION: 3720 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3721 * int val_type - 3722 * Type of value. Can be: 3723 * VAL_END_OF_LIST 0 3724 * VAL_NUMERIC 1 3725 * VAL_SYMBOL 2 3726 * VAL_TEXT 3 3727 * VAL_IP 4 3728 * The first one is only to indicate the end of 3729 * this array. The others indicate what kind of 3730 * value this is. 3731 * char *symb_val - 3732 * ASCII presentation of the symbolic value. 3733 * Note: Must be small letters only! 3734 * For numeric variables: 3735 * This is a dummy variable. Enables searching 3736 * array of 'PARAM_VAL_RULES' for name (string) 3737 * matching without special case for numeric 3738 * variable. 3739 * VAL_DESCRIPTOR val_descriptor - 3740 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3741 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3742 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3743 * See details in file of definition. Note: Symbols 3744 * must be small letters only! 3745 *USAGE: 3746 * SEE ORGANIZATION. 3747 *REMARKS: 3748 * NONE. 3749 *SEE ALSO: 3750 */ 3751 EXTERN CONST 3752 PARAM_VAL_RULES 3753 Fap10m_fap_id[] 3754 #ifdef INIT 3755 = 3756 { 3757 { 3758 VAL_NUMERIC,SYMB_NAME_NUMERIC, 3759 { 3760 { 3761 HAS_MIN_VALUE | HAS_MAX_VALUE, 3762 FAP10M_NOF_FAPS_IN_SYSTEM-1,0, 3763 /* 3764 * Number of times this value can be repeated (i.e., 3765 * value is an array). Must be at least 1! 3766 */ 3767 1, 3768 (VAL_PROC_PTR)NULL 3769 } 3770 } 3771 }, 3772 /* 3773 * Last element. Do not remove. 3774 */ 3775 { 3776 VAL_END_OF_LIST 3777 } 3778 } 3779 #endif 3780 ; 3781 /******************************************************** 3782 *NAME 3783 * Fap10m_edf1_prior 3784 *TYPE: BUFFER 3785 *DATE: 15/1/2005 3786 *FUNCTION: 3787 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3788 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3789 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3790 *ORGANIZATION: 3791 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3792 * int val_type - 3793 * Type of value. Can be: 3794 * VAL_END_OF_LIST 0 3795 * VAL_NUMERIC 1 3796 * VAL_SYMBOL 2 3797 * VAL_TEXT 3 3798 * VAL_IP 4 3799 * The first one is only to indicate the end of 3800 * this array. The others indicate what kind of 3801 * value this is. 3802 * char *symb_val - 3803 * ASCII presentation of the symbolic value. 3804 * Note: Must be small letters only! 3805 * For numeric variables: 3806 * This is a dummy variable. Enables searching 3807 * array of 'PARAM_VAL_RULES' for name (string) 3808 * matching without special case for numeric 3809 * variable. 3810 * VAL_DESCRIPTOR val_descriptor - 3811 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3812 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3813 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3814 * See details in file of definition. Note: Symbols 3815 * must be small letters only! 3816 *USAGE: 3817 * SEE ORGANIZATION. 3818 *REMARKS: 3819 * NONE. 3820 *SEE ALSO: 3821 */ 3822 EXTERN CONST 3823 PARAM_VAL_RULES 3824 Fap10m_edf1_prior[] 3825 #ifdef INIT 3826 = 3827 { 3828 { 3829 VAL_SYMBOL, 3830 "enable", 3831 { 3832 { 3833 TRUE, 3834 /* 3835 * Casting added here just to keep the stupid compiler silent. 3836 */ 3837 (long)" EDF1 Wheel get strict priority over WFQ1.", 3838 /* 3839 * Pointer to a function to call after symbolic value 3840 * has been accepted. Casting should be 'VAL_PROC_PTR'. 3841 * Casting to 'long' added here just to keep the stupid 3842 * compiler silent. 3843 */ 3844 (long)NULL 3845 } 3846 } 3847 }, 3848 { 3849 VAL_SYMBOL, 3850 "disable", 3851 { 3852 { 3853 FALSE, 3854 /* 3855 * Casting added here just to keep the stupid compiler silent. 3856 */ 3857 (long)" EDF1 Wheel doesn't get strict priority over WFQ1.", 3858 /* 3859 * Pointer to a function to call after symbolic value 3860 * has been accepted. Casting should be 'VAL_PROC_PTR'. 3861 * Casting to 'long' added here just to keep the stupid 3862 * compiler silent. 3863 */ 3864 (long)NULL 3865 } 3866 } 3867 }, 3868 /* 3869 * Last element. Do not remove. 3870 */ 3871 { 3872 VAL_END_OF_LIST 3873 } 3874 } 3875 3876 #endif 3877 ; 3878 /******************************************************** 3879 *NAME 3880 * Fap10m_chop_en 3881 *TYPE: BUFFER 3882 *DATE: 15/1/2005 3883 *FUNCTION: 3884 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 3885 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 3886 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 3887 *ORGANIZATION: 3888 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3889 * int val_type - 3890 * Type of value. Can be: 3891 * VAL_END_OF_LIST 0 3892 * VAL_NUMERIC 1 3893 * VAL_SYMBOL 2 3894 * VAL_TEXT 3 3895 * VAL_IP 4 3896 * The first one is only to indicate the end of 3897 * this array. The others indicate what kind of 3898 * value this is. 3899 * char *symb_val - 3900 * ASCII presentation of the symbolic value. 3901 * Note: Must be small letters only! 3902 * For numeric variables: 3903 * This is a dummy variable. Enables searching 3904 * array of 'PARAM_VAL_RULES' for name (string) 3905 * matching without special case for numeric 3906 * variable. 3907 * VAL_DESCRIPTOR val_descriptor - 3908 * Union of structures (of types VAL_NUM_DESCRIPTOR, 3909 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 3910 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 3911 * See details in file of definition. Note: Symbols 3912 * must be small letters only! 3913 *USAGE: 3914 * SEE ORGANIZATION. 3915 *REMARKS: 3916 * NONE. 3917 *SEE ALSO: 3918 */ 3919 EXTERN CONST 3920 PARAM_VAL_RULES 3921 Fap10m_chop_en[] 3922 #ifdef INIT 3923 = 3924 { 3925 { 3926 VAL_SYMBOL, 3927 "enable", 3928 { 3929 { 3930 TRUE, 3931 /* 3932 * Casting added here just to keep the stupid compiler silent. 3933 */ 3934 (long)" Enable chopping of big packets.", 3935 /* 3936 * Pointer to a function to call after symbolic value 3937 * has been accepted. Casting should be 'VAL_PROC_PTR'. 3938 * Casting to 'long' added here just to keep the stupid 3939 * compiler silent. 3940 */ 3941 (long)NULL 3942 } 3943 } 3944 }, 3945 { 3946 VAL_SYMBOL, 3947 "disable", 3948 { 3949 { 3950 FALSE, 3951 /* 3952 * Casting added here just to keep the stupid compiler silent. 3953 */ 3954 (long)" Disable chopping of big packets.", 3955 /* 3956 * Pointer to a function to call after symbolic value 3957 * has been accepted. Casting should be 'VAL_PROC_PTR'. 3958 * Casting to 'long' added here just to keep the stupid 3959 * compiler silent. 3960 */ 3961 (long)NULL 3962 } 3963 } 3964 }, 3965 /* 3966 * Last element. Do not remove. 3967 */ 3968 { 3969 VAL_END_OF_LIST 3970 } 3971 } 3972 3973 #endif 3974 ; 3975 /******************************************************** 3976 *NAME 3977 * Fap10m_pause_after_read_mem_read_vals 3978 *TYPE: BUFFER 3979 *DATE: 22/MAR/2002 3980 *FUNCTION: 3981 * ARRAY CONTAINING THE DEFAULT VALUE 3982 * RELATED TO THE PARAMETER "PAUSE_AFTER_READ" IN THE CONTEXT 3983 * OF SUBJECT 'MEM'. 3984 *ORGANIZATION: 3985 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 3986 * int val_type - 3987 * Type of variable (VAL_NUMERIC, VAL_TEXT, 3988 * VAL_IP OR VAL_SYMBOL) 3989 * union value - 3990 * Union of one of 3991 * int int_value 3992 * char *string_value 3993 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 3994 * unsigned long ip_value ; 3995 * Value of default variable. 3996 *USAGE: 3997 * SEE ORGANIZATION. 3998 *REMARKS: 3999 * NONE. 4000 *SEE ALSO: 4001 */ 4002 EXTERN CONST 4003 PARAM_VAL_RULES 4004 Fap10m_chop_max_mult_id[] 4005 #ifdef INIT 4006 = 4007 { 4008 { 4009 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4010 { 4011 { 4012 HAS_MIN_VALUE | HAS_MAX_VALUE, 4013 FAP10M_NOF_MULTICAST_GROUPS_FROM_PP-1,0, 4014 /* 4015 * Number of times this value can be repeated (i.e., 4016 * value is an array). Must be at least 1! 4017 */ 4018 1, 4019 (VAL_PROC_PTR)NULL 4020 } 4021 } 4022 }, 4023 /* 4024 * Last element. Do not remove. 4025 */ 4026 { 4027 VAL_END_OF_LIST 4028 } 4029 } 4030 #endif 4031 ; 4032 /******************************************************** 4033 *NAME 4034 * Fap10m_chop_max_mult_id_default 4035 *TYPE: BUFFER 4036 *DATE: 25/MAR/2003 4037 *FUNCTION: 4038 * Default number if no amplitude. 4039 *ORGANIZATION: 4040 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4041 * int val_type - 4042 * Type of variable (VAL_NUMERIC, VAL_TEXT, 4043 * VAL_IP OR VAL_SYMBOL) 4044 * union value - 4045 * Union of one of 4046 * int int_value 4047 * char *string_value 4048 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 4049 * unsigned long ip_value ; 4050 * Value of default variable. 4051 *USAGE: 4052 * SEE ORGANIZATION. 4053 *REMARKS: 4054 * NONE. 4055 *SEE ALSO: 4056 */ 4057 EXTERN CONST 4058 PARAM_VAL 4059 Fap10m_chop_max_mult_id_default 4060 #ifdef INIT 4061 = 4062 { 4063 VAL_NUMERIC, 4064 0, 4065 { 4066 /* 4067 * Casting may be required here only to keep the compiler silent. 4068 */ 4069 (unsigned long)FAP10M_SPATIAL_MULTICAST_NOF_GROUPS-1 4070 } 4071 } 4072 #endif 4073 ; 4074 /******************************************************** 4075 *NAME 4076 * Fap10m_sub_flow_types 4077 *TYPE: BUFFER 4078 *DATE: 25/MAR/2003 4079 *FUNCTION: 4080 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4081 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4082 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4083 *ORGANIZATION: 4084 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4085 * int val_type - 4086 * Type of value. Can be: 4087 * VAL_END_OF_LIST 0 4088 * VAL_NUMERIC 1 4089 * VAL_SYMBOL 2 4090 * VAL_TEXT 3 4091 * VAL_IP 4 4092 * The first one is only to indicate the end of 4093 * this array. The others indicate what kind of 4094 * value this is. 4095 * char *symb_val - 4096 * ASCII presentation of the symbolic value. 4097 * Note: Must be small letters only! 4098 * For numeric variables: 4099 * This is a dummy variable. Enables searching 4100 * array of 'PARAM_VAL_RULES' for name (string) 4101 * matching without special case for numeric 4102 * variable. 4103 * VAL_DESCRIPTOR val_descriptor - 4104 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4105 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4106 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4107 * See details in file of definition. Note: Symbols 4108 * must be small letters only! 4109 *USAGE: 4110 * SEE ORGANIZATION. 4111 *REMARKS: 4112 * NONE. 4113 *SEE ALSO: 4114 */ 4115 EXTERN CONST 4116 PARAM_VAL_RULES 4117 Fap10m_sub_flow_types[] 4118 #ifdef INIT 4119 = 4120 { 4121 { 4122 VAL_SYMBOL, 4123 "edf0", 4124 { 4125 { 4126 FAP10M_EDF0_FLOW, 4127 /* 4128 * Casting added here just to keep the stupid compiler silent. 4129 */ 4130 (long)" EDF0 Wheel at the scheduler.", 4131 /* 4132 * Pointer to a function to call after symbolic value 4133 * has been accepted. Casting should be 'VAL_PROC_PTR'. 4134 * Casting to 'long' added here just to keep the stupid 4135 * compiler silent. 4136 */ 4137 (long)NULL 4138 } 4139 } 4140 }, 4141 { 4142 VAL_SYMBOL, 4143 "edf1", 4144 { 4145 { 4146 FAP10M_EDF1_FLOW, 4147 /* 4148 * Casting added here just to keep the stupid compiler silent. 4149 */ 4150 (long)" EDF1 Wheel at the scheduler.", 4151 /* 4152 * Pointer to a function to call after symbolic value 4153 * has been accepted. Casting should be 'VAL_PROC_PTR'. 4154 * Casting to 'long' added here just to keep the stupid 4155 * compiler silent. 4156 */ 4157 (long)NULL 4158 } 4159 } 4160 }, 4161 { 4162 VAL_SYMBOL, 4163 "edf0_by_percentage", 4164 { 4165 { 4166 FAP10M_EDF0_PERCENTAGE_FLOW, 4167 /* 4168 * Casting added here just to keep the stupid compiler silent. 4169 */ 4170 (long)" EDF0 Wheel at the scheduler. Configured by percentage", 4171 /* 4172 * Pointer to a function to call after symbolic value 4173 * has been accepted. Casting should be 'VAL_PROC_PTR'. 4174 * Casting to 'long' added here just to keep the stupid 4175 * compiler silent. 4176 */ 4177 (long)NULL 4178 } 4179 } 4180 }, 4181 { 4182 VAL_SYMBOL, 4183 "edf1_by_percentage", 4184 { 4185 { 4186 FAP10M_EDF1_PERCENTAGE_FLOW, 4187 /* 4188 * Casting added here just to keep the stupid compiler silent. 4189 */ 4190 (long)" EDF1 Wheel at the scheduler. Configured by percentage", 4191 /* 4192 * Pointer to a function to call after symbolic value 4193 * has been accepted. Casting should be 'VAL_PROC_PTR'. 4194 * Casting to 'long' added here just to keep the stupid 4195 * compiler silent. 4196 */ 4197 (long)NULL 4198 } 4199 } 4200 }, 4201 { 4202 VAL_SYMBOL, 4203 "wfq1", 4204 { 4205 { 4206 FAP10M_WFQ1_FLOW, 4207 /* 4208 * Casting added here just to keep the stupid compiler silent. 4209 */ 4210 (long)" WFQ1 Wheel at the scheduler.", 4211 /* 4212 * Pointer to a function to call after symbolic value 4213 * has been accepted. Casting should be 'VAL_PROC_PTR'. 4214 * Casting to 'long' added here just to keep the stupid 4215 * compiler silent. 4216 */ 4217 (long)NULL 4218 } 4219 } 4220 }, 4221 /* 4222 * Last element. Do not remove. 4223 */ 4224 { 4225 VAL_END_OF_LIST 4226 } 4227 } 4228 #endif 4229 ; 4230 /******************************************************** 4231 *NAME 4232 * Fap10m_sub_flow_values 4233 *TYPE: BUFFER 4234 *DATE: 25/MAR/2003 4235 *FUNCTION: 4236 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4237 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4238 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4239 *ORGANIZATION: 4240 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4241 * int val_type - 4242 * Type of value. Can be: 4243 * VAL_END_OF_LIST 0 4244 * VAL_NUMERIC 1 4245 * VAL_SYMBOL 2 4246 * VAL_TEXT 3 4247 * VAL_IP 4 4248 * The first one is only to indicate the end of 4249 * this array. The others indicate what kind of 4250 * value this is. 4251 * char *symb_val - 4252 * ASCII presentation of the symbolic value. 4253 * Note: Must be small letters only! 4254 * For numeric variables: 4255 * This is a dummy variable. Enables searching 4256 * array of 'PARAM_VAL_RULES' for name (string) 4257 * matching without special case for numeric 4258 * variable. 4259 * VAL_DESCRIPTOR val_descriptor - 4260 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4261 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4262 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4263 * See details in file of definition. Note: Symbols 4264 * must be small letters only! 4265 *USAGE: 4266 * SEE ORGANIZATION. 4267 *REMARKS: 4268 * NONE. 4269 *SEE ALSO: 4270 */ 4271 EXTERN CONST 4272 PARAM_VAL_RULES 4273 Fap10m_sub_flow_values[] 4274 #ifdef INIT 4275 = 4276 { 4277 { 4278 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4279 { 4280 { 4281 HAS_MIN_VALUE | HAS_MAX_VALUE, 4282 10000000,0, 4283 /* 4284 * Number of times this value can be repeated (i.e., 4285 * value is an array). Must be at least 1! 4286 */ 4287 1, 4288 (VAL_PROC_PTR)NULL 4289 } 4290 } 4291 }, 4292 /* 4293 * Last element. Do not remove. 4294 */ 4295 { 4296 VAL_END_OF_LIST 4297 } 4298 } 4299 #endif 4300 ; 4301 /******************************************************** 4302 *NAME 4303 * Fap10m_queue_type 4304 *TYPE: BUFFER 4305 *DATE: 25/MAR/2003 4306 *FUNCTION: 4307 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4308 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4309 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4310 *ORGANIZATION: 4311 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4312 * int val_type - 4313 * Type of value. Can be: 4314 * VAL_END_OF_LIST 0 4315 * VAL_NUMERIC 1 4316 * VAL_SYMBOL 2 4317 * VAL_TEXT 3 4318 * VAL_IP 4 4319 * The first one is only to indicate the end of 4320 * this array. The others indicate what kind of 4321 * value this is. 4322 * char *symb_val - 4323 * ASCII presentation of the symbolic value. 4324 * Note: Must be small letters only! 4325 * For numeric variables: 4326 * This is a dummy variable. Enables searching 4327 * array of 'PARAM_VAL_RULES' for name (string) 4328 * matching without special case for numeric 4329 * variable. 4330 * VAL_DESCRIPTOR val_descriptor - 4331 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4332 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4333 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4334 * See details in file of definition. Note: Symbols 4335 * must be small letters only! 4336 *USAGE: 4337 * SEE ORGANIZATION. 4338 *REMARKS: 4339 * NONE. 4340 *SEE ALSO: 4341 */ 4342 EXTERN CONST 4343 PARAM_VAL_RULES 4344 Fap10m_queue_type[] 4345 #ifdef INIT 4346 = 4347 { 4348 { 4349 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4350 { 4351 { 4352 HAS_MIN_VALUE | HAS_MAX_VALUE, 4353 FAP10M_QUEUE_D,FAP10M_QUEUE_A, 4354 /* 4355 * Number of times this value can be repeated (i.e., 4356 * value is an array). Must be at least 1! 4357 */ 4358 1, 4359 (VAL_PROC_PTR)NULL 4360 } 4361 } 4362 }, 4363 /* 4364 * Last element. Do not remove. 4365 */ 4366 { 4367 VAL_END_OF_LIST 4368 } 4369 } 4370 #endif 4371 ; 4372 /******************************************************** 4373 *NAME 4374 * Fap10m_auto_queue_types 4375 *TYPE: BUFFER 4376 *DATE: 25/MAR/2003 4377 *FUNCTION: 4378 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4379 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4380 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4381 *ORGANIZATION: 4382 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4383 * int val_type - 4384 * Type of value. Can be: 4385 * VAL_END_OF_LIST 0 4386 * VAL_NUMERIC 1 4387 * VAL_SYMBOL 2 4388 * VAL_TEXT 3 4389 * VAL_IP 4 4390 * The first one is only to indicate the end of 4391 * this array. The others indicate what kind of 4392 * value this is. 4393 * char *symb_val - 4394 * ASCII presentation of the symbolic value. 4395 * Note: Must be small letters only! 4396 * For numeric variables: 4397 * This is a dummy variable. Enables searching 4398 * array of 'PARAM_VAL_RULES' for name (string) 4399 * matching without special case for numeric 4400 * variable. 4401 * VAL_DESCRIPTOR val_descriptor - 4402 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4403 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4404 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4405 * See details in file of definition. Note: Symbols 4406 * must be small letters only! 4407 *USAGE: 4408 * SEE ORGANIZATION. 4409 *REMARKS: 4410 * NONE. 4411 *SEE ALSO: 4412 */ 4413 EXTERN CONST 4414 PARAM_VAL_RULES 4415 Fap10m_auto_queue_types[] 4416 #ifdef INIT 4417 = 4418 { 4419 { 4420 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4421 { 4422 { 4423 HAS_MIN_VALUE | HAS_MAX_VALUE, 4424 FAP10M_QUEUE_D,FAP10M_QUEUE_A, 4425 /* 4426 * Number of times this value can be repeated (i.e., 4427 * value is an array). Must be at least 1! 4428 */ 4429 FAP10M_FABRIC_CLASS_D, 4430 (VAL_PROC_PTR)NULL 4431 } 4432 } 4433 }, 4434 /* 4435 * Last element. Do not remove. 4436 */ 4437 { 4438 VAL_END_OF_LIST 4439 } 4440 } 4441 #endif 4442 ; 4443 /******************************************************** 4444 *NAME 4445 * Fap10m_max_queue_size 4446 *TYPE: BUFFER 4447 *DATE: 25/MAR/2003 4448 *FUNCTION: 4449 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4450 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4451 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4452 *ORGANIZATION: 4453 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4454 * int val_type - 4455 * Type of value. Can be: 4456 * VAL_END_OF_LIST 0 4457 * VAL_NUMERIC 1 4458 * VAL_SYMBOL 2 4459 * VAL_TEXT 3 4460 * VAL_IP 4 4461 * The first one is only to indicate the end of 4462 * this array. The others indicate what kind of 4463 * value this is. 4464 * char *symb_val - 4465 * ASCII presentation of the symbolic value. 4466 * Note: Must be small letters only! 4467 * For numeric variables: 4468 * This is a dummy variable. Enables searching 4469 * array of 'PARAM_VAL_RULES' for name (string) 4470 * matching without special case for numeric 4471 * variable. 4472 * VAL_DESCRIPTOR val_descriptor - 4473 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4474 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4475 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4476 * See details in file of definition. Note: Symbols 4477 * must be small letters only! 4478 *USAGE: 4479 * SEE ORGANIZATION. 4480 *REMARKS: 4481 * NONE. 4482 *SEE ALSO: 4483 */ 4484 EXTERN CONST 4485 PARAM_VAL_RULES 4486 Fap10m_max_queue_size[] 4487 #ifdef INIT 4488 = 4489 { 4490 { 4491 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4492 { 4493 { 4494 HAS_MIN_VALUE | HAS_MAX_VALUE, 4495 (1<<22)*FAP10M_QDP_WORD_BYTE_SIZE /* 2^22 * 16 (22 bit for queue size, word is 16 byte.)*/,0, 4496 /* 4497 * Number of times this value can be repeated (i.e., 4498 * value is an array). Must be at least 1! 4499 */ 4500 1, 4501 (VAL_PROC_PTR)NULL 4502 } 4503 } 4504 }, 4505 /* 4506 * Last element. Do not remove. 4507 */ 4508 { 4509 VAL_END_OF_LIST 4510 } 4511 } 4512 #endif 4513 ; 4514 /******************************************************** 4515 *NAME 4516 * Fap10m_max_packet_size 4517 *TYPE: BUFFER 4518 *DATE: 25/MAR/2003 4519 *FUNCTION: 4520 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4521 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4522 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4523 *ORGANIZATION: 4524 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4525 * int val_type - 4526 * Type of value. Can be: 4527 * VAL_END_OF_LIST 0 4528 * VAL_NUMERIC 1 4529 * VAL_SYMBOL 2 4530 * VAL_TEXT 3 4531 * VAL_IP 4 4532 * The first one is only to indicate the end of 4533 * this array. The others indicate what kind of 4534 * value this is. 4535 * char *symb_val - 4536 * ASCII presentation of the symbolic value. 4537 * Note: Must be small letters only! 4538 * For numeric variables: 4539 * This is a dummy variable. Enables searching 4540 * array of 'PARAM_VAL_RULES' for name (string) 4541 * matching without special case for numeric 4542 * variable. 4543 * VAL_DESCRIPTOR val_descriptor - 4544 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4545 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4546 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4547 * See details in file of definition. Note: Symbols 4548 * must be small letters only! 4549 *USAGE: 4550 * SEE ORGANIZATION. 4551 *REMARKS: 4552 * NONE. 4553 *SEE ALSO: 4554 */ 4555 EXTERN CONST 4556 PARAM_VAL_RULES 4557 Fap10m_max_packet_size[] 4558 #ifdef INIT 4559 = 4560 { 4561 { 4562 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4563 { 4564 { 4565 HAS_MIN_VALUE | HAS_MAX_VALUE, 4566 FAP10M_WRED_MAX_PACKET_SIZE, 0, 4567 /* 4568 * Number of times this value can be repeated (i.e., 4569 * value is an array). Must be at least 1! 4570 */ 4571 1, 4572 (VAL_PROC_PTR)NULL 4573 } 4574 } 4575 }, 4576 /* 4577 * Last element. Do not remove. 4578 */ 4579 { 4580 VAL_END_OF_LIST 4581 } 4582 } 4583 #endif 4584 ; 4585 /******************************************************** 4586 *NAME 4587 * Fap10m_min_avrg_th 4588 *TYPE: BUFFER 4589 *DATE: 25/MAR/2003 4590 *FUNCTION: 4591 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4592 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4593 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4594 *ORGANIZATION: 4595 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4596 * int val_type - 4597 * Type of value. Can be: 4598 * VAL_END_OF_LIST 0 4599 * VAL_NUMERIC 1 4600 * VAL_SYMBOL 2 4601 * VAL_TEXT 3 4602 * VAL_IP 4 4603 * The first one is only to indicate the end of 4604 * this array. The others indicate what kind of 4605 * value this is. 4606 * char *symb_val - 4607 * ASCII presentation of the symbolic value. 4608 * Note: Must be small letters only! 4609 * For numeric variables: 4610 * This is a dummy variable. Enables searching 4611 * array of 'PARAM_VAL_RULES' for name (string) 4612 * matching without special case for numeric 4613 * variable. 4614 * VAL_DESCRIPTOR val_descriptor - 4615 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4616 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4617 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4618 * See details in file of definition. Note: Symbols 4619 * must be small letters only! 4620 *USAGE: 4621 * SEE ORGANIZATION. 4622 *REMARKS: 4623 * NONE. 4624 *SEE ALSO: 4625 */ 4626 EXTERN CONST 4627 PARAM_VAL_RULES 4628 Fap10m_min_avrg_th[] 4629 #ifdef INIT 4630 = 4631 { 4632 { 4633 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4634 { 4635 { 4636 HAS_MIN_VALUE | HAS_MAX_VALUE, 4637 FAP10M_QWP_MIN_AVG_MAX*FAP10M_TH_WRED_GRANULARITY ,0, 4638 /* 4639 * Number of times this value can be repeated (i.e., 4640 * value is an array). Must be at least 1! 4641 */ 4642 1, 4643 (VAL_PROC_PTR)NULL 4644 } 4645 } 4646 }, 4647 /* 4648 * Last element. Do not remove. 4649 */ 4650 { 4651 VAL_END_OF_LIST 4652 } 4653 } 4654 #endif 4655 ; 4656 /******************************************************** 4657 *NAME 4658 * Fap10m_min_avrg_th 4659 *TYPE: BUFFER 4660 *DATE: 25/MAR/2003 4661 *FUNCTION: 4662 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4663 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4664 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4665 *ORGANIZATION: 4666 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4667 * int val_type - 4668 * Type of value. Can be: 4669 * VAL_END_OF_LIST 0 4670 * VAL_NUMERIC 1 4671 * VAL_SYMBOL 2 4672 * VAL_TEXT 3 4673 * VAL_IP 4 4674 * The first one is only to indicate the end of 4675 * this array. The others indicate what kind of 4676 * value this is. 4677 * char *symb_val - 4678 * ASCII presentation of the symbolic value. 4679 * Note: Must be small letters only! 4680 * For numeric variables: 4681 * This is a dummy variable. Enables searching 4682 * array of 'PARAM_VAL_RULES' for name (string) 4683 * matching without special case for numeric 4684 * variable. 4685 * VAL_DESCRIPTOR val_descriptor - 4686 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4687 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4688 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4689 * See details in file of definition. Note: Symbols 4690 * must be small letters only! 4691 *USAGE: 4692 * SEE ORGANIZATION. 4693 *REMARKS: 4694 * NONE. 4695 *SEE ALSO: 4696 */ 4697 EXTERN CONST 4698 PARAM_VAL_RULES 4699 Fap10m_max_avrg_th[] 4700 #ifdef INIT 4701 = 4702 { 4703 { 4704 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4705 { 4706 { 4707 HAS_MIN_VALUE | HAS_MAX_VALUE, 4708 FAP10M_QWP_MAX_AVG_MAX*FAP10M_TH_WRED_GRANULARITY ,0, 4709 /* 4710 * Number of times this value can be repeated (i.e., 4711 * value is an array). Must be at least 1! 4712 */ 4713 1, 4714 (VAL_PROC_PTR)NULL 4715 } 4716 } 4717 }, 4718 /* 4719 * Last element. Do not remove. 4720 */ 4721 { 4722 VAL_END_OF_LIST 4723 } 4724 } 4725 #endif 4726 ; 4727 /******************************************************** 4728 *NAME 4729 * Fap10m_drop_precedence 4730 *TYPE: BUFFER 4731 *DATE: 25/MAR/2003 4732 *FUNCTION: 4733 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4734 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4735 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4736 *ORGANIZATION: 4737 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4738 * int val_type - 4739 * Type of value. Can be: 4740 * VAL_END_OF_LIST 0 4741 * VAL_NUMERIC 1 4742 * VAL_SYMBOL 2 4743 * VAL_TEXT 3 4744 * VAL_IP 4 4745 * The first one is only to indicate the end of 4746 * this array. The others indicate what kind of 4747 * value this is. 4748 * char *symb_val - 4749 * ASCII presentation of the symbolic value. 4750 * Note: Must be small letters only! 4751 * For numeric variables: 4752 * This is a dummy variable. Enables searching 4753 * array of 'PARAM_VAL_RULES' for name (string) 4754 * matching without special case for numeric 4755 * variable. 4756 * VAL_DESCRIPTOR val_descriptor - 4757 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4758 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4759 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4760 * See details in file of definition. Note: Symbols 4761 * must be small letters only! 4762 *USAGE: 4763 * SEE ORGANIZATION. 4764 *REMARKS: 4765 * NONE. 4766 *SEE ALSO: 4767 */ 4768 EXTERN CONST 4769 PARAM_VAL_RULES 4770 Fap10m_drop_precedence[] 4771 #ifdef INIT 4772 = 4773 { 4774 { 4775 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4776 { 4777 { 4778 HAS_MIN_VALUE | HAS_MAX_VALUE, 4779 3 ,0, 4780 /* 4781 * Number of times this value can be repeated (i.e., 4782 * value is an array). Must be at least 1! 4783 */ 4784 1, 4785 (VAL_PROC_PTR)NULL 4786 } 4787 } 4788 }, 4789 /* 4790 * Last element. Do not remove. 4791 */ 4792 { 4793 VAL_END_OF_LIST 4794 } 4795 } 4796 #endif 4797 ; 4798 /******************************************************** 4799 *NAME 4800 * Fap10m_flow_stat_msg 4801 *TYPE: BUFFER 4802 *DATE: 25/MAR/2003 4803 *FUNCTION: 4804 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4805 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4806 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4807 *ORGANIZATION: 4808 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4809 * int val_type - 4810 * Type of value. Can be: 4811 * VAL_END_OF_LIST 0 4812 * VAL_NUMERIC 1 4813 * VAL_SYMBOL 2 4814 * VAL_TEXT 3 4815 * VAL_IP 4 4816 * The first one is only to indicate the end of 4817 * this array. The others indicate what kind of 4818 * value this is. 4819 * char *symb_val - 4820 * ASCII presentation of the symbolic value. 4821 * Note: Must be small letters only! 4822 * For numeric variables: 4823 * This is a dummy variable. Enables searching 4824 * array of 'PARAM_VAL_RULES' for name (string) 4825 * matching without special case for numeric 4826 * variable. 4827 * VAL_DESCRIPTOR val_descriptor - 4828 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4829 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4830 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4831 * See details in file of definition. Note: Symbols 4832 * must be small letters only! 4833 *USAGE: 4834 * SEE ORGANIZATION. 4835 *REMARKS: 4836 * NONE. 4837 *SEE ALSO: 4838 */ 4839 EXTERN CONST 4840 PARAM_VAL_RULES 4841 Fap10m_flow_stat_msg[] 4842 #ifdef INIT 4843 = 4844 { 4845 { 4846 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4847 { 4848 { 4849 HAS_MIN_VALUE | HAS_MAX_VALUE, 4850 (1<<FAP10M_A_QTP_STS_MSG_MAX)*16, 0, 4851 /* 4852 * Number of times this value can be repeated (i.e., 4853 * value is an array). Must be at least 1! 4854 */ 4855 1, 4856 (VAL_PROC_PTR)NULL 4857 } 4858 } 4859 }, 4860 /* 4861 * Last element. Do not remove. 4862 */ 4863 { 4864 VAL_END_OF_LIST 4865 } 4866 } 4867 #endif 4868 ; 4869 /******************************************************** 4870 *NAME 4871 * Fap10m_flow_slow_th 4872 *TYPE: BUFFER 4873 *DATE: 25/MAR/2003 4874 *FUNCTION: 4875 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4876 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4877 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4878 *ORGANIZATION: 4879 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4880 * int val_type - 4881 * Type of value. Can be: 4882 * VAL_END_OF_LIST 0 4883 * VAL_NUMERIC 1 4884 * VAL_SYMBOL 2 4885 * VAL_TEXT 3 4886 * VAL_IP 4 4887 * The first one is only to indicate the end of 4888 * this array. The others indicate what kind of 4889 * value this is. 4890 * char *symb_val - 4891 * ASCII presentation of the symbolic value. 4892 * Note: Must be small letters only! 4893 * For numeric variables: 4894 * This is a dummy variable. Enables searching 4895 * array of 'PARAM_VAL_RULES' for name (string) 4896 * matching without special case for numeric 4897 * variable. 4898 * VAL_DESCRIPTOR val_descriptor - 4899 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4900 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4901 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4902 * See details in file of definition. Note: Symbols 4903 * must be small letters only! 4904 *USAGE: 4905 * SEE ORGANIZATION. 4906 *REMARKS: 4907 * NONE. 4908 *SEE ALSO: 4909 */ 4910 EXTERN CONST 4911 PARAM_VAL_RULES 4912 Fap10m_flow_slow_th[] 4913 #ifdef INIT 4914 = 4915 { 4916 { 4917 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4918 { 4919 { 4920 HAS_MIN_VALUE | HAS_MAX_VALUE, 4921 (1<<FAP10M_QTP_STS_SLW_MAX)*16 ,0, 4922 /* 4923 * Number of times this value can be repeated (i.e., 4924 * value is an array). Must be at least 1! 4925 */ 4926 1, 4927 (VAL_PROC_PTR)NULL 4928 } 4929 } 4930 }, 4931 /* 4932 * Last element. Do not remove. 4933 */ 4934 { 4935 VAL_END_OF_LIST 4936 } 4937 } 4938 #endif 4939 ; 4940 /******************************************************** 4941 *NAME 4942 * Fap10m_flow_slow_hyster 4943 *TYPE: BUFFER 4944 *DATE: 25/MAR/2003 4945 *FUNCTION: 4946 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 4947 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 4948 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 4949 *ORGANIZATION: 4950 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 4951 * int val_type - 4952 * Type of value. Can be: 4953 * VAL_END_OF_LIST 0 4954 * VAL_NUMERIC 1 4955 * VAL_SYMBOL 2 4956 * VAL_TEXT 3 4957 * VAL_IP 4 4958 * The first one is only to indicate the end of 4959 * this array. The others indicate what kind of 4960 * value this is. 4961 * char *symb_val - 4962 * ASCII presentation of the symbolic value. 4963 * Note: Must be small letters only! 4964 * For numeric variables: 4965 * This is a dummy variable. Enables searching 4966 * array of 'PARAM_VAL_RULES' for name (string) 4967 * matching without special case for numeric 4968 * variable. 4969 * VAL_DESCRIPTOR val_descriptor - 4970 * Union of structures (of types VAL_NUM_DESCRIPTOR, 4971 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 4972 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 4973 * See details in file of definition. Note: Symbols 4974 * must be small letters only! 4975 *USAGE: 4976 * SEE ORGANIZATION. 4977 *REMARKS: 4978 * NONE. 4979 *SEE ALSO: 4980 */ 4981 EXTERN CONST 4982 PARAM_VAL_RULES 4983 Fap10m_flow_slow_hyster[] 4984 #ifdef INIT 4985 = 4986 { 4987 { 4988 VAL_NUMERIC,SYMB_NAME_NUMERIC, 4989 { 4990 { 4991 HAS_MIN_VALUE | HAS_MAX_VALUE, 4992 (1<<FAP10M_QTP_STS_SLW_MAX)*16 ,0, 4993 /* 4994 * Number of times this value can be repeated (i.e., 4995 * value is an array). Must be at least 1! 4996 */ 4997 1, 4998 (VAL_PROC_PTR)NULL 4999 } 5000 } 5001 }, 5002 /* 5003 * Last element. Do not remove. 5004 */ 5005 { 5006 VAL_END_OF_LIST 5007 } 5008 } 5009 #endif 5010 ; 5011 /******************************************************** 5012 *NAME 5013 * Fap10m_flow_slow_hyster_default 5014 *TYPE: BUFFER 5015 *DATE: 25/MAR/2003 5016 *FUNCTION: 5017 * Default number if no amplitude. 5018 *ORGANIZATION: 5019 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5020 * int val_type - 5021 * Type of variable (VAL_NUMERIC, VAL_TEXT, 5022 * VAL_IP OR VAL_SYMBOL) 5023 * union value - 5024 * Union of one of 5025 * int int_value 5026 * char *string_value 5027 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 5028 * unsigned long ip_value ; 5029 * Value of default variable. 5030 *USAGE: 5031 * SEE ORGANIZATION. 5032 *REMARKS: 5033 * NONE. 5034 *SEE ALSO: 5035 */ 5036 EXTERN CONST 5037 PARAM_VAL 5038 Fap10m_flow_slow_hyster_default 5039 #ifdef INIT 5040 = 5041 { 5042 VAL_NUMERIC, 5043 0, 5044 { 5045 /* 5046 * Casting may be required here only to keep the compiler silent. 5047 */ 5048 (unsigned long)0 5049 } 5050 } 5051 #endif 5052 ; 5053 /******************************************************** 5054 *NAME 5055 * Fap10m_red_exp_weight 5056 *TYPE: BUFFER 5057 *DATE: 25/MAR/2003 5058 *FUNCTION: 5059 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5060 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5061 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5062 *ORGANIZATION: 5063 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5064 * int val_type - 5065 * Type of value. Can be: 5066 * VAL_END_OF_LIST 0 5067 * VAL_NUMERIC 1 5068 * VAL_SYMBOL 2 5069 * VAL_TEXT 3 5070 * VAL_IP 4 5071 * The first one is only to indicate the end of 5072 * this array. The others indicate what kind of 5073 * value this is. 5074 * char *symb_val - 5075 * ASCII presentation of the symbolic value. 5076 * Note: Must be small letters only! 5077 * For numeric variables: 5078 * This is a dummy variable. Enables searching 5079 * array of 'PARAM_VAL_RULES' for name (string) 5080 * matching without special case for numeric 5081 * variable. 5082 * VAL_DESCRIPTOR val_descriptor - 5083 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5084 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5085 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5086 * See details in file of definition. Note: Symbols 5087 * must be small letters only! 5088 *USAGE: 5089 * SEE ORGANIZATION. 5090 *REMARKS: 5091 * NONE. 5092 *SEE ALSO: 5093 */ 5094 EXTERN CONST 5095 PARAM_VAL_RULES 5096 Fap10m_red_exp_weight[] 5097 #ifdef INIT 5098 = 5099 { 5100 { 5101 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5102 { 5103 { 5104 HAS_MIN_VALUE | HAS_MAX_VALUE, 5105 FAP10M_QTP_RED_EXP_MAX, 0, 5106 /* 5107 * Number of times this value can be repeated (i.e., 5108 * value is an array). Must be at least 1! 5109 */ 5110 1, 5111 (VAL_PROC_PTR)NULL 5112 } 5113 } 5114 }, 5115 /* 5116 * Last element. Do not remove. 5117 */ 5118 { 5119 VAL_END_OF_LIST 5120 } 5121 } 5122 #endif 5123 ; 5124 /******************************************************** 5125 *NAME 5126 * Fap10m_fabric_class_entry 5127 *TYPE: BUFFER 5128 *DATE: 25/MAR/2003 5129 *FUNCTION: 5130 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5131 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5132 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5133 *ORGANIZATION: 5134 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5135 * int val_type - 5136 * Type of value. Can be: 5137 * VAL_END_OF_LIST 0 5138 * VAL_NUMERIC 1 5139 * VAL_SYMBOL 2 5140 * VAL_TEXT 3 5141 * VAL_IP 4 5142 * The first one is only to indicate the end of 5143 * this array. The others indicate what kind of 5144 * value this is. 5145 * char *symb_val - 5146 * ASCII presentation of the symbolic value. 5147 * Note: Must be small letters only! 5148 * For numeric variables: 5149 * This is a dummy variable. Enables searching 5150 * array of 'PARAM_VAL_RULES' for name (string) 5151 * matching without special case for numeric 5152 * variable. 5153 * VAL_DESCRIPTOR val_descriptor - 5154 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5155 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5156 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5157 * See details in file of definition. Note: Symbols 5158 * must be small letters only! 5159 *USAGE: 5160 * SEE ORGANIZATION. 5161 *REMARKS: 5162 * NONE. 5163 *SEE ALSO: 5164 */ 5165 EXTERN CONST 5166 PARAM_VAL_RULES 5167 Fap10m_fabric_class_entry[] 5168 #ifdef INIT 5169 = 5170 { 5171 { 5172 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5173 { 5174 { 5175 HAS_MIN_VALUE | HAS_MAX_VALUE, 5176 FAP10M_FABRIC_CLASS_D, 0, 5177 /* 5178 * Number of times this value can be repeated (i.e., 5179 * value is an array). Must be at least 1! 5180 */ 5181 1, 5182 (VAL_PROC_PTR)NULL 5183 } 5184 } 5185 }, 5186 /* 5187 * Last element. Do not remove. 5188 */ 5189 { 5190 VAL_END_OF_LIST 5191 } 5192 } 5193 #endif 5194 ; 5195 /******************************************************** 5196 *NAME 5197 * Fap10m_fabric_class 5198 *TYPE: BUFFER 5199 *DATE: 15/APR/2003 5200 *FUNCTION: 5201 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5202 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 5203 * CONTEXT OF SUBJECT 'NVRAM'. 5204 *ORGANIZATION: 5205 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5206 * int val_type - 5207 * Type of value. Can be: 5208 * VAL_END_OF_LIST 0 5209 * VAL_NUMERIC 1 5210 * VAL_SYMBOL 2 5211 * VAL_TEXT 3 5212 * VAL_IP 4 5213 * The first one is only to indicate the end of 5214 * this array. The others indicate what kind of 5215 * value this is. 5216 * VAL_DESCRIPTOR val_descriptor - 5217 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5218 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5219 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5220 * See details in file of definition. Note: Symbols 5221 * must be small letters only! 5222 *USAGE: 5223 * SEE ORGANIZATION. 5224 *REMARKS: 5225 * NONE. 5226 *SEE ALSO: 5227 */ 5228 EXTERN CONST 5229 PARAM_VAL_RULES 5230 Fap10m_fabric_class[] 5231 #ifdef INIT 5232 = 5233 { 5234 { 5235 VAL_SYMBOL, 5236 "fabric_class_a", 5237 { 5238 { 5239 FAP10M_FABRIC_CLASS_A, 5240 /* 5241 * Casting added here just to keep the stupid compiler silent. 5242 */ 5243 (long)" PFH class {0,...,7} mapped to fabric class 0.", 5244 /* 5245 * Pointer to a function to call after symbolic value 5246 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5247 * Casting to 'long' added here just to keep the stupid 5248 * compiler silent. 5249 */ 5250 (long)NULL 5251 } 5252 } 5253 }, 5254 { 5255 VAL_SYMBOL, 5256 "fabric_class_b", 5257 { 5258 { 5259 FAP10M_FABRIC_CLASS_B, 5260 /* 5261 * Casting added here just to keep the stupid compiler silent. 5262 */ 5263 (long)" PFH class {0,...,3} mapped to fabric class 0.\n\r" 5264 " PFH class {4,...,7} mapped to fabric class 1.", 5265 /* 5266 * Pointer to a function to call after symbolic value 5267 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5268 * Casting to 'long' added here just to keep the stupid 5269 * compiler silent. 5270 */ 5271 (long)NULL 5272 } 5273 } 5274 }, 5275 { 5276 VAL_SYMBOL, 5277 "fabric_class_c", 5278 { 5279 { 5280 FAP10M_FABRIC_CLASS_C, 5281 /* 5282 * Casting added here just to keep the stupid compiler silent. 5283 */ 5284 (long)" PFH class {0,1} mapped to fabric class 0.\n\r" 5285 " PFH class {2,3} mapped to fabric class 1.\n\r" 5286 " PFH class {4,5} mapped to fabric class 2.\n\r" 5287 " PFH class {6,7} mapped to fabric class 3.", 5288 /* 5289 * Pointer to a function to call after symbolic value 5290 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5291 * Casting to 'long' added here just to keep the stupid 5292 * compiler silent. 5293 */ 5294 (long)NULL 5295 } 5296 } 5297 }, 5298 { 5299 VAL_SYMBOL, 5300 "fabric_class_d", 5301 { 5302 { 5303 FAP10M_FABRIC_CLASS_D, 5304 /* 5305 * Casting added here just to keep the stupid compiler silent. 5306 */ 5307 (long)" PFH class X mapped to fabric class X,\n\r" 5308 " that is, No translation occurs.", 5309 /* 5310 * Pointer to a function to call after symbolic value 5311 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5312 * Casting to 'long' added here just to keep the stupid 5313 * compiler silent. 5314 */ 5315 (long)NULL 5316 } 5317 } 5318 }, 5319 /* 5320 * Last element. Do not remove. 5321 */ 5322 { 5323 VAL_END_OF_LIST 5324 } 5325 } 5326 #endif 5327 ; 5328 /******************************************************** 5329 *NAME 5330 * Fap10m_queue_base_label 5331 *TYPE: BUFFER 5332 *DATE: 15/APR/2003 5333 *FUNCTION: 5334 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5335 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 5336 * CONTEXT OF SUBJECT 'NVRAM'. 5337 *ORGANIZATION: 5338 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5339 * int val_type - 5340 * Type of value. Can be: 5341 * VAL_END_OF_LIST 0 5342 * VAL_NUMERIC 1 5343 * VAL_SYMBOL 2 5344 * VAL_TEXT 3 5345 * VAL_IP 4 5346 * The first one is only to indicate the end of 5347 * this array. The others indicate what kind of 5348 * value this is. 5349 * VAL_DESCRIPTOR val_descriptor - 5350 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5351 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5352 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5353 * See details in file of definition. Note: Symbols 5354 * must be small letters only! 5355 *USAGE: 5356 * SEE ORGANIZATION. 5357 *REMARKS: 5358 * NONE. 5359 *SEE ALSO: 5360 */ 5361 EXTERN CONST 5362 PARAM_VAL_RULES 5363 Fap10m_queue_base_label[] 5364 #ifdef INIT 5365 = 5366 { 5367 { 5368 VAL_SYMBOL, 5369 "flow_mapping", 5370 { 5371 { 5372 FAP10M_FLOW_MAPPING, 5373 /* 5374 * Casting added here just to keep the stupid compiler silent. 5375 */ 5376 (long)" Flow mapping at the LBP.", 5377 /* 5378 * Pointer to a function to call after symbolic value 5379 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5380 * Casting to 'long' added here just to keep the stupid 5381 * compiler silent. 5382 */ 5383 (long)NULL 5384 } 5385 } 5386 }, 5387 { 5388 VAL_SYMBOL, 5389 "destination_mapping", 5390 { 5391 { 5392 FAP10M_DESTINATION_MAPPING, 5393 /* 5394 * Casting added here just to keep the stupid compiler silent. 5395 */ 5396 (long)" Destination mapping at the LBP.", 5397 /* 5398 * Pointer to a function to call after symbolic value 5399 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5400 * Casting to 'long' added here just to keep the stupid 5401 * compiler silent. 5402 */ 5403 (long)NULL 5404 } 5405 } 5406 }, 5407 /* 5408 * Last element. Do not remove. 5409 */ 5410 { 5411 VAL_END_OF_LIST 5412 } 5413 } 5414 #endif 5415 ; 5416 /******************************************************** 5417 *NAME 5418 * Fap10m_nominal_bandwidth_vals 5419 *TYPE: BUFFER 5420 *DATE: 25/MAR/2003 5421 *FUNCTION: 5422 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5423 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5424 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5425 *ORGANIZATION: 5426 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5427 * int val_type - 5428 * Type of value. Can be: 5429 * VAL_END_OF_LIST 0 5430 * VAL_NUMERIC 1 5431 * VAL_SYMBOL 2 5432 * VAL_TEXT 3 5433 * VAL_IP 4 5434 * The first one is only to indicate the end of 5435 * this array. The others indicate what kind of 5436 * value this is. 5437 * char *symb_val - 5438 * ASCII presentation of the symbolic value. 5439 * Note: Must be small letters only! 5440 * For numeric variables: 5441 * This is a dummy variable. Enables searching 5442 * array of 'PARAM_VAL_RULES' for name (string) 5443 * matching without special case for numeric 5444 * variable. 5445 * VAL_DESCRIPTOR val_descriptor - 5446 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5447 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5448 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5449 * See details in file of definition. Note: Symbols 5450 * must be small letters only! 5451 *USAGE: 5452 * SEE ORGANIZATION. 5453 *REMARKS: 5454 * NONE. 5455 *SEE ALSO: 5456 */ 5457 EXTERN CONST 5458 PARAM_VAL_RULES 5459 Fap10m_nominal_bandwidth_vals[] 5460 #ifdef INIT 5461 = 5462 { 5463 { 5464 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5465 { 5466 { 5467 HAS_MIN_VALUE | HAS_MAX_VALUE, 5468 160000,0, 5469 /* 5470 * Number of times this value can be repeated (i.e., 5471 * value is an array). Must be at least 1! 5472 */ 5473 1, 5474 (VAL_PROC_PTR)NULL 5475 } 5476 } 5477 }, 5478 /* 5479 * Last element. Do not remove. 5480 */ 5481 { 5482 VAL_END_OF_LIST 5483 } 5484 } 5485 #endif 5486 ; 5487 /******************************************************** 5488 *NAME 5489 * Fap10m_credit_bandwidth_vals 5490 *TYPE: BUFFER 5491 *DATE: 25/MAR/2003 5492 *FUNCTION: 5493 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5494 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5495 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5496 *ORGANIZATION: 5497 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5498 * int val_type - 5499 * Type of value. Can be: 5500 * VAL_END_OF_LIST 0 5501 * VAL_NUMERIC 1 5502 * VAL_SYMBOL 2 5503 * VAL_TEXT 3 5504 * VAL_IP 4 5505 * The first one is only to indicate the end of 5506 * this array. The others indicate what kind of 5507 * value this is. 5508 * char *symb_val - 5509 * ASCII presentation of the symbolic value. 5510 * Note: Must be small letters only! 5511 * For numeric variables: 5512 * This is a dummy variable. Enables searching 5513 * array of 'PARAM_VAL_RULES' for name (string) 5514 * matching without special case for numeric 5515 * variable. 5516 * VAL_DESCRIPTOR val_descriptor - 5517 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5518 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5519 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5520 * See details in file of definition. Note: Symbols 5521 * must be small letters only! 5522 *USAGE: 5523 * SEE ORGANIZATION. 5524 *REMARKS: 5525 * NONE. 5526 *SEE ALSO: 5527 */ 5528 EXTERN CONST 5529 PARAM_VAL_RULES 5530 Fap10m_credit_bandwidth_vals[] 5531 #ifdef INIT 5532 = 5533 { 5534 { 5535 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5536 { 5537 { 5538 HAS_MIN_VALUE | HAS_MAX_VALUE, 5539 160000,0, 5540 /* 5541 * Number of times this value can be repeated (i.e., 5542 * value is an array). Must be at least 1! 5543 */ 5544 1, 5545 (VAL_PROC_PTR)NULL 5546 } 5547 } 5548 }, 5549 /* 5550 * Last element. Do not remove. 5551 */ 5552 { 5553 VAL_END_OF_LIST 5554 } 5555 } 5556 #endif 5557 ; 5558 /******************************************************** 5559 *NAME 5560 * Fap10m_scheduler_port_id_vals 5561 *TYPE: BUFFER 5562 *DATE: 25/MAR/2003 5563 *FUNCTION: 5564 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5565 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5566 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5567 *ORGANIZATION: 5568 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5569 * int val_type - 5570 * Type of value. Can be: 5571 * VAL_END_OF_LIST 0 5572 * VAL_NUMERIC 1 5573 * VAL_SYMBOL 2 5574 * VAL_TEXT 3 5575 * VAL_IP 4 5576 * The first one is only to indicate the end of 5577 * this array. The others indicate what kind of 5578 * value this is. 5579 * char *symb_val - 5580 * ASCII presentation of the symbolic value. 5581 * Note: Must be small letters only! 5582 * For numeric variables: 5583 * This is a dummy variable. Enables searching 5584 * array of 'PARAM_VAL_RULES' for name (string) 5585 * matching without special case for numeric 5586 * variable. 5587 * VAL_DESCRIPTOR val_descriptor - 5588 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5589 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5590 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5591 * See details in file of definition. Note: Symbols 5592 * must be small letters only! 5593 *USAGE: 5594 * SEE ORGANIZATION. 5595 *REMARKS: 5596 * NONE. 5597 *SEE ALSO: 5598 */ 5599 EXTERN CONST 5600 PARAM_VAL_RULES 5601 Fap10m_scheduler_port_id_vals[] 5602 #ifdef INIT 5603 = 5604 { 5605 { 5606 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5607 { 5608 { 5609 HAS_MIN_VALUE | HAS_MAX_VALUE, 5610 FAP10M_NOF_SCH_PORTS-1,0, 5611 /* 5612 * Number of times this value can be repeated (i.e., 5613 * value is an array). Must be at least 1! 5614 */ 5615 1, 5616 (VAL_PROC_PTR)NULL 5617 } 5618 } 5619 }, 5620 /* 5621 * Last element. Do not remove. 5622 */ 5623 { 5624 VAL_END_OF_LIST 5625 } 5626 } 5627 #endif 5628 ; 5629 /******************************************************** 5630 *NAME 5631 * Fap10m_scheduler_port_id_no_recyle_vals 5632 *TYPE: BUFFER 5633 *DATE: 25/MAR/2003 5634 *FUNCTION: 5635 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 5636 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 5637 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 5638 *ORGANIZATION: 5639 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5640 * int val_type - 5641 * Type of value. Can be: 5642 * VAL_END_OF_LIST 0 5643 * VAL_NUMERIC 1 5644 * VAL_SYMBOL 2 5645 * VAL_TEXT 3 5646 * VAL_IP 4 5647 * The first one is only to indicate the end of 5648 * this array. The others indicate what kind of 5649 * value this is. 5650 * char *symb_val - 5651 * ASCII presentation of the symbolic value. 5652 * Note: Must be small letters only! 5653 * For numeric variables: 5654 * This is a dummy variable. Enables searching 5655 * array of 'PARAM_VAL_RULES' for name (string) 5656 * matching without special case for numeric 5657 * variable. 5658 * VAL_DESCRIPTOR val_descriptor - 5659 * Union of structures (of types VAL_NUM_DESCRIPTOR, 5660 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 5661 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 5662 * See details in file of definition. Note: Symbols 5663 * must be small letters only! 5664 *USAGE: 5665 * SEE ORGANIZATION. 5666 *REMARKS: 5667 * NONE. 5668 *SEE ALSO: 5669 */ 5670 EXTERN CONST 5671 PARAM_VAL_RULES 5672 Fap10m_scheduler_port_id_no_recyle_vals[] 5673 #ifdef INIT 5674 = 5675 { 5676 { 5677 VAL_NUMERIC,SYMB_NAME_NUMERIC, 5678 { 5679 { 5680 HAS_MIN_VALUE | HAS_MAX_VALUE, 5681 FAP10M_NOF_SCH_PORTS-2,0, 5682 /* 5683 * Number of times this value can be repeated (i.e., 5684 * value is an array). Must be at least 1! 5685 */ 5686 1, 5687 (VAL_PROC_PTR)NULL 5688 } 5689 } 5690 }, 5691 /* 5692 * Last element. Do not remove. 5693 */ 5694 { 5695 VAL_END_OF_LIST 5696 } 5697 } 5698 #endif 5699 ; 5700 /******************************************************** 5701 *NAME 5702 * Fap10m_serdes_pre_emphasis_default 5703 *TYPE: BUFFER 5704 *DATE: 25/MAR/2003 5705 *FUNCTION: 5706 * Default number if no amplitude. 5707 *ORGANIZATION: 5708 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5709 * int val_type - 5710 * Type of variable (VAL_NUMERIC, VAL_TEXT, 5711 * VAL_IP OR VAL_SYMBOL) 5712 * union value - 5713 * Union of one of 5714 * int int_value 5715 * char *string_value 5716 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 5717 * unsigned long ip_value ; 5718 * Value of default variable. 5719 *USAGE: 5720 * SEE ORGANIZATION. 5721 *REMARKS: 5722 * NONE. 5723 *SEE ALSO: 5724 */ 5725 EXTERN CONST 5726 PARAM_VAL 5727 Fap10m_serdes_pre_emphasis_default 5728 #ifdef INIT 5729 = 5730 { 5731 VAL_NUMERIC, 5732 0, 5733 { 5734 /* 5735 * Casting may be required here only to keep the compiler silent. 5736 */ 5737 (unsigned long)2 5738 } 5739 } 5740 #endif 5741 ; 5742 /******************************************************** 5743 *NAME 5744 * Fap10m_logical_mac_field 5745 *TYPE: BUFFER 5746 *DATE: 31/DEC/2002 5747 *FUNCTION: 5748 * ARRAY CONTAINING THE DEFAULT VALUE 5749 * RELATED TO THE PARAMETER "DATA". 5750 *ORGANIZATION: 5751 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5752 * int val_type - 5753 * Type of variable (VAL_NUMERIC, VAL_TEXT, 5754 * VAL_IP OR VAL_SYMBOL) 5755 * union value - 5756 * Union of one of 5757 * int int_value 5758 * char *string_value 5759 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 5760 * unsigned long ip_value ; 5761 * Value of default variable. 5762 *USAGE: 5763 * SEE ORGANIZATION. 5764 *REMARKS: 5765 * NONE. 5766 *SEE ALSO: 5767 */ 5768 EXTERN CONST 5769 PARAM_VAL_RULES 5770 Fap10m_logical_mac_field[] 5771 #ifdef INIT 5772 = 5773 { 5774 { 5775 VAL_SYMBOL, 5776 "commas_number", 5777 { 5778 { 5779 FAP10M_CM_BRST_SIZE_FIELD, 5780 /* 5781 * Casting added here just to keep the stupid compiler silent. 5782 */ 5783 (long)" Number of consecutive commas to be transmitted.\n\r" 5784 " 0 means no commas will be transmitted, if data is available.\n\r" 5785 " Number of commas to be transmitted is ((CmBrstSize+1)*2).", 5786 /* 5787 * Pointer to a function to call after symbolic value 5788 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5789 * Casting to 'long' added here just to keep the stupid 5790 * compiler silent. 5791 */ 5792 (long)NULL 5793 } 5794 } 5795 }, 5796 { 5797 VAL_SYMBOL, 5798 "commas_interval", 5799 { 5800 { 5801 FAP10M_CM_TX_PERIOD_FIELD, 5802 /* 5803 * Casting added here just to keep the stupid compiler silent. 5804 */ 5805 (long)" Number of cells between consecutive comma sequences.\n\r" 5806 " Configuring 0 in this register means that no comma \n\r" 5807 " sequences are generated. Number of commas to be \n\r" 5808 " transmitted is 2^CmTxPeriod.", 5809 /* 5810 * Pointer to a function to call after symbolic value 5811 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5812 * Casting to 'long' added here just to keep the stupid 5813 * compiler silent. 5814 */ 5815 (long)NULL 5816 } 5817 } 5818 }, 5819 /* 5820 * Last element. Do not remove. 5821 */ 5822 { 5823 VAL_END_OF_LIST 5824 } 5825 } 5826 #endif 5827 ; 5828 /******************************************************** 5829 *NAME 5830 * Fap10m_logical_sch_field 5831 *TYPE: BUFFER 5832 *DATE: 31/DEC/2002 5833 *FUNCTION: 5834 * ARRAY CONTAINING THE DEFAULT VALUE 5835 * RELATED TO THE PARAMETER "DATA". 5836 *ORGANIZATION: 5837 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5838 * int val_type - 5839 * Type of variable (VAL_NUMERIC, VAL_TEXT, 5840 * VAL_IP OR VAL_SYMBOL) 5841 * union value - 5842 * Union of one of 5843 * int int_value 5844 * char *string_value 5845 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 5846 * unsigned long ip_value ; 5847 * Value of default variable. 5848 *USAGE: 5849 * SEE ORGANIZATION. 5850 *REMARKS: 5851 * NONE. 5852 *SEE ALSO: 5853 */ 5854 EXTERN CONST 5855 PARAM_VAL_RULES 5856 Fap10m_logical_sch_field[] 5857 #ifdef INIT 5858 = 5859 { 5860 { 5861 VAL_SYMBOL, 5862 "enable_sub_flow", 5863 { 5864 { 5865 FAP10M_SCH_EN_SUB_FLOW_FIELD, 5866 /* 5867 * Casting added here just to keep the stupid compiler silent. 5868 */ 5869 (long)" Enables mapping a flow to sub-flows. This bit should be asserted\n\r" 5870 " by sophisticated users, to allow greater flexibility in assigning\n\r" 5871 " flows to schedulers. Default value is 0.", 5872 /* 5873 * Pointer to a function to call after symbolic value 5874 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5875 * Casting to 'long' added here just to keep the stupid 5876 * compiler silent. 5877 */ 5878 (long)NULL 5879 } 5880 } 5881 }, 5882 { 5883 VAL_SYMBOL, 5884 "port_cfg", 5885 { 5886 { 5887 FAP10M_SCH_EN_PORT_CFG_FIELD, 5888 /* 5889 * Casting added here just to keep the stupid compiler silent. 5890 */ 5891 (long)" Each one of the 8 bits represents the configuration of an 8-port\n\r" 5892 " group (out of 64 possible ports). Each group can be configured as 1 or 8\n\r" 5893 " ports. A bit assertion, sets a 1-port configuration, i.e., a timeline\n\r" 5894 " of 32K clocks is available for that port group. If the bit is set to\n\r" 5895 " 0, a 4096 time-line is available for that port group. Default value is 0.", 5896 /* 5897 * Pointer to a function to call after symbolic value 5898 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5899 * Casting to 'long' added here just to keep the stupid 5900 * compiler silent. 5901 */ 5902 (long)NULL 5903 } 5904 } 5905 }, 5906 { 5907 VAL_SYMBOL, 5908 "min_slow_tti", 5909 { 5910 { 5911 FAP10M_SCH_EN_MIN_SLOW_TTI_FIELD, 5912 /* 5913 * Casting added here just to keep the stupid compiler silent. 5914 */ 5915 (long)" The minimum TTI for an EDF flow in slow state (to avoid waste of\n\r" 5916 " credits when a flow state switches between Off and On).", 5917 /* 5918 * Pointer to a function to call after symbolic value 5919 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5920 * Casting to 'long' added here just to keep the stupid 5921 * compiler silent. 5922 */ 5923 (long)NULL 5924 } 5925 } 5926 }, 5927 { 5928 VAL_SYMBOL, 5929 "min_slow_wt", 5930 { 5931 { 5932 FAP10M_SCH_EN_MIN_SLOW_WT_FIELD, 5933 /* 5934 * Casting added here just to keep the stupid compiler silent. 5935 */ 5936 (long)" The minimum weight for a WFQ flow in slow state (to avoid waste\n\r" 5937 " of credits when a flow state switches between Off and On).", 5938 /* 5939 * Pointer to a function to call after symbolic value 5940 * has been accepted. Casting should be 'VAL_PROC_PTR'. 5941 * Casting to 'long' added here just to keep the stupid 5942 * compiler silent. 5943 */ 5944 (long)NULL 5945 } 5946 } 5947 }, 5948 /* 5949 * Last element. Do not remove. 5950 */ 5951 { 5952 VAL_END_OF_LIST 5953 } 5954 } 5955 #endif 5956 ; 5957 /******************************************************** 5958 *NAME 5959 * Fap10m_logical_external_dram_field 5960 *TYPE: BUFFER 5961 *DATE: 31/DEC/2002 5962 *FUNCTION: 5963 * ARRAY CONTAINING THE DEFAULT VALUE 5964 * RELATED TO THE PARAMETER "DATA". 5965 *ORGANIZATION: 5966 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 5967 * int val_type - 5968 * Type of variable (VAL_NUMERIC, VAL_TEXT, 5969 * VAL_IP OR VAL_SYMBOL) 5970 * union value - 5971 * Union of one of 5972 * int int_value 5973 * char *string_value 5974 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 5975 * unsigned long ip_value ; 5976 * Value of default variable. 5977 *USAGE: 5978 * SEE ORGANIZATION. 5979 *REMARKS: 5980 * NONE. 5981 *SEE ALSO: 5982 */ 5983 EXTERN CONST 5984 PARAM_VAL_RULES 5985 Fap10m_logical_external_dram_field[] 5986 #ifdef INIT 5987 = 5988 { 5989 { 5990 VAL_SYMBOL, 5991 "queue_controller_init_trig", 5992 { 5993 { 5994 FAP10M_QUEUE_CONTROLLER_INIT_TRIG_FIELD, 5995 /* 5996 * Casting added here just to keep the stupid compiler silent. 5997 */ 5998 (long)" When set to 1, it triggers initialization of Queue Cntr data structures.", 5999 /* 6000 * Pointer to a function to call after symbolic value 6001 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6002 * Casting to 'long' added here just to keep the stupid 6003 * compiler silent. 6004 */ 6005 (long)NULL 6006 } 6007 } 6008 }, 6009 { 6010 VAL_SYMBOL, 6011 "pkt_crc_ena", 6012 { 6013 { 6014 FAP10M_PKT_CRC_ENA_FIELD, 6015 /* 6016 * Casting added here just to keep the stupid compiler silent. 6017 */ 6018 (long)" Packet CRC Enable.\n\r" 6019 " If this bit is asserted, 2 bytes CRC is added/removed when the packet\n\r" 6020 " is stored/removed from external memory.", 6021 /* 6022 * Pointer to a function to call after symbolic value 6023 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6024 * Casting to 'long' added here just to keep the stupid 6025 * compiler silent. 6026 */ 6027 (long)NULL 6028 } 6029 } 6030 }, 6031 { 6032 VAL_SYMBOL, 6033 "qdp_buff_size", 6034 { 6035 { 6036 FAP10M_QDP_BUFF_SIZE_FIELD, 6037 /* 6038 * Casting added here just to keep the stupid compiler silent. 6039 */ 6040 (long)" Buffer Size Options are:\n\r" 6041 " 0 = 256 bytes (8 fabric cells),\n\r" 6042 " 1 = 512 bytes (16 fabric cells),\n\r" 6043 " 2 = 1024 bytes (32 fabric cells),\n\r" 6044 " 3 = 2048 bytes (64 fabric cells)", 6045 /* 6046 * Pointer to a function to call after symbolic value 6047 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6048 * Casting to 'long' added here just to keep the stupid 6049 * compiler silent. 6050 */ 6051 (long)NULL 6052 } 6053 } 6054 }, 6055 { 6056 VAL_SYMBOL, 6057 "top_que_blk_0", 6058 { 6059 { 6060 FAP10M_TOP_QUE_BLK_0_FIELD, 6061 /* 6062 * Casting added here just to keep the stupid compiler silent. 6063 */ 6064 (long)" All queues from 0 to address top_que_blk_0 are in block-buffer0.", 6065 /* 6066 * Pointer to a function to call after symbolic value 6067 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6068 * Casting to 'long' added here just to keep the stupid 6069 * compiler silent. 6070 */ 6071 (long)NULL 6072 } 6073 } 6074 }, 6075 { 6076 VAL_SYMBOL, 6077 "top_que_blk_1", 6078 { 6079 { 6080 FAP10M_TOP_QUE_BLK_1_FIELD, 6081 /* 6082 * Casting added here just to keep the stupid compiler silent. 6083 */ 6084 (long)" All queues from top_que_blk_0+1 to top_que_blk_1 are in block-buffer1.\n\r" 6085 " All queues from top_que_blk_1+1 to top_que_blk_2 are in block-buffer2.", 6086 /* 6087 * Pointer to a function to call after symbolic value 6088 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6089 * Casting to 'long' added here just to keep the stupid 6090 * compiler silent. 6091 */ 6092 (long)NULL 6093 } 6094 } 6095 }, 6096 { 6097 VAL_SYMBOL, 6098 "top_que_blk_2", 6099 { 6100 { 6101 FAP10M_TOP_QUE_BLK_2_FIELD, 6102 /* 6103 * Casting added here just to keep the stupid compiler silent. 6104 */ 6105 (long)" All queues from top_que_blk_1+1 to top_que_blk_2 are in block-buffer2.\n\r" 6106 " All queues from top_que_blk_2+1 to 8K-1 are in block-buffer3.", 6107 /* 6108 * Pointer to a function to call after symbolic value 6109 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6110 * Casting to 'long' added here just to keep the stupid 6111 * compiler silent. 6112 */ 6113 (long)NULL 6114 } 6115 } 6116 }, 6117 { 6118 VAL_SYMBOL, 6119 "top_buff_blk_0", 6120 { 6121 { 6122 FAP10M_TOP_BUFF_BLK_0_FIELD, 6123 /* 6124 * Casting added here just to keep the stupid compiler silent. 6125 */ 6126 (long)" Block-buffer1 is between 0 and top_buff_blk_0.", 6127 /* 6128 * Pointer to a function to call after symbolic value 6129 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6130 * Casting to 'long' added here just to keep the stupid 6131 * compiler silent. 6132 */ 6133 (long)NULL 6134 } 6135 } 6136 }, 6137 { 6138 VAL_SYMBOL, 6139 "top_buff_blk_1", 6140 { 6141 { 6142 FAP10M_TOP_BUFF_BLK_1_FIELD, 6143 /* 6144 * Casting added here just to keep the stupid compiler silent. 6145 */ 6146 (long)" Block-buffer2 is between top_buff_blk_0+1 and top_buff_blk_1.\n\r" 6147 " Block-buffer3 is between top_buff_blk_1+1 and top_buff_blk_2.", 6148 /* 6149 * Pointer to a function to call after symbolic value 6150 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6151 * Casting to 'long' added here just to keep the stupid 6152 * compiler silent. 6153 */ 6154 (long)NULL 6155 } 6156 } 6157 }, 6158 { 6159 VAL_SYMBOL, 6160 "top_buff_blk_2", 6161 { 6162 { 6163 FAP10M_TOP_BUFF_BLK_2_FIELD, 6164 /* 6165 * Casting added here just to keep the stupid compiler silent. 6166 */ 6167 (long)" Block-buffer3 is between top_buff_blk_1+1 and top_buff_blk_2.\n\r" 6168 " Block-buffer4 is between top_buff_blk_2+1 and external DRAM total size", 6169 /* 6170 * Pointer to a function to call after symbolic value 6171 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6172 * Casting to 'long' added here just to keep the stupid 6173 * compiler silent. 6174 */ 6175 (long)NULL 6176 } 6177 } 6178 }, 6179 { 6180 VAL_SYMBOL, 6181 "credit_byt_size", 6182 { 6183 { 6184 FAP10M_CREDIT_VALUE_FIELD, 6185 /* 6186 * Casting added here just to keep the stupid compiler silent. 6187 */ 6188 (long)" credit byte size:\n\r" 6189 " 0 indicates 256 bytes.\n\r" 6190 " 1 indicates 512 bytes.\n\r" 6191 " 2 indicates 1024 bytes.\n\r" 6192 " 3 indicates 2048 bytes.", 6193 /* 6194 * Pointer to a function to call after symbolic value 6195 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6196 * Casting to 'long' added here just to keep the stupid 6197 * compiler silent. 6198 */ 6199 (long)NULL 6200 } 6201 } 6202 }, 6203 { 6204 VAL_SYMBOL, 6205 "packet_header_size", 6206 { 6207 { 6208 FAP10M_QDP_HDR_CMP_FIELD, 6209 /* 6210 * Casting added here just to keep the stupid compiler silent. 6211 */ 6212 (long)" The amount of bytes to be subtracted from the packet\n\r" 6213 " size for credit accounting.:\n\r" 6214 " 0 indicates 0 bytes.\n\r" 6215 " 1 indicates 16 bytes.\n\r" 6216 " 2 indicates 32 bytes.\n\r" 6217 " 3 indicates 48 bytes.", 6218 /* 6219 * Pointer to a function to call after symbolic value 6220 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6221 * Casting to 'long' added here just to keep the stupid 6222 * compiler silent. 6223 */ 6224 (long)NULL 6225 } 6226 } 6227 }, 6228 { 6229 VAL_SYMBOL, 6230 "send_status_on_discasrd", 6231 { 6232 { 6233 FAP10M_QDP_STS_ON_DISCARD_FIELD, 6234 /* 6235 * Casting added here just to keep the stupid compiler silent. 6236 */ 6237 (long)" Enable sending flow-status message whenever there is a Discard.", 6238 /* 6239 * Pointer to a function to call after symbolic value 6240 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6241 * Casting to 'long' added here just to keep the stupid 6242 * compiler silent. 6243 */ 6244 (long)NULL 6245 } 6246 } 6247 }, 6248 6249 /* 6250 * Last element. Do not remove. 6251 */ 6252 { 6253 VAL_END_OF_LIST 6254 } 6255 } 6256 #endif 6257 ; 6258 /******************************************************** 6259 *NAME 6260 * Fap10m_logical_interrupt_mask_field 6261 *TYPE: BUFFER 6262 *DATE: 31/DEC/2002 6263 *FUNCTION: 6264 * ARRAY CONTAINING THE DEFAULT VALUE 6265 * RELATED TO THE PARAMETER "DATA". 6266 *ORGANIZATION: 6267 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 6268 * int val_type - 6269 * Type of variable (VAL_NUMERIC, VAL_TEXT, 6270 * VAL_IP OR VAL_SYMBOL) 6271 * union value - 6272 * Union of one of 6273 * int int_value 6274 * char *string_value 6275 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 6276 * unsigned long ip_value ; 6277 * Value of default variable. 6278 *USAGE: 6279 * SEE ORGANIZATION. 6280 *REMARKS: 6281 * NONE. 6282 *SEE ALSO: 6283 */ 6284 EXTERN CONST 6285 PARAM_VAL_RULES 6286 Fap10m_logical_interrupt_mask_field[] 6287 #ifdef INIT 6288 = 6289 { 6290 { 6291 VAL_SYMBOL, 6292 "unrch_dest_evt_mask", 6293 { 6294 { 6295 FAP10M_UN_RCH_DEST_EVT_MASK_FIELD, 6296 /* 6297 * Casting added here just to keep the stupid compiler silent. 6298 */ 6299 (long)" \'UnrchDestEvt_mask\' bit on \'Interrupt Mask\' register.", 6300 /* 6301 * Pointer to a function to call after symbolic value 6302 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6303 * Casting to 'long' added here just to keep the stupid 6304 * compiler silent. 6305 */ 6306 (long)NULL 6307 } 6308 } 6309 }, 6310 { 6311 VAL_SYMBOL, 6312 "lnk_actv_msk_cng_mask", 6313 { 6314 { 6315 FAP10M_LNK_ACTV_MSK_CNG_MASK_FIELD, 6316 /* 6317 * Casting added here just to keep the stupid compiler silent. 6318 */ 6319 (long)" \'LnkActvMskCng_mask\' field on \'Interrupt Mask\' register.", 6320 /* 6321 * Pointer to a function to call after symbolic value 6322 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6323 * Casting to 'long' added here just to keep the stupid 6324 * compiler silent. 6325 */ 6326 (long)NULL 6327 } 6328 } 6329 }, 6330 { 6331 VAL_SYMBOL, 6332 "cpu_data_cell_fne_mask", 6333 { 6334 { 6335 FAP10M_CPU_DATA_CELL_FNE_MASK_FIELD, 6336 /* 6337 * Casting added here just to keep the stupid compiler silent. 6338 */ 6339 (long)" \'CPUDataCellFNE_mask\' field on \'Interrupt Mask\' register.", 6340 /* 6341 * Pointer to a function to call after symbolic value 6342 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6343 * Casting to 'long' added here just to keep the stupid 6344 * compiler silent. 6345 */ 6346 (long)NULL 6347 } 6348 } 6349 }, 6350 { 6351 VAL_SYMBOL, 6352 "src_dv_cng_link_mask", 6353 { 6354 { 6355 FAP10M_SRC_DV_CNG_LINK_MASK_FIELD, 6356 /* 6357 * Casting added here just to keep the stupid compiler silent. 6358 */ 6359 (long)" \'SrcDvCngLink_mask\' field on \'Interrupt Mask\' register.", 6360 /* 6361 * Pointer to a function to call after symbolic value 6362 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6363 * Casting to 'long' added here just to keep the stupid 6364 * compiler silent. 6365 */ 6366 (long)NULL 6367 } 6368 } 6369 }, 6370 /* 6371 * Last element. Do not remove. 6372 */ 6373 { 6374 VAL_END_OF_LIST 6375 } 6376 } 6377 #endif 6378 ; 6379 6380 /******************************************************** 6381 *NAME 6382 * Fap10m_b_logical_sms_field 6383 *TYPE: BUFFER 6384 *DATE: 31/DEC/2002 6385 *FUNCTION: 6386 * ARRAY CONTAINING THE DEFAULT VALUE 6387 * RELATED TO THE PARAMETER "DATA". 6388 *ORGANIZATION: 6389 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 6390 * int val_type - 6391 * Type of variable (VAL_NUMERIC, VAL_TEXT, 6392 * VAL_IP OR VAL_SYMBOL) 6393 * union value - 6394 * Union of one of 6395 * int int_value 6396 * char *string_value 6397 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 6398 * unsigned long ip_value ; 6399 * Value of default variable. 6400 *USAGE: 6401 * SEE ORGANIZATION. 6402 *REMARKS: 6403 * NONE. 6404 *SEE ALSO: 6405 */ 6406 EXTERN CONST 6407 PARAM_VAL_RULES 6408 Fap10m_b_logical_sms_field[] 6409 #ifdef INIT 6410 = 6411 { 6412 { 6413 VAL_SYMBOL, 6414 "leaky_bucket_max_cnt", 6415 { 6416 { 6417 FAP10M_LKY_BKT_MAX_CNT_FIELD, 6418 /* 6419 * Casting added here just to keep the stupid compiler silent. 6420 */ 6421 (long)" The maximum value a leaky bucket can reach.", 6422 /* 6423 * Pointer to a function to call after symbolic value 6424 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6425 * Casting to 'long' added here just to keep the stupid 6426 * compiler silent. 6427 */ 6428 (long)NULL 6429 } 6430 } 6431 }, 6432 { 6433 VAL_SYMBOL, 6434 "leaky_bucket_threshold", 6435 { 6436 { 6437 FAP10M_LKY_BKT_CNG_TH_FIELD, 6438 /* 6439 * Casting added here just to keep the stupid compiler silent. 6440 */ 6441 (long)" The threshold above a leaky bucket will be considered congested.", 6442 /* 6443 * Pointer to a function to call after symbolic value 6444 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6445 * Casting to 'long' added here just to keep the stupid 6446 * compiler silent. 6447 */ 6448 (long)NULL 6449 } 6450 } 6451 }, 6452 { 6453 VAL_SYMBOL, 6454 "leaky_bucket_q_0_1", 6455 { 6456 { 6457 FAP10M_LKY_BKT_DCR_RATE_1_FIELD, 6458 /* 6459 * Casting added here just to keep the stupid compiler silent. 6460 */ 6461 (long)" The numbers of clocks to decrement leaky bucket 1.\n\r" 6462 " If leaky_bucket_q_0_1 is set to 0, the bucket will not decrement.\n\r" 6463 " Leaky bucket 1 is associated with spatial multicast queues 0 and 1.", 6464 /* 6465 * Pointer to a function to call after symbolic value 6466 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6467 * Casting to 'long' added here just to keep the stupid 6468 * compiler silent. 6469 */ 6470 (long)NULL 6471 } 6472 } 6473 }, 6474 { 6475 VAL_SYMBOL, 6476 "leaky_bucket_q_2", 6477 { 6478 { 6479 FAP10M_LKY_BKT_DCR_RATE_2_FIELD, 6480 /* 6481 * Casting added here just to keep the stupid compiler silent. 6482 */ 6483 (long)" The numbers of clocks to decrement leaky bucket 2.\n\r" 6484 " If leaky_bucket_q_2 is set to 0, the bucket will not decrement.\n\r" 6485 " Leaky bucket 1 is associated with spatial multicast queue 2.", 6486 /* 6487 * Pointer to a function to call after symbolic value 6488 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6489 * Casting to 'long' added here just to keep the stupid 6490 * compiler silent. 6491 */ 6492 (long)NULL 6493 } 6494 } 6495 }, 6496 { 6497 VAL_SYMBOL, 6498 "leaky_bucket_q_3", 6499 { 6500 { 6501 FAP10M_LKY_BKT_DCR_RATE_3_FIELD, 6502 /* 6503 * Casting added here just to keep the stupid compiler silent. 6504 */ 6505 (long)" The numbers of clocks to decrement leaky bucket 3.\n\r" 6506 " If leaky_bucket_q_3 is set to 0, the bucket will not decrement.\n\r" 6507 " Leaky bucket 1 is associated with spatial multicast queue 3.", 6508 /* 6509 * Pointer to a function to call after symbolic value 6510 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6511 * Casting to 'long' added here just to keep the stupid 6512 * compiler silent. 6513 */ 6514 (long)NULL 6515 } 6516 } 6517 }, 6518 { 6519 VAL_SYMBOL, 6520 "spatial_min_interval", 6521 { 6522 { 6523 FAP10M_SPATIAL_Q_CREDIT_MIN_INTERVAL_FIELD, 6524 /* 6525 * Casting added here just to keep the stupid compiler silent. 6526 */ 6527 (long)" The minimum number of clocks between 2 consecutive\n\r" 6528 " credits awarded to queues 0, 1, 2 and 3.", 6529 /* 6530 * Pointer to a function to call after symbolic value 6531 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6532 * Casting to 'long' added here just to keep the stupid 6533 * compiler silent. 6534 */ 6535 (long)NULL 6536 } 6537 } 6538 }, 6539 { 6540 VAL_SYMBOL, 6541 "hold_mci", 6542 { 6543 { 6544 FAP10M_HOLD_MCI_PRD_FIELD, 6545 /* 6546 * Casting added here just to keep the stupid compiler silent. 6547 */ 6548 (long)" The period that the SMS holds an MCI indication active.\n\r" 6549 " Setting this parameter to 0 disables this, and the\n\r" 6550 " indication comes directly from the FE.", 6551 /* 6552 * Pointer to a function to call after symbolic value 6553 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6554 * Casting to 'long' added here just to keep the stupid 6555 * compiler silent. 6556 */ 6557 (long)NULL 6558 } 6559 } 6560 }, 6561 6562 /* 6563 * Last element. Do not remove. 6564 */ 6565 { 6566 VAL_END_OF_LIST 6567 } 6568 } 6569 #endif 6570 ; 6571 6572 /******************************************************** 6573 *NAME 6574 * Fap10m_a_logical_sms_field 6575 *TYPE: BUFFER 6576 *DATE: 31/DEC/2002 6577 *FUNCTION: 6578 * ARRAY CONTAINING THE DEFAULT VALUE 6579 * RELATED TO THE PARAMETER "DATA". 6580 *ORGANIZATION: 6581 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 6582 * int val_type - 6583 * Type of variable (VAL_NUMERIC, VAL_TEXT, 6584 * VAL_IP OR VAL_SYMBOL) 6585 * union value - 6586 * Union of one of 6587 * int int_value 6588 * char *string_value 6589 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 6590 * unsigned long ip_value ; 6591 * Value of default variable. 6592 *USAGE: 6593 * SEE ORGANIZATION. 6594 *REMARKS: 6595 * NONE. 6596 *SEE ALSO: 6597 */ 6598 EXTERN CONST 6599 PARAM_VAL_RULES 6600 Fap10m_a_logical_sms_field[] 6601 #ifdef INIT 6602 = 6603 { 6604 { 6605 VAL_SYMBOL, 6606 "slow_multicast_weight", 6607 { 6608 { 6609 FAP10M_SLOW_MULTICAST_WEIGHT_FIELD, 6610 /* 6611 * Casting added here just to keep the stupid compiler silent. 6612 */ 6613 (long)" \'Slow Multicast Weight\' field on \'Spatial Multicast Enablers\' register.", 6614 /* 6615 * Pointer to a function to call after symbolic value 6616 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6617 * Casting to 'long' added here just to keep the stupid 6618 * compiler silent. 6619 */ 6620 (long)NULL 6621 } 6622 } 6623 }, 6624 { 6625 VAL_SYMBOL, 6626 "fast_multicast_weight", 6627 { 6628 { 6629 FAP10M_FAST_MULTICAST_WEIGHT_FIELD, 6630 /* 6631 * Casting added here just to keep the stupid compiler silent. 6632 */ 6633 (long)" \'Fast Multicast Weight\' field on \'Spatial Multicast Enablers\' register.", 6634 /* 6635 * Pointer to a function to call after symbolic value 6636 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6637 * Casting to 'long' added here just to keep the stupid 6638 * compiler silent. 6639 */ 6640 (long)NULL 6641 } 6642 } 6643 }, 6644 { 6645 VAL_SYMBOL, 6646 "multicast_credit_gen_rate", 6647 { 6648 { 6649 FAP10M_MULTICAST_CREDIT_GEN_RATE_FIELD, 6650 /* 6651 * Casting added here just to keep the stupid compiler silent. 6652 */ 6653 (long)" \'MultiCrdGenRate\' field on \'Multicast credit generation rate\' register.", 6654 /* 6655 * Pointer to a function to call after symbolic value 6656 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6657 * Casting to 'long' added here just to keep the stupid 6658 * compiler silent. 6659 */ 6660 (long)NULL 6661 } 6662 } 6663 }, 6664 { 6665 VAL_SYMBOL, 6666 "unicast_weight", 6667 { 6668 { 6669 FAP10M_UNICAST_WEIGHT_FIELD, 6670 /* 6671 * Casting added here just to keep the stupid compiler silent. 6672 */ 6673 (long)" \'Unicast Weight\' field on \'Spatial Multicast Enablers\' register.", 6674 /* 6675 * Pointer to a function to call after symbolic value 6676 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6677 * Casting to 'long' added here just to keep the stupid 6678 * compiler silent. 6679 */ 6680 (long)NULL 6681 } 6682 } 6683 }, 6684 { 6685 VAL_SYMBOL, 6686 "leaky_bucket_free_threshold", 6687 { 6688 { 6689 FAP10M_LEAKY_BUCKET_FREE_THRESHOLD_FIELD, 6690 /* 6691 * Casting added here just to keep the stupid compiler silent. 6692 */ 6693 (long)" \'LkyBktFreeTrh\' field on \'Spatial Multicast Congestion Thresholds\' register.\n\r" 6694 " Below this threshold the bucket is not in a congested state.\n\r" 6695 " If LkyBktFreeTrh = 255 the links are always down.", 6696 /* 6697 * Pointer to a function to call after symbolic value 6698 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6699 * Casting to 'long' added here just to keep the stupid 6700 * compiler silent. 6701 */ 6702 (long)NULL 6703 } 6704 } 6705 }, 6706 { 6707 VAL_SYMBOL, 6708 "leaky_bucket_congestion_threshold", 6709 { 6710 { 6711 FAP10M_LEAKY_BUCKET_CONGESTION_THRESHOLD_FIELD, 6712 /* 6713 * Casting added here just to keep the stupid compiler silent. 6714 */ 6715 (long)" \'LkyBktCngTrh\' field on \'Spatial Multicast Congestion Thresholds\' register.\n\r" 6716 " Above this threshold the bucket is in a congested state.\n\r" 6717 " If LkyBktCngTrh = 0 the links are always up.", 6718 /* 6719 * Pointer to a function to call after symbolic value 6720 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6721 * Casting to 'long' added here just to keep the stupid 6722 * compiler silent. 6723 */ 6724 (long)NULL 6725 } 6726 } 6727 }, 6728 { 6729 VAL_SYMBOL, 6730 "leaky_bucket_decrement_rate", 6731 { 6732 { 6733 FAP10M_LEAKY_BUCKET_DECREMENT_RATE_FIELD, 6734 /* 6735 * Casting added here just to keep the stupid compiler silent. 6736 */ 6737 (long)" \'LkyBktDcrRate\' field on \'Spatial Multicast Congestion Thresholds\' register.\n\r" 6738 " Indicates the rate at which the leaky bucket is decremented. For\n\r" 6739 " every programmable number of clocks, up to 64, all buckets are\n\r" 6740 " decrement by one, down to zero. The value zero means that the\n\r" 6741 " bucket value never decreases.", 6742 /* 6743 * Pointer to a function to call after symbolic value 6744 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6745 * Casting to 'long' added here just to keep the stupid 6746 * compiler silent. 6747 */ 6748 (long)NULL 6749 } 6750 } 6751 }, 6752 { 6753 VAL_SYMBOL, 6754 "leaky_bucket_max_count", 6755 { 6756 { 6757 FAP10M_LEAKY_BUCKET_MAX_COUNT_FIELD, 6758 /* 6759 * Casting added here just to keep the stupid compiler silent. 6760 */ 6761 (long)" \'LkyBktMaxCnt\' field on \'Spatial Multicast Congestion Thresholds\' register.\n\r" 6762 " Indicates the maximum value of the leaky bucket.", 6763 /* 6764 * Pointer to a function to call after symbolic value 6765 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6766 * Casting to 'long' added here just to keep the stupid 6767 * compiler silent. 6768 */ 6769 (long)NULL 6770 } 6771 } 6772 }, 6773 /* 6774 * Last element. Do not remove. 6775 */ 6776 { 6777 VAL_END_OF_LIST 6778 } 6779 } 6780 #endif 6781 ; 6782 /******************************************************** 6783 *NAME 6784 * Fap10m_logical_initialization_triggers_field 6785 *TYPE: BUFFER 6786 *DATE: 31/DEC/2002 6787 *FUNCTION: 6788 * ARRAY CONTAINING THE DEFAULT VALUE 6789 * RELATED TO THE PARAMETER "DATA". 6790 *ORGANIZATION: 6791 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 6792 * int val_type - 6793 * Type of variable (VAL_NUMERIC, VAL_TEXT, 6794 * VAL_IP OR VAL_SYMBOL) 6795 * union value - 6796 * Union of one of 6797 * int int_value 6798 * char *string_value 6799 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 6800 * unsigned long ip_value ; 6801 * Value of default variable. 6802 *USAGE: 6803 * SEE ORGANIZATION. 6804 *REMARKS: 6805 * NONE. 6806 *SEE ALSO: 6807 */ 6808 EXTERN CONST 6809 PARAM_VAL_RULES 6810 Fap10m_logical_initialization_triggers_field[] 6811 #ifdef INIT 6812 = 6813 { 6814 { 6815 VAL_SYMBOL, 6816 "scheduler_init_trig", 6817 { 6818 { 6819 FAP10M_SCHEDULER_INIT_TRIG_FIELD, 6820 /* 6821 * Casting added here just to keep the stupid compiler silent. 6822 */ 6823 (long)" When set to 1, initialize all Scheduler structures.", 6824 /* 6825 * Pointer to a function to call after symbolic value 6826 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6827 * Casting to 'long' added here just to keep the stupid 6828 * compiler silent. 6829 */ 6830 (long)NULL 6831 } 6832 } 6833 }, 6834 { 6835 VAL_SYMBOL, 6836 "label_processor_init_trig", 6837 { 6838 { 6839 FAP10M_LABEL_PROCESSOR_INIT_TRIG_FIELD, 6840 /* 6841 * Casting added here just to keep the stupid compiler silent. 6842 */ 6843 (long)" When set to 1, it triggers initialization of Label Processor\'s data\n\r" 6844 " structures. The CPU can only assert this bit. If the bit is\n\r" 6845 " asserted the LBP starts to initialize all the data structures.\n\r" 6846 " After the initialization process is done, the LBP negates the bit.\n\r" 6847 " The ECI asserts this bit at chip reset.", 6848 /* 6849 * Pointer to a function to call after symbolic value 6850 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6851 * Casting to 'long' added here just to keep the stupid 6852 * compiler silent. 6853 */ 6854 (long)NULL 6855 } 6856 } 6857 }, 6858 { 6859 VAL_SYMBOL, 6860 "queue_controller_init_trig", 6861 { 6862 { 6863 FAP10M_QUEUE_CONTROLLER_INIT_TRIG_FIELD, 6864 /* 6865 * Casting added here just to keep the stupid compiler silent. 6866 */ 6867 (long)" When set to 1, it triggers initialization of Queue Cntr data structures.", 6868 /* 6869 * Pointer to a function to call after symbolic value 6870 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6871 * Casting to 'long' added here just to keep the stupid 6872 * compiler silent. 6873 */ 6874 (long)NULL 6875 } 6876 } 6877 }, 6878 /* 6879 * Last element. Do not remove. 6880 */ 6881 { 6882 VAL_END_OF_LIST 6883 } 6884 } 6885 #endif 6886 ; 6887 /******************************************************** 6888 *NAME 6889 * Fap10m_logical_chop_field 6890 *TYPE: BUFFER 6891 *DATE: 31/DEC/2002 6892 *FUNCTION: 6893 * ARRAY CONTAINING THE DEFAULT VALUE 6894 * RELATED TO THE PARAMETER "DATA". 6895 *ORGANIZATION: 6896 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 6897 * int val_type - 6898 * Type of variable (VAL_NUMERIC, VAL_TEXT, 6899 * VAL_IP OR VAL_SYMBOL) 6900 * union value - 6901 * Union of one of 6902 * int int_value 6903 * char *string_value 6904 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 6905 * unsigned long ip_value ; 6906 * Value of default variable. 6907 *USAGE: 6908 * SEE ORGANIZATION. 6909 *REMARKS: 6910 * NONE. 6911 *SEE ALSO: 6912 */ 6913 EXTERN CONST 6914 PARAM_VAL_RULES 6915 Fap10m_logical_chop_field[] 6916 #ifdef INIT 6917 = 6918 { 6919 { 6920 VAL_SYMBOL, 6921 "chunk_size", 6922 { 6923 { 6924 FAP10M_CHUNK_SIZE_FIELD, 6925 /* 6926 * Casting added here just to keep the stupid compiler silent. 6927 */ 6928 (long)" Chunk size of chopped packets (payload data only).\n\r" 6929 " 0 - 512\n\r" 6930 " 1 - 640 \n\r" 6931 " 2 - 768 \n\r" 6932 " 3 - 896 \n\r" 6933 " 4 - 1024 \n\r" 6934 " 5 - 1152 \n\r" 6935 " 6 - 1280 \n\r" 6936 " 7 - 1536.", 6937 /* 6938 * Pointer to a function to call after symbolic value 6939 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6940 * Casting to 'long' added here just to keep the stupid 6941 * compiler silent. 6942 */ 6943 (long)NULL 6944 } 6945 } 6946 }, 6947 { 6948 VAL_SYMBOL, 6949 "last_chunk_size", 6950 { 6951 { 6952 FAP10M_LAST_CHUNK_SIZE_FIELD, 6953 /* 6954 * Casting added here just to keep the stupid compiler silent. 6955 */ 6956 (long)" The size (in bytes) of the end chopped packets \n\r" 6957 " (payload data only).\n\r" 6958 " The EPC payload data size is: \n\r" 6959 " chunk_size + 128 + last_chunk_size *64", 6960 /* 6961 * Pointer to a function to call after symbolic value 6962 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6963 * Casting to 'long' added here just to keep the stupid 6964 * compiler silent. 6965 */ 6966 (long)NULL 6967 } 6968 } 6969 }, 6970 { 6971 VAL_SYMBOL, 6972 "last_device_num", 6973 { 6974 { 6975 FAP10M_DEV_NUM_CHOP_LIMIT_FIELD, 6976 /* 6977 * Casting added here just to keep the stupid compiler silent. 6978 */ 6979 (long)" A unicast packet will be chopped only if: \n\r" 6980 " Destination-Device <= PktDeviceNumChopLimit.", 6981 /* 6982 * Pointer to a function to call after symbolic value 6983 * has been accepted. Casting should be 'VAL_PROC_PTR'. 6984 * Casting to 'long' added here just to keep the stupid 6985 * compiler silent. 6986 */ 6987 (long)NULL 6988 } 6989 } 6990 }, 6991 6992 /* 6993 * Last element. Do not remove. 6994 */ 6995 { 6996 VAL_END_OF_LIST 6997 } 6998 } 6999 #endif 7000 ; 7001 /******************************************************** 7002 *NAME 7003 * Fap10m_label_processor_field 7004 *TYPE: BUFFER 7005 *DATE: 31/DEC/2002 7006 *FUNCTION: 7007 * ARRAY CONTAINING THE DEFAULT VALUE 7008 * RELATED TO THE PARAMETER "DATA". 7009 *ORGANIZATION: 7010 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7011 * int val_type - 7012 * Type of variable (VAL_NUMERIC, VAL_TEXT, 7013 * VAL_IP OR VAL_SYMBOL) 7014 * union value - 7015 * Union of one of 7016 * int int_value 7017 * char *string_value 7018 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 7019 * unsigned long ip_value ; 7020 * Value of default variable. 7021 *USAGE: 7022 * SEE ORGANIZATION. 7023 *REMARKS: 7024 * NONE. 7025 *SEE ALSO: 7026 */ 7027 EXTERN CONST 7028 PARAM_VAL_RULES 7029 Fap10m_label_processor_field[] 7030 #ifdef INIT 7031 = 7032 { 7033 { 7034 VAL_SYMBOL, 7035 "sig_class_bits", 7036 { 7037 { 7038 FAP10M_SIG_CLASS_BITS_FIELD, 7039 /* 7040 * Casting added here just to keep the stupid compiler silent. 7041 */ 7042 (long)" Significant Class Bits.\n\r" 7043 " The number of class bits in unicast packets (up to 8 classes).", 7044 /* 7045 * Pointer to a function to call after symbolic value 7046 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7047 * Casting to 'long' added here just to keep the stupid 7048 * compiler silent. 7049 */ 7050 (long)NULL 7051 } 7052 } 7053 }, 7054 { 7055 VAL_SYMBOL, 7056 "sig_class_bits_flow", 7057 { 7058 { 7059 FAP10M_SIG_CLASS_BIT_FLOW_FIELD, 7060 /* 7061 * Casting added here just to keep the stupid compiler silent. 7062 */ 7063 (long)" Indicates the number of class bits to be added.\n\r" 7064 " to flow-id calculations when determining a queue.", 7065 /* 7066 * Pointer to a function to call after symbolic value 7067 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7068 * Casting to 'long' added here just to keep the stupid 7069 * compiler silent. 7070 */ 7071 (long)NULL 7072 } 7073 } 7074 }, 7075 { 7076 VAL_SYMBOL, 7077 "flow_add", 7078 { 7079 { 7080 FAP10M_FLOW_ADD_FIELD, 7081 /* 7082 * Casting added here just to keep the stupid compiler silent. 7083 */ 7084 (long)" Indication if MappedClass should be added.\n\r" 7085 " to the FlowID or concatinated.\n\r" 7086 " 1 - Add the MappedClass.\n\r" 7087 " 0 - Concatinate.", 7088 /* 7089 * Pointer to a function to call after symbolic value 7090 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7091 * Casting to 'long' added here just to keep the stupid 7092 * compiler silent. 7093 */ 7094 (long)NULL 7095 } 7096 } 7097 }, 7098 { 7099 VAL_SYMBOL, 7100 "flow_id_9", 7101 { 7102 { 7103 FAP10M_DMI_FLOW_ID9_FIELD, 7104 /* 7105 * Casting added here just to keep the stupid compiler silent. 7106 */ 7107 (long)" Forces the Flow-ID to be 9 bits only.\n\r" 7108 " The high bits (12:9) will be forced to 0.", 7109 /* 7110 * Pointer to a function to call after symbolic value 7111 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7112 * Casting to 'long' added here just to keep the stupid 7113 * compiler silent. 7114 */ 7115 (long)NULL 7116 } 7117 } 7118 }, 7119 { 7120 VAL_SYMBOL, 7121 "tree_lvl_cnt_trh_bits", 7122 { 7123 { 7124 FAP10M_TREE_LVL_CNT_TRH_BITS_FIELD, 7125 /* 7126 * Casting added here just to keep the stupid compiler silent. 7127 */ 7128 (long)" Tree Level Count Threshold.\n\r" 7129 " Multicast packets are discarded if their tree-level-count is\n\r" 7130 " above the indicated threshold. If the threshold is 0,\n\r" 7131 " no multicast packets should be discarded.", 7132 /* 7133 * Pointer to a function to call after symbolic value 7134 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7135 * Casting to 'long' added here just to keep the stupid 7136 * compiler silent. 7137 */ 7138 (long)NULL 7139 } 7140 } 7141 }, 7142 /* 7143 * Last element. Do not remove. 7144 */ 7145 { 7146 VAL_END_OF_LIST 7147 } 7148 } 7149 #endif 7150 ; 7151 /******************************************************** 7152 *NAME 7153 * Fap10m_logical_misc_field 7154 *TYPE: BUFFER 7155 *DATE: 31/DEC/2002 7156 *FUNCTION: 7157 * ARRAY CONTAINING THE DEFAULT VALUE 7158 * RELATED TO THE PARAMETER "DATA". 7159 *ORGANIZATION: 7160 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7161 * int val_type - 7162 * Type of variable (VAL_NUMERIC, VAL_TEXT, 7163 * VAL_IP OR VAL_SYMBOL) 7164 * union value - 7165 * Union of one of 7166 * int int_value 7167 * char *string_value 7168 * char val_text[MAX_SIZE_OF_TEXT_VAR] ; 7169 * unsigned long ip_value ; 7170 * Value of default variable. 7171 *USAGE: 7172 * SEE ORGANIZATION. 7173 *REMARKS: 7174 * NONE. 7175 *SEE ALSO: 7176 */ 7177 EXTERN CONST 7178 PARAM_VAL_RULES 7179 Fap10m_logical_misc_field[] 7180 #ifdef INIT 7181 = 7182 { 7183 { 7184 VAL_SYMBOL, 7185 "debug_ver", 7186 { 7187 { 7188 FAP10M_DBG_VER_FIELD, 7189 /* 7190 * Casting added here just to keep the stupid compiler silent. 7191 */ 7192 (long)" Debug Version. Indicated the version (bug correction) of the device.", 7193 /* 7194 * Pointer to a function to call after symbolic value 7195 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7196 * Casting to 'long' added here just to keep the stupid 7197 * compiler silent. 7198 */ 7199 (long)NULL 7200 } 7201 } 7202 }, 7203 { 7204 VAL_SYMBOL, 7205 "chip_ver", 7206 { 7207 { 7208 FAP10M_CHIP_VER_FIELD, 7209 /* 7210 * Casting added here just to keep the stupid compiler silent. 7211 */ 7212 (long)" Chip Version.\n\r" 7213 " Indicates the version (different functionality) of the device.", 7214 /* 7215 * Pointer to a function to call after symbolic value 7216 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7217 * Casting to 'long' added here just to keep the stupid 7218 * compiler silent. 7219 */ 7220 (long)NULL 7221 } 7222 } 7223 }, 7224 { 7225 VAL_SYMBOL, 7226 "chip_type", 7227 { 7228 { 7229 FAP10M_CHIP_TYPE_FIELD, 7230 /* 7231 * Casting added here just to keep the stupid compiler silent. 7232 */ 7233 (long)" Chip Type. 0xFA010", 7234 /* 7235 * Pointer to a function to call after symbolic value 7236 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7237 * Casting to 'long' added here just to keep the stupid 7238 * compiler silent. 7239 */ 7240 (long)NULL 7241 } 7242 } 7243 }, 7244 { 7245 VAL_SYMBOL, 7246 "dmi_trap_cpu_dev_0", 7247 { 7248 { 7249 FAP10M_DMI_TRAP_CPU_DEV_0_FIELD, 7250 /* 7251 * Casting added here just to keep the stupid compiler silent. 7252 */ 7253 (long)" DMI trap cpu dev 0", 7254 /* 7255 * Pointer to a function to call after symbolic value 7256 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7257 * Casting to 'long' added here just to keep the stupid 7258 * compiler silent. 7259 */ 7260 (long)NULL 7261 } 7262 } 7263 }, 7264 { 7265 VAL_SYMBOL, 7266 "dmi_trap_cpu_dev_1", 7267 { 7268 { 7269 FAP10M_DMI_TRAP_CPU_DEV_1_FIELD, 7270 /* 7271 * Casting added here just to keep the stupid compiler silent. 7272 */ 7273 (long)" DMI trap cpu dev 1", 7274 /* 7275 * Pointer to a function to call after symbolic value 7276 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7277 * Casting to 'long' added here just to keep the stupid 7278 * compiler silent. 7279 */ 7280 (long)NULL 7281 } 7282 } 7283 }, 7284 /* 7285 * Last element. Do not remove. 7286 */ 7287 { 7288 VAL_END_OF_LIST 7289 } 7290 } 7291 #endif 7292 ; 7293 /******************************************************** 7294 *NAME 7295 * Fap10m_indefinite_num_vals 7296 *TYPE: BUFFER 7297 *DATE: 18/JAN/2002 7298 *FUNCTION: 7299 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7300 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7301 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7302 *ORGANIZATION: 7303 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7304 * int val_type - 7305 * Type of value. Can be: 7306 * VAL_END_OF_LIST 0 7307 * VAL_NUMERIC 1 7308 * VAL_SYMBOL 2 7309 * VAL_TEXT 3 7310 * VAL_IP 4 7311 * The first one is only to indicate the end of 7312 * this array. The others indicate what kind of 7313 * value this is. 7314 * char *symb_val - 7315 * ASCII presentation of the symbolic value. 7316 * Note: Must be small letters only! 7317 * For numeric variables: 7318 * This is a dummy variable. Enables searching 7319 * array of 'PARAM_VAL_RULES' for name (string) 7320 * matching without special case for numeric 7321 * variable. 7322 * VAL_DESCRIPTOR val_descriptor - 7323 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7324 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7325 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7326 * See details in file of definition. Note: Symbols 7327 * must be small letters only! 7328 *USAGE: 7329 * SEE ORGANIZATION. 7330 *REMARKS: 7331 * NONE. 7332 *SEE ALSO: 7333 */ 7334 EXTERN CONST 7335 PARAM_VAL_RULES 7336 Fap10m_indefinite_num_vals[] 7337 #ifdef INIT 7338 = 7339 { 7340 { 7341 VAL_NUMERIC,SYMB_NAME_NUMERIC, 7342 { 7343 { 7344 0, 7345 0,0, 7346 /* 7347 * Number of times this value can be repeated (i.e., 7348 * value is an array). Must be at least 1! 7349 */ 7350 1, 7351 (VAL_PROC_PTR)NULL 7352 } 7353 } 7354 }, 7355 /* 7356 * Last element. Do not remove. 7357 */ 7358 { 7359 VAL_END_OF_LIST 7360 } 7361 } 7362 #endif 7363 ; 7364 /******************************************************** 7365 *NAME 7366 * Fap10m_data_size_vals 7367 *TYPE: BUFFER 7368 *DATE: 18/JAN/2002 7369 *FUNCTION: 7370 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7371 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7372 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7373 *ORGANIZATION: 7374 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7375 * int val_type - 7376 * Type of value. Can be: 7377 * VAL_END_OF_LIST 0 7378 * VAL_NUMERIC 1 7379 * VAL_SYMBOL 2 7380 * VAL_TEXT 3 7381 * VAL_IP 4 7382 * The first one is only to indicate the end of 7383 * this array. The others indicate what kind of 7384 * value this is. 7385 * char *symb_val - 7386 * ASCII presentation of the symbolic value. 7387 * Note: Must be small letters only! 7388 * For numeric variables: 7389 * This is a dummy variable. Enables searching 7390 * array of 'PARAM_VAL_RULES' for name (string) 7391 * matching without special case for numeric 7392 * variable. 7393 * VAL_DESCRIPTOR val_descriptor - 7394 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7395 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7396 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7397 * See details in file of definition. Note: Symbols 7398 * must be small letters only! 7399 *USAGE: 7400 * SEE ORGANIZATION. 7401 *REMARKS: 7402 * NONE. 7403 *SEE ALSO: 7404 */ 7405 EXTERN CONST 7406 PARAM_VAL_RULES 7407 Fap10m_data_size_vals[] 7408 #ifdef INIT 7409 = 7410 { 7411 { 7412 VAL_NUMERIC,SYMB_NAME_NUMERIC, 7413 { 7414 { 7415 HAS_MIN_VALUE | HAS_MAX_VALUE, 7416 MAX_REPEATED_PARAM_VAL*sizeof(long),0, 7417 /* 7418 * Number of times this value can be repeated (i.e., 7419 * value is an array). Must be at least 1! 7420 */ 7421 1, 7422 (VAL_PROC_PTR)NULL 7423 } 7424 } 7425 }, 7426 /* 7427 * Last element. Do not remove. 7428 */ 7429 { 7430 VAL_END_OF_LIST 7431 } 7432 } 7433 #endif 7434 ; 7435 /******************************************************** 7436 *NAME 7437 * Fap10m_data_values_vals 7438 *TYPE: BUFFER 7439 *DATE: 18/JAN/2002 7440 *FUNCTION: 7441 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7442 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7443 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7444 *ORGANIZATION: 7445 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7446 * int val_type - 7447 * Type of value. Can be: 7448 * VAL_END_OF_LIST 0 7449 * VAL_NUMERIC 1 7450 * VAL_SYMBOL 2 7451 * VAL_TEXT 3 7452 * VAL_IP 4 7453 * The first one is only to indicate the end of 7454 * this array. The others indicate what kind of 7455 * value this is. 7456 * char *symb_val - 7457 * ASCII presentation of the symbolic value. 7458 * Note: Must be small letters only! 7459 * For numeric variables: 7460 * This is a dummy variable. Enables searching 7461 * array of 'PARAM_VAL_RULES' for name (string) 7462 * matching without special case for numeric 7463 * variable. 7464 * VAL_DESCRIPTOR val_descriptor - 7465 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7466 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7467 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7468 * See details in file of definition. Note: Symbols 7469 * must be small letters only! 7470 *USAGE: 7471 * SEE ORGANIZATION. 7472 *REMARKS: 7473 * NONE. 7474 *SEE ALSO: 7475 */ 7476 EXTERN CONST 7477 PARAM_VAL_RULES 7478 Fap10m_data_values_vals[] 7479 #ifdef INIT 7480 = 7481 { 7482 { 7483 VAL_NUMERIC,SYMB_NAME_NUMERIC, 7484 { 7485 { 7486 0, 7487 0,0, 7488 /* 7489 * Number of times this value can be repeated (i.e., 7490 * value is an array). Must be at least 1! 7491 */ 7492 MAX_REPEATED_PARAM_VAL, 7493 (VAL_PROC_PTR)NULL 7494 } 7495 } 7496 }, 7497 /* 7498 * Last element. Do not remove. 7499 */ 7500 { 7501 VAL_END_OF_LIST 7502 } 7503 } 7504 #endif 7505 ; 7506 /******************************************************** 7507 *NAME 7508 * Fap10m_Interrupt_mockup_vals 7509 *TYPE: BUFFER 7510 *DATE: 02/JUN/2003 7511 *FUNCTION: 7512 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7513 * RELATED TO THE PARAMETER "DOWNLOAD_MIBS" IN THE 7514 * CONTEXT OF SUBJECT 'NVRAM'. 7515 *ORGANIZATION: 7516 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7517 * int val_type - 7518 * Type of value. Can be: 7519 * VAL_END_OF_LIST 0 7520 * VAL_NUMERIC 1 7521 * VAL_SYMBOL 2 7522 * VAL_TEXT 3 7523 * VAL_IP 4 7524 * The first one is only to indicate the end of 7525 * this array. The others indicate what kind of 7526 * value this is. 7527 * VAL_DESCRIPTOR val_descriptor - 7528 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7529 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7530 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7531 * See details in file of definition. Note: Symbols 7532 * must be small letters only! 7533 *USAGE: 7534 * SEE ORGANIZATION. 7535 *REMARKS: 7536 * NONE. 7537 *SEE ALSO: 7538 */ 7539 EXTERN CONST 7540 PARAM_VAL_RULES 7541 Fap10m_Interrupt_mockup_vals[] 7542 #ifdef INIT 7543 = 7544 { 7545 { 7546 VAL_SYMBOL, 7547 "mockup_interruupts", 7548 { 7549 { 7550 1, 7551 /* 7552 * Casting added here just to keep the stupid compiler silent. 7553 */ 7554 (long)" Devices interrupt line is not connected.", 7555 /* 7556 * Pointer to a function to call after symbolic value 7557 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7558 * Casting to 'long' added here just to keep the stupid 7559 * compiler silent. 7560 */ 7561 (long)NULL 7562 } 7563 } 7564 }, 7565 { 7566 VAL_SYMBOL, 7567 "dont_mockup_interruupts", 7568 { 7569 { 7570 2, 7571 /* 7572 * Casting added here just to keep the stupid compiler silent. 7573 */ 7574 (long)" Devices interrupt line is connected.", 7575 /* 7576 * Pointer to a function to call after symbolic value 7577 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7578 * Casting to 'long' added here just to keep the stupid 7579 * compiler silent. 7580 */ 7581 (long)NULL 7582 } 7583 } 7584 }, 7585 /* 7586 * Last element. Do not remove. 7587 */ 7588 { 7589 VAL_END_OF_LIST 7590 } 7591 } 7592 #endif 7593 ; 7594 /******************************************************** 7595 *NAME 7596 * Fap10m_empty_vals 7597 *TYPE: BUFFER 7598 *DATE: 07/MAY/2002 7599 *FUNCTION: 7600 * ARRAY CONTAINING EMPTY LIST OF VALUES 7601 * RELATED TO ANY PARAMETER OF ANY SUBJECT. 7602 *ORGANIZATION: 7603 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7604 * int val_type - 7605 * Type of value. Can be: 7606 * VAL_END_OF_LIST 0 7607 * VAL_NUMERIC 1 7608 * VAL_SYMBOL 2 7609 * VAL_TEXT 3 7610 * VAL_IP 4 7611 * The first one is only to indicate the end of 7612 * this array. The others indicate what kind of 7613 * value this is. 7614 * VAL_DESCRIPTOR val_descriptor - 7615 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7616 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7617 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7618 * See details in file of definition. Note: Symbols 7619 * must be small letters only! 7620 *USAGE: 7621 * SEE ORGANIZATION. 7622 *REMARKS: 7623 * None 7624 *SEE ALSO: 7625 */ 7626 EXTERN CONST 7627 PARAM_VAL_RULES 7628 Fap10m_empty_vals[] 7629 #ifdef INIT 7630 = 7631 { 7632 /* 7633 * Last element. Do not remove. 7634 */ 7635 { 7636 VAL_END_OF_LIST 7637 } 7638 } 7639 #endif 7640 ; 7641 /******************************************************** 7642 *NAME 7643 * Fap10m_device_access_vals 7644 *TYPE: BUFFER 7645 *DATE: 06/AUG/2003 7646 *FUNCTION: 7647 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7648 * RELATED TO THE PARAMETER "FAP10M_RUN_MODE" IN THE 7649 * CONTEXT OF SUBJECT 'SOC_SAND_FAP10M GENERAL'. 7650 *ORGANIZATION: 7651 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7652 * int val_type - 7653 * Type of value. Can be: 7654 * VAL_END_OF_LIST 0 7655 * VAL_NUMERIC 1 7656 * VAL_SYMBOL 2 7657 * VAL_TEXT 3 7658 * VAL_IP 4 7659 * The first one is only to indicate the end of 7660 * this array. The others indicate what kind of 7661 * value this is. 7662 * char *symb_val - 7663 * ASCII presentation of the symbolic value. 7664 * Note: Must be small letters only! 7665 * For numeric variables: 7666 * This is a dummy variable. Enables searching 7667 * array of 'PARAM_VAL_RULES' for name (string) 7668 * matching without special case for numeric 7669 * variable. 7670 * VAL_DESCRIPTOR val_descriptor - 7671 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7672 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7673 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7674 * See details in file of definition. Note: Symbols 7675 * must be small letters only! 7676 *USAGE: 7677 * SEE ORGANIZATION. 7678 *REMARKS: 7679 * NONE. 7680 *SEE ALSO: 7681 */ 7682 EXTERN CONST 7683 PARAM_VAL_RULES 7684 Fap10m_device_access_vals[] 7685 #ifdef INIT 7686 = 7687 { 7688 { 7689 VAL_SYMBOL, 7690 "eci_access", 7691 { 7692 { 7693 FAP10M_INTERFACE_ECI, 7694 /* 7695 * Casting added here just to keep the stupid compiler silent. 7696 */ 7697 (long)" All needed accesses are via the ECI (access to the I2C is done also).", 7698 /* 7699 * Pointer to a function to call after symbolic value 7700 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7701 * Casting to 'long' added here just to keep the stupid 7702 * compiler silent. 7703 */ 7704 (long)NULL 7705 } 7706 } 7707 }, 7708 { 7709 VAL_SYMBOL, 7710 "pci_access", 7711 { 7712 { 7713 FAP10M_INTERFACE_PCI, 7714 /* 7715 * Casting added here just to keep the stupid compiler silent. 7716 */ 7717 (long)" All needed accesses are via the PCI/UpLink (access to the I2C is done also).", 7718 /* 7719 * Pointer to a function to call after symbolic value 7720 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7721 * Casting to 'long' added here just to keep the stupid 7722 * compiler silent. 7723 */ 7724 (long)NULL 7725 } 7726 } 7727 }, 7728 { 7729 VAL_SYMBOL, 7730 "i2c_access", 7731 { 7732 { 7733 FAP10M_INTERFACE_I2C, 7734 /* 7735 * Casting added here just to keep the stupid compiler silent. 7736 */ 7737 (long)" All needed accesses are via the I2C.", 7738 /* 7739 * Pointer to a function to call after symbolic value 7740 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7741 * Casting to 'long' added here just to keep the stupid 7742 * compiler silent. 7743 */ 7744 (long)NULL 7745 } 7746 } 7747 }, 7748 /* 7749 * Last element. Do not remove. 7750 */ 7751 { 7752 VAL_END_OF_LIST 7753 } 7754 } 7755 #endif 7756 ; 7757 /******************************************************** 7758 *NAME 7759 * Fap10m_print_interval_vals 7760 *TYPE: BUFFER 7761 *DATE: 23/NOV/2003 7762 *FUNCTION: 7763 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7764 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7765 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7766 *ORGANIZATION: 7767 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7768 * int val_type - 7769 * Type of value. Can be: 7770 * VAL_END_OF_LIST 0 7771 * VAL_NUMERIC 1 7772 * VAL_SYMBOL 2 7773 * VAL_TEXT 3 7774 * VAL_IP 4 7775 * The first one is only to indicate the end of 7776 * this array. The others indicate what kind of 7777 * value this is. 7778 * char *symb_val - 7779 * ASCII presentation of the symbolic value. 7780 * Note: Must be small letters only! 7781 * For numeric variables: 7782 * This is a dummy variable. Enables searching 7783 * array of 'PARAM_VAL_RULES' for name (string) 7784 * matching without special case for numeric 7785 * variable. 7786 * VAL_DESCRIPTOR val_descriptor - 7787 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7788 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7789 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7790 * See details in file of definition. Note: Symbols 7791 * must be small letters only! 7792 *USAGE: 7793 * SEE ORGANIZATION. 7794 *REMARKS: 7795 * NONE. 7796 *SEE ALSO: 7797 */ 7798 EXTERN CONST 7799 PARAM_VAL_RULES 7800 Fap10m_print_interval_vals[] 7801 #ifdef INIT 7802 = 7803 { 7804 { 7805 VAL_SYMBOL, 7806 "five_seconds", 7807 { 7808 { 7809 5, 7810 /* 7811 * Casting added here just to keep the stupid compiler silent. 7812 */ 7813 (long)" 5 seconds ", 7814 /* 7815 * Pointer to a function to call after symbolic value 7816 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7817 * Casting to 'long' added here just to keep the stupid 7818 * compiler silent. 7819 */ 7820 (long)NULL 7821 } 7822 } 7823 }, 7824 { 7825 VAL_SYMBOL, 7826 "one_minute", 7827 { 7828 { 7829 60, 7830 /* 7831 * Casting added here just to keep the stupid compiler silent. 7832 */ 7833 (long)" 1 minute ", 7834 /* 7835 * Pointer to a function to call after symbolic value 7836 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7837 * Casting to 'long' added here just to keep the stupid 7838 * compiler silent. 7839 */ 7840 (long)NULL 7841 } 7842 } 7843 }, 7844 { 7845 VAL_SYMBOL, 7846 "one_hour", 7847 { 7848 { 7849 3600, 7850 /* 7851 * Casting added here just to keep the stupid compiler silent. 7852 */ 7853 (long)" 1 hour ", 7854 /* 7855 * Pointer to a function to call after symbolic value 7856 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7857 * Casting to 'long' added here just to keep the stupid 7858 * compiler silent. 7859 */ 7860 (long)NULL 7861 } 7862 } 7863 }, 7864 { 7865 VAL_SYMBOL, 7866 "never", 7867 { 7868 { 7869 0xFFFFFFFF, 7870 /* 7871 * Casting added here just to keep the stupid compiler silent. 7872 */ 7873 (long)" never ", 7874 /* 7875 * Pointer to a function to call after symbolic value 7876 * has been accepted. Casting should be 'VAL_PROC_PTR'. 7877 * Casting to 'long' added here just to keep the stupid 7878 * compiler silent. 7879 */ 7880 (long)NULL 7881 } 7882 } 7883 }, 7884 /* 7885 * Last element. Do not remove. 7886 */ 7887 { 7888 VAL_END_OF_LIST 7889 } 7890 } 7891 #endif 7892 ; 7893 /******************************************************** 7894 *NAME 7895 * Fap10m_fap_ids_vals 7896 *TYPE: BUFFER 7897 *DATE: 23/NOV/2003 7898 *FUNCTION: 7899 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7900 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7901 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7902 *ORGANIZATION: 7903 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7904 * int val_type - 7905 * Type of value. Can be: 7906 * VAL_END_OF_LIST 0 7907 * VAL_NUMERIC 1 7908 * VAL_SYMBOL 2 7909 * VAL_TEXT 3 7910 * VAL_IP 4 7911 * The first one is only to indicate the end of 7912 * this array. The others indicate what kind of 7913 * value this is. 7914 * char *symb_val - 7915 * ASCII presentation of the symbolic value. 7916 * Note: Must be small letters only! 7917 * For numeric variables: 7918 * This is a dummy variable. Enables searching 7919 * array of 'PARAM_VAL_RULES' for name (string) 7920 * matching without special case for numeric 7921 * variable. 7922 * VAL_DESCRIPTOR val_descriptor - 7923 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7924 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7925 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7926 * See details in file of definition. Note: Symbols 7927 * must be small letters only! 7928 *USAGE: 7929 * SEE ORGANIZATION. 7930 *REMARKS: 7931 * NONE. 7932 *SEE ALSO: 7933 */ 7934 EXTERN CONST 7935 PARAM_VAL_RULES 7936 Fap10m_fap_ids_vals[] 7937 #ifdef INIT 7938 = 7939 { 7940 { 7941 VAL_NUMERIC,SYMB_NAME_NUMERIC, 7942 { 7943 { 7944 HAS_MIN_VALUE | HAS_MAX_VALUE, 7945 15,0, 7946 /* 7947 * Number of times this value can be repeated (i.e., 7948 * value is an array). Must be at least 1! 7949 */ 7950 16, 7951 (VAL_PROC_PTR)NULL 7952 } 7953 } 7954 }, 7955 /* 7956 * Last element. Do not remove. 7957 */ 7958 { 7959 VAL_END_OF_LIST 7960 } 7961 } 7962 #endif 7963 ; 7964 /******************************************************** 7965 *NAME 7966 * Fap10m_bit_vals 7967 *TYPE: BUFFER 7968 *DATE: 23/NOV/2003 7969 *FUNCTION: 7970 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 7971 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 7972 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 7973 *ORGANIZATION: 7974 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 7975 * int val_type - 7976 * Type of value. Can be: 7977 * VAL_END_OF_LIST 0 7978 * VAL_NUMERIC 1 7979 * VAL_SYMBOL 2 7980 * VAL_TEXT 3 7981 * VAL_IP 4 7982 * The first one is only to indicate the end of 7983 * this array. The others indicate what kind of 7984 * value this is. 7985 * char *symb_val - 7986 * ASCII presentation of the symbolic value. 7987 * Note: Must be small letters only! 7988 * For numeric variables: 7989 * This is a dummy variable. Enables searching 7990 * array of 'PARAM_VAL_RULES' for name (string) 7991 * matching without special case for numeric 7992 * variable. 7993 * VAL_DESCRIPTOR val_descriptor - 7994 * Union of structures (of types VAL_NUM_DESCRIPTOR, 7995 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 7996 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 7997 * See details in file of definition. Note: Symbols 7998 * must be small letters only! 7999 *USAGE: 8000 * SEE ORGANIZATION. 8001 *REMARKS: 8002 * NONE. 8003 *SEE ALSO: 8004 */ 8005 EXTERN CONST 8006 PARAM_VAL_RULES 8007 Fap10m_bit_vals[] 8008 #ifdef INIT 8009 = 8010 { 8011 { 8012 VAL_NUMERIC,SYMB_NAME_NUMERIC, 8013 { 8014 { 8015 HAS_MIN_VALUE | HAS_MAX_VALUE, 8016 31,0, 8017 /* 8018 * Number of times this value can be repeated (i.e., 8019 * value is an array). Must be at least 1! 8020 */ 8021 1, 8022 (VAL_PROC_PTR)NULL 8023 } 8024 } 8025 }, 8026 /* 8027 * Last element. Do not remove. 8028 */ 8029 { 8030 VAL_END_OF_LIST 8031 } 8032 } 8033 #endif 8034 ; 8035 /******************************************************** 8036 *NAME 8037 * Fap10m_offset_vals 8038 *TYPE: BUFFER 8039 *DATE: 23/NOV/2003 8040 *FUNCTION: 8041 * ARRAY CONTAINING THE INITIAL LIST OF VALUES 8042 * RELATED TO AN INDEFINITE SINGLE NUMBER. FOR EXAMPLE, 8043 * THE PARAMETER "PRINT_ERRNO" WITHIN 'VX_SHELL'. 8044 *ORGANIZATION: 8045 * ARRAY OF STRUCTURES OF TYPE 'PARAM_VAL': 8046 * int val_type - 8047 * Type of value. Can be: 8048 * VAL_END_OF_LIST 0 8049 * VAL_NUMERIC 1 8050 * VAL_SYMBOL 2 8051 * VAL_TEXT 3 8052 * VAL_IP 4 8053 * The first one is only to indicate the end of 8054 * this array. The others indicate what kind of 8055 * value this is. 8056 * char *symb_val - 8057 * ASCII presentation of the symbolic value. 8058 * Note: Must be small letters only! 8059 * For numeric variables: 8060 * This is a dummy variable. Enables searching 8061 * array of 'PARAM_VAL_RULES' for name (string) 8062 * matching without special case for numeric 8063 * variable. 8064 * VAL_DESCRIPTOR val_descriptor - 8065 * Union of structures (of types VAL_NUM_DESCRIPTOR, 8066 * VAL_TEXT_DESCRIPTOR, VAL_IP_DESCRIPTOR and 8067 * VAL_SYMB_DESCRIPTOR). Descriptor of value. 8068 * See details in file of definition. Note: Symbols 8069 * must be small letters only! 8070 *USAGE: 8071 * SEE ORGANIZATION. 8072 *REMARKS: 8073 * NONE. 8074 *SEE ALSO: 8075 */ 8076 EXTERN CONST 8077 PARAM_VAL_RULES 8078 Fap10m_offset_vals[] 8079 #ifdef INIT 8080 = 8081 { 8082 { 8083 VAL_NUMERIC,SYMB_NAME_NUMERIC, 8084 { 8085 { 8086 HAS_MIN_VALUE | HAS_MAX_VALUE, 8087 FAP10M_TOTAL_SIZE_OF_REGS,0, 8088 /* 8089 * Number of times this value can be repeated (i.e., 8090 * value is an array). Must be at least 1! 8091 */ 8092 1, 8093 (VAL_PROC_PTR)NULL 8094 } 8095 } 8096 }, 8097 /* 8098 * Last element. Do not remove. 8099 */ 8100 { 8101 VAL_END_OF_LIST 8102 } 8103 } 8104 #endif 8105 ; 8106 /******************************************************** 8107 *NAME 8108 * Fap10m_params 8109 *TYPE: BUFFER 8110 *DATE: 29/Dec/2002 8111 *FUNCTION: 8112 * ARRAY CONTAINING THE INITIAL LIST OF PARAMETERS 8113 * RELATED TO THE SUBJECT "SOC_SAND_FAP10M". 8114 *ORGANIZATION: 8115 * ARRAY OF STRUCTURES OF TYPE 'PARAM': 8116 * int subject_id - 8117 * Identifier of this parameter. 8118 * char *par_name - 8119 * Ascii presentation of parameter. Must be small 8120 * letters only! Must contain at least one character. 8121 * PARAM_VAL *allowed_vals - 8122 * Array of structures of type PARAM_VAL. This is 8123 * the list of values allowed for that 8124 * parameter. 8125 * int default_care - 8126 * Flags bitmap. 8127 * Bit(0) indicates whether there is a default 8128 * value for this parameter (i.e. 'default_val' 8129 * is meaningful). '0' indicates 'no default val'. 8130 * Bit(1) indicates whether this parameter must 8131 * or may not appear on command line (within its 8132 * context). '0' indicates 'may not appear'. 8133 * PARAM_VAL *default_val - 8134 * Default value for this parameter. 8135 * unsigned int num_numeric_vals ; 8136 * Number of numeric values in array 'allowed_vals'. 8137 * unsigned int num_symbolic_vals ; 8138 * Number of symbolic values in array 'allowed_vals'. 8139 * unsigned int num_text_vals ; 8140 * Number of free text values in array 'allowed_vals'. 8141 * unsigned int num_ip_vals ; 8142 * Number of IP address values in array 'allowed_vals'. 8143 * unsigned int numeric_index ; 8144 * Index of numeric value (if there is any) in 8145 * array 'allowed_vals'. 8146 * unsigned int text_index ; 8147 * Index of free text value (if there is any) in 8148 * array 'allowed_vals'. 8149 * unsigned int ip_index ; 8150 * Index of IP address value (if there is any) in 8151 * array 'allowed_vals'. 8152 * char *param_short_help - 8153 * Short help for this parameter. 8154 * char *param_detailed_help - 8155 * Detailed help for this parameter. 8156 * char *vals_detailed_help ; 8157 * Detailed help for all values attached to this parameter. 8158 * THIS FIELD IS AUTOMATICALLY FILLED IN BY THE SYSTEM 8159 * and does NOT need to be filled in by the user. 8160 * unsigned long mutex_control ; 8161 * Mutual exclusion syntax control. Up to 32 groups 8162 * specified by bits. If a parameter has specific 8163 * bits set then other parameters, with any of 8164 * these bits set, may not be on the same line. 8165 *USAGE: 8166 * SEE ORGANIZATION. 8167 *REMARKS: 8168 * NONE. 8169 *SEE ALSO: 8170 */ 8171 EXTERN CONST 8172 PARAM 8173 Fap10m_params[] 8174 #ifdef INIT 8175 = 8176 { 8177 { 8178 PARAM_FAP10M_GENRAL_API_ID, 8179 "general", 8180 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8181 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8182 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8183 0,0,0,0,0,0,0, 8184 "interface to fap10m driver general services.", 8185 "Examples:\r\n" 8186 " fap10m general start_driver\r\n" 8187 "Results in starting the fap10m driver.\r\n", 8188 "", 8189 {BIT(0) | BIT(1) | BIT(2) | BIT(4) | BIT(5) | BIT(26) | BIT(28) | BIT(29) | BIT(30), 8190 0, 8191 BIT(19), 8192 BIT(15) 8193 }, 8194 1, 8195 /* 8196 * Pointer to a function to call after symbolic parameter 8197 * has been accepted. 8198 */ 8199 (VAL_PROC_PTR)NULL 8200 }, 8201 { 8202 PARAM_FAP10M_DEFEREED_API_ID, 8203 "deferred", 8204 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8205 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8206 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8207 0,0,0,0,0,0,0, 8208 "interface to fap10m driver deferred services.", 8209 "Examples:\r\n" 8210 " fap10m deferred physical_read 0x1 offset 0x0 size 0x8 polling_rate 50 \r\n" 8211 "Results in reading data of 64 bit at offset 0x0 of device 0x1 every 50 system ticks.\r\n", 8212 "", 8213 {BIT(3) | BIT(6) | BIT(9) | BIT(10) | BIT(13) | BIT(15) | BIT(18) | BIT(24)}, 8214 1, 8215 /* 8216 * Pointer to a function to call after symbolic parameter 8217 * has been accepted. 8218 */ 8219 (VAL_PROC_PTR)NULL 8220 }, 8221 { 8222 PARAM_FAP10M_SET_DEVICE_ACCESS_ID, 8223 "set_device_access", 8224 (PARAM_VAL_RULES *)&Fap10m_device_access_vals[0], 8225 (sizeof(Fap10m_device_access_vals) / sizeof(Fap10m_device_access_vals[0])) - 1, 8226 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8227 0,0,0,0,0,0,0, 8228 "Set the device access time in run time.\r\n", 8229 "Examples:\r\n" 8230 " fap10m general set_device_access eci_access\r\n" 8231 "Results in setting the driver to access the device via the ECI.\r\n", 8232 "", 8233 {BIT(0)}, 8234 2, 8235 /* 8236 * Pointer to a function to call after symbolic parameter 8237 * has been accepted. 8238 */ 8239 (VAL_PROC_PTR)NULL 8240 }, 8241 { 8242 PARAM_FAP10M_PRINT_DRIVER_INFORMATION_ID, 8243 "print_driver_information", 8244 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8245 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8246 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8247 0,0,0,0,0,0,0, 8248 "Prints driver specific information.\r\n", 8249 "Examples:\r\n" 8250 " fap10m general print_driver_information \r\n" 8251 "Results in printing SOC_SAND_FAP10M driver information.\r\n", 8252 "", 8253 {BIT(0)}, 8254 2, 8255 /* 8256 * Pointer to a function to call after symbolic parameter 8257 * has been accepted. 8258 */ 8259 (VAL_PROC_PTR)NULL 8260 }, 8261 { 8262 PARAM_FAP10M_START_DRIVER_ID, 8263 "driver_start", 8264 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8265 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8266 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8267 0,0,0,0,0,0,0, 8268 "Starts the Fap10m driver.\r\n", 8269 "Examples:\r\n" 8270 " fap10m general start_driver\r\n" 8271 "Results in starting the fap10m driver.\r\n", 8272 "", 8273 {BIT(0)}, 8274 2, 8275 /* 8276 * Pointer to a function to call after symbolic parameter 8277 * has been accepted. 8278 */ 8279 (VAL_PROC_PTR)NULL 8280 }, 8281 { 8282 PARAM_FAP10M_SHUTDOWN_DRIVER_ID, 8283 "driver_shutdown", 8284 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8285 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8286 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8287 0,0,0,0,0,0,0, 8288 "Shuts down Fap10m driver completly.\r\n", 8289 "Examples:\r\n" 8290 " fap10m general shutdown_driver\r\n" 8291 "Results in shutting down the fap10m driver.\r\n", 8292 "", 8293 {BIT(0)}, 8294 2, 8295 /* 8296 * Pointer to a function to call after symbolic parameter 8297 * has been accepted. 8298 */ 8299 (VAL_PROC_PTR)NULL 8300 }, 8301 { 8302 PARAM_FAP10M_REGISTER_DEVICE_ID, 8303 "register_device", 8304 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8305 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8306 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8307 0,0,0,0,0,0,0, 8308 "registers an Fap10m device with the driver.\r\n", 8309 "Examples:\r\n" 8310 " fap10m register_device 0x30043745 \r\n" 8311 "Results in registering an fap10m device at address 0x30043745 with the driver.\r\n", 8312 "", 8313 {BIT(0)}, 8314 2, 8315 /* 8316 * Pointer to a function to call after symbolic parameter 8317 * has been accepted. 8318 */ 8319 (VAL_PROC_PTR)NULL 8320 }, 8321 { 8322 PARAM_FAP10M_UNREGISTER_DEVICE_ID, 8323 "unregister_device", 8324 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8325 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8326 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8327 0,0,0,0,0,0,0, 8328 "unregisters an Fap10m device from the driver.\r\n", 8329 "Examples:\r\n" 8330 " fap10m unregister_device 0x1 \r\n" 8331 "Results in unregistering an fap10m device that was registered under the handle 0x1.\r\n", 8332 "", 8333 {BIT(0)}, 8334 2, 8335 /* 8336 * Pointer to a function to call after symbolic parameter 8337 * has been accepted. 8338 */ 8339 (VAL_PROC_PTR)NULL 8340 }, 8341 { 8342 PARAM_FAP10M_RESET_DEVICE_ID, 8343 "reset_device", 8344 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8345 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8346 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8347 0,0,0,0,0,0,0, 8348 "resets a SOC_SAND_FAP10M device.\r\n", 8349 "Examples:\r\n" 8350 " fap10m general reset_device 0x1\r\n" 8351 "Results in resetting device 0x1 (off-on).\r\n", 8352 "", 8353 {BIT(26) | BIT(28)}, 8354 2, 8355 /* 8356 * Pointer to a function to call after symbolic parameter 8357 * has been accepted. 8358 */ 8359 (VAL_PROC_PTR)NULL 8360 }, 8361 { 8362 PARAM_FAP10M_FAP_ID_ID, 8363 "new_fap_id", 8364 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 8365 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 8366 HAS_NO_DEFAULT | MUST_APPEAR, (PARAM_VAL *)0, 8367 0,0,0,0,0,0,0, 8368 "New FAP-ID to set in the init sequnce.\r\n", 8369 "Examples:\r\n" 8370 " fe200 general reset_device 0x1 new_fap_id 3\r\n" 8371 "Results in shutting of device 0x1 and setting the FAP-ID to be 3.\r\n", 8372 "", 8373 {BIT(28)}, 8374 (unsigned int)LAST_ORDINAL, 8375 /* 8376 * Pointer to a function to call after symbolic parameter 8377 * has been accepted. 8378 */ 8379 (VAL_PROC_PTR)NULL 8380 }, 8381 { 8382 PARAM_FAP10M_REMAIN_OFF_ID, 8383 "remain_off", 8384 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8385 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8386 HAS_NO_DEFAULT | MUST_APPEAR, (PARAM_VAL *)0, 8387 0,0,0,0,0,0,0, 8388 "If appears the device will stay in reset.\r\n", 8389 "Examples:\r\n" 8390 " fap10m general reset_device 0x1 remain_off\r\n" 8391 "Results in shutting of device 0x1.\r\n", 8392 "", 8393 {BIT(26)}, 8394 (unsigned int)LAST_ORDINAL, 8395 /* 8396 * Pointer to a function to call after symbolic parameter 8397 * has been accepted. 8398 */ 8399 (VAL_PROC_PTR)NULL 8400 }, 8401 { 8402 PARAM_FAP10M_START_AND_REGISTER_ID, 8403 "start_driver_and_register_devices", 8404 (PARAM_VAL_RULES *)&Fap10m_Interrupt_mockup_vals[0], 8405 (sizeof(Fap10m_Interrupt_mockup_vals) / sizeof(Fap10m_Interrupt_mockup_vals[0])) - 1, 8406 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_Interrupt_mockup_default, 8407 0,0,0,0,0,0,0, 8408 "starts the fap10m driver, simulator and register 2 devices (with or without ISR).\r\n", 8409 "Examples:\r\n" 8410 " fap10m start_driver_and_register_devices mockup_inetrrupts\r\n" 8411 "Results in activating the driver, the simulator and registering 2 devices,\n\r" 8412 " and simulating interrupts by polling.\r\n", 8413 "", 8414 {BIT(0)}, 8415 2, 8416 /* 8417 * Pointer to a function to call after symbolic parameter 8418 * has been accepted. 8419 */ 8420 (VAL_PROC_PTR)NULL 8421 }, 8422 { 8423 PARAM_FAP10M_UNREGISTER_AND_SHUTDOWN_ID, 8424 "unregister_devices_and_shutdown_driver", 8425 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8426 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8427 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8428 0,0,0,0,0,0,0, 8429 "unregister 2 fap10m devices, ends the simulator and shutdown the driver.\r\n", 8430 "Examples:\r\n" 8431 " fap10m unregister_devices_and_shutdown_driver \r\n" 8432 "Results in unregistering the devices and shutting down the simulator and the driver.\r\n", 8433 "", 8434 {BIT(0)}, 8435 2, 8436 /* 8437 * Pointer to a function to call after symbolic parameter 8438 * has been accepted. 8439 */ 8440 (VAL_PROC_PTR)NULL 8441 }, 8442 { 8443 PARAM_FAP10M_CLEAR_DEVICE_PENDING_SERVICES_ID, 8444 "clear_device_pending_services", 8445 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8446 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8447 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8448 0,0,0,0,0,0,0, 8449 "clears all pending services of an Fap10m device.\r\n", 8450 "Examples:\r\n" 8451 " fap10m clear_device_pending_services 0x1 \r\n" 8452 "Results in clearing all services registered for an fap10m device with the handle 0x1.\r\n", 8453 "", 8454 {BIT(0)}, 8455 2, 8456 /* 8457 * Pointer to a function to call after symbolic parameter 8458 * has been accepted. 8459 */ 8460 (VAL_PROC_PTR)NULL 8461 }, 8462 { 8463 PARAM_FAP10M_STOP_POLLING_TRANSACTON_ID, 8464 "stop_polling_transaction", 8465 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8466 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8467 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8468 0,0,0,0,0,0,0, 8469 "unregister one deferred service accroding to its handle.\r\n", 8470 "Examples:\r\n" 8471 " fap10m stop_polling_transaction 0x28342359 \r\n" 8472 "Results in unregistered the service with handle 0x28342359.\r\n", 8473 "", 8474 {BIT(0)}, 8475 2, 8476 /* 8477 * Pointer to a function to call after symbolic parameter 8478 * has been accepted. 8479 */ 8480 (VAL_PROC_PTR)NULL 8481 }, 8482 { 8483 PARAM_FAP10M_LDU_WRITE_ID, 8484 "ldu_write", 8485 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8486 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8487 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8488 0,0,0,0,0,0,0, 8489 "writes data to the specified device at the LDU offset.\r\n", 8490 "Examples:\r\n" 8491 " fap10m general ldu_write 0x1 offset 0x8 data 0x2233\r\n" 8492 "Results in writing data of 32 bit at offset 0x8 (LDU) of device 0x1.\r\n", 8493 "", 8494 {BIT(29)}, 8495 2, 8496 /* 8497 * Pointer to a function to call after symbolic parameter 8498 * has been accepted. 8499 */ 8500 (VAL_PROC_PTR)NULL 8501 }, 8502 { 8503 PARAM_FAP10M_LDU_READ_ID, 8504 "ldu_read", 8505 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8506 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8507 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8508 0,0,0,0,0,0,0, 8509 "reads data from the specified device at the LDU offset.\r\n", 8510 "Examples:\r\n" 8511 " fap10m general ldu_read 0x1 offset 0x8\r\n" 8512 "Results in reading data of 32 bit at offset 0x8 of device 0x1.\r\n", 8513 "", 8514 {BIT(30)}, 8515 2, 8516 /* 8517 * Pointer to a function to call after symbolic parameter 8518 * has been accepted. 8519 */ 8520 (VAL_PROC_PTR)NULL 8521 }, 8522 { 8523 PARAM_FAP10M_SILENT_ID, 8524 "silent", 8525 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8526 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8527 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 8528 0,0,0,0,0,0,0, 8529 "If appears - less printouts as possible.\r\n", 8530 "Examples:\r\n" 8531 " fap10m general physical_write 0x0 offset 0x4 data 0x2233 silent\r\n" 8532 "Results in writing data of 32 bit at offset 0x4 of device 0 - with no printing.\r\n", 8533 "", 8534 {BIT(1) | BIT(2)}, 8535 LAST_ORDINAL, 8536 /* 8537 * Pointer to a function to call after symbolic parameter 8538 * has been accepted. 8539 */ 8540 (VAL_PROC_PTR)NULL 8541 }, 8542 { 8543 PARAM_FAP10M_PHYSICAL_WRITE_ID, 8544 "physical_write", 8545 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8546 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8547 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8548 0,0,0,0,0,0,0, 8549 "writes data to the specified device at the specified offset.\r\n", 8550 "Examples:\r\n" 8551 " fap10m general physical_write 0x1 offset 0x8 size 0x4 data 0x2233 \r\n" 8552 "Results in writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8553 "", 8554 {BIT(1)}, 8555 2, 8556 /* 8557 * Pointer to a function to call after symbolic parameter 8558 * has been accepted. 8559 */ 8560 (VAL_PROC_PTR)NULL 8561 }, 8562 { 8563 PARAM_FAP10M_PHYSICAL_READ_ID, 8564 "physical_read", 8565 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8566 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8567 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8568 0,0,0,0,0,0,0, 8569 "reads data from the specified device at the specified offset.\r\n", 8570 "Examples:\r\n" 8571 " fap10m general physical_read 0x1 offset 0x8 size 0x4 \r\n" 8572 "Results in reading data of 32 bit at offset 0x8 of device 0x1.\r\n", 8573 "", 8574 {BIT(2)}, 8575 2, 8576 /* 8577 * Pointer to a function to call after symbolic parameter 8578 * has been accepted. 8579 */ 8580 (VAL_PROC_PTR)NULL 8581 }, 8582 { 8583 PARAM_FAP10M_DEFERRED_PHYSICAL_READ_ID, 8584 "physical_read", 8585 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8586 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8587 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8588 0,0,0,0,0,0,0, 8589 "deferred read of data from the specified device at the specified offset.\r\n", 8590 "Examples:\r\n" 8591 " fap10m deferred physical_read 0x1 offset 0x0 size 0x8 polling_rate 50 \r\n" 8592 "Results in reading data of 64 bit at offset 0x0 of device 0x1 every 50 system ticks.\r\n", 8593 "", 8594 {BIT(3)}, 8595 2, 8596 /* 8597 * Pointer to a function to call after symbolic parameter 8598 * has been accepted. 8599 */ 8600 (VAL_PROC_PTR)NULL 8601 }, 8602 { 8603 PARAM_FAP10M_LOGICAL_WRITE_ID, 8604 "logical_write", 8605 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8606 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8607 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8608 0,0,0,0,0,0,0, 8609 "writes data to the specified device at the register / field.\r\n", 8610 "Examples:\r\n" 8611 " fap10m general logical_write 0x1 field chip_id data 0x3 \r\n" 8612 "Results in writing the value 0x3 to the chip_id field of fe 0x1.\r\n", 8613 "", 8614 {BIT(4)}, 8615 2, 8616 /* 8617 * Pointer to a function to call after symbolic parameter 8618 * has been accepted. 8619 */ 8620 (VAL_PROC_PTR)NULL 8621 }, 8622 { 8623 PARAM_FAP10M_LOGICAL_READ_ID, 8624 "logical_read", 8625 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8626 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8627 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8628 0,0,0,0,0,0,0, 8629 "reads specified register / field from the device.\r\n", 8630 "Examples:\r\n" 8631 " fap10m general logical_read 0x1 field chip_id \r\n" 8632 "Results in reading the value of the chip_id field from fe 0x1.\r\n", 8633 "", 8634 {BIT(5)}, 8635 2, 8636 /* 8637 * Pointer to a function to call after symbolic parameter 8638 * has been accepted. 8639 */ 8640 (VAL_PROC_PTR)NULL 8641 }, 8642 { 8643 PARAM_FAP10M_ENABLE_MSGS_ID, 8644 "enable_messages", 8645 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8646 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8647 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8648 0,0,0,0,0,0,0, 8649 "Enable / Disable control messages.\r\n", 8650 "Examples:\r\n" 8651 " fap10m enable_messages 0 cntrl_msgs enable \r\n" 8652 "Results in Enabling control messages.\r\n", 8653 "", 8654 {0,0,BIT(19)}, 8655 2, 8656 /* 8657 * Pointer to a function to call after symbolic parameter 8658 * has been accepted. 8659 */ 8660 (VAL_PROC_PTR)NULL 8661 }, 8662 { 8663 PARAM_FAP10M_CNTRL_MSGS_ID, 8664 "cntrl_msgs", 8665 (PARAM_VAL_RULES *)&Fap10m_enable_disable[0], 8666 (sizeof(Fap10m_enable_disable) / sizeof(Fap10m_enable_disable[0])) - 1, 8667 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8668 0,0,0,0,0,0,0, 8669 "Enable / Disable control messages.\r\n", 8670 "Examples:\r\n" 8671 " fap10m enable_messages 0 cntrl_msgs enable \r\n" 8672 "Results in Enabling control messages.\r\n", 8673 "", 8674 {0,0,BIT(19)}, 8675 3, 8676 /* 8677 * Pointer to a function to call after symbolic parameter 8678 * has been accepted. 8679 */ 8680 (VAL_PROC_PTR)NULL 8681 }, 8682 { 8683 PARAM_FAP10M_DUMP_REGISTERS, 8684 "dump_register", 8685 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8686 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8687 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8688 0,0,0,0,0,0,0, 8689 "Dump all the registers with values different from '0'.\r\n", 8690 "Examples:\r\n" 8691 " fap10m dump_register 0x1 \r\n" 8692 "Results in printing all register info fap10m device with the handle 0x1.\r\n", 8693 "", 8694 {BIT(0)}, 8695 2, 8696 /* 8697 * Pointer to a function to call after symbolic parameter 8698 * has been accepted. 8699 */ 8700 (VAL_PROC_PTR)NULL 8701 }, 8702 { 8703 PARAM_FAP10M_SKIP_ZEROS_ID, 8704 "print_zeros", 8705 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8706 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8707 HAS_NO_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)0, 8708 0,0,0,0,0,0,0, 8709 "Print also registers with values of '0' and '0xDEADBEEF'.\r\n", 8710 "Examples:\r\n" 8711 " fap10m dump_register 0x1 \r\n" 8712 "Results in printing all register info fap10m device with the handle 0x1.\r\n", 8713 "", 8714 {BIT(0)}, 8715 (unsigned int)LAST_ORDINAL, 8716 /* 8717 * Pointer to a function to call after symbolic parameter 8718 * has been accepted. 8719 */ 8720 (VAL_PROC_PTR)NULL 8721 }, 8722 { 8723 PARAM_FAP10M_INCLUDE_INDIRECT_TABLES_ID, 8724 "include_indirects", 8725 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8726 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8727 HAS_NO_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)0, 8728 0,0,0,0,0,0,0, 8729 "Print also indirect tables.\r\n", 8730 "Examples:\r\n" 8731 " fap10m dump_register 0x1 \r\n" 8732 "Results in printing all register info fap10m device with the handle 0x1.\r\n", 8733 "", 8734 {BIT(0)}, 8735 (unsigned int)LAST_ORDINAL, 8736 /* 8737 * Pointer to a function to call after symbolic parameter 8738 * has been accepted. 8739 */ 8740 (VAL_PROC_PTR)NULL 8741 }, 8742 { 8743 PARAM_FAP10M_DEFERRED_LOGICAL_READ_ID, 8744 "logical_read", 8745 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8746 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8747 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8748 0,0,0,0,0,0,0, 8749 "deferred read of the specified register / field from the device.\r\n", 8750 "Examples:\r\n" 8751 " fap10m deferred logical_read 0x1 field chip_id polling_rate 50\r\n" 8752 "Results in polling of the field chip_id field from fe 0x1, every 50 time ticks.\r\n", 8753 "", 8754 {BIT(6)}, 8755 2, 8756 /* 8757 * Pointer to a function to call after symbolic parameter 8758 * has been accepted. 8759 */ 8760 (VAL_PROC_PTR)NULL 8761 }, 8762 { 8763 PARAM_FAP10M_FIELD_PRINT_ALL_ID, 8764 "print_all_logical_ids", 8765 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8766 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8767 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8768 0,0,0,0,0,0,0, 8769 "print all the values of the logical fields.\r\n", 8770 "Examples:\r\n" 8771 " fap10m general print_all_logical_ids 0x1\r\n" 8772 "Results in printing the values of all the logical fields in device 0x1.\r\n", 8773 "", 8774 {0,0,0,BIT(15)}, 8775 2, 8776 /* 8777 * Pointer to a function to call after symbolic parameter 8778 * has been accepted. 8779 */ 8780 (VAL_PROC_PTR)NULL 8781 }, 8782 { 8783 PARAM_FAP10M_PHYSICAL_DIRECT_ID, 8784 "direct", 8785 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8786 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8787 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 8788 0,0,0,0,0,0,0, 8789 "a part of read / write data to the specified device at the specified offset.\r\n", 8790 "Examples:\r\n" 8791 " fap10m general physical_write direct 0x1 offset 0x8 size 0x4 data 0x2233 \r\n" 8792 "Results in writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8793 "", 8794 {BIT(1) | BIT(2) | BIT(3)}, 8795 3, 8796 /* 8797 * Pointer to a function to call after symbolic parameter 8798 * has been accepted. 8799 */ 8800 (VAL_PROC_PTR)NULL 8801 }, 8802 { 8803 PARAM_FAP10M_PHYSICAL_INDIRECT_ID, 8804 "indirect", 8805 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 8806 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 8807 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 8808 0,0,0,0,0,0,0, 8809 "a part of read / write data to the specified device at the specified offset.\r\n", 8810 "Examples:\r\n" 8811 " fap10m general physical_write indirect 0x1 offset 0x8 size 0x4 data 0x2233 \r\n" 8812 "Results in indirect writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8813 "", 8814 {BIT(1) | BIT(2) | BIT(3)}, 8815 3, 8816 /* 8817 * Pointer to a function to call after symbolic parameter 8818 * has been accepted. 8819 */ 8820 (VAL_PROC_PTR)NULL 8821 }, 8822 { 8823 PARAM_FAP10M_PHYSICAL_OFFSET_ID, 8824 "offset", 8825 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8826 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8827 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8828 0,0,0,0,0,0,0, 8829 "a part of read / write data to the specified device at the specified offset.\r\n", 8830 "Examples:\r\n" 8831 " fap10m general physical_write direct 0x1 offset 0x8 size 0x4 data 0x2233 \r\n" 8832 "Results in writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8833 "", 8834 {BIT(1) | BIT(2) | BIT(3) | BIT(29) | BIT(30)}, 8835 4, 8836 /* 8837 * Pointer to a function to call after symbolic parameter 8838 * has been accepted. 8839 */ 8840 (VAL_PROC_PTR)NULL 8841 }, 8842 { 8843 PARAM_FAP10M_PHYSICAL_SIZE_ID, 8844 "size", 8845 (PARAM_VAL_RULES *)&Fap10m_data_size_vals[0], 8846 (sizeof(Fap10m_data_size_vals) / sizeof(Fap10m_data_size_vals[0])) - 1, 8847 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8848 0,0,0,0,0,0,0, 8849 "a part of read / write data to the specified device at the specified offset.\r\n", 8850 "Examples:\r\n" 8851 " fap10m general physical_write 0x1 direct offset 0x8 size 0x4 data 0x2233 \r\n" 8852 "Results in writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8853 "", 8854 { BIT(2) | BIT(3)}, 8855 5, 8856 /* 8857 * Pointer to a function to call after symbolic parameter 8858 * has been accepted. 8859 */ 8860 (VAL_PROC_PTR)NULL 8861 }, 8862 { 8863 PARAM_MEM_NUM_OF_TIMES_ID, 8864 "nof_times", 8865 (PARAM_VAL_RULES *)&Fap10m_nof_times_mem_read_vals[0], 8866 (sizeof(Fap10m_nof_times_mem_read_vals) / sizeof(Fap10m_nof_times_mem_read_vals[0])) - 1, 8867 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_nof_times_mem_read_default, 8868 0,0,0,0,0,0,0, 8869 "Re-current read. 'nof_times' times.", 8870 "Examples:\r\n" 8871 " fap10m general physical_read 0x1 direct offset 0x8 size 0x4 nof_times 12\r\n" 8872 "Results in reading, 12 times, starting at offset 0x8.\r\n", 8873 "", 8874 {BIT(2)}, 8875 (unsigned int)LAST_ORDINAL, 8876 /* 8877 * Pointer to a function to call after symbolic parameter 8878 * has been accepted. 8879 */ 8880 (VAL_PROC_PTR)NULL 8881 }, 8882 { 8883 PARAM_MEM_PAUSE_AFTER_READ_ID, 8884 "pause_after_read", 8885 (PARAM_VAL_RULES *)&Fap10m_pause_after_read_mem_read_vals[0], 8886 (sizeof(Fap10m_pause_after_read_mem_read_vals) / sizeof(Fap10m_pause_after_read_mem_read_vals[0])) - 1, 8887 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_pause_after_read_mem_read_default, 8888 0,0,0,0,0,0,0, 8889 "Pause for amount of time after read (micro-sec). (Useful with 'nof_times' parameter.)", 8890 "Examples:\r\n" 8891 " fap10m general physical_read 0x1 direct offset 0x8 size 0x4 nof_times 12 pause_after_read 10\r\n" 8892 "Results in reading, 12 times, starting at offset 0x8.\r\n" 8893 "After every read the CPU will halt for 10 micro-sec \n\r", 8894 "", 8895 {BIT(2)}, 8896 (unsigned int)LAST_ORDINAL, 8897 /* 8898 * Pointer to a function to call after symbolic parameter 8899 * has been accepted. 8900 */ 8901 (VAL_PROC_PTR)NULL 8902 }, 8903 { 8904 PARAM_FAP10M_PHYSICAL_DATA_ID, 8905 "data", 8906 (PARAM_VAL_RULES *)&Fap10m_data_values_vals[0], 8907 (sizeof(Fap10m_data_values_vals) / sizeof(Fap10m_data_values_vals[0])) - 1, 8908 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8909 0,0,0,0,0,0,0, 8910 "a part of read / write data to the specified device at the specified offset.\r\n", 8911 "Examples:\r\n" 8912 " fap10m general physical_write 0x1 direct offset 0x8 size 0x4 data 0x2233 \r\n" 8913 "Results in writing data of 32 bit at offset 0x8 of device 0x1.\r\n", 8914 "", 8915 {BIT(1) | BIT(4) | BIT(29)}, 8916 6, 8917 /* 8918 * Pointer to a function to call after symbolic parameter 8919 * has been accepted. 8920 */ 8921 (VAL_PROC_PTR)NULL 8922 }, 8923 { 8924 PARAM_FAP10M_POLLING_RATE_ID, 8925 "polling_rate", 8926 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 8927 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 8928 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8929 0,0,0,0,0,0,0, 8930 "a part of a deferred read of data to the specified device at the specified offset.\r\n", 8931 "Examples:\r\n" 8932 " fap10m deferred physical_read 0x1 offset 0x0 size 0x8 polling_rate 50 \r\n" 8933 "Results in reading data of 64 bit at offset 0x0 of device 0x1 every 50 system ticks.\r\n", 8934 "", 8935 {BIT(3) | BIT(6) | BIT(9) | BIT(13) | BIT(15) | BIT(18) | BIT(24)}, 8936 7, 8937 /* 8938 * Pointer to a function to call after symbolic parameter 8939 * has been accepted. 8940 */ 8941 (VAL_PROC_PTR)NULL 8942 }, 8943 { 8944 PARAM_FAP10M_FIELD_ID, 8945 "interrupt", 8946 (PARAM_VAL_RULES *)&Fap10m_logical_interrupt_mask_field[0], 8947 (sizeof(Fap10m_logical_interrupt_mask_field) / sizeof(Fap10m_logical_interrupt_mask_field[0])) - 1, 8948 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8949 0,0,0,0,0,0,0, 8950 "interrupt group of registers/fields.\r\n", 8951 "Examples:\r\n" 8952 " fap10m general logical_write 0x1 interrupt src_dv_cng_link_mask 0x1\r\n" 8953 "Results in writing the value 0x1 to the src_dv_cng_link_mask field of device 0x1.\r\n", 8954 "", 8955 {BIT(4) | BIT(5) | BIT(6)}, 8956 3, 8957 /* 8958 * Pointer to a function to call after symbolic parameter 8959 * has been accepted. 8960 */ 8961 (VAL_PROC_PTR)NULL 8962 }, 8963 { 8964 PARAM_FAP10M_FIELD_ID, 8965 "init_trig", 8966 (PARAM_VAL_RULES *)&Fap10m_logical_initialization_triggers_field[0], 8967 (sizeof(Fap10m_logical_initialization_triggers_field) / sizeof(Fap10m_logical_initialization_triggers_field[0])) - 1, 8968 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8969 0,0,0,0,0,0,0, 8970 "Initialization triggers group of registers/fields.\r\n", 8971 "Examples:\r\n" 8972 " fap10m general logical_write 0x1 init_trig queue_controller_init_trig 0x1\r\n" 8973 "Results in writing the value 0x1 to the queue_controller_init_trig field of device 0x1.\r\n", 8974 "", 8975 {BIT(4) | BIT(5) | BIT(6)}, 8976 3, 8977 /* 8978 * Pointer to a function to call after symbolic parameter 8979 * has been accepted. 8980 */ 8981 (VAL_PROC_PTR)NULL 8982 }, 8983 { 8984 PARAM_FAP10M_FIELD_ID, 8985 "sms_rev_a", 8986 (PARAM_VAL_RULES *)&Fap10m_a_logical_sms_field[0], 8987 (sizeof(Fap10m_a_logical_sms_field) / sizeof(Fap10m_a_logical_sms_field[0])) - 1, 8988 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 8989 0,0,0,0,0,0,0, 8990 "Spatial Multicast Scheduler group of registers/fields.\r\n", 8991 "Examples:\r\n" 8992 " fap10m general logical_write 0x1 sms unicast_weight 0x3\r\n" 8993 "Results in writing the value 0x3 to the unicast_weight field of device 0x1.\r\n", 8994 "", 8995 {BIT(4) | BIT(5) | BIT(6)}, 8996 3, 8997 /* 8998 * Pointer to a function to call after symbolic parameter 8999 * has been accepted. 9000 */ 9001 (VAL_PROC_PTR)NULL 9002 }, 9003 { 9004 PARAM_FAP10M_FIELD_ID, 9005 "sms_rev_b", 9006 (PARAM_VAL_RULES *)&Fap10m_b_logical_sms_field[0], 9007 (sizeof(Fap10m_b_logical_sms_field) / sizeof(Fap10m_b_logical_sms_field[0])) - 1, 9008 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9009 0,0,0,0,0,0,0, 9010 "Spatial Multicast Scheduler group of registers/fields.\r\n", 9011 "Examples:\r\n" 9012 " fap10m general logical_write 0x1 sms unicast_weight 0x3\r\n" 9013 "Results in writing the value 0x3 to the unicast_weight field of device 0x1.\r\n", 9014 "", 9015 {BIT(4) | BIT(5) | BIT(6)}, 9016 3, 9017 /* 9018 * Pointer to a function to call after symbolic parameter 9019 * has been accepted. 9020 */ 9021 (VAL_PROC_PTR)NULL 9022 }, 9023 { 9024 PARAM_FAP10M_FIELD_ID, 9025 "label_processor", 9026 (PARAM_VAL_RULES *)&Fap10m_label_processor_field[0], 9027 (sizeof(Fap10m_label_processor_field) / sizeof(Fap10m_label_processor_field[0])) - 1, 9028 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9029 0,0,0,0,0,0,0, 9030 "label-processor group of registers/fields.\r\n", 9031 "Examples:\r\n" 9032 " fap10m general logical_write 0x1 label_processor sig_class_bits 0x3\r\n" 9033 "Results in writing the value 0x3 to the 'sig_class_bits' field of device 0x1.\r\n", 9034 "", 9035 {BIT(4) | BIT(5) | BIT(6)}, 9036 3, 9037 /* 9038 * Pointer to a function to call after symbolic parameter 9039 * has been accepted. 9040 */ 9041 (VAL_PROC_PTR)NULL 9042 }, 9043 { 9044 PARAM_FAP10M_FIELD_ID, 9045 "misc", 9046 (PARAM_VAL_RULES *)&Fap10m_logical_misc_field[0], 9047 (sizeof(Fap10m_logical_misc_field) / sizeof(Fap10m_logical_misc_field[0])) - 1, 9048 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9049 0,0,0,0,0,0,0, 9050 "miscellaneous group of registers/fields.\r\n", 9051 "Examples:\r\n" 9052 " fap10m general logical_write 0x1 misc chip_id 0x3\r\n" 9053 "Results in writing the value 0x3 to the chip_id field of device 0x1.\r\n", 9054 "", 9055 {BIT(4) | BIT(5) | BIT(6)}, 9056 3, 9057 /* 9058 * Pointer to a function to call after symbolic parameter 9059 * has been accepted. 9060 */ 9061 (VAL_PROC_PTR)NULL 9062 }, 9063 { 9064 PARAM_FAP10M_FIELD_ID, 9065 "queue_controller", 9066 (PARAM_VAL_RULES *)&Fap10m_logical_external_dram_field[0], 9067 (sizeof(Fap10m_logical_external_dram_field) / sizeof(Fap10m_logical_external_dram_field[0])) - 1, 9068 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9069 0,0,0,0,0,0,0, 9070 "queueing group of registers/fields.\r\n", 9071 "Examples:\r\n" 9072 " fap10m general logical_write 0x1 queue_controller top_que_blk_1 0x333\r\n" 9073 "Results in writing the value 0x333 to the top_que_blk_1 field of device 0x1.\r\n", 9074 "", 9075 {BIT(4) | BIT(5) | BIT(6)}, 9076 3, 9077 /* 9078 * Pointer to a function to call after symbolic parameter 9079 * has been accepted. 9080 */ 9081 (VAL_PROC_PTR)NULL 9082 }, 9083 { 9084 PARAM_FAP10M_FIELD_ID, 9085 "sch", 9086 (PARAM_VAL_RULES *)&Fap10m_logical_sch_field[0], 9087 (sizeof(Fap10m_logical_sch_field) / sizeof(Fap10m_logical_sch_field[0])) - 1, 9088 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9089 0,0,0,0,0,0,0, 9090 "scheduler group of registers/fields.\r\n", 9091 "Examples:\r\n" 9092 " fap10m general logical_write 0x1 sch port_cfg 0x3\r\n" 9093 "Results in writing the value 0x3 to the port_cfg field of device 0x1.\r\n", 9094 "", 9095 {BIT(4) | BIT(5) | BIT(6)}, 9096 3, 9097 /* 9098 * Pointer to a function to call after symbolic parameter 9099 * has been accepted. 9100 */ 9101 (VAL_PROC_PTR)NULL 9102 }, 9103 { 9104 PARAM_FAP10M_FIELD_ID, 9105 "mac", 9106 (PARAM_VAL_RULES *)&Fap10m_logical_mac_field[0], 9107 (sizeof(Fap10m_logical_mac_field) / sizeof(Fap10m_logical_mac_field[0])) - 1, 9108 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9109 0,0,0,0,0,0,0, 9110 "MAC group of registers/fields.\r\n", 9111 "Examples:\r\n" 9112 " fap10m general logical_write 0x1 mac commas_number 0x3\r\n" 9113 "Results in writing the value 0x3 to the commas_number field of device 0x1.\r\n", 9114 "", 9115 {BIT(4) | BIT(5) | BIT(6)}, 9116 3, 9117 /* 9118 * Pointer to a function to call after symbolic parameter 9119 * has been accepted. 9120 */ 9121 (VAL_PROC_PTR)NULL 9122 }, 9123 { 9124 PARAM_FAP10M_FIELD_ID, 9125 "chopping", 9126 (PARAM_VAL_RULES *)&Fap10m_logical_chop_field[0], 9127 (sizeof(Fap10m_logical_chop_field) / sizeof(Fap10m_logical_chop_field[0])) - 1, 9128 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9129 0,0,0,0,0,0,0, 9130 "Big packets chopping group of registers/fields.\r\n", 9131 "Examples:\r\n" 9132 " fap10m general logical_write 0x1 chopping chunk_size 3\r\n" 9133 "Results in writing the value 0x3 to the chunk_size field of device 0x1.\r\n" 9134 "(The chunks size will be 896) \n\r", 9135 "", 9136 {BIT(4) | BIT(5) | BIT(6)}, 9137 3, 9138 /* 9139 * Pointer to a function to call after symbolic parameter 9140 * has been accepted. 9141 */ 9142 (VAL_PROC_PTR)NULL 9143 }, 9144 /* miscellaneous interface { */ 9145 { 9146 PARAM_FAP10M_MISC_API_ID, 9147 "misc", 9148 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9149 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9150 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9151 0,0,0,0,0,0,0, 9152 "interface to fap10m driver miscellaneous services.", 9153 "Examples:\r\n" 9154 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9155 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9156 "", 9157 {0, 9158 0, 9159 0, 9160 BIT(2)}, 9161 1, 9162 /* 9163 * Pointer to a function to call after symbolic parameter 9164 * has been accepted. 9165 */ 9166 (VAL_PROC_PTR)NULL 9167 }, 9168 { 9169 PARAM_FAP10M_GET_LAST_PKT_HEADER_ID, 9170 "get_last_pkt_header", 9171 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9172 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9173 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9174 0,0,0,0,0,0,0, 9175 "Get the last packet header that was presented to the LBP.\r\n", 9176 "Examples:\r\n" 9177 " fap10m misc get_last_pkt_header 0\r\n" 9178 "Results in getting last LBP header from device 0.\r\n", 9179 "", 9180 {0, 9181 0, 9182 0, 9183 BIT(2)}, 9184 2, 9185 /* 9186 * Pointer to a function to call after symbolic parameter 9187 * has been accepted. 9188 */ 9189 (VAL_PROC_PTR)NULL 9190 }, 9191 9192 /* END miscellaneous interface } */ 9193 9194 /* fap10m_api_cell.h interface { */ 9195 { 9196 PARAM_FAP10M_CELL_API_ID, 9197 "traffic", 9198 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9199 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9200 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9201 0,0,0,0,0,0,0, 9202 "interface to fap10m driver traffic (cell/packet) services.", 9203 "Examples:\r\n" 9204 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9205 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9206 "", 9207 {BIT(7) | BIT(8), 9208 BIT(22) | BIT(23)}, 9209 1, 9210 /* 9211 * Pointer to a function to call after symbolic parameter 9212 * has been accepted. 9213 */ 9214 (VAL_PROC_PTR)NULL 9215 }, 9216 { 9217 PARAM_FAP10M_SEND_CELL_ID, 9218 "send_sr_data_cell", 9219 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9220 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9221 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9222 0,0,0,0,0,0,0, 9223 "sends a source routed data cell.\r\n", 9224 "Examples:\r\n" 9225 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9226 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9227 "", 9228 {BIT(7)}, 9229 2, 9230 /* 9231 * Pointer to a function to call after symbolic parameter 9232 * has been accepted. 9233 */ 9234 (VAL_PROC_PTR)NULL 9235 }, 9236 { 9237 PARAM_FAP10M_SEND_CELL_INIT_OUT_LINK_ID, 9238 "initial_output_link", 9239 (PARAM_VAL_RULES *)&FAP10M_initial_output_link_num_vals[0], 9240 (sizeof(FAP10M_initial_output_link_num_vals) / sizeof(FAP10M_initial_output_link_num_vals[0])) - 1, 9241 HAS_NO_DEFAULT | MUST_APPEAR, (PARAM_VAL *)0, 9242 0,0,0,0,0,0,0, 9243 "the link to choose when leave this fap.\r\n", 9244 "Examples:\r\n" 9245 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 2 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9246 "Results in sending a source routed data cell through device 0x1 link 2 to a fop.\r\n", 9247 "", 9248 {BIT(7)}, 9249 (unsigned int)LAST_ORDINAL, 9250 /* 9251 * Pointer to a function to call after symbolic parameter 9252 * has been accepted. 9253 */ 9254 (VAL_PROC_PTR)NULL 9255 }, 9256 { 9257 PARAM_FAP10M_SEND_CELL_FE1_LINK_ID, 9258 "fe1_link", 9259 (PARAM_VAL_RULES *)&FAP10M_fe1_link_num_vals[0], 9260 (sizeof(FAP10M_fe1_link_num_vals) / sizeof(FAP10M_fe1_link_num_vals[0])) - 1, 9261 HAS_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)&Fap10m_fe1_link_default, 9262 0,0,0,0,0,0,0, 9263 "the link to choose when passing through fe1.\r\n", 9264 "Examples:\r\n" 9265 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 4 fe1_link 12 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9266 "Results in sending a source routed data cell through device 0x1 link 4 to a fop.\r\n", 9267 "", 9268 {BIT(7)}, 9269 (unsigned int)LAST_ORDINAL, 9270 /* 9271 * Pointer to a function to call after symbolic parameter 9272 * has been accepted. 9273 */ 9274 (VAL_PROC_PTR)NULL 9275 }, 9276 { 9277 PARAM_FAP10M_SEND_CELL_FE2_LINK_ID, 9278 "fe2_link", 9279 (PARAM_VAL_RULES *)&FAP10M_fe2_link_num_vals[0], 9280 (sizeof(FAP10M_fe2_link_num_vals) / sizeof(FAP10M_fe2_link_num_vals[0])) - 1, 9281 HAS_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)&Fap10m_fe2_link_default, 9282 0,0,0,0,0,0,0, 9283 "the link to choose when passing through fe2.\r\n", 9284 "Examples:\r\n" 9285 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9286 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9287 "", 9288 {BIT(7)}, 9289 (unsigned int)LAST_ORDINAL, 9290 /* 9291 * Pointer to a function to call after symbolic parameter 9292 * has been accepted. 9293 */ 9294 (VAL_PROC_PTR)NULL 9295 }, 9296 { 9297 PARAM_FAP10M_SEND_CELL_FE3_LINK_ID, 9298 "fe3_link", 9299 (PARAM_VAL_RULES *)&Fap10m_fe3_link_num_vals[0], 9300 (sizeof(Fap10m_fe3_link_num_vals) / sizeof(Fap10m_fe3_link_num_vals[0])) - 1, 9301 HAS_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)&Fap10m_fe3_link_default, 9302 0,0,0,0,0,0,0, 9303 "the link to choose when passing through fe3.\r\n", 9304 "Examples:\r\n" 9305 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9306 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9307 "", 9308 {BIT(7)}, 9309 (unsigned int)LAST_ORDINAL, 9310 /* 9311 * Pointer to a function to call after symbolic parameter 9312 * has been accepted. 9313 */ 9314 (VAL_PROC_PTR)NULL 9315 }, 9316 { 9317 PARAM_FAP10M_SEND_CELL_DEST_ENTITY_TYPE_ID, 9318 "destination_entity_type", 9319 (PARAM_VAL_RULES *)&Fap10m_entity_type[0], 9320 (sizeof(Fap10m_entity_type) / sizeof(Fap10m_entity_type[0])) - 1, 9321 HAS_NO_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)0, 9322 0,0,0,0,0,0,0, 9323 "the entity this cell is destined to.\r\n", 9324 "Examples:\r\n" 9325 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9326 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9327 "", 9328 {BIT(7)}, 9329 (unsigned int)LAST_ORDINAL, 9330 /* 9331 * Pointer to a function to call after symbolic parameter 9332 * has been accepted. 9333 */ 9334 (VAL_PROC_PTR)NULL 9335 }, 9336 { 9337 PARAM_FAP10M_SEND_CELL_SRC_CHIP_ID, 9338 "source_chip_id", 9339 (PARAM_VAL_RULES *)&Fap10m_source_chip_id_num_val[0], 9340 (sizeof(Fap10m_source_chip_id_num_val) / sizeof(Fap10m_source_chip_id_num_val[0])) - 1, 9341 HAS_DEFAULT | MAY_NOT_APPEAR, (PARAM_VAL *)&Fap10m_source_chip_id_default, 9342 0,0,0,0,0,0,0, 9343 "the entity this cell is originated in.\r\n", 9344 "Examples:\r\n" 9345 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9346 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9347 "", 9348 {BIT(7)}, 9349 (unsigned int)LAST_ORDINAL, 9350 /* 9351 * Pointer to a function to call after symbolic parameter 9352 * has been accepted. 9353 */ 9354 (VAL_PROC_PTR)NULL 9355 }, 9356 { 9357 PARAM_FAP10M_SEND_CELL_BODY_ID, 9358 "body", 9359 (PARAM_VAL_RULES *)&Fap10m_cell_body_num_vals[0], 9360 (sizeof(Fap10m_cell_body_num_vals) / sizeof(Fap10m_cell_body_num_vals[0])) - 1, 9361 HAS_NO_DEFAULT | MUST_APPEAR, (PARAM_VAL *)0, 9362 0,0,0,0,0,0,0, 9363 "the body of the cell.\r\n", 9364 "Examples:\r\n" 9365 " fap10m traffic send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9366 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9367 "", 9368 {BIT(7)}, 9369 (unsigned int)LAST_ORDINAL, 9370 /* 9371 * Pointer to a function to call after symbolic parameter 9372 * has been accepted. 9373 */ 9374 (VAL_PROC_PTR)NULL 9375 }, 9376 { 9377 PARAM_FAP10M_RECV_CELL_ID, 9378 "recv_sr_data_cell", 9379 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9380 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9381 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9382 0,0,0,0,0,0,0, 9383 "recieves a source routed data cell.\r\n", 9384 "Examples:\r\n" 9385 " fap10m traffic recv_sr_data_cell 0x1 \r\n" 9386 "Results in reading a source routed data cell from device 0x1 recieve cell buffer.\r\n", 9387 "", 9388 {BIT(8)}, 9389 2, 9390 /* 9391 * Pointer to a function to call after symbolic parameter 9392 * has been accepted. 9393 */ 9394 (VAL_PROC_PTR)NULL 9395 }, 9396 { 9397 PARAM_FAP10M_DEFRRED_RECV_CELL_ID, 9398 "recv_sr_data_cell", 9399 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9400 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9401 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9402 0,0,0,0,0,0,0, 9403 "deferred receive (interrupt or polling) of a source routed data cell.\r\n", 9404 "Examples:\r\n" 9405 " fap10m deferred recv_sr_data_cell 0x1 interrupt_mode \r\n" 9406 "Results in deferred reading a source routed data cell from device 0x1 \n\r" 9407 " recieve cell buffer, which is triggered by an interrupt.\r\n", 9408 "", 9409 {BIT(9) | BIT(10)}, 9410 2, 9411 /* 9412 * Pointer to a function to call after symbolic parameter 9413 * has been accepted. 9414 */ 9415 (VAL_PROC_PTR)NULL 9416 }, 9417 { 9418 PARAM_DEFERRED_FAP10M_RECV_CELL_POLL_MODE_ID, 9419 "polling_mode", 9420 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9421 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9422 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9423 0,0,0,0,0,0,0, 9424 "Deferred call is triggered by simple polling of the device.\r\n", 9425 "Examples:\r\n" 9426 " fap10m deferred recv_sr_data_cell 0x1 polling_mode polling_rate 50 \r\n" 9427 "Results in deferred reading a source routed data cell from device 0x1 'low'" 9428 " recieve cell buffer, which is triggered by a polling action every 50 ticks.\r\n", 9429 "", 9430 {BIT(9)}, 9431 4, 9432 /* 9433 * Pointer to a function to call after symbolic parameter 9434 * has been accepted. 9435 */ 9436 (VAL_PROC_PTR)NULL 9437 }, 9438 { 9439 PARAM_DEFERRED_FAP10M_RECV_CELL_INT_MODE_ID, 9440 "interrupt_mode", 9441 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9442 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9443 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9444 0,0,0,0,0,0,0, 9445 "Deferred call is triggered by an interrupt of the device.\r\n", 9446 "Examples:\r\n" 9447 " fap10m deferred recv_sr_data_cell 0x1 links range_0-31 interrupt_mode\r\n" 9448 "Results in deferred reading a source routed data cell from device 0x1 'low'" 9449 " recieve cell buffer, which is triggered by an interrupt.\r\n", 9450 "", 9451 {BIT(10)}, 9452 4, 9453 /* 9454 * Pointer to a function to call after symbolic parameter 9455 * has been accepted. 9456 */ 9457 (VAL_PROC_PTR)NULL 9458 }, 9459 /* END fap10m_api_cell.h interface } */ 9460 /* fap10m_api_links.h interface { */ 9461 { 9462 PARAM_FAP10M_LINKS_API_ID, 9463 "links", 9464 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9465 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9466 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9467 0,0,0,0,0,0,0, 9468 "interface to fap10m driver links services.", 9469 "Examples:\r\n" 9470 " fap10m cell_services send_sr_data_cell 0x1 initial_output_link 40 fe2_link 16 fe3_link 22 destination_entity_type fop \r\n" 9471 "Results in sending a source routed data cell through device 0x1 link 40 to a fop.\r\n", 9472 "", 9473 {BIT(11) | BIT(12) | BIT(14) | BIT(27), 9474 0, 9475 0, 9476 BIT(21) }, 9477 1, 9478 /* 9479 * Pointer to a function to call after symbolic parameter 9480 * has been accepted. 9481 */ 9482 (VAL_PROC_PTR)NULL 9483 }, 9484 { 9485 PARAM_FAP10M_LINK_FC_GET_ID, 9486 "get_link_fc", 9487 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9488 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9489 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9490 0,0,0,0,0,0,0, 9491 "gets the status report of the fabric link flow control.\r\n", 9492 "Examples:\r\n" 9493 " fap10m links get_link_fc 0 \r\n" 9494 "Results in printing the ststus fabric link flow control setting.\r\n", 9495 "", 9496 {BIT(11)}, 9497 2, 9498 /* 9499 * Pointer to a function to call after symbolic parameter 9500 * has been accepted. 9501 */ 9502 (VAL_PROC_PTR)NULL 9503 }, 9504 { 9505 PARAM_FAP10M_LINK_FC_SET_ID, 9506 "set_link_fc", 9507 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9508 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9509 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9510 0,0,0,0,0,0,0, 9511 "Enable/Disable the fabric link flow control.\r\n", 9512 "Examples:\r\n" 9513 " fap10m links set_link_fc 0 tx_fc enable rx_fc disable.\r\n" 9514 "Results in setting all the link to have link level flow control\r\n" 9515 "in the transmit direction, and disable the fc in the receiving\r\n" 9516 "direction. Make sure that in the other side of the links, the\r\n" 9517 "receiving is enabled and the transmitting disabled.\r\n", 9518 "", 9519 {0,0,0,BIT(21)}, 9520 2, 9521 /* 9522 * Pointer to a function to call after symbolic parameter 9523 * has been accepted. 9524 */ 9525 (VAL_PROC_PTR)NULL 9526 }, 9527 { 9528 PARAM_FAP10M_LINK_FC_TX_ID, 9529 "tx_fc", 9530 (PARAM_VAL_RULES *)&Fap10m_tx_fc[0], 9531 (sizeof(Fap10m_tx_fc) / sizeof(Fap10m_tx_fc[0])) - 1, 9532 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9533 0,0,0,0,0,0,0, 9534 "Enable/Disable the transmitting side of fabric link flow control.\r\n", 9535 "Examples:\r\n" 9536 " fap10m links set_link_fc 0 tx_fc enable rx_fc disable.\r\n" 9537 "Results in setting all the link to have link level flow control\r\n" 9538 "in the transmit direction, and disable the fc in the receiving\r\n" 9539 "direction. Make sure that in the other side of the links, the\r\n" 9540 "receiving is enabled and the transmitting disabled.\r\n", 9541 "", 9542 {0,0,0,BIT(21)}, 9543 3, 9544 /* 9545 * Pointer to a function to call after symbolic parameter 9546 * has been accepted. 9547 */ 9548 (VAL_PROC_PTR)NULL 9549 }, 9550 { 9551 PARAM_FAP10M_LINK_FC_RX_ID, 9552 "rx_fc", 9553 (PARAM_VAL_RULES *)&Fap10m_enable_disable[0], 9554 (sizeof(Fap10m_enable_disable) / sizeof(Fap10m_enable_disable[0])) - 1, 9555 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9556 0,0,0,0,0,0,0, 9557 "Enable/Disable the receiving side of fabric link flow control.\r\n", 9558 "Examples:\r\n" 9559 " fap10m links set_link_fc 0 rx_fc enable rx_fc disable.\r\n" 9560 "Results in setting all the link to have link level flow control\r\n" 9561 "in the transmit direction, and disable the fc in the receiving\r\n" 9562 "direction. Make sure that in the other side of the links, the\r\n" 9563 "receiving is enabled and the transmitting disabled.\r\n", 9564 "", 9565 {0,0,0,BIT(21)}, 9566 4, 9567 /* 9568 * Pointer to a function to call after symbolic parameter 9569 * has been accepted. 9570 */ 9571 (VAL_PROC_PTR)NULL 9572 }, 9573 { 9574 PARAM_FAP10M_GET_SERDES_PARAMS_ID, 9575 "get_serdes_params", 9576 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9577 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9578 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9579 0,0,0,0,0,0,0, 9580 "gets the status report of all the serdeses.\r\n", 9581 "Examples:\r\n" 9582 " fap10m links get_serdes_params 0x1 \r\n" 9583 "Results in printing the ststus of all serdeses.\r\n", 9584 "", 9585 {BIT(11)}, 9586 2, 9587 /* 9588 * Pointer to a function to call after symbolic parameter 9589 * has been accepted. 9590 */ 9591 (VAL_PROC_PTR)NULL 9592 }, 9593 { 9594 PARAM_FAP10M_SET_SERDES_PD_PARAMS_ID, 9595 "set_serdes_power_down", 9596 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9597 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9598 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9599 0,0,0,0,0,0,0, 9600 "sets the serdes power down/up.\r\n", 9601 "Examples:\r\n" 9602 " fap10m links set_serdes_power_down 0x1 serdes_number 12\r\n" 9603 "Results in setting link#12 to power down.\r\n", 9604 "", 9605 {BIT(27)}, 9606 2, 9607 /* 9608 * Pointer to a function to call after symbolic parameter 9609 * has been accepted. 9610 */ 9611 (VAL_PROC_PTR)NULL 9612 }, 9613 { 9614 PARAM_FAP10M_SET_SERDES_PARAMS_ID, 9615 "set_serdes_params", 9616 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9617 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9618 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9619 0,0,0,0,0,0,0, 9620 "sets the params of a specific serdes (may reset the link).\r\n", 9621 "Examples:\r\n" 9622 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9623 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9624 "Results in setting link#12 to the above values.\r\n", 9625 "", 9626 {BIT(12)}, 9627 2, 9628 /* 9629 * Pointer to a function to call after symbolic parameter 9630 * has been accepted. 9631 */ 9632 (VAL_PROC_PTR)NULL 9633 }, 9634 { 9635 PARAM_FAP10M_SET_SERDES_PARAMS_SERDES_NUMBER_ID, 9636 "serdes_number", 9637 (PARAM_VAL_RULES *)&Fap10m_serdes_number_num_vals[0], 9638 (sizeof(Fap10m_serdes_number_num_vals) / sizeof(Fap10m_serdes_number_num_vals[0])) - 1, 9639 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9640 0,0,0,0,0,0,0, 9641 "sets the params of a specific serdes (may reset the link).\r\n", 9642 "Examples:\r\n" 9643 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9644 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9645 "Results in setting link#12 to the above values.\r\n", 9646 "", 9647 {BIT(12) | BIT(27)}, 9648 3, 9649 /* 9650 * Pointer to a function to call after symbolic parameter 9651 * has been accepted. 9652 */ 9653 (VAL_PROC_PTR)NULL 9654 }, 9655 { 9656 PARAM_FAP10M_SERDES_POWER_UP_ID, 9657 "power_up", 9658 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9659 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9660 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 9661 0,0,0,0,0,0,0, 9662 "Power-up indication.\r\n", 9663 "Examples:\r\n" 9664 " fap10m links set_serdes_power_down 0x1 serdes_number 12 power_up\r\n" 9665 "Results in setting link#12 to power up.\r\n", 9666 "", 9667 {BIT(27)}, 9668 4, 9669 /* 9670 * Pointer to a function to call after symbolic parameter 9671 * has been accepted. 9672 */ 9673 (VAL_PROC_PTR)NULL 9674 }, 9675 { 9676 PARAM_FAP10M_SET_SERDES_PARAMS_AMPLITUDE_ID, 9677 "amplitude", 9678 (PARAM_VAL_RULES *)&Fap10m_serdes_amplitude_num_vals[0], 9679 (sizeof(Fap10m_serdes_amplitude_num_vals) / sizeof(Fap10m_serdes_amplitude_num_vals[0])) - 1, 9680 HAS_DEFAULT,(PARAM_VAL *)&Fap10m_serdes_amplitude_default, 9681 0,0,0,0,0,0,0, 9682 "sets the params of a specific serdes (may reset the link).\r\n", 9683 "Examples:\r\n" 9684 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9685 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9686 "Results in setting link#12 to the above values.\r\n", 9687 "", 9688 {BIT(12)}, 9689 (unsigned int)LAST_ORDINAL, 9690 /* 9691 * Pointer to a function to call after symbolic parameter 9692 * has been accepted. 9693 */ 9694 (VAL_PROC_PTR)NULL 9695 }, 9696 { 9697 PARAM_FAP10M_SET_SERDES_PARAMS_COMMON_MODE_ID, 9698 "common_mode", 9699 (PARAM_VAL_RULES *)&Fap10m_serdes_common_mode_num_vals[0], 9700 (sizeof(Fap10m_serdes_common_mode_num_vals) / sizeof(Fap10m_serdes_common_mode_num_vals[0])) - 1, 9701 HAS_DEFAULT,(PARAM_VAL *)&Fap10m_serdes_common_mode_default, 9702 0,0,0,0,0,0,0, 9703 "sets the params of a specific serdes (may reset the link).\r\n", 9704 "Examples:\r\n" 9705 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9706 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9707 "Results in setting link#12 to the above values.\r\n", 9708 "", 9709 {BIT(12)}, 9710 (unsigned int)LAST_ORDINAL, 9711 /* 9712 * Pointer to a function to call after symbolic parameter 9713 * has been accepted. 9714 */ 9715 (VAL_PROC_PTR)NULL 9716 }, 9717 { 9718 PARAM_FAP10M_SET_SERDES_PARAMS_MAIN_CONTROL_ID, 9719 "main_control", 9720 (PARAM_VAL_RULES *)&Fap10m_serdes_main_control_num_vals[0], 9721 (sizeof(Fap10m_serdes_main_control_num_vals) / sizeof(Fap10m_serdes_main_control_num_vals[0])) - 1, 9722 HAS_DEFAULT,(PARAM_VAL *)&Fap10m_serdes_main_control_default, 9723 0,0,0,0,0,0,0, 9724 "sets the params of a specific serdes (may reset the link).\r\n", 9725 "Examples:\r\n" 9726 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9727 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9728 "Results in setting link#12 to the above values.\r\n", 9729 "", 9730 {BIT(12)}, 9731 (unsigned int)LAST_ORDINAL, 9732 /* 9733 * Pointer to a function to call after symbolic parameter 9734 * has been accepted. 9735 */ 9736 (VAL_PROC_PTR)NULL 9737 }, 9738 { 9739 PARAM_FAP10M_SET_SERDES_PARAMS_POWER_DOWN_RX_TX_ID, 9740 "rx_tx_power_down", 9741 (PARAM_VAL_RULES *)&Fap10m_serdes_power_down_num_vals[0], 9742 (sizeof(Fap10m_serdes_power_down_num_vals) / sizeof(Fap10m_serdes_power_down_num_vals[0])) - 1, 9743 HAS_DEFAULT,(PARAM_VAL *)&Fap10m_serdes_power_down_default, 9744 0,0,0,0,0,0,0, 9745 "sets the params of a specific serdes (may reset the link).\r\n", 9746 "Examples:\r\n" 9747 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9748 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9749 "Results in setting link#12 to the above values.\r\n", 9750 "", 9751 {BIT(12)}, 9752 (unsigned int)LAST_ORDINAL, 9753 /* 9754 * Pointer to a function to call after symbolic parameter 9755 * has been accepted. 9756 */ 9757 (VAL_PROC_PTR)NULL 9758 }, 9759 { 9760 PARAM_FAP10M_SET_SERDES_PARAMS_PRE_EMPHASIS_ID, 9761 "pre_emphasis", 9762 (PARAM_VAL_RULES *)&Fap10m_serdes_pre_emphasis_num_vals[0], 9763 (sizeof(Fap10m_serdes_pre_emphasis_num_vals) / sizeof(Fap10m_serdes_pre_emphasis_num_vals[0])) - 1, 9764 HAS_DEFAULT,(PARAM_VAL *)&Fap10m_serdes_pre_emphasis_default, 9765 0,0,0,0,0,0,0, 9766 "sets the params of a specific serdes (may reset the link).\r\n", 9767 "Examples:\r\n" 9768 " fap10m links set_serdes_params 0x1 serdes_number 12 amplitude 3 common_mode 2\r\n" 9769 " main_control 0 rx_tx_power_down 0 tbg_power_down 0 pre_emphasis 3\r\n" 9770 "Results in setting link#12 to the above values.\r\n", 9771 "", 9772 {BIT(12)}, 9773 (unsigned int)LAST_ORDINAL, 9774 /* 9775 * Pointer to a function to call after symbolic parameter 9776 * has been accepted. 9777 */ 9778 (VAL_PROC_PTR)NULL 9779 }, 9780 { 9781 PARAM_FAP10M_GET_CONNECTIVITY_MAP_ID, 9782 "get_connectivity_map", 9783 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9784 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9785 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9786 0,0,0,0,0,0,0, 9787 "present connectivity map the the chip sees\r\n", 9788 "Examples:\r\n" 9789 " fap10m links get_connectivity_map 0x1 \r\n" 9790 "Results in printing the connectivity map this chip sees.\r\n", 9791 "", 9792 {BIT(11)}, 9793 2, 9794 /* 9795 * Pointer to a function to call after symbolic parameter 9796 * has been accepted. 9797 */ 9798 (VAL_PROC_PTR)NULL 9799 }, 9800 { 9801 PARAM_FAP10M_DEFERRED_GET_CONNECTIVITY_MAP_ID, 9802 "get_connectivity_map", 9803 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9804 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9805 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9806 0,0,0,0,0,0,0, 9807 "gets the status report of all the serdeses.\r\n", 9808 "Examples:\r\n" 9809 " fap10m deferred get_connectivity_map 0x1 \r\n" 9810 "Results in printing the connectivity map this chip sees, and every time it changes.\r\n", 9811 "", 9812 {BIT(13)}, 9813 2, 9814 /* 9815 * Pointer to a function to call after symbolic parameter 9816 * has been accepted. 9817 */ 9818 (VAL_PROC_PTR)NULL 9819 }, 9820 { 9821 PARAM_FAP10M_GET_LINKS_STATUS_ID, 9822 "get_links_status", 9823 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9824 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9825 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9826 0,0,0,0,0,0,0, 9827 "gets status report of all links.\r\n", 9828 "Examples:\r\n" 9829 " fap10m links get_links_status 0x1 list_of_links 0x0 0x1\r\n" 9830 "Results in printing the ststus of link #0.\r\n", 9831 "", 9832 {BIT(14)}, 9833 2, 9834 /* 9835 * Pointer to a function to call after symbolic parameter 9836 * has been accepted. 9837 */ 9838 (VAL_PROC_PTR)NULL 9839 }, 9840 { 9841 PARAM_FAP10M_LIST_OF_LINKS_ID, 9842 "list_of_links", 9843 (PARAM_VAL_RULES *)&Fap10m_list_of_links_num_vals[0], 9844 (sizeof(Fap10m_list_of_links_num_vals) / sizeof(Fap10m_list_of_links_num_vals[0])) - 1, 9845 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 9846 0,0,0,0,0,0,0, 9847 "gets status report of all links.\r\n", 9848 "Examples:\r\n" 9849 " fap10m links get_links_status 0x1 list_of_links 0x0 0x1\r\n" 9850 "Results in printing the ststus of link #1.\r\n", 9851 "", 9852 {BIT(14) | BIT(15) | BIT(19)}, 9853 8,/* just so it would be after polling rate (==6) */ 9854 /* 9855 * Pointer to a function to call after symbolic parameter 9856 * has been accepted. 9857 */ 9858 (VAL_PROC_PTR)NULL 9859 }, 9860 { 9861 PARAM_FAP10M_DEFERRED_GET_LINKS_STATUS_ID, 9862 "get_links_status", 9863 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9864 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9865 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9866 0,0,0,0,0,0,0, 9867 "gets status report of all links.\r\n", 9868 "Examples:\r\n" 9869 " fap10m deferred get_links_status 0x1 list_of_links 0x0 0x1 interrupt_mode \r\n" 9870 "Results in printing the ststus of link #0 when changed.\r\n", 9871 "", 9872 {BIT(15)}, 9873 2, 9874 /* 9875 * Pointer to a function to call after symbolic parameter 9876 * has been accepted. 9877 */ 9878 (VAL_PROC_PTR)NULL 9879 }, 9880 /* END fap10m_api_links.h interface } */ 9881 /* fap10m_api_routing.h interface { */ 9882 { 9883 PARAM_FAP10M_ROUTING_API_ID, 9884 "routing", 9885 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9886 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9887 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9888 0,0,0,0,0,0,0, 9889 "interface to fap10m driver routing services.", 9890 "Examples:\r\n" 9891 " fap10m routing get_unicast_table 0x1 starting_row 125 nof_rows 6\r\n" 9892 "Results in printing the distribution unicast table of\n\r" 9893 " device #1 rows (target FAPs) 125-130.\r\n", 9894 "", 9895 {BIT(16) | BIT(17) | BIT (19) | BIT (20)}, 9896 1, 9897 /* 9898 * Pointer to a function to call after symbolic parameter 9899 * has been accepted. 9900 */ 9901 (VAL_PROC_PTR)NULL 9902 }, 9903 { 9904 PARAM_FAP10M_GET_UNICAST_TABLE_ID, 9905 "get_unicast_table", 9906 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9907 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9908 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9909 0,0,0,0,0,0,0, 9910 "gets (max of 100 entires of) the unicast distribution table of the device.\r\n", 9911 "Examples:\r\n" 9912 " fap10m routing get_unicast_table 0 starting_row 0 nof_rows 2\r\n" 9913 "Results in printing the distribution unicast table of device #0 rows (target FAPs) 0-1.\r\n", 9914 "", 9915 {BIT(17)}, 9916 2, 9917 /* 9918 * Pointer to a function to call after symbolic parameter 9919 * has been accepted. 9920 */ 9921 (VAL_PROC_PTR)NULL 9922 }, 9923 { 9924 PARAM_FAP10M_DEFERRED_GET_UNICAST_TABLE_ID, 9925 "get_unicast_table", 9926 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9927 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9928 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9929 0,0,0,0,0,0,0, 9930 "peridically gets (max of 100 entires of) the unicast distribution table of the device.\r\n", 9931 "Examples:\r\n" 9932 " fap10m deferred get_unicast_table 0x1 starting_row 125 ... \r\n" 9933 "Results in peridically printing the distribution table of device #1 starting at row 125.\r\n", 9934 "", 9935 {BIT(18)}, 9936 2, 9937 /* 9938 * Pointer to a function to call after symbolic parameter 9939 * has been accepted. 9940 */ 9941 (VAL_PROC_PTR)NULL 9942 }, 9943 { 9944 PARAM_FAP10M_STARTING_ROW_ID, 9945 "starting_row", 9946 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9947 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9948 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9949 0,0,0,0,0,0,0, 9950 "gets the unicast distribution table of the device.\r\n", 9951 "Examples:\r\n" 9952 " fap10m deferred get_unicast_table 0x1 ... \r\n" 9953 "Results in peridically printing the distribution table of device #1.\r\n", 9954 "", 9955 {BIT(17) | BIT(18) | BIT(19)}, 9956 3, 9957 /* 9958 * Pointer to a function to call after symbolic parameter 9959 * has been accepted. 9960 */ 9961 (VAL_PROC_PTR)NULL 9962 }, 9963 { 9964 PARAM_FAP10M_NOF_ROWS_ID, 9965 "nof_rows", 9966 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 9967 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 9968 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9969 0,0,0,0,0,0,0, 9970 "gets the unicast distribution table of the device.\r\n", 9971 "Examples:\r\n" 9972 " fap10m deferred get_unicast_table 0x1 ... \r\n" 9973 "Results in peridically printing the distribution table of device #1.\r\n", 9974 "", 9975 {BIT(17) | BIT(18) | BIT(19)}, 9976 4, 9977 /* 9978 * Pointer to a function to call after symbolic parameter 9979 * has been accepted. 9980 */ 9981 (VAL_PROC_PTR)NULL 9982 }, 9983 /* END fap10m_api_routing.h interface } */ 9984 /* fap10m_api_diagnostics.h interface { */ 9985 { 9986 PARAM_FAP10M_DIAGNOSTICS_API_ID, 9987 "diagnostics", 9988 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 9989 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 9990 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 9991 0,0,0,0,0,0,0, 9992 "interface to fap10m driver diagnostics services.", 9993 "Examples:\r\n" 9994 " fap10m diagnostics get_loopback_type 0x1\r\n" 9995 "Results in printing loopback mode device #1 is in.\r\n", 9996 "", 9997 {BIT(21) | BIT(22) | BIT(23)}, 9998 1, 9999 /* 10000 * Pointer to a function to call after symbolic parameter 10001 * has been accepted. 10002 */ 10003 (VAL_PROC_PTR)NULL 10004 }, 10005 { 10006 PARAM_FAP10M_GET_LOOPBACK_ID, 10007 "get_loopback", 10008 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10009 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10010 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10011 0,0,0,0,0,0,0, 10012 "gets the loopback mode the device is in.\r\n", 10013 "Examples:\r\n" 10014 " fap10m diagnostics get_loopback_type 0x1\r\n" 10015 "Results in printing loopback mode device #1 is in.\r\n", 10016 "", 10017 {BIT(21)}, 10018 2, 10019 /* 10020 * Pointer to a function to call after symbolic parameter 10021 * has been accepted. 10022 */ 10023 (VAL_PROC_PTR)NULL 10024 }, 10025 { 10026 PARAM_FAP10M_SET_LOOPBACK_ID, 10027 "set_loopback", 10028 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10029 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10030 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10031 0,0,0,0,0,0,0, 10032 "sets the loopback mode the device is in.\r\n", 10033 "Examples:\r\n" 10034 " fap10m diagnostics set_loopback_type 0x1 local_loop on\r\n" 10035 "Results in setting the loopback mode of device #1 to local loopback.\r\n", 10036 "", 10037 {BIT(22)}, 10038 2, 10039 /* 10040 * Pointer to a function to call after symbolic parameter 10041 * has been accepted. 10042 */ 10043 (VAL_PROC_PTR)NULL 10044 }, 10045 { 10046 PARAM_FAP10M_LOOPBACK_TYPE_ID, 10047 "local_loop", 10048 (PARAM_VAL_RULES *)&Fap10m_local_loopback_on_vals[0], 10049 (sizeof(Fap10m_local_loopback_on_vals) / sizeof(Fap10m_local_loopback_on_vals[0])) - 1, 10050 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10051 0,0,0,0,0,0,0, 10052 "sets the loopback mode the device is in.\r\n", 10053 "Examples:\r\n" 10054 " fap10m diagnostics set_loopback_type 0x1 local_loop on\r\n" 10055 "Results in setting the loopback mode of device #1 to local loopback.\r\n", 10056 "", 10057 {BIT(22)}, 10058 3, 10059 /* 10060 * Pointer to a function to call after symbolic parameter 10061 * has been accepted. 10062 */ 10063 (VAL_PROC_PTR)NULL 10064 }, 10065 { 10066 PARAM_FAP10M_GET_PRBS_MODE_ID, 10067 "get_prbs_mode", 10068 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10069 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10070 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10071 0,0,0,0,0,0,0, 10072 "gets the prbs mode the device is in.\r\n", 10073 "Examples:\r\n" 10074 " fap10m diagnostics get_prbs_mode 0x1\r\n" 10075 "Results in printing the prbs mode of device #1.\r\n", 10076 "", 10077 {BIT(21)}, 10078 2, 10079 /* 10080 * Pointer to a function to call after symbolic parameter 10081 * has been accepted. 10082 */ 10083 (VAL_PROC_PTR)NULL 10084 }, 10085 { 10086 PARAM_FAP10M_SET_PRBS_MODE_ID, 10087 "set_prbs_mode", 10088 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10089 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10090 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10091 0,0,0,0,0,0,0, 10092 "sets the prbs mode of the device\'s MAC module.\n\r", 10093 "Examples:\r\n" 10094 " fap10m diagnostics set_prbs mode 0x1 checker_link 2 generator_link 8 activate_generator on\r\n" 10095 "Results in setting the prbs params of the MAC.\r\n", 10096 "", 10097 {BIT(23)}, 10098 2, 10099 /* 10100 * Pointer to a function to call after symbolic parameter 10101 * has been accepted. 10102 */ 10103 (VAL_PROC_PTR)NULL 10104 }, 10105 { 10106 PARAM_FAP10M_PRBS_CHECKER_LINK_ID, 10107 "checker_link", 10108 (PARAM_VAL_RULES *)&Fap10m_serdes_number_num_vals[0], 10109 (sizeof(Fap10m_serdes_number_num_vals) / sizeof(Fap10m_serdes_number_num_vals[0])) - 1, 10110 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_serdes_number_default, 10111 0,0,0,0,0,0,0, 10112 "sets the link that the device\'s MAC module prbs checkers is sitting on (rx).\r\n", 10113 "Examples:\r\n" 10114 " fap10m diagnostics 0 set_prbs checker_link 2 generator_link 8 activate_generator on activate_checker on\r\n" 10115 "Results in setting the prbs params of MAC.\r\n", 10116 "", 10117 {BIT(23)}, 10118 (unsigned int)LAST_ORDINAL, 10119 /* 10120 * Pointer to a function to call after symbolic parameter 10121 * has been accepted. 10122 */ 10123 (VAL_PROC_PTR)NULL 10124 }, 10125 { 10126 PARAM_FAP10M_PRBS_GENERATOR_LINK_ID, 10127 "generator_links", 10128 (PARAM_VAL_RULES *)&Fap10m_prbs_generator_links[0], 10129 (sizeof(Fap10m_prbs_generator_links) / sizeof(Fap10m_prbs_generator_links[0])) - 1, 10130 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_serdes_number_default, 10131 0,0,0,0,0,0,0, 10132 "sets the links that the device\'s MAC module generate prbs on (tx).\r\n" 10133 "When working with Fap10m_A0, only one generator might be used.\r\n", 10134 "Examples:\r\n" 10135 " fap10m diagnostics set_prbs checker_link 2 generator_links 0 3 4 activate_generator on activate_checker on\r\n" 10136 "Results in setting the prbs params of MAC.\r\n" 10137 "The MAC will generate prbs over links 0,3 and 4 and would count BER errors\r\n" 10138 "on link '0', as this is the default for 'checker_link'", 10139 "", 10140 {BIT(23)}, 10141 (unsigned int)LAST_ORDINAL, 10142 /* 10143 * Pointer to a function to call after symbolic parameter 10144 * has been accepted. 10145 */ 10146 (VAL_PROC_PTR)NULL 10147 }, 10148 { 10149 PARAM_FAP10M_PRBS_ACTIVATE_GENERATOR_ID, 10150 "activate_generator", 10151 (PARAM_VAL_RULES *)&Fap10m_activate_prbs_generator_vals[0], 10152 (sizeof(Fap10m_activate_prbs_generator_vals) / sizeof(Fap10m_activate_prbs_generator_vals[0])) - 1, 10153 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10154 0,0,0,0,0,0,0, 10155 "activates / deactivates device\'s MAC module prbs generator (tx).\r\n", 10156 "Examples:\r\n" 10157 " fap10m diagnostics set_prbs checker_link 1 generator_link 2 activate_generator on activate_checker on\r\n" 10158 "Results in setting the prbs params of MAC.\r\n", 10159 "", 10160 {BIT(23)}, 10161 (unsigned int)LAST_ORDINAL, 10162 /* 10163 * Pointer to a function to call after symbolic parameter 10164 * has been accepted. 10165 */ 10166 (VAL_PROC_PTR)NULL 10167 }, 10168 { 10169 PARAM_FAP10M_PRBS_ACTIVATE_CHECKER_ID, 10170 "activate_checker", 10171 (PARAM_VAL_RULES *)&Fap10m_activate_prbs_checker_vals[0], 10172 (sizeof(Fap10m_activate_prbs_checker_vals) / sizeof(Fap10m_activate_prbs_checker_vals[0])) - 1, 10173 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10174 0,0,0,0,0,0,0, 10175 "activates / deactivates device\'s MAC module prbs checker (rx).\r\n", 10176 "Examples:\r\n" 10177 " fap10m diagnostics set_prbs checker_link 1 generator_link 2 activate_generator on activate_checker on\r\n" 10178 "Results in setting the prbs params of MAC.\r\n", 10179 "", 10180 {BIT(23)}, 10181 (unsigned int)LAST_ORDINAL, 10182 /* 10183 * Pointer to a function to call after symbolic parameter 10184 * has been accepted. 10185 */ 10186 (VAL_PROC_PTR)NULL 10187 }, 10188 { 10189 PARAM_FAP10M_START_PRBS_TEST_ID, 10190 "start_prbs_test", 10191 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10192 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10193 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10194 0,0,0,0,0,0,0, 10195 "starts background collection of ber counters.\r\n", 10196 "Examples:\r\n" 10197 " fap10m diagnostics start_prbs_test 0x1\r\n" 10198 "Results in the background collection of ber counters of device 1.\r\n", 10199 "", 10200 {BIT(21)}, 10201 2, 10202 /* 10203 * Pointer to a function to call after symbolic parameter 10204 * has been accepted. 10205 */ 10206 (VAL_PROC_PTR)NULL 10207 }, 10208 { 10209 PARAM_FAP10M_STOP_PRBS_TEST_ID, 10210 "stop_prbs_test", 10211 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10212 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10213 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10214 0,0,0,0,0,0,0, 10215 "stops background collection of ber counters.\r\n", 10216 "Examples:\r\n" 10217 " fap10m diagnostics stop_prbs_test 0x1\r\n" 10218 "Results in stopping the background collection of ber counters of device 1.\r\n", 10219 "", 10220 {BIT(21)}, 10221 2, 10222 /* 10223 * Pointer to a function to call after symbolic parameter 10224 * has been accepted. 10225 */ 10226 (VAL_PROC_PTR)NULL 10227 }, 10228 { 10229 PARAM_FAP10M_GET_BER_COUNTERS_ID, 10230 "get_ber_counters", 10231 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10232 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10233 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10234 0,0,0,0,0,0,0, 10235 "gets counter report of prbs units.\r\n", 10236 "Examples:\r\n" 10237 " fap10m diagnostics get_ber_counters 0x1\r\n" 10238 "Results in printing the counter report of the 4 prbs units of device 1.\r\n", 10239 "", 10240 {BIT(21)}, 10241 2, 10242 /* 10243 * Pointer to a function to call after symbolic parameter 10244 * has been accepted. 10245 */ 10246 (VAL_PROC_PTR)NULL 10247 }, 10248 { 10249 PARAM_FAP10M_DEFERRED_GET_BER_COUNTERS_ID, 10250 "get_ber_counters", 10251 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10252 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10253 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10254 0,0,0,0,0,0,0, 10255 "gets counter report of prbs units.\r\n", 10256 "Examples:\r\n" 10257 " fap10m deferred get_ber_counters 0x1 polling_rate 60 \r\n" 10258 "Results in printing the counter report of the 4 prbs units of device 1 every second\r\n", 10259 "", 10260 {BIT(24)}, 10261 2, 10262 /* 10263 * Pointer to a function to call after symbolic parameter 10264 * has been accepted. 10265 */ 10266 (VAL_PROC_PTR)NULL 10267 }, 10268 /* END fap10m_api_diagnostics.h interface } */ 10269 /* fap10m_api_statistics.h interface { */ 10270 { 10271 PARAM_FAP10M_STATISTICS_API_ID, 10272 "statistics", 10273 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10274 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10275 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10276 0,0,0,0,0,0,0, 10277 "interface to fap10m driver statistics services.", 10278 "Examples:\r\n" 10279 " fap10m statistics_services get_mac_counter_type 0x1\r\n" 10280 "Results in printing mac rx & tx counter type device #1 is in.\r\n", 10281 "", 10282 {BIT(25)}, 10283 1, 10284 /* 10285 * Pointer to a function to call after symbolic parameter 10286 * has been accepted. 10287 */ 10288 (VAL_PROC_PTR)NULL 10289 }, 10290 { 10291 PARAM_FAP10M_GET_ALL_COUNTERS_ID, 10292 "get_all_counters", 10293 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10294 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10295 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10296 0,0,0,0,0,0,0, 10297 "Gets set of counters that is defined in the statistics section.\n\r" 10298 " Refer to other command to see specific counter meanning.\r\n", 10299 "Examples:\r\n" 10300 " fap10m statistics get_all_counters 0x0\r\n" 10301 "Results in printing all statistics counters of device 0.\r\n", 10302 "", 10303 {BIT(25)}, 10304 2, 10305 /* 10306 * Pointer to a function to call after symbolic parameter 10307 * has been accepted. 10308 */ 10309 (VAL_PROC_PTR)NULL 10310 }, 10311 { 10312 PARAM_FAP10M_GET_OPERATIVE_COUNTERS_ID, 10313 "get_operative_counters", 10314 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10315 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10316 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10317 0,0,0,0,0,0,0, 10318 "Gets set of counters that is defined in the statistics section.\n\r" 10319 " Refer to other command to see specific counter meanning.\r\n", 10320 "Examples:\r\n" 10321 " fap10m statistics get_operative_counters 0x0\r\n" 10322 "Results in printing all operative statistics counters of device 0.\r\n", 10323 "", 10324 {BIT(25)}, 10325 2, 10326 /* 10327 * Pointer to a function to call after symbolic parameter 10328 * has been accepted. 10329 */ 10330 (VAL_PROC_PTR)NULL 10331 }, 10332 { 10333 PARAM_FAP10M_GET_PKT_ADDED_TO_QUEUES_CNT_ID, 10334 "get_pkt_added_to_queues_cnt", 10335 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10336 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10337 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10338 0,0,0,0,0,0,0, 10339 "gets counter report from the FIP about the number of packets\n\r" 10340 " were added to the device queues.\r\n", 10341 "Examples:\r\n" 10342 " fap10m statistics get_pkt_added_to_queues_cnt 0x1\r\n" 10343 "Results in printing the 'Packet Added to Queues Counter' of device 1.\r\n", 10344 "", 10345 {BIT(25)}, 10346 2, 10347 /* 10348 * Pointer to a function to call after symbolic parameter 10349 * has been accepted. 10350 */ 10351 (VAL_PROC_PTR)NULL 10352 }, 10353 { 10354 PARAM_FAP10M_GET_TAIL_DISCARD_PKT_CNT_ID, 10355 "get_tail_discard_pkt_cnt", 10356 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10357 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10358 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10359 0,0,0,0,0,0,0, 10360 "gets counter report from the FIP about the number of packets\n\r" 10361 " were tail-discarded from memory due to the 'drop from front' scheme.\r\n", 10362 "Examples:\r\n" 10363 " fap10m statistics get_tail_discard_pkt_cnt 0x1\r\n" 10364 "Results in printing the 'Tail-Discarded Packet Counter' of device 1.\r\n", 10365 "", 10366 {BIT(25)}, 10367 2, 10368 /* 10369 * Pointer to a function to call after symbolic parameter 10370 * has been accepted. 10371 */ 10372 (VAL_PROC_PTR)NULL 10373 }, 10374 { 10375 PARAM_FAP10M_GET_HEAD_DELETE_PKT_CNT_ID, 10376 "get_head_delete_pkt_cnt", 10377 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10378 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10379 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10380 0,0,0,0,0,0,0, 10381 "gets counter report from the FIP about the number of packets\n\r" 10382 " were head-deleted from memory due to WRED or queue above maximum threshold.\r\n", 10383 "Examples:\r\n" 10384 " fap10m statistics get_head_delete_pkt_cnt 0x1\r\n" 10385 "Results in printing the 'Head-Deleted Packet Counter' of device 1.\r\n", 10386 "", 10387 {BIT(25)}, 10388 2, 10389 /* 10390 * Pointer to a function to call after symbolic parameter 10391 * has been accepted. 10392 */ 10393 (VAL_PROC_PTR)NULL 10394 }, 10395 { 10396 PARAM_FAP10M_GET_GOOD_PKT_CNT_ID, 10397 "get_good_pkt_cnt", 10398 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10399 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10400 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10401 0,0,0,0,0,0,0, 10402 "gets counter report from the FOP about the number of packets\n\r" 10403 " were reassembled with no errors.\r\n", 10404 "Examples:\r\n" 10405 " fap10m statistics get_good_pkt_cnt 0x1\r\n" 10406 "Results in printing the 'Good Packet Counter' of device 1.\r\n", 10407 "", 10408 {BIT(25)}, 10409 2, 10410 /* 10411 * Pointer to a function to call after symbolic parameter 10412 * has been accepted. 10413 */ 10414 (VAL_PROC_PTR)NULL 10415 }, 10416 { 10417 PARAM_FAP10M_GET_ERRONEOUS_PKT_CNT_ID, 10418 "get_erroneous_pkt_cnt", 10419 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10420 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10421 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10422 0,0,0,0,0,0,0, 10423 "gets counter report from the FOP about the number of packets\n\r" 10424 " had errors during reassembly.\r\n", 10425 "Examples:\r\n" 10426 " fap10m statistics get_erroneous_pkt_cnt 0x1\r\n" 10427 "Results in printing the 'Erroneous Packet Counter' of device 1.\r\n", 10428 "", 10429 {BIT(25)}, 10430 2, 10431 /* 10432 * Pointer to a function to call after symbolic parameter 10433 * has been accepted. 10434 */ 10435 (VAL_PROC_PTR)NULL 10436 }, 10437 { 10438 PARAM_FAP10M_DEFERRED_GET_PKT_ADDED_TO_QUEUES_CNT_ID, 10439 "get_pkt_added_to_queues_cnt", 10440 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10441 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10442 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10443 0,0,0,0,0,0,0, 10444 "gets counter report from the FIP about the number of packets\n\r" 10445 " were added to the device queues.\r\n", 10446 "Examples:\r\n" 10447 " fap10m statistics get_pkt_added_to_queues_cnt 0x1\r\n" 10448 "Results in printing the 'Packet Added to Queues Counter' of device 1.\r\n", 10449 "", 10450 {BIT(24)}, 10451 2, 10452 /* 10453 * Pointer to a function to call after symbolic parameter 10454 * has been accepted. 10455 */ 10456 (VAL_PROC_PTR)NULL 10457 }, 10458 { 10459 PARAM_FAP10M_DEFERRED_GET_TAIL_DISCARD_PKT_CNT_ID, 10460 "get_tail_discard_pkt_cnt", 10461 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10462 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10463 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10464 0,0,0,0,0,0,0, 10465 "gets counter report from the FIP about the number of packets\n\r" 10466 " were tail-discarded from memory due to the 'drop from front' scheme.\r\n", 10467 "Examples:\r\n" 10468 " fap10m statistics get_tail_discard_pkt_cnt 0x1\r\n" 10469 "Results in printing the 'Tail-Discarded Packet Counter' of device 1.\r\n", 10470 "", 10471 {BIT(24)}, 10472 2, 10473 /* 10474 * Pointer to a function to call after symbolic parameter 10475 * has been accepted. 10476 */ 10477 (VAL_PROC_PTR)NULL 10478 }, 10479 { 10480 PARAM_FAP10M_DEFERRED_GET_HEAD_DELETE_PKT_CNT_ID, 10481 "get_head_delete_pkt_cnt", 10482 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10483 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10484 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10485 0,0,0,0,0,0,0, 10486 "gets counter report from the FIP about the number of packets\n\r" 10487 " were head-deleted from memory due to WRED or queue above maximum threshold.\r\n", 10488 "Examples:\r\n" 10489 " fap10m statistics get_head_delete_pkt_cnt 0x1\r\n" 10490 "Results in printing the 'Head-Deleted Packet Counter' of device 1.\r\n", 10491 "", 10492 {BIT(24)}, 10493 2, 10494 /* 10495 * Pointer to a function to call after symbolic parameter 10496 * has been accepted. 10497 */ 10498 (VAL_PROC_PTR)NULL 10499 }, 10500 { 10501 PARAM_FAP10M_DEFERRED_GET_GOOD_PKT_CNT_ID, 10502 "get_good_pkt_cnt", 10503 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10504 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10505 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10506 0,0,0,0,0,0,0, 10507 "gets counter report from the FOP about the number of packets\n\r" 10508 " were reassembled with no errors.\r\n", 10509 "Examples:\r\n" 10510 " fap10m statistics get_good_pkt_cnt 0x1\r\n" 10511 "Results in printing the 'Good Packet Counter' of device 1.\r\n", 10512 "", 10513 {BIT(24)}, 10514 2, 10515 /* 10516 * Pointer to a function to call after symbolic parameter 10517 * has been accepted. 10518 */ 10519 (VAL_PROC_PTR)NULL 10520 }, 10521 { 10522 PARAM_FAP10M_DEFERRED_GET_ERRONEOUS_PKT_CNT_ID, 10523 "get_erroneous_pkt_cnt", 10524 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10525 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10526 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10527 0,0,0,0,0,0,0, 10528 "gets counter report from the FOP about the number of packets\n\r" 10529 " had errors during reassembly.\r\n", 10530 "Examples:\r\n" 10531 " fap10m statistics get_erroneous_pkt_cnt 0x1\r\n" 10532 "Results in printing the 'Erroneous Packet Counter' of device 1.\r\n", 10533 "", 10534 {BIT(24)}, 10535 2, 10536 /* 10537 * Pointer to a function to call after symbolic parameter 10538 * has been accepted. 10539 */ 10540 (VAL_PROC_PTR)NULL 10541 }, 10542 /* } END fap10m_api_statistics.h interface */ 10543 /* 10544 * Test API { 10545 */ 10546 { 10547 PARAM_FAP10M_TEST_API_ID, 10548 "tests", 10549 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10550 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10551 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10552 0,0,0,0,0,0,0, 10553 "interface to fap10m driver tests services.\n\r" 10554 " The system need to be configured in a specific configuration.\n\r" 10555 " *NOTE*: All tests may change your FAP configuration - without\n\r" 10556 " restoring it to your original values.", 10557 "Examples:\r\n" 10558 " fap10m tests cells\r\n" 10559 "Results in testing fap10m driver cell module.\r\n" 10560 "In all the tests the system need to be configured as follows:\n\r" 10561 " 1. The fabric is considered working (FE/loopbacks)\n\r" 10562 " 2. The PP is considered UP and initialized with PP-Id is 0\n\r" 10563 " 3. The is considered after its reset sequence (all HW is functional)\n\r" 10564 " FAP-Id is 0.\n\r" 10565 " 4. No traffic should be injected from out side ports.\n\r" 10566 " Unless otherwise is stated.\n\r" 10567 " 5. One ethernet cable should connect from port 4 to 5.\n\r" 10568 " Port 1 and 2 should not be connected.\n\r" 10569 " 6. PP MAC-table: All port on VLAN 1.\n\r" 10570 " MAC address 000000AAAA05 - port 5\n\r" 10571 " MAC address 000000AAAA04 - port 4\n\r", 10572 "", 10573 {BIT(31), 10574 BIT(30) | BIT(31), /**/ 10575 BIT(16) | BIT(17) | BIT(18), /*16: ,17, 18:app*/ 10576 BIT(3) | BIT(4) | BIT(5) | BIT(23) 10577 10578 }, 10579 1, 10580 /* 10581 * Pointer to a function to call after symbolic parameter 10582 * has been accepted. 10583 */ 10584 (VAL_PROC_PTR)NULL 10585 }, 10586 { 10587 PARAM_FAP10M_TEST_APP_ID, 10588 "app", 10589 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10590 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10591 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10592 0,0,0,0,0,0,0, 10593 "activates fap10m test application.\r\n", 10594 "Examples:\r\n" 10595 " fap10m tests app snake_1024\r\n" 10596 "Results in activating 'snake_1024' application.\r\n", 10597 "", 10598 {0, 10599 0, 10600 BIT(17) | BIT(18) 10601 }, 10602 2, 10603 /* 10604 * Pointer to a function to call after symbolic parameter 10605 * has been accepted. 10606 */ 10607 (VAL_PROC_PTR)NULL 10608 }, 10609 { 10610 PARAM_FAP10M_TEST_MEM_READ_DELTA_VALUE_STOP_ID, 10611 "read_addr_stop", 10612 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10613 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10614 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10615 0,0,0,0,0,0,0, 10616 "Stops the running test that checks that a certain field does not pass a threshold on several faps .\r\n", 10617 "Examples:\r\n" 10618 " fap10m tests read_addr_stop\r\n" 10619 "Stops the currently running test.\n\r", 10620 "", 10621 {0, 10622 0, 10623 0, 10624 BIT(3) 10625 }, 10626 2, 10627 /* 10628 * Pointer to a function to call after symbolic parameter 10629 * has been accepted. 10630 */ 10631 (VAL_PROC_PTR)NULL 10632 }, 10633 { 10634 PARAM_FAP10M_TEST_MEM_READ_DELTA_VALUE_START_ID, 10635 "read_addr_start", 10636 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10637 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10638 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10639 0,0,0,0,0,0,0, 10640 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10641 "Examples:\r\n" 10642 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10643 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10644 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10645 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10646 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10647 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10648 " the display will show a routine print to the screen\r\n", 10649 "", 10650 {0, 10651 0, 10652 0, 10653 BIT(4) | BIT(5) 10654 }, 10655 2, 10656 /* 10657 * Pointer to a function to call after symbolic parameter 10658 * has been accepted. 10659 */ 10660 (VAL_PROC_PTR)NULL 10661 }, 10662 { 10663 PARAM_FAP10M_TEST_MEM_READ_OFFSET_ID, 10664 "offset", 10665 (PARAM_VAL_RULES *)&Fap10m_offset_vals[0], 10666 (sizeof(Fap10m_offset_vals) / sizeof(Fap10m_offset_vals[0])) - 1, 10667 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10668 0,0,0,0,0,0,0, 10669 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10670 "Examples:\r\n" 10671 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10672 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10673 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10674 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10675 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10676 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10677 " the display will show a routine print to the screen\r\n", 10678 "", 10679 {0, 10680 0, 10681 0, 10682 BIT(4) | BIT(5) 10683 }, 10684 3, 10685 /* 10686 * Pointer to a function to call after symbolic parameter 10687 * has been accepted. 10688 */ 10689 (VAL_PROC_PTR)NULL 10690 }, 10691 { 10692 PARAM_FAP10M_TEST_MEM_READ_LS_BIT_ID, 10693 "ls_bit", 10694 (PARAM_VAL_RULES *)&Fap10m_bit_vals[0], 10695 (sizeof(Fap10m_bit_vals) / sizeof(Fap10m_bit_vals[0])) - 1, 10696 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10697 0,0,0,0,0,0,0, 10698 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10699 "Examples:\r\n" 10700 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10701 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10702 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10703 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10704 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10705 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10706 " the display will show a routine print to the screen\r\n", 10707 "", 10708 {0, 10709 0, 10710 0, 10711 BIT(4) | BIT(5) 10712 }, 10713 4, 10714 /* 10715 * Pointer to a function to call after symbolic parameter 10716 * has been accepted. 10717 */ 10718 (VAL_PROC_PTR)NULL 10719 }, 10720 { 10721 PARAM_FAP10M_TEST_MEM_READ_MS_BIT_ID, 10722 "ms_bit", 10723 (PARAM_VAL_RULES *)&Fap10m_bit_vals[0], 10724 (sizeof(Fap10m_bit_vals) / sizeof(Fap10m_bit_vals[0])) - 1, 10725 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10726 0,0,0,0,0,0,0, 10727 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10728 "Examples:\r\n" 10729 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10730 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10731 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10732 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10733 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10734 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10735 " the display will show a routine print to the screen\r\n", 10736 "", 10737 {0, 10738 0, 10739 0, 10740 BIT(4) | BIT(5) 10741 }, 10742 5, 10743 /* 10744 * Pointer to a function to call after symbolic parameter 10745 * has been accepted. 10746 */ 10747 (VAL_PROC_PTR)NULL 10748 }, 10749 { 10750 PARAM_FAP10M_TEST_MEM_READ_FAP_IDS_ID, 10751 "fap_ids", 10752 (PARAM_VAL_RULES *)&Fap10m_fap_ids_vals[0], 10753 (sizeof(Fap10m_fap_ids_vals) / sizeof(Fap10m_fap_ids_vals[0])) - 1, 10754 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10755 0,0,0,0,0,0,0, 10756 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10757 "Examples:\r\n" 10758 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10759 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10760 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10761 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10762 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10763 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10764 " the display will show a routine print to the screen\r\n", 10765 "", 10766 {0, 10767 0, 10768 0, 10769 BIT(4) | BIT(5) 10770 }, 10771 6, 10772 /* 10773 * Pointer to a function to call after symbolic parameter 10774 * has been accepted. 10775 */ 10776 (VAL_PROC_PTR)NULL 10777 }, 10778 { 10779 PARAM_FAP10M_TEST_MEM_READ_DELTA_TEST_ID, 10780 "delta_test", 10781 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10782 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10783 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 10784 0,0,0,0,0,0,0, 10785 "Starts a test that checks that the delta of 2 consequtive reads of certain field\r\n" 10786 " does not pass a threshold on several faps .\r\n", 10787 "Examples:\r\n" 10788 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10789 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10790 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10791 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10792 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10793 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10794 " the display will show a routine print to the screen\r\n", 10795 "", 10796 {0, 10797 0, 10798 0, 10799 BIT(4) 10800 }, 10801 7, 10802 /* 10803 * Pointer to a function to call after symbolic parameter 10804 * has been accepted. 10805 */ 10806 (VAL_PROC_PTR)NULL 10807 }, 10808 { 10809 PARAM_FAP10M_TEST_MEM_READ_NORMALIZATION_ID, 10810 "requires_time_normalization", 10811 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10812 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10813 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 10814 0,0,0,0,0,0,0, 10815 "Starts a test that checks that the delta of 2 consequtive reads of certain field normalized\r\n" 10816 " to the (later passed) exact time interval does not pass a threshold on several faps .\r\n", 10817 "Examples:\r\n" 10818 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10819 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10820 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10821 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10822 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10823 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10824 " the display will show a routine print to the screen\r\n", 10825 "", 10826 {0, 10827 0, 10828 0, 10829 BIT(4) 10830 }, 10831 LAST_ORDINAL, 10832 /* 10833 * Pointer to a function to call after symbolic parameter 10834 * has been accepted. 10835 */ 10836 (VAL_PROC_PTR)NULL 10837 }, 10838 { 10839 PARAM_FAP10M_TEST_MEM_READ_VALUE_TEST_ID, 10840 "value_test", 10841 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 10842 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 10843 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 10844 0,0,0,0,0,0,0, 10845 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10846 "Examples:\r\n" 10847 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10848 " value_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10849 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10850 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10851 " 3 system ticks (48 ms). The test will check that the value read from the device\r\n" 10852 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10853 " the display will show a routine print to the screen.\r\n", 10854 "", 10855 {0, 10856 0, 10857 0, 10858 BIT(5) 10859 }, 10860 7, 10861 /* 10862 * Pointer to a function to call after symbolic parameter 10863 * has been accepted. 10864 */ 10865 (VAL_PROC_PTR)NULL 10866 }, 10867 { 10868 PARAM_FAP10M_TEST_MEM_READ_HIGH_BOUND_ID, 10869 "higher_bound", 10870 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10871 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10872 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 10873 0,0,0,0,0,0,0, 10874 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10875 "Examples:\r\n" 10876 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10877 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10878 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10879 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10880 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10881 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10882 " the display will show a routine print to the screen\r\n", 10883 "", 10884 {0, 10885 0, 10886 0, 10887 BIT(4) | BIT(5) 10888 }, 10889 LAST_ORDINAL, 10890 /* 10891 * Pointer to a function to call after symbolic parameter 10892 * has been accepted. 10893 */ 10894 (VAL_PROC_PTR)NULL 10895 }, 10896 { 10897 PARAM_FAP10M_TEST_MEM_READ_LOW_BOUND_ID, 10898 "lower_bound", 10899 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10900 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10901 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 10902 0,0,0,0,0,0,0, 10903 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10904 "Examples:\r\n" 10905 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10906 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10907 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10908 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10909 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10910 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10911 " the display will show a routine print to the screen\r\n", 10912 "", 10913 {0, 10914 0, 10915 0, 10916 BIT(4) | BIT(5) 10917 }, 10918 LAST_ORDINAL, 10919 /* 10920 * Pointer to a function to call after symbolic parameter 10921 * has been accepted. 10922 */ 10923 (VAL_PROC_PTR)NULL 10924 }, 10925 { 10926 PARAM_FAP10M_TEST_MEM_READ_SYS_TICKS_ID, 10927 "polling_rate_in_system_ticks", 10928 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10929 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10930 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10931 0,0,0,0,0,0,0, 10932 "A system tick is approx 16 ms (60 ticks in a second).\r\n", 10933 "Examples:\r\n" 10934 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10935 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10936 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10937 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10938 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10939 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10940 " the display will show a routine print to the screen\r\n", 10941 "", 10942 {0, 10943 0, 10944 0, 10945 BIT(4) | BIT(5) 10946 }, 10947 LAST_ORDINAL, 10948 /* 10949 * Pointer to a function to call after symbolic parameter 10950 * has been accepted. 10951 */ 10952 (VAL_PROC_PTR)NULL 10953 }, 10954 { 10955 PARAM_FAP10M_TEST_MEM_READ_PRINT_INTERVAL_ID, 10956 "routine_printout_every", 10957 (PARAM_VAL_RULES *)&Fap10m_print_interval_vals[0], 10958 (sizeof(Fap10m_print_interval_vals) / sizeof(Fap10m_print_interval_vals[0])) - 1, 10959 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10960 0,0,0,0,0,0,0, 10961 "Starts a test that checks that a certain field does not pass a threshold on several faps .\r\n", 10962 "Examples:\r\n" 10963 " fap10m read_addr_start offset 0xbe00 ms_bit 28 ls_bit 16 fap_ids 0 1 2 3 \r\n" 10964 " delta_test requires_time_normaliztion higher_bound 50 lower_bound 10 \r\n" 10965 " polling_rate_in_system_ticks 3 routine_printout_every 1_hour\r\n" 10966 "Results in registering a polling serivce on the 4 faps above. The polling rate will be\n\r" 10967 " 3 system ticks (48 ms). The test will check that the delta value between 2 conswqutive calls\r\n" 10968 " is not greater then 50 and not lower then 10. If both thresholds are not passed in one hour\r\n" 10969 " the display will show a routine print to the screen\r\n", 10970 "", 10971 {0, 10972 0, 10973 0, 10974 BIT(4) | BIT(5) 10975 }, 10976 LAST_ORDINAL, 10977 /* 10978 * Pointer to a function to call after symbolic parameter 10979 * has been accepted. 10980 */ 10981 (VAL_PROC_PTR)NULL 10982 }, 10983 { 10984 PARAM_FAP10M_TEST_APP_SET_QUEUE_LABEL_GROUP_ID, 10985 "set_queue_label_group", 10986 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 10987 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 10988 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 10989 0,0,0,0,0,0,0, 10990 "Rapid LBP unicast table setting app.\r\n", 10991 "Examples:\r\n" 10992 " fap10m tests app set_queue_label_group 0 start_fap_id 0 nof_fap_ids 128 start_queue_id 8188 queue_block_size 64\r\n" 10993 "Open on FAP 0 (driver id not FAP-id), at the LBP unicast table 128 tatget faps starting at fap 0.\n\r" 10994 " The queue number to use are 8188, 60, 124, ... (all module 8K).\r\n", 10995 "", 10996 {0, 10997 0, 10998 BIT(18) 10999 }, 11000 3, 11001 /* 11002 * Pointer to a function to call after symbolic parameter 11003 * has been accepted. 11004 */ 11005 (VAL_PROC_PTR)NULL 11006 }, 11007 { 11008 PARAM_FAP10M_NOF_FAP_IDS_ID, 11009 "nof_fap_ids", 11010 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 11011 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 11012 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11013 0,0,0,0,0,0,0, 11014 "Number of target faps to use\r\n", 11015 "Examples:\r\n" 11016 " fap10m tests app set_queue_label_group 0 start_fap_id 0 nof_fap_ids 128 start_queue_id 8188 queue_block_size 64\r\n" 11017 "Open on FAP 0 (driver id not FAP-id), at the LBP unicast table 128 tatget faps starting at fap 0.\n\r" 11018 " The queue number to use are 8188, 60, 124, ... (all module 8K).\r\n", 11019 "", 11020 {0, 11021 0, 11022 BIT(18) 11023 }, 11024 LAST_ORDINAL, 11025 /* 11026 * Pointer to a function to call after symbolic parameter 11027 * has been accepted. 11028 */ 11029 (VAL_PROC_PTR)NULL 11030 }, 11031 { 11032 PARAM_FAP10M_START_QUEUE_ID_ID, 11033 "start_queue_id", 11034 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 11035 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 11036 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11037 0,0,0,0,0,0,0, 11038 "Start queue id to set\r\n", 11039 "Examples:\r\n" 11040 " fap10m tests app set_queue_label_group 0 start_fap_id 0 nof_fap_ids 128 start_queue_id 8188 queue_block_size 64\r\n" 11041 "Open on FAP 0 (driver id not FAP-id), at the LBP unicast table 128 tatget faps starting at fap 0.\n\r" 11042 " The queue number to use are 8188, 60, 124, ... (all module 8K).\r\n", 11043 "", 11044 {0, 11045 0, 11046 BIT(18) 11047 }, 11048 LAST_ORDINAL, 11049 /* 11050 * Pointer to a function to call after symbolic parameter 11051 * has been accepted. 11052 */ 11053 (VAL_PROC_PTR)NULL 11054 }, 11055 { 11056 PARAM_FAP10M_TARGET_FAP_ID_ID, 11057 "start_fap_id", 11058 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 11059 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 11060 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11061 0,0,0,0,0,0,0, 11062 "Start fap id to set\r\n", 11063 "Examples:\r\n" 11064 " fap10m tests app set_queue_label_group 0 start_fap_id 0 nof_fap_ids 128 start_queue_id 8188 queue_block_size 64\r\n" 11065 "Open on FAP 0 (driver id not FAP-id), at the LBP unicast table 128 tatget faps starting at fap 0.\n\r" 11066 " The queue number to use are 8188, 60, 124, ... (all module 8K).\r\n", 11067 "", 11068 {0, 11069 0, 11070 BIT(18) 11071 }, 11072 LAST_ORDINAL, 11073 /* 11074 * Pointer to a function to call after symbolic parameter 11075 * has been accepted. 11076 */ 11077 (VAL_PROC_PTR)NULL 11078 }, 11079 { 11080 PARAM_FAP10M_QUEUE_BLOCK_SIZE_ID, 11081 "queue_block_size", 11082 (PARAM_VAL_RULES *)&Fap10m_nof_queues[0], 11083 (sizeof(Fap10m_nof_queues) / sizeof(Fap10m_nof_queues[0])) - 1, 11084 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11085 0,0,0,0,0,0,0, 11086 "How many queues to add in every table entry.\r\n", 11087 "Examples:\r\n" 11088 " fap10m tests app set_queue_label_group 0 start_fap_id 0 nof_fap_ids 128 start_queue_id 8188 queue_block_size 64\r\n" 11089 "Open on FAP 0 (driver id not FAP-id), at the LBP unicast table 128 tatget faps starting at fap 0.\n\r" 11090 " The queue number to use are 8188, 60, 124, ... (all module 8K).\r\n", 11091 "", 11092 {0, 11093 0, 11094 BIT(18) 11095 }, 11096 LAST_ORDINAL, 11097 /* 11098 * Pointer to a function to call after symbolic parameter 11099 * has been accepted. 11100 */ 11101 (VAL_PROC_PTR)NULL 11102 }, 11103 { 11104 PARAM_FAP10M_TEST_APP_OPEN_FLOW_QUEUE_GROUP_ID, 11105 "open_queue_flow_group", 11106 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11107 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11108 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11109 0,0,0,0,0,0,0, 11110 "Rapid flow/queue app.\r\n", 11111 "Examples:\r\n" 11112 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11113 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11114 " the start queue and flow ids are 4. Number of flow before port\n\r" 11115 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11116 " (8 will not be used).\r\n", 11117 11118 "", 11119 {0, 11120 0, 11121 BIT(17) 11122 }, 11123 3, 11124 /* 11125 * Pointer to a function to call after symbolic parameter 11126 * has been accepted. 11127 */ 11128 (VAL_PROC_PTR)NULL 11129 }, 11130 { 11131 PARAM_FAP10M_TARGET_FAP_ID_ID, 11132 "target_fap_id", 11133 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 11134 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 11135 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11136 0,0,0,0,0,0,0, 11137 "Target fap to use\r\n", 11138 "Examples:\r\n" 11139 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11140 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11141 " the start queue and flow ids are 4. Number of flow before port\n\r" 11142 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11143 " (8 will not be used).\r\n", 11144 "", 11145 {0, 11146 0, 11147 BIT(17) 11148 }, 11149 LAST_ORDINAL, 11150 /* 11151 * Pointer to a function to call after symbolic parameter 11152 * has been accepted. 11153 */ 11154 (VAL_PROC_PTR)NULL 11155 }, 11156 { 11157 PARAM_FAP10M_QUEUE_ID_ID, 11158 "start_queue_id", 11159 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 11160 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 11161 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11162 0,0,0,0,0,0,0, 11163 "The first queue id to use.\r\n", 11164 "Examples:\r\n" 11165 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11166 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11167 " the start queue and flow ids are 4. Number of flow before port\n\r" 11168 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11169 " (8 will not be used).\r\n", 11170 "", 11171 {0, 11172 0, 11173 BIT(17) 11174 }, 11175 LAST_ORDINAL, 11176 /* 11177 * Pointer to a function to call after symbolic parameter 11178 * has been accepted. 11179 */ 11180 (VAL_PROC_PTR)NULL 11181 }, 11182 { 11183 PARAM_FAP10M_FLOW_ID_ID, 11184 "start_flow_id", 11185 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 11186 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 11187 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11188 0,0,0,0,0,0,0, 11189 "The first flow id to use.\r\n", 11190 "Examples:\r\n" 11191 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11192 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11193 " the start queue and flow ids are 4. Number of flow before port\n\r" 11194 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11195 " (8 will not be used).\r\n", 11196 "", 11197 {0, 11198 0, 11199 BIT(17) 11200 }, 11201 LAST_ORDINAL, 11202 /* 11203 * Pointer to a function to call after symbolic parameter 11204 * has been accepted. 11205 */ 11206 (VAL_PROC_PTR)NULL 11207 }, 11208 { 11209 PARAM_FAP10M_NOF_QUEUES_ID, 11210 "nof_queue_flow", 11211 (PARAM_VAL_RULES *)&Fap10m_nof_queues[0], 11212 (sizeof(Fap10m_nof_queues) / sizeof(Fap10m_nof_queues[0])) - 1, 11213 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11214 0,0,0,0,0,0,0, 11215 "Total number of queues/flows to open.\r\n", 11216 "Examples:\r\n" 11217 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11218 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11219 " the start queue and flow ids are 4. Number of flow before port\n\r" 11220 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11221 " (8 will not be used).\r\n", 11222 "", 11223 {0, 11224 0, 11225 BIT(17) 11226 }, 11227 LAST_ORDINAL, 11228 /* 11229 * Pointer to a function to call after symbolic parameter 11230 * has been accepted. 11231 */ 11232 (VAL_PROC_PTR)NULL 11233 }, 11234 { 11235 PARAM_FAP10M_NOF_FLOWS_PER_PORT_ID, 11236 "nof_flows_per_port", 11237 (PARAM_VAL_RULES *)&Fap10m_nof_queues[0], 11238 (sizeof(Fap10m_nof_queues) / sizeof(Fap10m_nof_queues[0])) - 1, 11239 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11240 0,0,0,0,0,0,0, 11241 "Number of flows before the port number get incremented.\r\n", 11242 "Examples:\r\n" 11243 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11244 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11245 " the start queue and flow ids are 4. Number of flow before port\n\r" 11246 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11247 " (8 will not be used).\r\n", 11248 "", 11249 {0, 11250 0, 11251 BIT(17) 11252 }, 11253 LAST_ORDINAL, 11254 /* 11255 * Pointer to a function to call after symbolic parameter 11256 * has been accepted. 11257 */ 11258 (VAL_PROC_PTR)NULL 11259 }, 11260 { 11261 PARAM_FAP10M_QOS_SCHEME_ID, 11262 "qos_scheme", 11263 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11264 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11265 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11266 0,0,0,0,0,0,0, 11267 "Quality of service scheme.\r\n" 11268 "0 - edf0 for all flows, free param the Kilo Bit Sec.\n\r" 11269 "1 - edf1 for all flows, free param the Kilo Bit Sec\n\r" 11270 "2 - wfq for all the wheels, free param the weight .\n\r" 11271 "3 - edf0 for all the wheels, Kilo Bit Sec start at 0 and increments by free param.\n\r" 11272 "4 - edf1 for all the wheels, Kilo Bit Sec start at 0 and increments by free param.\n\r" 11273 "5 - edf0 for one flow, edf1 for the second flow, free param the Kilo Bit Sec.\n\r" 11274 "6 - 6 - edf1 for one flow free param the Kilo Bit Sec, wfq for the other flow weight - 30.\n\r" 11275 "7 - rcy flow for each wheel free param the weight\n\r" 11276 "8 - edf0,edf1 for even flows free param the Kilo Bit Sec,\n\r" 11277 " wfq for odd flows weight - 30.\n\r" 11278 " FSF 8 ==> 3 sub flows on one flows\n\r" 11279 "9 - edf0,edf1 for even flows free param the Kilo Bit Sec,\n\r" 11280 " wfq for odd flows weight - 30, edf0 for odd flows minimum BW.\n\r" 11281 " FSF 4 ==> 4 sub flows on one flows\n\r", 11282 "Examples:\r\n" 11283 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11284 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11285 " the start queue and flow ids are 4. Number of flow before port\n\r" 11286 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11287 " (8 will not be used).\r\n", 11288 "", 11289 {0, 11290 0, 11291 BIT(17) 11292 }, 11293 LAST_ORDINAL, 11294 /* 11295 * Pointer to a function to call after symbolic parameter 11296 * has been accepted. 11297 */ 11298 (VAL_PROC_PTR)NULL 11299 }, 11300 { 11301 PARAM_FAP10M_QOS_FREE_PARAM_ID, 11302 "qos_free_param", 11303 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11304 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11305 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11306 0,0,0,0,0,0,0, 11307 "Quality of service parameter, changes with respect to the QOS scheme.\r\n" 11308 "0 - edf0 for all flows, free param the Kilo Bit Sec.\n\r" 11309 "1 - edf1 for all flows, free param the Kilo Bit Sec\n\r" 11310 "2 - wfq for all the wheels, free param the weight .\n\r" 11311 "3 - edf0 for all the wheels, Kilo Bit Sec start at 0 and increments by free param.\n\r" 11312 "4 - edf1 for all the wheels, Kilo Bit Sec start at 0 and increments by free param.\n\r" 11313 "5 - edf0 for one flow, edf1 for the second flow, free param the Kilo Bit Sec.\n\r" 11314 "6 - 6 - edf1 for one flow free param the Kilo Bit Sec, wfq for the other flow weight - 30.\n\r" 11315 "7 - rcy flow for each wheel free param the weight\n\r" 11316 "8 - edf0,edf1 for even flows free param the Kilo Bit Sec,\n\r" 11317 " wfq for odd flows weight - 30.\n\r" 11318 " FSF 8 ==> 3 sub flows on one flows\n\r" 11319 "9 - edf0,edf1 for even flows free param the Kilo Bit Sec,\n\r" 11320 " wfq for odd flows weight - 30, edf0 for odd flows minimum BW.\n\r" 11321 " FSF 4 ==> 4 sub flows on one flows\n\r", 11322 "Examples:\r\n" 11323 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11324 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11325 " the start queue and flow ids are 4. Number of flow before port\n\r" 11326 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11327 " (8 will not be used).\r\n", 11328 "", 11329 {0, 11330 0, 11331 BIT(17) 11332 }, 11333 LAST_ORDINAL, 11334 /* 11335 * Pointer to a function to call after symbolic parameter 11336 * has been accepted. 11337 */ 11338 (VAL_PROC_PTR)NULL 11339 }, 11340 { 11341 PARAM_FAP10M_START_PORT_ID_ID, 11342 "start_port_id", 11343 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_vals[0], 11344 (sizeof(Fap10m_scheduler_port_id_vals) / sizeof(Fap10m_scheduler_port_id_vals[0])) - 1, 11345 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11346 0,0,0,0,0,0,0, 11347 "The first port number.\r\n", 11348 "Examples:\r\n" 11349 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11350 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11351 " the start queue and flow ids are 4. Number of flow before port\n\r" 11352 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11353 " (8 will not be used).\r\n", 11354 "", 11355 {0, 11356 0, 11357 BIT(17) 11358 }, 11359 LAST_ORDINAL, 11360 /* 11361 * Pointer to a function to call after symbolic parameter 11362 * has been accepted. 11363 */ 11364 (VAL_PROC_PTR)NULL 11365 }, 11366 { 11367 PARAM_FAP10M_NOF_PORTS_ID, 11368 "nof_ports", 11369 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_vals[0], 11370 (sizeof(Fap10m_scheduler_port_id_vals) / sizeof(Fap10m_scheduler_port_id_vals[0])) - 1, 11371 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11372 0,0,0,0,0,0,0, 11373 "Number of ports.\r\n", 11374 "Examples:\r\n" 11375 " fap10m tests app open_queue_flow_group 0 target_fap_id 0 start_queue_id 4 start_flow_id 4 nof_queue_flow 800 nof_flows_per_port 64 start_port_id 0 nof_ports 8 qos_scheme 0 qos_free_param 10000\r\n" 11376 "Open on FAP 0 (driver id), 800 flows/queues, both use target fap id - 0,\n\r" 11377 " the start queue and flow ids are 4. Number of flow before port\n\r" 11378 " is incrementing is 64, port number will run from 0 and will wrap at 8\n\r" 11379 " (8 will not be used).\r\n", 11380 "", 11381 {0, 11382 0, 11383 BIT(17) 11384 }, 11385 LAST_ORDINAL, 11386 /* 11387 * Pointer to a function to call after symbolic parameter 11388 * has been accepted. 11389 */ 11390 (VAL_PROC_PTR)NULL 11391 }, 11392 { 11393 PARAM_FAP10M_TEST_SCENARIO_PKT_ID, 11394 "packet_utils", 11395 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11396 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11397 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11398 0,0,0,0,0,0,0, 11399 "activates fap10m cells test.\r\n", 11400 "Examples:\r\n" 11401 " fap10m tests packet_utils send_packet_test_fdt 0 target_fap_id 0 pattern 0xFF0022FF pkt_byte_size 1024 nof_pkts 1000\r\n" 11402 "Results in activating packet tests.\r\n", 11403 "", 11404 {0, 11405 BIT(30) | BIT(31), 11406 BIT(16)}, 11407 2, 11408 /* 11409 * Pointer to a function to call after symbolic parameter 11410 * has been accepted. 11411 */ 11412 (VAL_PROC_PTR)NULL 11413 }, 11414 { 11415 PARAM_FAP10M_TEST_SCENARIO_1_ID, 11416 "cells", 11417 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11418 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11419 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11420 0,0,0,0,0,0,0, 11421 "activates fap10m cell test.\r\n", 11422 "Examples:\r\n" 11423 " fap10m test cells\r\n" 11424 "Results in activating cells tests using direct/deferred.\r\n", 11425 "", 11426 {BIT(31)}, 11427 2, 11428 /* 11429 * Pointer to a function to call after symbolic parameter 11430 * has been accepted. 11431 */ 11432 (VAL_PROC_PTR)NULL 11433 }, 11434 { 11435 PARAM_FAP10M_TEST_SCENARIO_2_ID, 11436 "sch_flows", 11437 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11438 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11439 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11440 0,0,0,0,0,0,0, 11441 "activates fap10m scheduler-flows test.\r\n", 11442 "Examples:\r\n" 11443 " fap10m test sch_flows\r\n" 11444 "Results in activating scheduler-flows tests.\r\n", 11445 "", 11446 {BIT(31)}, 11447 2, 11448 /* 11449 * Pointer to a function to call after symbolic parameter 11450 * has been accepted. 11451 */ 11452 (VAL_PROC_PTR)NULL 11453 }, 11454 { 11455 PARAM_FAP10M_TEST_SCENARIO_3_ID, 11456 "sch_ports", 11457 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11458 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11459 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11460 0,0,0,0,0,0,0, 11461 "activates fap10m scheduler-ports test.\r\n", 11462 "Examples:\r\n" 11463 " fap10m test sch_ports\r\n" 11464 "Results in activating scheduler-ports tests.\r\n", 11465 "", 11466 {BIT(31)}, 11467 2, 11468 /* 11469 * Pointer to a function to call after symbolic parameter 11470 * has been accepted. 11471 */ 11472 (VAL_PROC_PTR)NULL 11473 }, 11474 { 11475 PARAM_FAP10M_TEST_SCENARIO_4_ID, 11476 "packets", 11477 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11478 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11479 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11480 0,0,0,0,0,0,0, 11481 "activates fap10m traffic test.\r\n", 11482 "Examples:\r\n" 11483 " fap10m test packets\r\n" 11484 "Results in activating pakcets tests using direct/deferred.\r\n", 11485 "", 11486 {BIT(31)}, 11487 2, 11488 /* 11489 * Pointer to a function to call after symbolic parameter 11490 * has been accepted. 11491 */ 11492 (VAL_PROC_PTR)NULL 11493 }, 11494 { 11495 PARAM_FAP10M_TEST_SCENARIO_5_ID, 11496 "links", 11497 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11498 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11499 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11500 0,0,0,0,0,0,0, 11501 "activates fap10m links test.\r\n", 11502 "Examples:\r\n" 11503 " fap10m test links\r\n" 11504 "Results in activating links tests using direct and deferred calls.\r\n", 11505 "", 11506 {BIT(31)}, 11507 2, 11508 /* 11509 * Pointer to a function to call after symbolic parameter 11510 * has been accepted. 11511 */ 11512 (VAL_PROC_PTR)NULL 11513 }, 11514 { 11515 PARAM_FAP10M_TEST_SCENARIO_6_ID, 11516 "routing", 11517 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11518 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11519 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11520 0,0,0,0,0,0,0, 11521 "activates fap10m routing test.\r\n", 11522 "Examples:\r\n" 11523 " fap10m test_scenario_routing direct \r\n" 11524 "Results in activating routing tests using direct (and not deferred calls).\r\n", 11525 "", 11526 {BIT(31)}, 11527 2, 11528 /* 11529 * Pointer to a function to call after symbolic parameter 11530 * has been accepted. 11531 */ 11532 (VAL_PROC_PTR)NULL 11533 }, 11534 { 11535 PARAM_FAP10M_TEST_SCENARIO_7_ID, 11536 "statistics", 11537 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11538 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11539 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11540 0,0,0,0,0,0,0, 11541 "activates fap10m statistics test.\r\n", 11542 "Examples:\r\n" 11543 " fap10m test_scenario_statistics direct \r\n" 11544 "Results in activating statistics tests using direct (and not deferred calls).\r\n", 11545 "", 11546 {BIT(31)}, 11547 2, 11548 /* 11549 * Pointer to a function to call after symbolic parameter 11550 * has been accepted. 11551 */ 11552 (VAL_PROC_PTR)NULL 11553 }, 11554 { 11555 PARAM_FAP10M_TEST_SCENARIO_8_ID, 11556 "diagnostics", 11557 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11558 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11559 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11560 0,0,0,0,0,0,0, 11561 "activates fap10m diagnostics test.\r\n", 11562 "Examples:\r\n" 11563 " fap10m tests diagnostics nof_packets 22\r\n" 11564 "Results in activating diagnostics tests using direct (and not deferred calls).\r\n", 11565 "", 11566 {0,0,0, BIT(23)}, 11567 2, 11568 /* 11569 * Pointer to a function to call after symbolic parameter 11570 * has been accepted. 11571 */ 11572 (VAL_PROC_PTR)NULL 11573 }, 11574 { 11575 PARAM_FAP10M_TEST_SCENARIO_8_NOF_PACKETS_ID, 11576 "nof_packets", 11577 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11578 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11579 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11580 0,0,0,0,0,0,0, 11581 "activates fap10m diagnostics test .\r\n", 11582 "Examples:\r\n" 11583 " fap10m tests diagnostics nof_packets 22\r\n" 11584 "Results in activating diagnostics tests using direct (and not deferred calls).\r\n", 11585 "", 11586 {0,0,0, BIT(23)}, 11587 3, 11588 /* 11589 * Pointer to a function to call after symbolic parameter 11590 * has been accepted. 11591 */ 11592 (VAL_PROC_PTR)NULL 11593 }, 11594 { 11595 PARAM_FAP10M_TEST_SCENARIO_9_ID, 11596 "general", 11597 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11598 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11599 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11600 0,0,0,0,0,0,0, 11601 "activates fap10m agent general module test.\r\n", 11602 "Examples:\r\n" 11603 " fap10m test general\r\n" 11604 "Results in activating test on the general module through the FMC.\r\n", 11605 "", 11606 {BIT(31)}, 11607 2, 11608 /* 11609 * Pointer to a function to call after symbolic parameter 11610 * has been accepted. 11611 */ 11612 (VAL_PROC_PTR)NULL 11613 }, 11614 { 11615 PARAM_FAP10M_TEST_SCENARIO_10_ID, 11616 "spatial_multicast", 11617 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11618 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11619 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11620 0,0,0,0,0,0,0, 11621 "activates fap10m agent spatial-multicast module test.\r\n", 11622 "Examples:\r\n" 11623 " fap10m test spatial_multicast\r\n" 11624 "Results in activating test on the spatial-multicast module through the FMC.\r\n", 11625 "", 11626 {BIT(31)}, 11627 2, 11628 /* 11629 * Pointer to a function to call after symbolic parameter 11630 * has been accepted. 11631 */ 11632 (VAL_PROC_PTR)NULL 11633 }, 11634 { 11635 PARAM_FAP10M_TEST_SCENARIO_11_ID, 11636 "recycle_multicast", 11637 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11638 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11639 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11640 0,0,0,0,0,0,0, 11641 "activates fap10m agent recycle-multicast module test.\r\n", 11642 "Examples:\r\n" 11643 " fap10m test recycle_multicast\r\n" 11644 "Results in activating test on the recycle-multicast module through the FMC.\r\n", 11645 "", 11646 {BIT(31)}, 11647 2, 11648 /* 11649 * Pointer to a function to call after symbolic parameter 11650 * has been accepted. 11651 */ 11652 (VAL_PROC_PTR)NULL 11653 }, 11654 { 11655 PARAM_FAP10M_TEST_SCENARIO_12_ID, 11656 "configuration", 11657 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11658 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11659 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11660 0,0,0,0,0,0,0, 11661 "activates fap10m agent configuration module test.\r\n", 11662 "Examples:\r\n" 11663 " fap10m test configuration\r\n" 11664 "Results in activating test on the configuration module through the FMC.\r\n", 11665 "", 11666 {BIT(31)}, 11667 2, 11668 /* 11669 * Pointer to a function to call after symbolic parameter 11670 * has been accepted. 11671 */ 11672 (VAL_PROC_PTR)NULL 11673 }, 11674 { 11675 PARAM_FAP10M_TEST_SSR_RESET_ID, 11676 "ssr_reset", 11677 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11678 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11679 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 11680 0,0,0,0,0,0,0, 11681 "performs fap10m ssr reset.\r\n", 11682 "Examples:\r\n" 11683 "fap10m test init_close \r\n" 11684 "Results in activating test performing ssr save, restarting the application and loading ssr data \r\n", 11685 "", 11686 {BIT(31)}, 11687 2, 11688 /* 11689 * Pointer to a function to call after symbolic parameter 11690 * has been accepted. 11691 */ 11692 (VAL_PROC_PTR)NULL 11693 }, 11694 { 11695 PARAM_FAP10M_SEND_PACKET_TEST_FDT_ID, 11696 "send_packet_test_fdt", 11697 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11698 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11699 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11700 0,0,0,0,0,0,0, 11701 "This procedure transmits packets through the FDT\n\r" 11702 " and expect to recive them through the CPU interface.\r\n" 11703 " It them check that the packet payload was unchanged.", 11704 "Examples:\r\n" 11705 " fap10m tests packets send_packet_test_fdt 0 nof_pkts 10 target_fap_id 0\r\n" 11706 "Results in sending to 10 packets to FAP with id of 0, from device 0\r\n" 11707 " and than check there payload.\r\n", 11708 "", 11709 {0, 11710 BIT(30) }, 11711 3, 11712 /* 11713 * Pointer to a function to call after symbolic parameter 11714 * has been accepted. 11715 */ 11716 (VAL_PROC_PTR)NULL 11717 }, 11718 { 11719 PARAM_FAP10M_SEND_PACKET_TEST_PP_ID, 11720 "send_packet_to_pp", 11721 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11722 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11723 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11724 0,0,0,0,0,0,0, 11725 "This procedure transmits packets through the FDT\n\r" 11726 " and expect to receive them through the PP port number 5.", 11727 "Examples:\r\n" 11728 " fap10m tests packets send_packet_to_pp 0 nof_pkts 10\r\n" 11729 "Results in sending packet (fixed one), through the FDT,\n\r" 11730 " via the fabric (or loop-backs), to the FAP.\n\r" 11731 " Next to the PP and to PORT 5, VLAN 1.\r\n" 11732 " Note: We\'ve reached 700 Meg-bit/sec through this method\r\n", 11733 "", 11734 {0, 11735 BIT(31) }, 11736 3, 11737 /* 11738 * Pointer to a function to call after symbolic parameter 11739 * has been accepted. 11740 */ 11741 (VAL_PROC_PTR)NULL 11742 }, 11743 { 11744 PARAM_FAP10M_SEND_PACKET_PRINT_ID, 11745 "packet_type_print", 11746 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11747 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11748 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11749 0,0,0,0,0,0,0, 11750 "This procedure print the packet send via \'send_packet_to_pp\'", 11751 "Examples:\r\n" 11752 " fap10m tests packets packet_type_print packet_type 0\r\n" 11753 "Results in printing packet number 0.", 11754 "", 11755 {0, 11756 0, 11757 BIT(16) }, 11758 3, 11759 /* 11760 * Pointer to a function to call after symbolic parameter 11761 * has been accepted. 11762 */ 11763 (VAL_PROC_PTR)NULL 11764 }, 11765 { 11766 PARAM_FAP10M_SEND_PACKET_TEST_PP_TYPE_ID, 11767 "packet_type", 11768 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11769 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11770 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11771 0,0,0,0,0,0,0, 11772 "Chose the pattern/size of data to send.\n\r" 11773 " Use \'fap10m tests packets packet_type_print packet_type 0\'\n\r" 11774 " to view the sent packet", 11775 "Examples:\r\n" 11776 " fap10m tests packets send_packet_to_pp 0 nof_pkts 10 packet_type 0\r\n" 11777 "Results in sending packet (64 bytes), through the FDT,\n\r" 11778 " via the fabric (or loop-backs), to the FAP.\n\r" 11779 " Next to the PP and to PORT 5, VLAN 1.\r\n" 11780 " Note: We\'ve reached 700 Meg-bit/sec through this method\r\n", 11781 "", 11782 {0, 11783 BIT(31), 11784 BIT(16) }, 11785 LAST_ORDINAL, 11786 /* 11787 * Pointer to a function to call after symbolic parameter 11788 * has been accepted. 11789 */ 11790 (VAL_PROC_PTR)NULL 11791 }, 11792 { 11793 PARAM_FAP10M_PORT_ID, 11794 "pp_port", 11795 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_no_recyle_vals[0], 11796 (sizeof(Fap10m_scheduler_port_id_no_recyle_vals) / sizeof(Fap10m_scheduler_port_id_no_recyle_vals[0])) - 1, 11797 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_pp_port_default, 11798 0,0,0,0,0,0,0, 11799 "Prestera port to send packet to. Range 0-63 (63 is the CPU port)", 11800 "Examples:\r\n" 11801 " fap10m tests packets send_packet_to_pp 0 nof_pkts 10 packet_type 0 port 5\r\n" 11802 "Results in sending packet (64 bytes), through the FDT,\n\r" 11803 " via the fabric (or loop-backs), to the FAP.\n\r" 11804 " Next to the PP and to PORT 5, VLAN 1.\r\n" 11805 " Note: We\'ve reached 700 Meg-bit/sec through this method\r\n", 11806 "", 11807 {0, 11808 BIT(31) 11809 }, 11810 LAST_ORDINAL, 11811 /* 11812 * Pointer to a function to call after symbolic parameter 11813 * has been accepted. 11814 */ 11815 (VAL_PROC_PTR)NULL 11816 }, 11817 { 11818 PARAM_FAP10M_VLAN_ID_ID, 11819 "vlan_id", 11820 (PARAM_VAL_RULES *)&Fap10m_vlan_id_vals[0], 11821 (sizeof(Fap10m_vlan_id_vals) / sizeof(Fap10m_vlan_id_vals[0])) - 1, 11822 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_vlan_id_default, 11823 0,0,0,0,0,0,0, 11824 "Prestera VLAN id. Range 0-4095", 11825 "Examples:\r\n" 11826 " fap10m tests packets send_packet_to_pp 0 nof_pkts 10 packet_type 0 port 5 vlan_id 1\r\n" 11827 "Results in sending packet (64 bytes), through the FDT,\n\r" 11828 " via the fabric (or loop-backs), to the FAP.\n\r" 11829 " Next to the PP and to PORT 5, VLAN 1.\r\n" 11830 " Note: We\'ve reached 700 Meg-bit/sec through this method\r\n", 11831 "", 11832 {0, 11833 BIT(31) 11834 }, 11835 LAST_ORDINAL, 11836 /* 11837 * Pointer to a function to call after symbolic parameter 11838 * has been accepted. 11839 */ 11840 (VAL_PROC_PTR)NULL 11841 }, 11842 { 11843 PARAM_FAP10M_NOF_PACKETS_ID, 11844 "nof_pkts", 11845 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11846 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11847 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11848 0,0,0,0,0,0,0, 11849 "This procedure transmits packets through the FDT\n\r" 11850 " and expect to recive them through the CPU interface.\r\n" 11851 " It them check that the packet payload was unchanged.\n\r", 11852 "Examples:\r\n" 11853 " fap10m tests packets send_packet_test_fdt 0 nof_pkts 10 target_fap_id 0\r\n" 11854 "Results in sending to 10 packets to FAP with id of 0, from device 0\r\n" 11855 " and than check there payload.\r\n", 11856 "", 11857 {0, 11858 BIT(30) | BIT(31) }, 11859 LAST_ORDINAL, 11860 /* 11861 * Pointer to a function to call after symbolic parameter 11862 * has been accepted. 11863 */ 11864 (VAL_PROC_PTR)NULL 11865 }, 11866 { 11867 PARAM_FAP10M_PACKET_BYTE_SIZE_ID, 11868 "pkt_byte_size", 11869 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11870 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11871 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11872 0,0,0,0,0,0,0, 11873 "Packet payload byte size.\n\r", 11874 "Examples:\r\n" 11875 " fap10m tests packets send_packet_test_fdt 0 nof_pkts 10 pkt_byte_size 60 target_fap_id 0\r\n" 11876 "Results in sending to 10 packets to FAP with id of 0, from device 0\r\n" 11877 " and than check there payload.\r\n", 11878 "", 11879 {0, 11880 BIT(30) }, 11881 LAST_ORDINAL, 11882 /* 11883 * Pointer to a function to call after symbolic parameter 11884 * has been accepted. 11885 */ 11886 (VAL_PROC_PTR)NULL 11887 }, 11888 { 11889 PARAM_FAP10M_PACKET_PATTERN_ID, 11890 "pattern", 11891 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 11892 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 11893 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11894 0,0,0,0,0,0,0, 11895 "Packet payload byte size.\n\r", 11896 "Examples:\r\n" 11897 " fap10m tests packets send_packet_test_fdt 0 nof_pkts 10 pkt_byte_size 60 target_fap_id 0 pattren 0xFE\r\n" 11898 "Results in sending to 10 packets to FAP with id of 0, from device 0\r\n" 11899 " and than check there payload.\r\n", 11900 "", 11901 {0, 11902 BIT(30) }, 11903 LAST_ORDINAL, 11904 /* 11905 * Pointer to a function to call after symbolic parameter 11906 * has been accepted. 11907 */ 11908 (VAL_PROC_PTR)NULL 11909 }, 11910 { 11911 PARAM_FAP10M_TARGET_FAP_ID_ID, 11912 "target_fap_id", 11913 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 11914 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 11915 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11916 0,0,0,0,0,0,0, 11917 "Target FAP identifier.", 11918 "Examples:\r\n" 11919 " fap10m tests packets send_packet_test_fdt 0 nof_pkts 10 target_fap_id 0\r\n" 11920 "Results in sending to 10 packets to FAP with id of 0, from device 0\r\n" 11921 " and than check there payload.\r\n", 11922 "", 11923 {0, 11924 BIT(30) | BIT(31) }, 11925 LAST_ORDINAL, 11926 /* 11927 * Pointer to a function to call after symbolic parameter 11928 * has been accepted. 11929 */ 11930 (VAL_PROC_PTR)NULL 11931 }, 11932 /* 11933 * END Test API } 11934 */ 11935 /* { fap10m_api_auto_flow_management.h interface */ 11936 { 11937 PARAM_FAP10M_AUTO_FLOW_MANAGEMENT_API_ID, 11938 "auto_flow_mngt", 11939 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11940 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11941 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11942 0,0,0,0,0,0,0, 11943 "interface to fap10m driver auto flow management services.", 11944 "Examples:\r\n" 11945 " fap10m auto_flow_mngt set_auto_params 0 max_nof_ports 10 max_nof_fap 15\r\n" 11946 "Results in setting (on device 0) 'Fap10m_max_nof_ports' to 10 \n\r" 11947 " and 'Fap10m_max_nof_faps' to 15.\n\r" 11948 " This indicates on a system with 15 FAPs each FAP have 10 physical ports.\n\r", 11949 "", 11950 {0, 11951 0, 11952 BIT(8) | BIT(9) | BIT(10) | BIT(11) | BIT(12) | BIT(13) | BIT(14) | BIT(15) }, 11953 1, 11954 /* 11955 * Pointer to a function to call after symbolic parameter 11956 * has been accepted. 11957 */ 11958 (VAL_PROC_PTR)NULL 11959 }, 11960 { 11961 PARAM_FAP10M_AUTO_SET_QUEUE_TYPE_PARAMS_ID, 11962 "set_queue_type_params", 11963 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 11964 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 11965 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11966 0,0,0,0,0,0,0, 11967 "Set driver queues type to be load via 'fap_open_queues'.", 11968 "Examples:\r\n" 11969 " fap10m auto_flow_mngt set_queue_type_params fabric_class fabric_class_c queue_types 0 1 2 3\r\n" 11970 "Results in loading to the driver parameter 4 (fabric_class_c) queue types parameters\n\r", 11971 "", 11972 {0, 11973 0, 11974 BIT(15) }, 11975 2, 11976 /* 11977 * Pointer to a function to call after symbolic parameter 11978 * has been accepted. 11979 */ 11980 (VAL_PROC_PTR)NULL 11981 }, 11982 { 11983 PARAM_FAP10M_AUTO_QUEUE_TYPES_ID, 11984 "queue_types", 11985 (PARAM_VAL_RULES *)&Fap10m_auto_queue_types[0], 11986 (sizeof(Fap10m_auto_queue_types) / sizeof(Fap10m_auto_queue_types[0])) - 1, 11987 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 11988 0,0,0,0,0,0,0, 11989 "Queue types to load with 'fap10m_open_fap_queues()'.\n\r" 11990 " Number of array entries is as indicated in 'fabric_class' 1, 2, 4 or 8.", 11991 "Examples:\r\n" 11992 " fap10m auto_flow_mngt set_queue_type_params fabric_class fabric_class_c queue_types 0 1 2 3\r\n" 11993 "Results in loading to the driver parameter 4 (fabric_class_c) queue types parameters\n\r", 11994 "", 11995 {0, 11996 0, 11997 BIT(15) }, 11998 4, 11999 /* 12000 * Pointer to a function to call after symbolic parameter 12001 * has been accepted. 12002 */ 12003 (VAL_PROC_PTR)NULL 12004 }, 12005 { 12006 PARAM_FAP10M_AUTO_SET_ONE_FLOW_PARAMS_ID, 12007 "set_one_flow_params", 12008 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12009 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12010 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12011 0,0,0,0,0,0,0, 12012 "Set one flow parameter to user with 'open_fap_flow'.", 12013 "Examples:\r\n" 12014 " fap10m auto_flow_mngt set_one_flow_params fabric_class_entry 4 sub_0_flow_type wfq1 sub_0_flow_value 222\r\n" 12015 "Results in setting entry 4 to 2 sub flows (with there appropriate values)\n\r" 12016 " and not low jitter flow.\n\r", 12017 "", 12018 {0, 12019 0, 12020 BIT(13) | BIT(14) }, 12021 2, 12022 /* 12023 * Pointer to a function to call after symbolic parameter 12024 * has been accepted. 12025 */ 12026 (VAL_PROC_PTR)NULL 12027 }, 12028 { 12029 PARAM_FAP10M_FABRIC_CLASS_ENTRY_ID, 12030 "fabric_class_entry", 12031 (PARAM_VAL_RULES *)&Fap10m_fabric_class_entry[0], 12032 (sizeof(Fap10m_fabric_class_entry) / sizeof(Fap10m_fabric_class_entry[0])) - 1, 12033 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12034 0,0,0,0,0,0,0, 12035 "One of 8 possiable fabric class ('fap10m_get_fabric_class()').", 12036 "Examples:\r\n" 12037 " fap10m auto_flow_mngt set_one_flow_params fabric_class_entry 4 sub_0_flow_type wfq1 sub_0_flow_value 222\r\n" 12038 "Results in setting entry 4 to 2 sub flows (with there appropriate values)\n\r" 12039 " and not low jitter flow.\n\r", 12040 "", 12041 {0, 12042 0, 12043 BIT(13) | BIT(14) }, 12044 3, 12045 /* 12046 * Pointer to a function to call after symbolic parameter 12047 * has been accepted. 12048 */ 12049 (VAL_PROC_PTR)NULL 12050 }, 12051 { 12052 PARAM_FAP10M_AUTO_GET_QUEUE_TYPE_PARAMS_ID, 12053 "get_queue_type_params", 12054 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12055 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12056 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12057 0,0,0,0,0,0,0, 12058 "Get array queue types from the driver.\n\r" 12059 " This queue types get loaded to the devices with 'open_fap_queues'.", 12060 "Examples:\r\n" 12061 " fap10m auto_flow_mngt get_queue_type_paramss fabric_class fabric_class_c\r\n" 12062 "Results in displaying 4 (fabric_class_c) queue types.\n\r" 12063 " Note that this fabric class should be the same for all device in the fabric.\n\r", 12064 "", 12065 {0, 12066 0, 12067 BIT(12)}, 12068 2, 12069 /* 12070 * Pointer to a function to call after symbolic parameter 12071 * has been accepted. 12072 */ 12073 (VAL_PROC_PTR)NULL 12074 }, 12075 { 12076 PARAM_FAP10M_AUTO_GET_FLOW_PARAMS_ID, 12077 "get_flow_params", 12078 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12079 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12080 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12081 0,0,0,0,0,0,0, 12082 "Get array flow parameters from the driver.\n\r" 12083 " This parameters get loaded to the devices with 'open_fap_flows'.", 12084 "Examples:\r\n" 12085 " fap10m auto_flow_mngt get_flow_params fabric_class fabric_class_c\r\n" 12086 "Results in displaying 4 (fabric_class_c) flow parameters.\n\r" 12087 " Note that this fabric class should be the same for all device in the fabric.\n\r", 12088 "", 12089 {0, 12090 0, 12091 BIT(12)}, 12092 2, 12093 /* 12094 * Pointer to a function to call after symbolic parameter 12095 * has been accepted. 12096 */ 12097 (VAL_PROC_PTR)NULL 12098 }, 12099 { 12100 PARAM_FAP10M_FABRIC_CLASS_ID, 12101 "fabric_class", 12102 (PARAM_VAL_RULES *)&Fap10m_fabric_class[0], 12103 (sizeof(Fap10m_fabric_class) / sizeof(Fap10m_fabric_class[0])) - 1, 12104 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12105 0,0,0,0,0,0,0, 12106 "Number of entries in auto-management module.\n\r" 12107 " This size should match the number of classes the FAP\n\r" 12108 " is configured to support ('fap10m_get_fabric_class()').\n\r", 12109 "Examples:\r\n" 12110 " fap10m auto_flow_mngt get_flow_params fabric_class fabric_class_c\r\n" 12111 "Results in displaying 4 (fabric_class_c) flow parameters.\n\r" 12112 " Note that this fabric class should be the same for all device in the fabric.\n\r", 12113 "", 12114 {0, 12115 0, 12116 BIT(12) }, 12117 3, 12118 /* 12119 * Pointer to a function to call after symbolic parameter 12120 * has been accepted. 12121 */ 12122 (VAL_PROC_PTR)NULL 12123 }, 12124 { 12125 PARAM_FAP10M_AUTO_OPEN_FAP_QUEUES_ID, 12126 "open_fap_queues", 12127 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12128 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12129 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12130 0,0,0,0,0,0,0, 12131 "Static queues to 'target_fap_id' are opened.\n\r" 12132 " The queue types loaded to that queue is set with\n\r" 12133 " 'fap10m_set_auto_queue_type_params'.\n\r" 12134 " This procedure open the queues through repeated\n\r" 12135 " calls to 'fap10m_open_queue'.", 12136 "Examples:\r\n" 12137 " fap10m auto_flow_mngt open_fap_queues 1 target_fap_id 123\r\n" 12138 "Results in automatic queue managment opening (on device 1)\n\r" 12139 " input queues aimed to target fap 123.\n\r" 12140 " Number of queues open on the device per port is determained\n\r" 12141 " through 'fap10m_set_fabric_class()'.\n\r", 12142 "", 12143 {0, 12144 0, 12145 BIT(11)}, 12146 2, 12147 /* 12148 * Pointer to a function to call after symbolic parameter 12149 * has been accepted. 12150 */ 12151 (VAL_PROC_PTR)NULL 12152 }, 12153 { 12154 PARAM_FAP10M_AUTO_CLOSE_FAP_QUEUES_ID, 12155 "close_fap_queues", 12156 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12157 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12158 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12159 0,0,0,0,0,0,0, 12160 "Static queues to 'target_fap_id' are closed.\r\n" 12161 " This procedure open the queues through \n\r" 12162 " repeated calls to 'fap10m_close_queue'.", 12163 "Examples:\r\n" 12164 " fap10m auto_flow_mngt close_fap_queues 0 target_fap_id 123\r\n" 12165 "Results in automatic queue managment closing (on device 0)\n\r" 12166 " input queue aimed to target fap 123.\n\r", 12167 "", 12168 {0, 12169 0, 12170 BIT(11)}, 12171 2, 12172 /* 12173 * Pointer to a function to call after symbolic parameter 12174 * has been accepted. 12175 */ 12176 (VAL_PROC_PTR)NULL 12177 }, 12178 { 12179 PARAM_FAP10M_TARGET_FAP_ID_ID, 12180 "target_fap_id", 12181 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 12182 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 12183 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12184 0,0,0,0,0,0,0, 12185 "Target FAP identifier.", 12186 "Examples:\r\n" 12187 " fap10m auto_flow_mngt close_fap_queues 0 target_fap_id 123\r\n" 12188 "Results in automatic queue managment closing (on device 0)\n\r" 12189 " input queue aimed to target fap 123.\n\r", 12190 "", 12191 {0, 12192 0, 12193 BIT(11)}, 12194 3, 12195 /* 12196 * Pointer to a function to call after symbolic parameter 12197 * has been accepted. 12198 */ 12199 (VAL_PROC_PTR)NULL 12200 }, 12201 { 12202 PARAM_FAP10M_AUTO_OPEN_FAP_FLOWS_ID, 12203 "open_fap_flows", 12204 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12205 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12206 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12207 0,0,0,0,0,0,0, 12208 "Static flows to 'source_fap_id' are opened.\n\r" 12209 " The flows parameters loaded to these flows are set\n\r" 12210 " with fap10m_auto_set_one_flow_params().\n\r" 12211 " This procedure open the queues through\n\r" 12212 " repeated calls to 'fap10m_open_scheduler_flow'.", 12213 "Examples:\r\n" 12214 " fap10m auto_flow_mngt open_fap_flows 1 source_fap_id 123\r\n" 12215 "Results in automatic flow managment opening (on device 1)\n\r" 12216 " scheduler flows aimed to source fap 123.\n\r" 12217 " Number of flow open on the devices per port is determained\n\r" 12218 " through 'fap10m_set_fabric_class()'.\n\r", 12219 "", 12220 {0, 12221 0, 12222 BIT(10)}, 12223 2, 12224 /* 12225 * Pointer to a function to call after symbolic parameter 12226 * has been accepted. 12227 */ 12228 (VAL_PROC_PTR)NULL 12229 }, 12230 { 12231 PARAM_FAP10M_AUTO_CLOSE_FAP_FLOWS_ID, 12232 "close_fap_flows", 12233 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12234 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12235 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12236 0,0,0,0,0,0,0, 12237 "Static flows to 'source_fap_id' are closed.\r\n" 12238 " Close the flows through repeated calls to\n\r" 12239 " 'fap10m_close_scheduler_flow'.", 12240 "Examples:\r\n" 12241 " fap10m auto_flow_mngt close_fap_flows 0 source_fap_id 123\r\n" 12242 "Results in automatic flow managment closing (on device 0)\n\r" 12243 " scheduler flows aimed to source fap 123.\n\r", 12244 "", 12245 {0, 12246 0, 12247 BIT(10)}, 12248 2, 12249 /* 12250 * Pointer to a function to call after symbolic parameter 12251 * has been accepted. 12252 */ 12253 (VAL_PROC_PTR)NULL 12254 }, 12255 { 12256 PARAM_FAP10M_SOURCE_FAP_ID_ID, 12257 "source_fap_id", 12258 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 12259 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 12260 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12261 0,0,0,0,0,0,0, 12262 "Source FAP identifier.", 12263 "Examples:\r\n" 12264 " fap10m auto_flow_mngt close_fap_flows 0 source_fap_id 123\r\n" 12265 "Results in automatic flow managment closing (on device 0)\n\r" 12266 " scheduler flows aimed to source fap 123.\n\r", 12267 "", 12268 {0, 12269 0, 12270 BIT(10)}, 12271 3, 12272 /* 12273 * Pointer to a function to call after symbolic parameter 12274 * has been accepted. 12275 */ 12276 (VAL_PROC_PTR)NULL 12277 }, 12278 { 12279 PARAM_FAP10M_AUTO_FLOW_MNGT_GET_PARAMS_ID, 12280 "get_auto_params", 12281 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12282 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12283 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12284 0,0,0,0,0,0,0, 12285 "Gets 'Fap10m_max_nof_ports' and 'Fap10m_max_nof_faps' -\n\r" 12286 " auto-flow-management parameters.", 12287 "Examples:\r\n" 12288 " fap10m auto_flow_mngt get_auto_params 0\r\n" 12289 "Results in getting (on device 0) 'Fap10m_max_nof_ports' and\n\r" 12290 " and 'Fap10m_max_nof_faps' parameters.\n\r", 12291 "", 12292 {0, 12293 0, 12294 BIT(8)}, 12295 2, 12296 /* 12297 * Pointer to a function to call after symbolic parameter 12298 * has been accepted. 12299 */ 12300 (VAL_PROC_PTR)NULL 12301 }, 12302 { 12303 PARAM_FAP10M_AUTO_FLOW_MNGT_SET_PARAMS_ID, 12304 "set_auto_params", 12305 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12306 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12307 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12308 0,0,0,0,0,0,0, 12309 "Sets 'Fap10m_max_nof_ports' and 'Fap10m_max_nof_faps' -\n\r" 12310 " auto-flow-management parameters.", 12311 "Examples:\r\n" 12312 " fap10m auto_flow_mngt set_auto_params 0 max_nof_ports 10 max_nof_fap 15 fabric_class fabric_class_c\r\n" 12313 "Results in setting (on device 0) 'Fap10m_max_nof_ports' to 10,\n\r" 12314 " 'Fap10m_max_nof_faps' to 15 and 'Fap10m_fabric_class' to fabric_class_c.\n\r" 12315 " This indicates on a system with 15 FAPs each FAP have 10 physical ports\n\r" 12316 " and that every 2 Packet-Processor-Header classes are mapped to one fabric class.", 12317 "", 12318 {0, 12319 0, 12320 BIT(9)}, 12321 2, 12322 /* 12323 * Pointer to a function to call after symbolic parameter 12324 * has been accepted. 12325 */ 12326 (VAL_PROC_PTR)NULL 12327 }, 12328 { 12329 PARAM_FAP10M_MAX_NOF_FAPS_ID, 12330 "max_nof_faps", 12331 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 12332 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 12333 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12334 0,0,0,0,0,0,0, 12335 "Max number of FAPs one wishes to support.\n\r" 12336 " This number should be the same on every SOC_SAND_FAP10M driver in the system", 12337 "Examples:\r\n" 12338 " fap10m auto_flow_mngt set_auto_params 0 max_nof_ports 10 max_nof_fap 15 fabric_class fabric_class_c\r\n" 12339 "Results in setting (on device 0) 'Fap10m_max_nof_ports' to 10,\n\r" 12340 " 'Fap10m_max_nof_faps' to 15 and 'Fap10m_fabric_class' to fabric_class_c.\n\r" 12341 " This indicates on a system with 15 FAPs each FAP have 10 physical ports\n\r" 12342 " and that every 2 Packet-Processor-Header classes are mapped to one fabric class.", 12343 "", 12344 {0, 12345 0, 12346 BIT(9)}, 12347 LAST_ORDINAL, 12348 /* 12349 * Pointer to a function to call after symbolic parameter 12350 * has been accepted. 12351 */ 12352 (VAL_PROC_PTR)NULL 12353 }, 12354 { 12355 PARAM_FAP10M_MAX_NOF_PORTS_ID, 12356 "max_nof_ports", 12357 (PARAM_VAL_RULES *)&Fap10m_max_nof_ports[0], 12358 (sizeof(Fap10m_max_nof_ports) / sizeof(Fap10m_max_nof_ports[0])) - 1, 12359 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12360 0,0,0,0,0,0,0, 12361 "Max number of physical ports one wishes to support on every FAP.\n\r" 12362 " This number should include the PP-CPU port.\n\r" 12363 " E.g. in 12-port PP this number should be 13.\n\r" 12364 " This number should be the same on every SOC_SAND_FAP10M driver in the system", 12365 "Examples:\r\n" 12366 " fap10m auto_flow_mngt set_auto_params 0 max_nof_ports 10 max_nof_fap 15 fabric_class fabric_class_c\r\n" 12367 "Results in setting (on device 0) 'Fap10m_max_nof_ports' to 10,\n\r" 12368 " 'Fap10m_max_nof_faps' to 15 and 'Fap10m_fabric_class' to fabric_class_c.\n\r" 12369 " This indicates on a system with 15 FAPs each FAP have 10 physical ports\n\r" 12370 " and that every 2 Packet-Processor-Header classes are mapped to one fabric class.", 12371 "", 12372 {0, 12373 0, 12374 BIT(9)}, 12375 LAST_ORDINAL, 12376 /* 12377 * Pointer to a function to call after symbolic parameter 12378 * has been accepted. 12379 */ 12380 (VAL_PROC_PTR)NULL 12381 }, 12382 { 12383 PARAM_FAP10M_FABRIC_CLASS_ID, 12384 "fabric_class", 12385 (PARAM_VAL_RULES *)&Fap10m_fabric_class[0], 12386 (sizeof(Fap10m_fabric_class) / sizeof(Fap10m_fabric_class[0])) - 1, 12387 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12388 0,0,0,0,0,0,0, 12389 "Number of entries in auto-management module.\n\r" 12390 " This size should match the number of classes the FAP\n\r" 12391 " is configured to support ('fap10m_get_fabric_class()').\n\r", 12392 "Examples:\r\n" 12393 " fap10m auto_flow_mngt set_auto_params 0 max_nof_ports 10 max_nof_fap 15 fabric_class fabric_class_c\r\n" 12394 "Results in setting (on device 0) 'Fap10m_max_nof_ports' to 10,\n\r" 12395 " 'Fap10m_max_nof_faps' to 15 and 'Fap10m_fabric_class' to fabric_class_c.\n\r" 12396 " This indicates on a system with 15 FAPs each FAP have 10 physical ports\n\r" 12397 " and that every 2 Packet-Processor-Header classes are mapped to one fabric class.", 12398 "", 12399 {0, 12400 0, 12401 BIT(12) | BIT(15) | BIT(9)}, 12402 3, 12403 /* 12404 * Pointer to a function to call after symbolic parameter 12405 * has been accepted. 12406 */ 12407 (VAL_PROC_PTR)NULL 12408 }, 12409 12410 /* END fap10m_api_auto_flow_management.h interface }*/ 12411 12412 /* { fap10m_api_configuration.h interface */ 12413 { 12414 PARAM_FAP10M_CONFIGURATION_API_ID, 12415 "configuration", 12416 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 12417 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 12418 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12419 0,0,0,0,0,0,0, 12420 "interface to fap10m driver configuration services.", 12421 "Examples:\r\n" 12422 " fap10m configuration set_fap_id 1 fap_id 123 \r\n" 12423 "Results in setting on device 1, fap identifier of 123.\n\r" 12424 "This fap identifier is the identifier that the device is seen\n\r" 12425 "in the fabric system. while the 'unit' is the identifier\n\r" 12426 "of that fap in the context of the local driver\r\n", 12427 "", 12428 {0, 12429 0, 12430 BIT(0) | BIT(1) | BIT(2) | BIT(3) | BIT(4) | BIT(5) | BIT(6) | BIT(7) | BIT(25) | BIT(26) | BIT(27)}, 12431 1, 12432 /* 12433 * Pointer to a function to call after symbolic parameter 12434 * has been accepted. 12435 */ 12436 (VAL_PROC_PTR)NULL 12437 }, 12438 { 12439 PARAM_FAP10M_GET_FABRIC_CLASS_ID, 12440 "get_fabric_class", 12441 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12442 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12443 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12444 0,0,0,0,0,0,0, 12445 "Gets the used fabric class.", 12446 "Examples:\r\n" 12447 " fap10m configuration get_fabric_class 0\r\n" 12448 "Results in getting (on device 0) the fabric class used.\n\r" 12449 " class a: PFH class {0,...,7} mapped to fabric class 0.\n\r" 12450 " class b: PFH class {0,...,3} mapped to fabric class 0.\r\n" 12451 " PFH class {4,...,7} mapped to fabric class 1.\r\n" 12452 " class c: PFH class {0,1} mapped to fabric class 0.\r\n" 12453 " PFH class {2,3} mapped to fabric class 1.\r\n" 12454 " PFH class {4,5} mapped to fabric class 2.\r\n" 12455 " PFH class {6,7} mapped to fabric class 3.\r\n" 12456 " class d: PFH class X mapped to fabric class X,\r\n" 12457 " that is, No translation occurs .\r\n", 12458 "", 12459 {0, 12460 0, 12461 BIT(0)}, 12462 2, 12463 /* 12464 * Pointer to a function to call after symbolic parameter 12465 * has been accepted. 12466 */ 12467 (VAL_PROC_PTR)NULL 12468 }, 12469 { 12470 PARAM_FAP10M_SET_FABRIC_CLASS_ID, 12471 "set_fabric_class", 12472 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12473 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12474 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12475 0,0,0,0,0,0,0, 12476 "Sets the used fabric class.", 12477 "Examples:\r\n" 12478 " fap10m configuration set_fabric_class 0 fabric_class class_b\r\n" 12479 "Results in setting (on device 0) for fabric class to class b.\n\r" 12480 " class a: PFH class {0,...,7} mapped to fabric class 0.\n\r" 12481 " class b: PFH class {0,...,3} mapped to fabric class 0.\r\n" 12482 " PFH class {4,...,7} mapped to fabric class 1.\r\n" 12483 " class c: PFH class {0,1} mapped to fabric class 0.\r\n" 12484 " PFH class {2,3} mapped to fabric class 1.\r\n" 12485 " PFH class {4,5} mapped to fabric class 2.\r\n" 12486 " PFH class {6,7} mapped to fabric class 3.\r\n" 12487 " class d: PFH class X mapped to fabric class X,\r\n" 12488 " that is, No translation occurs .\r\n", 12489 "", 12490 {0, 12491 0, 12492 BIT(7)}, 12493 2, 12494 /* 12495 * Pointer to a function to call after symbolic parameter 12496 * has been accepted. 12497 */ 12498 (VAL_PROC_PTR)NULL 12499 }, 12500 { 12501 PARAM_FAP10M_FABRIC_CLASS_ID, 12502 "fabric_class", 12503 (PARAM_VAL_RULES *)&Fap10m_fabric_class[0], 12504 (sizeof(Fap10m_fabric_class) / sizeof(Fap10m_fabric_class[0])) - 1, 12505 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12506 0,0,0,0,0,0,0, 12507 "Fabric class.", 12508 "Examples:\r\n" 12509 " fap10m configuration set_fabric_class 0 fabric_class class_b\r\n" 12510 "Results in setting (on device 0) for fabric class to class b.\n\r", 12511 "", 12512 {0, 12513 0, 12514 BIT(7)}, 12515 3, 12516 /* 12517 * Pointer to a function to call after symbolic parameter 12518 * has been accepted. 12519 */ 12520 (VAL_PROC_PTR)NULL 12521 }, 12522 { 12523 PARAM_FAP10M_SET_WRED_PARAMS_ID, 12524 "set_wred_params", 12525 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12526 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12527 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12528 0,0,0,0,0,0,0, 12529 "Sets the WRED parameters of the specific 'queue_type' and 'drop_precedence'.", 12530 "Examples:\r\n" 12531 " fap10m configuration set_wred_params 0 queue_type 2 drop_precedence 3 max_packet_size 1024 max_probability 54 min_avrg_th 10000 max_avrg_th 20000\r\n" 12532 "Results in setting (on device 0) for queue type 2 \n\r" 12533 " and drop precedence of 3 its WRED parameters:\r\n" 12534 " The WRED alg. max packet size is 1024,\r\n" 12535 " maximum probability of discarding a packet is 54%%,\r\n" 12536 " if queue average size is below 10000 all packet are admitted\r\n" 12537 " and if queue average size is above 20000 all packet are discarded.\n\r", 12538 "", 12539 {0, 12540 0, 12541 BIT(6)}, 12542 2, 12543 /* 12544 * Pointer to a function to call after symbolic parameter 12545 * has been accepted. 12546 */ 12547 (VAL_PROC_PTR)NULL 12548 }, 12549 { 12550 PARAM_FAP10M_MAX_PACKET_SIZE_ID, 12551 "max_packet_size", 12552 (PARAM_VAL_RULES *)&Fap10m_max_packet_size[0], 12553 (sizeof(Fap10m_max_packet_size) / sizeof(Fap10m_max_packet_size[0])) - 1, 12554 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12555 0,0,0,0,0,0,0, 12556 "Max packet size for the WRED algorithm.\n\r" 12557 " Size of packet in bytes.", 12558 "Examples:\r\n" 12559 " fap10m configuration set_wred_params 0 queue_type 2 drop_precedence 3 max_packet_size 1024 max_probability 54 min_avrg_th 10000 max_avrg_th 20000\r\n" 12560 "Results in setting (on device 0) for queue type 2 \n\r" 12561 " and drop precedence of 3 its WRED parameters:\r\n" 12562 " The WRED alg. max packet size is 1024,\r\n" 12563 " maximum probability of discarding a packet is 54%%,\r\n" 12564 " if queue average size is below 10000 all packet are admitted\r\n" 12565 " and if queue average size is above 20000 all packet are discarded.\n\r", 12566 "", 12567 {0, 12568 0, 12569 BIT(6)}, 12570 5, 12571 /* 12572 * Pointer to a function to call after symbolic parameter 12573 * has been accepted. 12574 */ 12575 (VAL_PROC_PTR)NULL 12576 }, 12577 { 12578 PARAM_FAP10M_MAX_PROBABILITY_ID, 12579 "max_probability", 12580 (PARAM_VAL_RULES *)&Fap10m_percent[0], 12581 (sizeof(Fap10m_percent) / sizeof(Fap10m_percent[0])) - 1, 12582 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12583 0,0,0,0,0,0,0, 12584 "The maximum probability of discarding a packet (when the queue reaches\n\r" 12585 " the maximum average size ('max_avrg_th') and the packet size is the\n\r" 12586 " maximum size ('max_packet_size')).", 12587 "Examples:\r\n" 12588 " fap10m configuration set_wred_params 0 queue_type 2 drop_precedence 3 max_packet_size 1024 max_probability 54 min_avrg_th 10000 max_avrg_th 20000\r\n" 12589 "Results in setting (on device 0) for queue type 2 \n\r" 12590 " and drop precedence of 3 its WRED parameters:\r\n" 12591 " The WRED alg. max packet size is 1024,\r\n" 12592 " maximum probability of discarding a packet is 54%%,\r\n" 12593 " if queue average size is below 10000 all packet are admitted\r\n" 12594 " and if queue average size is above 20000 all packet are discarded.\n\r", 12595 "", 12596 {0, 12597 0, 12598 BIT(6)}, 12599 6, 12600 /* 12601 * Pointer to a function to call after symbolic parameter 12602 * has been accepted. 12603 */ 12604 (VAL_PROC_PTR)NULL 12605 }, 12606 { 12607 PARAM_FAP10M_MIN_AVRG_TH_ID, 12608 "min_avrg_th", 12609 (PARAM_VAL_RULES *)&Fap10m_min_avrg_th[0], 12610 (sizeof(Fap10m_min_avrg_th) / sizeof(Fap10m_min_avrg_th[0])) - 1, 12611 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12612 0,0,0,0,0,0,0, 12613 "Relating to queue average size.\n\r" 12614 " Maximum Average Threshold - Above this threshold,\n\r" 12615 " packet is discarded from the queue.\n\r" 12616 " Resolution of 1-Kbyte (64 is 64K bytes)\n\r" 12617 " The SOC_SAND_FAP10M resolution is of 64K bytes (1-63 KB will be round up to 64 KB)", 12618 "Examples:\r\n" 12619 " fap10m configuration set_wred_params 0 queue_type 2 drop_precedence 3 max_packet_size 1024 max_probability 54 min_avrg_th 10000 max_avrg_th 20000\r\n" 12620 "Results in setting (on device 0) for queue type 2 \n\r" 12621 " and drop precedence of 3 its WRED parameters:\r\n" 12622 " The WRED alg. max packet size is 1024,\r\n" 12623 " maximum probability of discarding a packet is 54%%,\r\n" 12624 " if queue average size is below 10000 all packet are admitted\r\n" 12625 " and if queue average size is above 20000 all packet are discarded.\n\r", 12626 "", 12627 {0, 12628 0, 12629 BIT(6)}, 12630 7, 12631 /* 12632 * Pointer to a function to call after symbolic parameter 12633 * has been accepted. 12634 */ 12635 (VAL_PROC_PTR)NULL 12636 }, 12637 { 12638 PARAM_FAP10M_MAX_AVRG_TH_ID, 12639 "max_avrg_th", 12640 (PARAM_VAL_RULES *)&Fap10m_max_avrg_th[0], 12641 (sizeof(Fap10m_max_avrg_th) / sizeof(Fap10m_max_avrg_th[0])) - 1, 12642 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12643 0,0,0,0,0,0,0, 12644 "Relating to queue average size.\n\r" 12645 " Maximum Average Threshold - Above this threshold,\n\r" 12646 " packet is discarded from the queue.\n\r" 12647 " Resolution of 1-Kbyte (64 is 64K bytes)\n\r" 12648 " The SOC_SAND_FAP10M resolution is of 64K bytes (1-63 KB will be round up to 64 KB)", 12649 "Examples:\r\n" 12650 " fap10m configuration set_wred_params 0 queue_type 2 drop_precedence 3 max_packet_size 1024 max_probability 54 min_avrg_th 10000 max_avrg_th 20000\r\n" 12651 "Results in setting (on device 0) for queue type 2 \n\r" 12652 " and drop precedence of 3 its WRED parameters:\r\n" 12653 " The WRED alg. max packet size is 1024,\r\n" 12654 " maximum probability of discarding a packet is 54%%,\r\n" 12655 " if queue average size is below 10000 all packet are admitted\r\n" 12656 " and if queue average size is above 20000 all packet are discarded.\n\r", 12657 "", 12658 {0, 12659 0, 12660 BIT(6)}, 12661 8, 12662 /* 12663 * Pointer to a function to call after symbolic parameter 12664 * has been accepted. 12665 */ 12666 (VAL_PROC_PTR)NULL 12667 }, 12668 12669 { 12670 PARAM_FAP10M_GET_WRED_PARAMS_ID, 12671 "get_wred_params", 12672 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12673 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12674 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12675 0,0,0,0,0,0,0, 12676 "Gets the WRED parameters of the specific 'queue_type' and 'drop_precedence'.", 12677 "Examples:\r\n" 12678 " fap10m configuration get_wred_params 0 queue_type 2 drop_precedence 3\r\n" 12679 "Results in getting (on device 0) for queue type 2 \n\r" 12680 " and drop precedence of 3 its WRED parameters.\r\n", 12681 "", 12682 {0, 12683 0, 12684 BIT(5)}, 12685 2, 12686 /* 12687 * Pointer to a function to call after symbolic parameter 12688 * has been accepted. 12689 */ 12690 (VAL_PROC_PTR)NULL 12691 }, 12692 { 12693 PARAM_FAP10M_DROP_PRECEDENCE_ID, 12694 "drop_precedence", 12695 (PARAM_VAL_RULES *)&Fap10m_drop_precedence[0], 12696 (sizeof(Fap10m_drop_precedence) / sizeof(Fap10m_drop_precedence[0])) - 1, 12697 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12698 0,0,0,0,0,0,0, 12699 "Drop precedence identifier.", 12700 "Examples:\r\n" 12701 " fap10m configuration get_wred_params 0 queue_type 2 drop_precedence 3\r\n" 12702 "Results in getting (on device 0) for queue type 2 \n\r" 12703 " and drop precedence of 3 its WRED parameters.\r\n", 12704 "", 12705 {0, 12706 0, 12707 BIT(5) | BIT(6)}, 12708 4, 12709 /* 12710 * Pointer to a function to call after symbolic parameter 12711 * has been accepted. 12712 */ 12713 (VAL_PROC_PTR)NULL }, 12714 12715 { 12716 PARAM_FAP10M_SET_QUEUE_TYPE_PARAMS_ID, 12717 "set_queue_type_params", 12718 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12719 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12720 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12721 0,0,0,0,0,0,0, 12722 "Sets the required queue type parameters.", 12723 "Examples:\r\n" 12724 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 \r\n" 12725 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12726 " Maximum queue size 1200 bytes,\n\r" 12727 " every time the queue size cross over multiple of 500 the queue \r\n" 12728 " is to sent status message to its related flow,\n\r" 12729 " if the queue size is beneath 300 the queue is considered in 'Slow' state,\n\r" 12730 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12731 " type with the specified exponent.\n\r", 12732 "", 12733 {0, 12734 0, 12735 BIT(4)}, 12736 2, 12737 /* 12738 * Pointer to a function to call after symbolic parameter 12739 * has been accepted. 12740 */ 12741 (VAL_PROC_PTR)NULL 12742 }, 12743 { 12744 PARAM_FAP10M_MAX_QUEUE_SIZE_ID, 12745 "max_queue_size", 12746 (PARAM_VAL_RULES *)&Fap10m_max_queue_size[0], 12747 (sizeof(Fap10m_max_queue_size) / sizeof(Fap10m_max_queue_size[0])) - 1, 12748 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12749 0,0,0,0,0,0,0, 12750 "Max queue size. When a queue reaches this max size,\n\r" 12751 " all packets reaches this queue are droped.\n\r" 12752 " Byte resolution.", 12753 "Examples:\r\n" 12754 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 \r\n" 12755 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12756 " Maximum queue size 1200 bytes,\n\r" 12757 " every time the queue size cross over multiple of 500 the queue \r\n" 12758 " is to sent status message to its related flow,\n\r" 12759 " if the queue size is beneath 300 the queue is considered in 'Slow' state,\n\r" 12760 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12761 " type with the specified exponent.\n\r", 12762 "", 12763 {0, 12764 0, 12765 BIT(4)}, 12766 4, 12767 /* 12768 * Pointer to a function to call after symbolic parameter 12769 * has been accepted. 12770 */ 12771 (VAL_PROC_PTR)NULL 12772 }, 12773 { 12774 PARAM_FAP10M_FLOW_STAT_MSG_ID, 12775 "flow_stat_msg", 12776 (PARAM_VAL_RULES *)&Fap10m_flow_stat_msg[0], 12777 (sizeof(Fap10m_flow_stat_msg) / sizeof(Fap10m_flow_stat_msg[0])) - 1, 12778 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12779 0,0,0,0,0,0,0, 12780 "Every integer multiple of this parameter, a status message is sent to\n\r" 12781 " the flow related to that queue.\n\r" 12782 " Byte resolution.", 12783 "Examples:\r\n" 12784 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 \r\n" 12785 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12786 " Maximum queue size 1200 bytes,\n\r" 12787 " every time the queue size cross over multiple of 500 the queue \r\n" 12788 " is to sent status message to its related flow,\n\r" 12789 " if the queue size is beneath 300 the queue is considered in 'Slow' state,\n\r" 12790 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12791 " type with the specified exponent.\n\r", 12792 "", 12793 {0, 12794 0, 12795 BIT(4)}, 12796 5, 12797 /* 12798 * Pointer to a function to call after symbolic parameter 12799 * has been accepted. 12800 */ 12801 (VAL_PROC_PTR)NULL 12802 }, 12803 { 12804 PARAM_FAP10M_FLOW_SLOW_TH_ID, 12805 "flow_slow_th", 12806 (PARAM_VAL_RULES *)&Fap10m_flow_slow_th[0], 12807 (sizeof(Fap10m_flow_slow_th) / sizeof(Fap10m_flow_slow_th[0])) - 1, 12808 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12809 0,0,0,0,0,0,0, 12810 "Beneath this threshold, the queue is in 'Slow' state.\n\r" 12811 " Byte resolution.", 12812 "Examples:\r\n" 12813 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 \r\n" 12814 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12815 " Maximum queue size 1200 bytes,\n\r" 12816 " every time the queue size cross over multiple of 500 the queue \r\n" 12817 " is to sent status message to its related flow,\n\r" 12818 " if the queue size is beneath 300 the queue is considered in 'Slow' state,\n\r" 12819 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12820 " type with the specified exponent.\n\r", 12821 "", 12822 {0, 12823 0, 12824 BIT(4)}, 12825 6, 12826 /* 12827 * Pointer to a function to call after symbolic parameter 12828 * has been accepted. 12829 */ 12830 (VAL_PROC_PTR)NULL 12831 }, 12832 { 12833 PARAM_FAP10M_FLOW_SLOW_HYS_ID, 12834 "flow_slow_hysteresis_size", 12835 (PARAM_VAL_RULES *)&Fap10m_flow_slow_hyster[0], 12836 (sizeof(Fap10m_flow_slow_hyster) / sizeof(Fap10m_flow_slow_hyster[0])) - 1, 12837 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_flow_slow_hyster_default, 12838 0,0,0,0,0,0,0, 12839 "Hysteresis size for slow status.\n\r" 12840 " Byte resolution.", 12841 "Examples:\r\n" 12842 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 flow_slow_hysteresis_size 100\r\n" 12843 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12844 " Maximum queue size 1200 bytes,\n\r" 12845 " every time the queue size cross over multiple of 500 the queue \r\n" 12846 " is to sent status message to its related flow,\n\r" 12847 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12848 " if the queue size pass the size of 300 the queue is considered in 'Fast' state,\n\r" 12849 " if the queue size is beneath (300-100) the queue is back to 'Slow' state,\n\r" 12850 " type with the specified exponent.\n\r", 12851 "", 12852 {0, 12853 0, 12854 BIT(4)}, 12855 LAST_ORDINAL, 12856 /* 12857 * Pointer to a function to call after symbolic parameter 12858 * has been accepted. 12859 */ 12860 (VAL_PROC_PTR)NULL 12861 }, 12862 { 12863 PARAM_FAP10M_RED_EXP_WEIGHT_ID, 12864 "red_exp_weight", 12865 (PARAM_VAL_RULES *)&Fap10m_red_exp_weight[0], 12866 (sizeof(Fap10m_red_exp_weight) / sizeof(Fap10m_red_exp_weight[0])) - 1, 12867 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 12868 0,0,0,0,0,0,0, 12869 "Weight for average queue size calculation.\n\r" 12870 " If not appears disable WRED algorithm to this queue type.\n\r" 12871 " The average calculation:\n\r" 12872 " Average_constant = 2^(-RED_exp_weight)\n\r" 12873 " if (Instantaneous-Queue-size < Average-queue-size)\n\r" 12874 " Average-queue-size = Instantaneous-Queue-size\n\r" 12875 " else\n\r" 12876 " Average-queue-size = \n\r" 12877 " (1-Average_constant)*Average-queue-size +\n\r" 12878 " Average_constant*Instantaneous-Queue-size\n\r" 12879 " Range 0-31, I.e., make the average factor from 1 to 1^(-31).", 12880 "Examples:\r\n" 12881 " fap10m configuration set_queue_type_params 1 queue_type 2 max_queue_size 1200 flow_stat_msg 500 RED_exp_weight 5 flow_slow_th 300 \r\n" 12882 "Results in setting (on device 1) queue type 2 parameters to:\r\n" 12883 " Maximum queue size 1200 bytes,\n\r" 12884 " every time the queue size cross over multiple of 500 the queue \r\n" 12885 " is to sent status message to its related flow,\n\r" 12886 " if the queue size is beneath 300 the queue is considered in 'Slow' state,\n\r" 12887 " RED_exp_weight appear - indication that RED algorithm is applying this queue\n\r" 12888 " type with the specified exponent.\n\r", 12889 "", 12890 {0, 12891 0, 12892 BIT(4)}, 12893 LAST_ORDINAL, 12894 /* 12895 * Pointer to a function to call after symbolic parameter 12896 * has been accepted. 12897 */ 12898 (VAL_PROC_PTR)NULL 12899 }, 12900 { 12901 PARAM_FAP10M_GET_QUEUE_TYPE_PARAMS_ID, 12902 "get_queue_type_params", 12903 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12904 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12905 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12906 0,0,0,0,0,0,0, 12907 "Gets the queue parameters of 'queue_type'.", 12908 "Examples:\r\n" 12909 " fap10m configuration get_queue_type_params 1 queue_type 2\r\n" 12910 "Results in getting (on device 1) queue type 2 parameters.\r\n", 12911 "", 12912 {0, 12913 0, 12914 BIT(3)}, 12915 2, 12916 /* 12917 * Pointer to a function to call after symbolic parameter 12918 * has been accepted. 12919 */ 12920 (VAL_PROC_PTR)NULL 12921 }, 12922 { 12923 PARAM_FAP10M_QUEUE_TYPE_ID, 12924 "queue_type", 12925 (PARAM_VAL_RULES *)&Fap10m_queue_type[0], 12926 (sizeof(Fap10m_queue_type) / sizeof(Fap10m_queue_type[0])) - 1, 12927 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12928 0,0,0,0,0,0,0, 12929 "Queue type number.", 12930 "Examples:\r\n" 12931 " fap10m configuration get_queue_type_params 1 queue_type 2\r\n" 12932 "Results in getting (on device 1) queue type 2 parameters.\r\n", 12933 "", 12934 {0, 12935 0, 12936 BIT(3) | BIT(4) | BIT(5) | BIT(6)}, 12937 3, 12938 /* 12939 * Pointer to a function to call after symbolic parameter 12940 * has been accepted. 12941 */ 12942 (VAL_PROC_PTR)NULL 12943 }, 12944 12945 { 12946 PARAM_FAP10M_GET_FAP_ID_ID, 12947 "get_fap_id", 12948 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12949 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12950 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12951 0,0,0,0,0,0,0, 12952 "Get fap identifier (as seen in the system).", 12953 "Examples:\r\n" 12954 " fap10m configuration get_fap_id 1\r\n" 12955 "Results in getting the (on device 1) its system identifier.\r\n", 12956 "", 12957 {0, 12958 0, 12959 BIT(0)}, 12960 2, 12961 /* 12962 * Pointer to a function to call after symbolic parameter 12963 * has been accepted. 12964 */ 12965 (VAL_PROC_PTR)NULL 12966 }, 12967 { 12968 PARAM_FAP10M_SET_FAP_ID_ID, 12969 "set_fap_id", 12970 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 12971 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 12972 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12973 0,0,0,0,0,0,0, 12974 "Sets the device with its identifier (as seen in the system).", 12975 "Examples:\r\n" 12976 " fap10m configuration set_fap_id 1 fap_id 123\r\n" 12977 "Results in setting on device 1, fap identifier of 123.\n\r" 12978 "This fap identifier is the identifier that the device is seen\n\r" 12979 "in the fabric system. while the 'unit' is the identifier\n\r" 12980 "of that fap in the context of the local driver\r\n", 12981 "", 12982 {0, 12983 0, 12984 BIT(1)}, 12985 2, 12986 /* 12987 * Pointer to a function to call after symbolic parameter 12988 * has been accepted. 12989 */ 12990 (VAL_PROC_PTR)NULL 12991 }, 12992 { 12993 PARAM_FAP10M_FAP_ID_ID, 12994 "fap_id", 12995 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 12996 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 12997 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 12998 0,0,0,0,0,0,0, 12999 "The designated physical FAP id.", 13000 "Examples:\r\n" 13001 " fap10m configuration set_fap_id 1 fap_id 123\r\n" 13002 "Results in setting on device 1, fap identifier of 123.\n\r" 13003 "This fap identifier is the identifier that the device is seen\n\r" 13004 "in the fabric system. while the 'unit' is the identifier\n\r" 13005 "of that fap in the context of the local driver\r\n", 13006 "", 13007 {0, 13008 0, 13009 BIT(1)}, 13010 3, 13011 /* 13012 * Pointer to a function to call after symbolic parameter 13013 * has been accepted. 13014 */ 13015 (VAL_PROC_PTR)NULL 13016 }, 13017 { 13018 PARAM_FAP10M_GET_EDF1_PRIOR_ID, 13019 "get_edf1_strict_prior", 13020 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13021 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13022 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13023 0,0,0,0,0,0,0, 13024 "Get EDF1 strict priority over WFQ1.", 13025 "Examples:\r\n" 13026 " fap10m configuration get_edf1_strict_prior 1\r\n" 13027 "Results in getting the edf1 strict priority setting on device 1.\n\r" 13028 "When enabled, all the scheduler ports will give the EDF1\n\r" 13029 "wheel strict priority over the WFQ1 wheel.\n\r" 13030 "The WFQ0 percentage field in the port setting is then meaningless\r\n", 13031 "", 13032 {0, 13033 0, 13034 BIT(0)}, 13035 2, 13036 /* 13037 * Pointer to a function to call after symbolic parameter 13038 * has been accepted. 13039 */ 13040 (VAL_PROC_PTR)NULL 13041 }, 13042 { 13043 PARAM_FAP10M_SET_EDF1_PRIOR_ID, 13044 "set_edf1_strict_prior", 13045 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13046 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13047 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13048 0,0,0,0,0,0,0, 13049 "Set EDF1 strict priority over WFQ1.", 13050 "Examples:\r\n" 13051 " fap10m configuration get_edf1_strict_prior 1 edf1_prior enable\r\n" 13052 "Results in setting edf1 strict priority over wfq1 on device 1.\n\r" 13053 "All the scheduler ports will give the EDF1\n\r" 13054 "wheel strict priority over the WFQ1 wheel.\n\r" 13055 "The WFQ0 percentage field in the port setting is meaningless.\r\n", 13056 "", 13057 {0, 13058 0, 13059 BIT(25)}, 13060 2, 13061 /* 13062 * Pointer to a function to call after symbolic parameter 13063 * has been accepted. 13064 */ 13065 (VAL_PROC_PTR)NULL 13066 }, 13067 { 13068 PARAM_FAP10M_EDF1_PRIOR_ID, 13069 "edf1_prior", 13070 (PARAM_VAL_RULES *)&Fap10m_edf1_prior[0], 13071 (sizeof(Fap10m_edf1_prior) / sizeof(Fap10m_edf1_prior[0])) - 1, 13072 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13073 0,0,0,0,0,0,0, 13074 "Enable/Disable EDF1 strict priority.", 13075 "Examples:\r\n" 13076 " fap10m configuration get_edf1_strict_prior 1 edf1_prior enable\r\n" 13077 "Results in setting edf1 strict priority over wfq1 on device 1.\n\r" 13078 "All the scheduler ports will give the EDF1\n\r" 13079 "wheel strict priority over the WFQ1 wheel.\n\r" 13080 "The WFQ0 percentage field in the port setting is meaningless.\r\n", 13081 "", 13082 {0, 13083 0, 13084 BIT(25)}, 13085 3, 13086 /* 13087 * Pointer to a function to call after symbolic parameter 13088 * has been accepted. 13089 */ 13090 (VAL_PROC_PTR)NULL 13091 }, 13092 13093 13094 { 13095 PARAM_FAP10M_GET_CHOP_EN_ID, 13096 "get_chopping_enable", 13097 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13098 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13099 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13100 0,0,0,0,0,0,0, 13101 "Get big packets chopping configuration.", 13102 "Examples:\r\n" 13103 " fap10m configuration get_chopping_enable 1\r\n" 13104 "Results in getting the big packets chopping configuration on device 1.\n\r" 13105 "Indicate whether the chopping is enabled, and what is the maximal\r\n" 13106 "multicast id to be chopped for multicast packets.", 13107 "", 13108 {0, 13109 0, 13110 BIT(0)}, 13111 2, 13112 /* 13113 * Pointer to a function to call after symbolic parameter 13114 * has been accepted. 13115 */ 13116 (VAL_PROC_PTR)NULL 13117 }, 13118 { 13119 PARAM_FAP10M_SET_CHOP_EN_ID, 13120 "set_chopping_enable", 13121 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13122 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13123 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13124 0,0,0,0,0,0,0, 13125 "Set big packets chopping configuration.", 13126 "Examples:\r\n" 13127 " fap10m configuration set_chopping_enable 1 chop_en enable \r\n" 13128 " maximal_multicast_id 800" 13129 "Results in setting big packets to be chopped on device 1.\n\r" 13130 "If the packet is unicast, or multicast with multicast id\n\r" 13131 "not bigger than 800.\r\n", 13132 "", 13133 {0, 13134 0, 13135 BIT(26)}, 13136 2, 13137 /* 13138 * Pointer to a function to call after symbolic parameter 13139 * has been accepted. 13140 */ 13141 (VAL_PROC_PTR)NULL 13142 }, 13143 { 13144 PARAM_FAP10M_CHOP_EN_ID, 13145 "chop_en", 13146 (PARAM_VAL_RULES *)&Fap10m_chop_en[0], 13147 (sizeof(Fap10m_chop_en) / sizeof(Fap10m_chop_en[0])) - 1, 13148 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13149 0,0,0,0,0,0,0, 13150 "Enable/Disable chopping of big packets.", 13151 "Examples:\r\n" 13152 " fap10m configuration set_chopping_enable 1 chop_en enable \r\n" 13153 " maximal_multicast_id 800" 13154 "Results in setting big packets to be chopped on device 1.\n\r" 13155 "If the packet is unicast, or multicast with multicast id\n\r" 13156 "not bigger than 800.\r\n", 13157 "", 13158 {0, 13159 0, 13160 BIT(26)}, 13161 3, 13162 /* 13163 * Pointer to a function to call after symbolic parameter 13164 * has been accepted. 13165 */ 13166 (VAL_PROC_PTR)NULL 13167 }, 13168 { 13169 PARAM_FAP10M_CHOP_MULT_ID_ID, 13170 "maximal_multicast_id", 13171 (PARAM_VAL_RULES *)&Fap10m_chop_max_mult_id[0], 13172 (sizeof(Fap10m_chop_max_mult_id) / sizeof(Fap10m_chop_max_mult_id[0])) - 1, 13173 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_chop_max_mult_id_default, 13174 0,0,0,0,0,0,0, 13175 "Set the maximal multicast id to support packet chopping.", 13176 "Examples:\r\n" 13177 " fap10m configuration set_chopping_enable 1 chop_en enable \r\n" 13178 " maximal_multicast_id 800" 13179 "Results in setting big packets to be chopped on device 1.\n\r" 13180 "If the packet is unicast, or multicast with multicast id\n\r" 13181 "not bigger than 800.\r\n", 13182 "", 13183 {0, 13184 0, 13185 BIT(26)}, 13186 4, 13187 /* 13188 * Pointer to a function to call after symbolic parameter 13189 * has been accepted. 13190 */ 13191 (VAL_PROC_PTR)NULL 13192 }, 13193 13194 { 13195 PARAM_FAP10M_GET_PROFILE_ID, 13196 "get_profile", 13197 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13198 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13199 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13200 0,0,0,0,0,0,0, 13201 "Gets the identifier of current loaded 'profile' \n\r" 13202 " (the profile identifier loaded with 'set_profile').", 13203 "Examples:\r\n" 13204 " fap10m configuration get_profile 1\r\n" 13205 "Results in getting the (on device 1) its loaded profile identifier.\r\n", 13206 "", 13207 {0, 13208 0, 13209 BIT(0)}, 13210 2, 13211 /* 13212 * Pointer to a function to call after symbolic parameter 13213 * has been accepted. 13214 */ 13215 (VAL_PROC_PTR)NULL 13216 }, 13217 { 13218 PARAM_FAP10M_SET_PROFILE_ID, 13219 "set_profile", 13220 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13221 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13222 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13223 0,0,0,0,0,0,0, 13224 "Sets sets device with pre-defined profile.\n\r" 13225 " A large set of registers is written to the device.", 13226 "Examples:\r\n" 13227 " fap10m configuration set_profile 1 profile_id 0\r\n" 13228 "Results in setting the (on device 1) its profile number 1.\r\n", 13229 "", 13230 {0, 13231 0, 13232 BIT(2)}, 13233 2, 13234 /* 13235 * Pointer to a function to call after symbolic parameter 13236 * has been accepted. 13237 */ 13238 (VAL_PROC_PTR)NULL 13239 }, 13240 { 13241 PARAM_FAP10M_PROFILE_ID_ID, 13242 "profile_id", 13243 (PARAM_VAL_RULES *)&Fap10m_profile_id[0], 13244 (sizeof(Fap10m_profile_id) / sizeof(Fap10m_profile_id[0])) - 1, 13245 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13246 0,0,0,0,0,0,0, 13247 "The profile identifier, which the driver load the device.", 13248 "Examples:\r\n" 13249 " fap10m configuration set_profile_id 1 profile_id 0\r\n" 13250 "Results in setting the (on device 1) its profile number 1.\r\n", 13251 "", 13252 {0, 13253 0, 13254 BIT(2)}, 13255 3, 13256 /* 13257 * Pointer to a function to call after symbolic parameter 13258 * has been accepted. 13259 */ 13260 (VAL_PROC_PTR)NULL 13261 }, 13262 { 13263 PARAM_FAP10M_GET_PROFILE_VALUES_ID, 13264 "get_profile_values", 13265 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13266 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13267 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13268 0,0,0,0,0,0,0, 13269 "Gets the profile values from the device.\n\r" 13270 " A large set of register is read from the device.", 13271 "Examples:\r\n" 13272 " fap10m configuration get_profile_values 1\r\n" 13273 "Results in getting the (on device 1) loaded profile values from the device.\r\n", 13274 "", 13275 {0, 13276 0, 13277 BIT(0)}, 13278 2, 13279 /* 13280 * Pointer to a function to call after symbolic parameter 13281 * has been accepted. 13282 */ 13283 (VAL_PROC_PTR)NULL 13284 }, 13285 13286 /* END fap10m_api_configuration.h interface }*/ 13287 13288 13289 /* { fap10m_api_scheduler_flows.h interface */ 13290 { 13291 PARAM_FAP10M_SCHEDULER_FLOW_API_ID, 13292 "flow", 13293 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 13294 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 13295 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13296 0,0,0,0,0,0,0, 13297 "interface to fap10m driver scheduler flow services.", 13298 "Examples:\r\n" 13299 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay\r\n" 13300 "Resulting in opening (on device 1) flow 122, \n\r" 13301 " which to be installed on scheduler port 54,\r\n" 13302 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13303 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13304 "", 13305 {0, 13306 BIT(24) | BIT(25) | BIT(26) | BIT(29), 13307 0, 13308 BIT(0) | BIT(1), 13309 BIT(0) 13310 }, 13311 2, 13312 /* 13313 * Pointer to a function to call after symbolic parameter 13314 * has been accepted. 13315 */ 13316 (VAL_PROC_PTR)NULL 13317 }, 13318 { 13319 PARAM_FAP10M_CLOSE_SCHEDULER_FLOW_ID, 13320 "close_flow", 13321 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13322 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13323 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13324 0,0,0,0,0,0,0, 13325 "Get scheduler flow parameters.", 13326 "Examples:\r\n" 13327 " fap10m scheduler flow close_flow 1 flow_id 54\r\n" 13328 "Results in closing on device 1 scheduler flow 54.\r\n", 13329 "", 13330 {0, 13331 BIT(26)}, 13332 3, 13333 /* 13334 * Pointer to a function to call after symbolic parameter 13335 * has been accepted. 13336 */ 13337 (VAL_PROC_PTR)NULL 13338 }, 13339 { 13340 PARAM_FAP10M_GET_SCHEDULER_FLOW_PARAMS_ID, 13341 "get_flow", 13342 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13343 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13344 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13345 0,0,0,0,0,0,0, 13346 "Get scheduler flow parameters.", 13347 "Examples:\r\n" 13348 " fap10m scheduler flow get_flow 1 flow_id 54\r\n" 13349 "Results in getting on device 1 the parameters of scheduler flow 54.\r\n", 13350 "", 13351 {0, 13352 BIT(26)}, 13353 3, 13354 /* 13355 * Pointer to a function to call after symbolic parameter 13356 * has been accepted. 13357 */ 13358 (VAL_PROC_PTR)NULL 13359 }, 13360 { 13361 PARAM_FAP10M_UPDATE_SCHEDULER_RECYCLE_FLOW_ID, 13362 "update_recycle_flow", 13363 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13364 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13365 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13366 0,0,0,0,0,0,0, 13367 "Updates recycle scheduler flow, set its parameters and return the\n\r" 13368 " exact parameters were loaded to the device after rounding.", 13369 "Examples:\r\n" 13370 " fap10m scheduler flow update_recycle_flow 1 flow_id 122 source_fap 90 ingress_queue 2305 low_delay weight 12\r\n" 13371 "Resulting in updating (on device 1) flow 122 to be recycle flow, \n\r" 13372 " which to be installed on scheduler port 64,\r\n" 13373 " send it credits to fap 90 queue 2035 (on the fap).\n\r" 13374 " The flow weight on the recycle wheel is 12.\n\r", 13375 "", 13376 {0, 13377 BIT(29)}, 13378 3, 13379 /* 13380 * Pointer to a function to call after symbolic parameter 13381 * has been accepted. 13382 */ 13383 (VAL_PROC_PTR)NULL 13384 }, 13385 { 13386 PARAM_FAP10M_OPEN_SCHEDULER_RECYCLE_FLOW_ID, 13387 "open_recycle_flow", 13388 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13389 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13390 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13391 0,0,0,0,0,0,0, 13392 "Opens recycle scheduler flow, set its parameters and return the\n\r" 13393 " exact parameters were loaded to the device after rounding.", 13394 "Examples:\r\n" 13395 " fap10m scheduler flow open_recycle_flow 1 flow_id 122 source_fap 90 ingress_queue 2305 low_delay weight 12\r\n" 13396 "Resulting in opening (on device 1) flow 122 to be recycle flow, \n\r" 13397 " which to be installed on scheduler port 64,\r\n" 13398 " send it credits to fap 90 queue 2035 (on the fap).\n\r" 13399 " The flow weight on the recycle wheel is 12.\n\r", 13400 "", 13401 {0, 13402 BIT(29)}, 13403 3, 13404 /* 13405 * Pointer to a function to call after symbolic parameter 13406 * has been accepted. 13407 */ 13408 (VAL_PROC_PTR)NULL 13409 }, 13410 { 13411 PARAM_FAP10M_SCHEDULER_RECYCLE_FLOW_WEIGHT_ID, 13412 "weight", 13413 (PARAM_VAL_RULES *)&fap10m_scheduler_recycle_flow_weight_vals[0], 13414 (sizeof(fap10m_scheduler_recycle_flow_weight_vals) / sizeof(fap10m_scheduler_recycle_flow_weight_vals[0])) - 1, 13415 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13416 0,0,0,0,0,0,0, 13417 "OWeight of that flow on the recycle wheel.", 13418 "Examples:\r\n" 13419 " fap10m scheduler flow open_recycle_flow 1 flow_id 122 source_fap 90 ingress_queue 2305 weight 12 low_delay \r\n" 13420 "Resulting in opening (on device 1) flow 122 to be recycle flow, \n\r" 13421 " which to be installed on scheduler port 64,\r\n" 13422 " send it credits to fap 90 queue 2035 (on the fap).\n\r" 13423 " The flow weight on the recycle wheel is 12.\n\r", 13424 "", 13425 {0, 13426 BIT(29)}, 13427 10, 13428 /* 13429 * Pointer to a function to call after symbolic parameter 13430 * has been accepted. 13431 */ 13432 (VAL_PROC_PTR)NULL 13433 }, 13434 { 13435 PARAM_FAP10M_UPDATE_WEIGHT_ID, 13436 "update_weight", 13437 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13438 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13439 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13440 0,0,0,0,0,0,0, 13441 "Updates scheduler flow / aggregate weight.\n\r" 13442 " Should only be called on active flow/aggregate.", 13443 "", 13444 "", 13445 {0, 13446 0, 13447 0, 13448 0, 13449 BIT(0) 13450 }, 13451 3, 13452 /* 13453 * Pointer to a function to call after symbolic parameter 13454 * has been accepted. 13455 */ 13456 (VAL_PROC_PTR)NULL 13457 }, 13458 { 13459 PARAM_FAP10M_UPDATE_WEIGHT_SUB_INDX_ID, 13460 "sub_flow_index", 13461 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13462 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13463 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13464 0,0,0,0,0,0,0, 13465 "The index of the sub-flow.\n\r" 13466 " Should be 0 or 1.", 13467 "", 13468 "", 13469 {0, 13470 0, 13471 0, 13472 0, 13473 BIT(0) 13474 }, 13475 5, 13476 /* 13477 * Pointer to a function to call after symbolic parameter 13478 * has been accepted. 13479 */ 13480 (VAL_PROC_PTR)NULL 13481 }, 13482 { 13483 PARAM_FAP10M_UPDATE_WEIGHT_WEIGHT_ID, 13484 "new_weight", 13485 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13486 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13487 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13488 0,0,0,0,0,0,0, 13489 "The weight to be set.\n\r" 13490 " Should be 1 to 126", 13491 "", 13492 "", 13493 {0, 13494 0, 13495 0, 13496 0, 13497 BIT(0) 13498 }, 13499 6, 13500 /* 13501 * Pointer to a function to call after symbolic parameter 13502 * has been accepted. 13503 */ 13504 (VAL_PROC_PTR)NULL 13505 }, 13506 { 13507 PARAM_FAP10M_UPDATE_SCHEDULER_FLOW_ID, 13508 "update_flow", 13509 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13510 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13511 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13512 0,0,0,0,0,0,0, 13513 "Updates scheduler flow, set its parameters and return the\n\r" 13514 " exact parameters were loaded to the device after rounding.", 13515 "Examples:\r\n" 13516 " fap10m scheduler flow update_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13517 "Resulting in updating (on device 1) flow 122, \n\r" 13518 " which to be installed on scheduler port 54,\r\n" 13519 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13520 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13521 "", 13522 {0, 13523 BIT(24) | BIT(25)}, 13524 3, 13525 /* 13526 * Pointer to a function to call after symbolic parameter 13527 * has been accepted. 13528 */ 13529 (VAL_PROC_PTR)NULL 13530 }, 13531 { 13532 PARAM_FAP10M_UPDATE_SCHEDULER_FLOW_QOS_ID, 13533 "update_flow_qos", 13534 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13535 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13536 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13537 0,0,0,0,0,0,0, 13538 "Updates scheduler flow QOS, set its parameters and return the\n\r" 13539 " exact parameters were loaded to the device after rounding.", 13540 "Examples:\r\n" 13541 " fap10m scheduler flow update_flow 1 flow_id 122 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_jitter \r\n" 13542 "Resulting in updating (on device 1) flow 122, \n\r" 13543 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13544 "", 13545 {0, 13546 0, 13547 0, 13548 BIT(0) | BIT(1) 13549 }, 13550 3, 13551 /* 13552 * Pointer to a function to call after symbolic parameter 13553 * has been accepted. 13554 */ 13555 (VAL_PROC_PTR)NULL 13556 }, 13557 { 13558 PARAM_FAP10M_OPEN_SCHEDULER_FLOW_ID, 13559 "open_flow", 13560 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13561 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13562 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13563 0,0,0,0,0,0,0, 13564 "Open scheduler flow, set its parameters and return the\n\r" 13565 " exact parameters were loaded to the device after rounding.", 13566 "Examples:\r\n" 13567 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay\r\n" 13568 "Resulting in opening (on device 1) flow 122, \n\r" 13569 " which to be installed on scheduler port 54,\r\n" 13570 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13571 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13572 "", 13573 {0, 13574 BIT(24) | BIT(25) }, 13575 3, 13576 /* 13577 * Pointer to a function to call after symbolic parameter 13578 * has been accepted. 13579 */ 13580 (VAL_PROC_PTR)NULL 13581 }, 13582 { 13583 PARAM_FAP10M_FLOW_ID_ID, 13584 "flow_id", 13585 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 13586 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 13587 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13588 0,0,0,0,0,0,0, 13589 "Flow, in the scheduler.", 13590 "Examples:\r\n" 13591 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13592 "Resulting in opening (on device 1) flow 122, \n\r" 13593 " which to be installed on scheduler port 54,\r\n" 13594 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13595 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13596 "", 13597 {0, 13598 BIT(24) | BIT(25) | BIT(26) | BIT(29), 13599 0, 13600 BIT(0) | BIT(1) , 13601 BIT(0) 13602 }, 13603 4, 13604 /* 13605 * Pointer to a function to call after symbolic parameter 13606 * has been accepted. 13607 */ 13608 (VAL_PROC_PTR)NULL 13609 }, 13610 { 13611 PARAM_FAP10M_SCHEDULER_PORT_ID_ID, 13612 "sch_port_id", 13613 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_no_recyle_vals[0], 13614 (sizeof(Fap10m_scheduler_port_id_no_recyle_vals) / sizeof(Fap10m_scheduler_port_id_no_recyle_vals[0])) - 1, 13615 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13616 0,0,0,0,0,0,0, 13617 "Scheduler port, the will is belonged to.", 13618 "Examples:\r\n" 13619 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13620 "Resulting in opening (on device 1) flow 122, \n\r" 13621 " which to be installed on scheduler port 54,\r\n" 13622 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13623 " The flow will be 'low jitter' flow with 2 subflows.\n\r", 13624 "", 13625 {0, 13626 BIT(24) | BIT(25)}, 13627 5, 13628 /* 13629 * Pointer to a function to call after symbolic parameter 13630 * has been accepted. 13631 */ 13632 (VAL_PROC_PTR)NULL 13633 }, 13634 { 13635 PARAM_FAP10M_SOURCE_FAP_ID_ID, 13636 "source_fap", 13637 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 13638 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 13639 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13640 0,0,0,0,0,0,0, 13641 "FAP identifier, this flow is supposed to sent credits to.", 13642 "Examples:\r\n" 13643 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13644 "Resulting in opening (on device 1) flow 122, \n\r" 13645 " which to be installed on scheduler port 54,\r\n" 13646 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13647 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13648 "", 13649 {0, 13650 BIT(24) | BIT(25) | BIT(29)}, 13651 6, 13652 /* 13653 * Pointer to a function to call after symbolic parameter 13654 * has been accepted. 13655 */ 13656 (VAL_PROC_PTR)NULL 13657 }, 13658 { 13659 PARAM_FAP10M_INGRESS_QUEUE_ID_ID, 13660 "ingress_queue", 13661 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 13662 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 13663 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13664 0,0,0,0,0,0,0, 13665 "Ingress queue identifier, this flow is supposed to sent credits to.", 13666 "Examples:\r\n" 13667 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay\r\n" 13668 "Resulting in opening (on device 1) flow 122, \n\r" 13669 " which to be installed on scheduler port 54,\r\n" 13670 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13671 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13672 "", 13673 {0, 13674 BIT(24) | BIT(25) | BIT(29) }, 13675 7, 13676 /* 13677 * Pointer to a function to call after symbolic parameter 13678 * has been accepted. 13679 */ 13680 (VAL_PROC_PTR)NULL 13681 }, 13682 { 13683 PARAM_FAP10M_SUB_FLOW_0_TYPE_ID, 13684 "sub_0_flow_type", 13685 (PARAM_VAL_RULES *)&Fap10m_sub_flow_types[0], 13686 (sizeof(Fap10m_sub_flow_types) / sizeof(Fap10m_sub_flow_types[0])) - 1, 13687 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13688 0,0,0,0,0,0,0, 13689 "Ingress queue identifier, this flow is supposed to sent credits to.", 13690 "Examples:\r\n" 13691 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13692 "Resulting in opening (on device 1) flow 122, \n\r" 13693 " which to be installed on scheduler port 54,\r\n" 13694 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13695 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13696 "", 13697 {0, 13698 BIT(24) | BIT(25), 13699 BIT(13) | BIT(14), 13700 BIT(0) | BIT(1) 13701 }, 13702 8, 13703 /* 13704 * Pointer to a function to call after symbolic parameter 13705 * has been accepted. 13706 */ 13707 (VAL_PROC_PTR)NULL 13708 }, 13709 { 13710 PARAM_FAP10M_SUB_FLOW_0_VALUE_ID, 13711 "sub_0_flow_value", 13712 (PARAM_VAL_RULES *)&Fap10m_sub_flow_values[0], 13713 (sizeof(Fap10m_sub_flow_values) / sizeof(Fap10m_sub_flow_values[0])) - 1, 13714 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13715 0,0,0,0,0,0,0, 13716 "Ingress queue identifier, this flow is supposed to sent credits to.\n\r" 13717 " 'value' semantics depends on the 'type' value:\n\r" 13718 "\n\r" 13719 " FAP10M_SUB_FLOW_TYPE | 'value' semantics\n\r" 13720 "----------------------------------------------\n\r" 13721 " FAP10M_EDF0_FLOW | Kilo-bits - guaranteed rate\n\r" 13722 " FAP10M_EDF1_FLOW | Kilo-bits -Maximal rate\n\r" 13723 " FAP10M_EDF0_PERCENTAGE_FLOW | 0-1000000: 90000 = 9%%\n\r" 13724 " FAP10M_EDF1_PERCENTAGE_FLOW | 0-1000000: 120000 = 12%%\n\r" 13725 " FAP10M_WFQ1_FLOW | Weight. Range from 1 to 126.\n\r" 13726 "", 13727 "Examples:\r\n" 13728 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13729 "Resulting in opening (on device 1) flow 122, \n\r" 13730 " which to be installed on scheduler port 54,\r\n" 13731 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13732 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13733 "", 13734 {0, 13735 BIT(24) | BIT(25) , 13736 BIT(13) | BIT(14), 13737 BIT(0) | BIT(1) 13738 }, 13739 9, 13740 /* 13741 * Pointer to a function to call after symbolic parameter 13742 * has been accepted. 13743 */ 13744 (VAL_PROC_PTR)NULL 13745 }, 13746 { 13747 PARAM_FAP10M_SUB_FLOW_1_TYPE_ID, 13748 "sub_1_flow_type", 13749 (PARAM_VAL_RULES *)&Fap10m_sub_flow_types[0], 13750 (sizeof(Fap10m_sub_flow_types) / sizeof(Fap10m_sub_flow_types[0])) - 1, 13751 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13752 0,0,0,0,0,0,0, 13753 "Ingress queue identifier, this flow is supposed to sent credits to.", 13754 "Examples:\r\n" 13755 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13756 "Resulting in opening (on device 1) flow 122, \n\r" 13757 " which to be installed on scheduler port 54,\r\n" 13758 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13759 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13760 "", 13761 {0, 13762 BIT(25) , 13763 BIT(13) , 13764 BIT(1) 13765 }, 13766 10, 13767 /* 13768 * Pointer to a function to call after symbolic parameter 13769 * has been accepted. 13770 */ 13771 (VAL_PROC_PTR)NULL 13772 }, 13773 { 13774 PARAM_FAP10M_SUB_FLOW_1_VALUE_ID, 13775 "sub_1_flow_value", 13776 (PARAM_VAL_RULES *)&Fap10m_sub_flow_values[0], 13777 (sizeof(Fap10m_sub_flow_values) / sizeof(Fap10m_sub_flow_values[0])) - 1, 13778 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13779 0,0,0,0,0,0,0, 13780 "Ingress queue identifier, this flow is supposed to sent credits to.", 13781 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay\r\n" 13782 "Resulting in opening (on device 1) flow 122, \n\r" 13783 " which to be installed on scheduler port 54,\r\n" 13784 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13785 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13786 "", 13787 {0, 13788 BIT(25) , 13789 BIT(13) , 13790 BIT(1) 13791 }, 13792 11, 13793 /* 13794 * Pointer to a function to call after symbolic parameter 13795 * has been accepted. 13796 */ 13797 (VAL_PROC_PTR)NULL 13798 }, 13799 { 13800 PARAM_FAP10M_LOW_JITTER_ENABLE_ID, 13801 "low_delay", 13802 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 13803 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 13804 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 13805 0,0,0,0,0,0,0, 13806 "If appears, indicates that this flow will sent its credit\r\n" 13807 " regardless if its ingress queue has data.", 13808 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay \r\n" 13809 "Resulting in opening (on device 1) flow 122, \n\r" 13810 " which to be installed on scheduler port 54,\r\n" 13811 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13812 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13813 "", 13814 {0, 13815 BIT(25) | BIT(29), 13816 BIT(13) , 13817 BIT(1) 13818 }, 13819 12, 13820 /* 13821 * Pointer to a function to call after symbolic parameter 13822 * has been accepted. 13823 */ 13824 (VAL_PROC_PTR)NULL 13825 }, 13826 { 13827 PARAM_FAP10M_LOW_JITTER_ENABLE_ID, 13828 "low_delay", 13829 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 13830 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 13831 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 13832 0,0,0,0,0,0,0, 13833 "If appears, indicates that this flow will sent its credit\r\n" 13834 " regardless if its ingress queue has data.", 13835 " fap10m scheduler flow open_flow 1 flow_id 122 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 low_delay\r\n" 13836 "Resulting in opening (on device 1) flow 122, \n\r" 13837 " which to be installed on scheduler port 54,\r\n" 13838 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13839 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13840 "", 13841 {0, 13842 BIT(24) , 13843 BIT(14) , 13844 BIT(0) 13845 }, 13846 10, 13847 /* 13848 * Pointer to a function to call after symbolic parameter 13849 * has been accepted. 13850 */ 13851 (VAL_PROC_PTR)NULL 13852 }, 13853 { 13854 PARAM_FAP10M_AGGREGATE_FLOW_ID, 13855 "aggregate_flow", 13856 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 13857 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 13858 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 13859 0,0,0,0,0,0,0, 13860 "If appears, the flow is aggregate.\r\n" 13861 " Only flows 0-63 might be aggregate flow. Not supported for FAP10M_A0.", 13862 " fap10m scheduler flow open_flow 1 flow_id 22 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 aggregate_flow \r\n" 13863 "Resulting in opening (on device 1) flow 22, \n\r" 13864 " which to be installed on scheduler port 54,\r\n" 13865 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13866 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13867 "", 13868 {0, 13869 BIT(25) | BIT(29), 13870 BIT(13) , 13871 BIT(1) 13872 }, 13873 12, 13874 /* 13875 * Pointer to a function to call after symbolic parameter 13876 * has been accepted. 13877 */ 13878 (VAL_PROC_PTR)NULL 13879 }, 13880 { 13881 PARAM_FAP10M_AGGREGATE_FLOW_ID, 13882 "aggregate_flow", 13883 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 13884 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 13885 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 13886 0,0,0,0,0,0,0, 13887 "If appears, the flow is aggregate.\r\n" 13888 " Only flows 0-63 might be aggregate flow. Not supported for FAP10M_A0.", 13889 " fap10m scheduler flow open_flow 1 flow_id 22 sch_port_id 54 source_fap 90 ingress_queue 2305 sub_0_flow_type wfq1 sub_0_flow_value 323 sub_1_flow_type edf1 sub_1_flow_value 12 aggregate_flow \r\n" 13890 "Resulting in opening (on device 1) flow 22, \n\r" 13891 " which to be installed on scheduler port 54,\r\n" 13892 " send it credits to fap 90 queue 2035 (on tha fap).\n\r" 13893 " The flow wiil be 'low jitter' flow with 2 subflows.\n\r", 13894 "", 13895 {0, 13896 BIT(24) , 13897 BIT(14) , 13898 BIT(0) 13899 }, 13900 10, 13901 /* 13902 * Pointer to a function to call after symbolic parameter 13903 * has been accepted. 13904 */ 13905 (VAL_PROC_PTR)NULL 13906 }, 13907 /* END fap10m_api_scheduler_flows.h interface }*/ 13908 /* { fap10m_api_packet.h interface */ 13909 { 13910 PARAM_FAP10M_PACKET_RESET_CAPTURE_BUFFR_ID, 13911 "packet_reset_capture_fifo", 13912 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13913 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13914 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13915 0,0,0,0,0,0,0, 13916 "Reset the capture packet fifo at the device.\r\n", 13917 "Examples:\r\n" 13918 " fap10m traffic packet_reset_capture_fifo 0 \r\n" 13919 "Results in packet capture fifo reset, all packets that were,\n\r" 13920 " in the queue to the CPU to read, were deleted.\r\n", 13921 "", 13922 {0, 13923 BIT(22) }, 13924 2, 13925 /* 13926 * Pointer to a function to call after symbolic parameter 13927 * has been accepted. 13928 */ 13929 (VAL_PROC_PTR)NULL 13930 }, 13931 { 13932 PARAM_FAP10M_RECV_PACKET_ID, 13933 "recv_packet", 13934 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13935 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13936 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13937 0,0,0,0,0,0,0, 13938 "This procedure receives packet.\r\n", 13939 "Examples:\r\n" 13940 " fap10m traffic recv_packet 0 \r\n" 13941 "Results in checking if there is packet in the device.\n\r" 13942 "Case there is, read and print it.\r\n", 13943 "", 13944 {0, 13945 BIT(22) }, 13946 2, 13947 /* 13948 * Pointer to a function to call after symbolic parameter 13949 * has been accepted. 13950 */ 13951 (VAL_PROC_PTR)NULL 13952 }, 13953 { 13954 PARAM_FAP10M_DEFRRED_RECV_PACKET_ID, 13955 "recv_packet", 13956 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13957 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13958 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13959 0,0,0,0,0,0,0, 13960 "deferred receive (polling) packet.\r\n", 13961 "Examples:\r\n" 13962 " fap10m deferred recv_packet 0x1 polling_rate 160\r\n" 13963 "Results in deferred reading a packets (were designated to the CPU)\n\r" 13964 " from device 0x1.\r\n", 13965 "", 13966 {BIT(24)}, 13967 2, 13968 /* 13969 * Pointer to a function to call after symbolic parameter 13970 * has been accepted. 13971 */ 13972 (VAL_PROC_PTR)NULL 13973 }, 13974 { 13975 PARAM_FAP10M_SEND_PACKET_ID, 13976 "send_packet", 13977 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 13978 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 13979 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 13980 0,0,0,0,0,0,0, 13981 "This procedure transmits one packet.\r\n", 13982 "Examples:\r\n" 13983 " fap10m traffic send_packet 0 target_fap 120 data 0x12 0x775487 0x76767 \r\n" 13984 "Results in sending to FAP with id of 120, from device 0, one packet\r\n" 13985 " with 12 bytes with the above data.\r\n", 13986 "", 13987 {0, 13988 BIT(23) }, 13989 2, 13990 /* 13991 * Pointer to a function to call after symbolic parameter 13992 * has been accepted. 13993 */ 13994 (VAL_PROC_PTR)NULL 13995 }, 13996 { 13997 PARAM_FAP10M_TARGET_FAP_ID_ID, 13998 "target_fap", 13999 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 14000 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 14001 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14002 0,0,0,0,0,0,0, 14003 "One of FAPs identifier in the system.\r\n", 14004 "Examples:\r\n" 14005 " fap10m traffic send_packet 0 target_fap 120 data 0x12 0x775487 0x76767 \r\n" 14006 "Results in sending to FAP with id of 120, from device 0, one packet\r\n" 14007 " with 12 bytes with the above data.\r\n", 14008 "", 14009 {0, 14010 BIT(23) }, 14011 3, 14012 /* 14013 * Pointer to a function to call after symbolic parameter 14014 * has been accepted. 14015 */ 14016 (VAL_PROC_PTR)NULL 14017 }, 14018 { 14019 PARAM_FAP10M_PACKET_DATA_ID, 14020 "data", 14021 (PARAM_VAL_RULES *)&Fap10m_packet_data[0], 14022 (sizeof(Fap10m_packet_data) / sizeof(Fap10m_packet_data[0])) - 1, 14023 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14024 0,0,0,0,0,0,0, 14025 "Data to carry on packet payload. In case that data length is less \r\n" 14026 "then 64 bytes (16 long) it will be completed to 16 long with zero padding.\r\n", 14027 "Examples:\r\n" 14028 " fap10m traffic send_packet 0 target_fap 120 data 0x12 0x775487 0x76767 \r\n" 14029 "Results in sending to FAP with id of 120, from device 0, one packet\r\n" 14030 " with 12 bytes with the above data and 52 bytes of zero.\r\n", 14031 "", 14032 {0, 14033 BIT(23) }, 14034 4, 14035 /* 14036 * Pointer to a function to call after symbolic parameter 14037 * has been accepted. 14038 */ 14039 (VAL_PROC_PTR)NULL 14040 }, 14041 /* END fap10m_api_packet.h interface }*/ 14042 /* { fap10m_api_recycle_multicast.h interface */ 14043 { 14044 PARAM_FAP10M_RECYCLE_MULTICAST_API_ID, 14045 "recycle", 14046 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 14047 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 14048 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14049 0,0,0,0,0,0,0, 14050 "interface to fap10m driver recycle multicast module services.", 14051 "Examples:\r\n" 14052 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_index_0 100 recycle_q_index_1 29 \r\n" 14053 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14054 "Internal node, which point to next tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14055 "", 14056 {0, 14057 BIT(17) | BIT(18) | BIT(19) | BIT(20) | BIT(21) }, 14058 2, 14059 /* 14060 * Pointer to a function to call after symbolic parameter 14061 * has been accepted. 14062 */ 14063 (VAL_PROC_PTR)NULL 14064 }, 14065 { 14066 PARAM_FAP10M_GET_RECYCLING_QUEUE_ID, 14067 "get_recycling_queue", 14068 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14069 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14070 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14071 0,0,0,0,0,0,0, 14072 "This procedure gets recycling queue parameters.\r\n", 14073 "Examples:\r\n" 14074 " fap10m multicast recycle get_recycling_queue 0 recycle_queue_index 12\r\n" 14075 "Results in get and display recycle queue index 12.\r\n", 14076 "", 14077 {0, 14078 BIT(21) }, 14079 3, 14080 /* 14081 * Pointer to a function to call after symbolic parameter 14082 * has been accepted. 14083 */ 14084 (VAL_PROC_PTR)NULL 14085 }, 14086 { 14087 PARAM_FAP10M_CLOSE_RECYCLING_QUEUE_ID, 14088 "close_recycling_queue", 14089 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14090 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14091 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14092 0,0,0,0,0,0,0, 14093 "This procedure deletes a recycling queue by setting the FAP - \n\r" 14094 " 'recycle_queue_index' to be invalid.\r\n", 14095 "Examples:\r\n" 14096 " fap10m multicast recycle close_recycling_queue 0 recycle_queue_index 12\r\n" 14097 "Results in recycle queue index 12 to be invalid.\r\n", 14098 "", 14099 {0, 14100 BIT(21) }, 14101 3, 14102 /* 14103 * Pointer to a function to call after symbolic parameter 14104 * has been accepted. 14105 */ 14106 (VAL_PROC_PTR)NULL 14107 }, 14108 { 14109 PARAM_FAP10M_OPEN_RECYCLING_QUEUE_ID, 14110 "open_recycling_queue", 14111 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14112 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14113 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14114 0,0,0,0,0,0,0, 14115 "This procedure adds a recycling queue by setting the\r\n" 14116 " 'recycle_queue_index' to point to a the new 'queue_id'.\r\n", 14117 "Examples:\r\n" 14118 " fap10m multicast recycle open_recycling_queue 0 recycle_queue_index 127 queue_id 8191\r\n" 14119 "Results in recycle queue index 127 points to queue 8191 on device 0.\r\n", 14120 "", 14121 {0, 14122 BIT(20) }, 14123 3, 14124 /* 14125 * Pointer to a function to call after symbolic parameter 14126 * has been accepted. 14127 */ 14128 (VAL_PROC_PTR)NULL 14129 }, 14130 { 14131 PARAM_FAP10M_RECYCLE_Q_INDEX_ID, 14132 "recycle_queue_index", 14133 (PARAM_VAL_RULES *)&Fap10m_recycle_queue_index[0], 14134 (sizeof(Fap10m_recycle_queue_index) / sizeof(Fap10m_recycle_queue_index[0])) - 1, 14135 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14136 0,0,0,0,0,0,0, 14137 "Index in the Recycling-Queue table.\r\n", 14138 "Examples:\r\n" 14139 " fap10m multicast recycle open_recycling_queue 0 recycle_queue_index 127 queue_id 8191\r\n" 14140 "Results in recycle queue index 127 points to queue 8191 on device 0.\r\n", 14141 "", 14142 {0, 14143 BIT(20) | BIT(21)}, 14144 4, 14145 /* 14146 * Pointer to a function to call after symbolic parameter 14147 * has been accepted. 14148 */ 14149 (VAL_PROC_PTR)NULL 14150 }, 14151 { 14152 PARAM_FAP10M_QUEUE_ID_ID, 14153 "queue_id", 14154 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 14155 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 14156 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14157 0,0,0,0,0,0,0, 14158 "Queue identifier.\r\n", 14159 "Examples:\r\n" 14160 " fap10m multicast recycle open_recycling_queue 0 recycle_queue_index 127 queue_id 8191\r\n" 14161 "Results in recycle queue index 127 points to queue 8191 on device 0.\r\n", 14162 "", 14163 {0, 14164 BIT(20) }, 14165 5, 14166 /* 14167 * Pointer to a function to call after symbolic parameter 14168 * has been accepted. 14169 */ 14170 (VAL_PROC_PTR)NULL 14171 }, 14172 { 14173 PARAM_FAP10M_CLOSE_RECYCLE_NODE_ID, 14174 "close_node", 14175 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14176 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14177 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14178 0,0,0,0,0,0,0, 14179 "This procedure deletes one node form the recycle tree.\r\n", 14180 "Examples:\r\n" 14181 " fap10m multicast recycle close_node 0 tree_id 1221 \r\n" 14182 "Results in closing on device 0 for tree id 1221.\r\n", 14183 "", 14184 {0, 14185 BIT(19) }, 14186 3, 14187 /* 14188 * Pointer to a function to call after symbolic parameter 14189 * has been accepted. 14190 */ 14191 (VAL_PROC_PTR)NULL 14192 }, 14193 { 14194 PARAM_FAP10M_GET_RECYCLE_NODE_ID, 14195 "get_node", 14196 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14197 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14198 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14199 0,0,0,0,0,0,0, 14200 "This procedure get and display one node form the recycle tree.\r\n", 14201 "Examples:\r\n" 14202 " fap10m multicast recycle get_node 0 tree_id 1221 \r\n" 14203 "Results in getting and displaying on device 0 node on tree id 1221.\r\n", 14204 "", 14205 {0, 14206 BIT(19) }, 14207 3, 14208 /* 14209 * Pointer to a function to call after symbolic parameter 14210 * has been accepted. 14211 */ 14212 (VAL_PROC_PTR)NULL 14213 }, 14214 { 14215 PARAM_FAP10M_OPEN_RECYCLE_LAST_NODE_ID, 14216 "open_last_node", 14217 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14218 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14219 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14220 0,0,0,0,0,0,0, 14221 "This procedure adds one last node to the recycle tree.\r\n", 14222 "Examples:\r\n" 14223 " fap10m multicast recycle open_last_node 0 tree_id 1221 queues 125 8191 \r\n" 14224 "Results in setting on device 0 for tree id 1221 to be:\n\r" 14225 "Last node, which point to 2 queues: 125 and 8191.\r\n", 14226 "", 14227 {0, 14228 BIT(18) }, 14229 3, 14230 /* 14231 * Pointer to a function to call after symbolic parameter 14232 * has been accepted. 14233 */ 14234 (VAL_PROC_PTR)NULL 14235 }, 14236 { 14237 PARAM_FAP10M_QUEUES_ID_ID, 14238 "queues", 14239 (PARAM_VAL_RULES *)&Fap10m_recycle_multicast_queues[0], 14240 (sizeof(Fap10m_recycle_multicast_queues) / sizeof(Fap10m_recycle_multicast_queues[0])) - 1, 14241 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14242 0,0,0,0,0,0,0, 14243 "1 or 2 queues identifiers.\r\n", 14244 "Examples:\r\n" 14245 " fap10m multicast recycle open_last_node 0 tree_id 1221 queues 125 8191 \r\n" 14246 "Results in setting on device 0 for tree id 1221 to be:\n\r" 14247 "Last node, which point to 2 queues: 125 and 8191.\r\n", 14248 "", 14249 {0, 14250 BIT(18) }, 14251 5, 14252 /* 14253 * Pointer to a function to call after symbolic parameter 14254 * has been accepted. 14255 */ 14256 (VAL_PROC_PTR)NULL 14257 }, 14258 { 14259 PARAM_FAP10M_OPEN_RECYCLE_INTERNAL_NODE_ID, 14260 "open_internal_node", 14261 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14262 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14263 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14264 0,0,0,0,0,0,0, 14265 "This procedure adds one last node to the recycle tree.\r\n", 14266 "Examples:\r\n" 14267 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_index_0 100 recycle_q_index_1 29 \r\n" 14268 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14269 "Internal node, which point to nect tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14270 "", 14271 {0, 14272 BIT(17) }, 14273 3, 14274 /* 14275 * Pointer to a function to call after symbolic parameter 14276 * has been accepted. 14277 */ 14278 (VAL_PROC_PTR)NULL 14279 }, 14280 { 14281 PARAM_FAP10M_TREE_ID_ID, 14282 "tree_id", 14283 (PARAM_VAL_RULES *)&Fap10m_recycle_multicast_tree_id[0], 14284 (sizeof(Fap10m_recycle_multicast_tree_id) / sizeof(Fap10m_recycle_multicast_tree_id[0])) - 1, 14285 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14286 0,0,0,0,0,0,0, 14287 "Tree id in recycle tree.\r\n", 14288 "Examples:\r\n" 14289 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_index_0 100 recycle_q_index_1 29 \r\n" 14290 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14291 "Internal node, which point to nect tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14292 "", 14293 {0, 14294 BIT(17) | BIT(18) | BIT(19)}, 14295 4, 14296 /* 14297 * Pointer to a function to call after symbolic parameter 14298 * has been accepted. 14299 */ 14300 (VAL_PROC_PTR)NULL 14301 }, 14302 { 14303 PARAM_FAP10M_NEXT_TREE_ID_ID, 14304 "next_tree_id", 14305 (PARAM_VAL_RULES *)&Fap10m_recycle_multicast_tree_id[0], 14306 (sizeof(Fap10m_recycle_multicast_tree_id) / sizeof(Fap10m_recycle_multicast_tree_id[0])) - 1, 14307 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14308 0,0,0,0,0,0,0, 14309 "Next level tree id.\r\n", 14310 "Examples:\r\n" 14311 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_indices 100 29 \r\n" 14312 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14313 "Internal node, which point to next tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14314 "", 14315 {0, 14316 BIT(17) }, 14317 5, 14318 /* 14319 * Pointer to a function to call after symbolic parameter 14320 * has been accepted. 14321 */ 14322 (VAL_PROC_PTR)NULL 14323 }, 14324 { 14325 PARAM_FAP10M_RECYCLE_Q_INDEX_0_ID, 14326 "recycle_q_index_0", 14327 (PARAM_VAL_RULES *)&Fap10m_recycle_queue_index[0], 14328 (sizeof(Fap10m_recycle_queue_index) / sizeof(Fap10m_recycle_queue_index[0])) - 1, 14329 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14330 0,0,0,0,0,0,0, 14331 "index to \'Multicast Recycling-Queue\' table.\r\n", 14332 "Examples:\r\n" 14333 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_index_0 100 recycle_q_index_1 29 \r\n" 14334 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14335 "Internal node, which point to next tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14336 "", 14337 {0, 14338 BIT(17) }, 14339 6, 14340 /* 14341 * Pointer to a function to call after symbolic parameter 14342 * has been accepted. 14343 */ 14344 (VAL_PROC_PTR)NULL 14345 }, 14346 { 14347 PARAM_FAP10M_RECYCLE_Q_INDEX_1_ID, 14348 "recycle_q_index_1", 14349 (PARAM_VAL_RULES *)&Fap10m_recycle_queue_index[0], 14350 (sizeof(Fap10m_recycle_queue_index) / sizeof(Fap10m_recycle_queue_index[0])) - 1, 14351 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14352 0,0,0,0,0,0,0, 14353 "index to \'Multicast Recycling-Queue\' table.\r\n", 14354 "Examples:\r\n" 14355 " fap10m multicast recycle open_internal_node 0 tree_id 12000 next_tree_id 900 recycle_q_index_0 100 recycle_q_index_1 29 \r\n" 14356 "Results in setting on device 0 for tree id 12000 to be:\n\r" 14357 "Internal node, which point to next tree id 900 and to recycling queue indices of 100 and 29.\r\n", 14358 "", 14359 {0, 14360 BIT(17) }, 14361 7, 14362 /* 14363 * Pointer to a function to call after symbolic parameter 14364 * has been accepted. 14365 */ 14366 (VAL_PROC_PTR)NULL 14367 }, 14368 /* END fap10m_api_recycle_multicast.h interface }*/ 14369 14370 /* { fap10m_api_ingress_queue.h interface */ 14371 { 14372 PARAM_FAP10M_INGRESS_QUEUE_API_ID, 14373 "in_queue", 14374 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 14375 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 14376 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14377 0,0,0,0,0,0,0, 14378 "interface to fap10m driver ingress queue module services.", 14379 "Examples:\r\n" 14380 " fap10m in_queue set_queue_labeling 0 target_fap 10 base_queue 1001 label_type destination_mapping \r\n" 14381 "Results in setting on device 0 for packet destained to fap 10,\n\r" 14382 "the base queue 1001, with destination_mapping labeling\r\n", 14383 "", 14384 {0, 14385 BIT(13) | BIT(14) | BIT(15) | BIT(16), 14386 0, 14387 BIT(25)}, 14388 1, 14389 /* 14390 * Pointer to a function to call after symbolic parameter 14391 * has been accepted. 14392 */ 14393 (VAL_PROC_PTR)NULL 14394 }, 14395 { 14396 PARAM_FAP10M_GET_QUEUE_SIZE_ID, 14397 "get_queue_size", 14398 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14399 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14400 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14401 0,0,0,0,0,0,0, 14402 "Get from the device the ingress FAP queue byte size\r\n", 14403 "Examples:\r\n" 14404 " fap10m in_queue get_queue_size 0 queue_id 11\r\n" 14405 "Results in getting on device 0 queue 11 byte size.\r\n", 14406 "", 14407 {0, 14408 BIT(16) }, 14409 2, 14410 /* 14411 * Pointer to a function to call after symbolic parameter 14412 * has been accepted. 14413 */ 14414 (VAL_PROC_PTR)NULL 14415 }, 14416 { 14417 PARAM_FAP10M_GET_NON_EMPTY_QUEUES_ID, 14418 "get_non_empty_queues", 14419 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14420 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14421 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14422 0,0,0,0,0,0,0, 14423 "Get from the device the ingress FAP non empty queues\r\n", 14424 "Examples:\r\n" 14425 " fap10m in_queue get_non_empty_queues 0\r\n" 14426 "Results in getting on device 0 non-empty queues. 8K queues are getting scanned\r\n", 14427 "", 14428 {0, 14429 0, 14430 0, 14431 BIT(25) }, 14432 2, 14433 /* 14434 * Pointer to a function to call after symbolic parameter 14435 * has been accepted. 14436 */ 14437 (VAL_PROC_PTR)NULL 14438 }, 14439 14440 { 14441 PARAM_FAP10M_GET_QUEUE_PARAMS_ID, 14442 "get_queue_params", 14443 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14444 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14445 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14446 0,0,0,0,0,0,0, 14447 "Get from the device the ingress FAP queue configured parameters\r\n", 14448 "Examples:\r\n" 14449 " fap10m in_queue get_queue_params 0 queue_id 11\r\n" 14450 "Results in getting on device 0 queue 11 parameters.\r\n", 14451 "", 14452 {0, 14453 BIT(16) }, 14454 2, 14455 /* 14456 * Pointer to a function to call after symbolic parameter 14457 * has been accepted. 14458 */ 14459 (VAL_PROC_PTR)NULL 14460 }, 14461 { 14462 PARAM_FAP10M_CLOSE_QUEUE_ID, 14463 "close_queue", 14464 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14465 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14466 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14467 0,0,0,0,0,0,0, 14468 "Close an ingress FAP queue.\r\n" 14469 "Note the device is set with some default parameters.\n\r" 14470 "These parameters do NOT cause the device not to send packets.\n\r", 14471 "Examples:\r\n" 14472 " fap10m in_queue close_queue 0 queue_id 11 \r\n" 14473 "Results in closing on device 0 queue 11.\r\n", 14474 "", 14475 {0, 14476 BIT(16) }, 14477 2, 14478 /* 14479 * Pointer to a function to call after symbolic parameter 14480 * has been accepted. 14481 */ 14482 (VAL_PROC_PTR)NULL 14483 }, 14484 { 14485 PARAM_FAP10M_UPDATE_QUEUE_ID, 14486 "update_queue", 14487 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14488 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14489 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14490 0,0,0,0,0,0,0, 14491 "Update an ingress FAP queue parameters.\r\n", 14492 "Examples:\r\n" 14493 " fap10m in_queue update_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14494 "Results in updating on device 0 queue 11 to point:\n\r" 14495 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14496 "", 14497 {0, 14498 BIT(15) }, 14499 2, 14500 /* 14501 * Pointer to a function to call after symbolic parameter 14502 * has been accepted. 14503 */ 14504 (VAL_PROC_PTR)NULL 14505 }, 14506 { 14507 PARAM_FAP10M_OPEN_QUEUE_ID, 14508 "open_queue", 14509 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14510 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14511 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14512 0,0,0,0,0,0,0, 14513 "Open at the device an ingress FAP queue to a target FAP scheduler flow.\r\n", 14514 "Examples:\r\n" 14515 " fap10m in_queue open_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14516 "Results in openning on device 0 queue 11 to point:\n\r" 14517 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14518 "", 14519 {0, 14520 BIT(15) }, 14521 2, 14522 /* 14523 * Pointer to a function to call after symbolic parameter 14524 * has been accepted. 14525 */ 14526 (VAL_PROC_PTR)NULL 14527 }, 14528 { 14529 PARAM_FAP10M_QUEUE_ID_ID, 14530 "queue_id", 14531 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 14532 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 14533 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14534 0,0,0,0,0,0,0, 14535 "Queue identifier.\r\n", 14536 "Examples:\r\n" 14537 " fap10m in_queue open_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14538 "Results in openning on device 0 queue 11 to point:\n\r" 14539 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14540 "", 14541 {0, 14542 BIT(15) | BIT(16)}, 14543 3, 14544 /* 14545 * Pointer to a function to call after symbolic parameter 14546 * has been accepted. 14547 */ 14548 (VAL_PROC_PTR)NULL 14549 }, 14550 { 14551 PARAM_FAP10M_TARGET_FAP_ID_ID, 14552 "target_fap", 14553 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 14554 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 14555 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14556 0,0,0,0,0,0,0, 14557 "The target FAP for the queue.\r\n", 14558 "Examples:\r\n" 14559 " fap10m in_queue open_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14560 "Results in openning on device 0 queue 11 to point:\n\r" 14561 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14562 "", 14563 {0, 14564 BIT(15) }, 14565 4, 14566 /* 14567 * Pointer to a function to call after symbolic parameter 14568 * has been accepted. 14569 */ 14570 (VAL_PROC_PTR)NULL 14571 }, 14572 { 14573 PARAM_FAP10M_TARGET_FLOW_ID_ID, 14574 "target_flow", 14575 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 14576 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 14577 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14578 0,0,0,0,0,0,0, 14579 "Flow, in egress scheduler, assigned for that queue.\r\n", 14580 "Examples:\r\n" 14581 " fap10m in_queue open_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14582 "Results in openning on device 0 queue 11 to point:\n\r" 14583 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14584 "", 14585 {0, 14586 BIT(15) }, 14587 5, 14588 /* 14589 * Pointer to a function to call after symbolic parameter 14590 * has been accepted. 14591 */ 14592 (VAL_PROC_PTR)NULL 14593 }, 14594 { 14595 PARAM_FAP10M_QUEUE_TYPE_ID, 14596 "queue_type", 14597 (PARAM_VAL_RULES *)&Fap10m_queue_type[0], 14598 (sizeof(Fap10m_queue_type) / sizeof(Fap10m_queue_type[0])) - 1, 14599 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14600 0,0,0,0,0,0,0, 14601 "The queue type.\r\n", 14602 "Examples:\r\n" 14603 " fap10m in_queue open_queue 0 queue_id 11 target_fap 90 target_flow 1255 queue_type 0\r\n" 14604 "Results in openning on device 0 queue 11 to point:\n\r" 14605 " Target fap - 11, Target fap flow id - 1255 and queue type of 0.\r\n", 14606 "", 14607 {0, 14608 BIT(15) }, 14609 6, 14610 /* 14611 * Pointer to a function to call after symbolic parameter 14612 * has been accepted. 14613 */ 14614 (VAL_PROC_PTR)NULL 14615 }, 14616 { 14617 PARAM_FAP10M_GET_QUEUE_LABELING_ID, 14618 "get_queue_labeling", 14619 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14620 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14621 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14622 0,0,0,0,0,0,0, 14623 "Get the labeling parameters of packets to target device.\r\n", 14624 "Examples:\r\n" 14625 " fap10m in_queue get_queue_labeling 0 target_fap 10 \r\n" 14626 "Results in getting on device 0 the labeling parameters for \n\r" 14627 "packets destined to fap 10.\r\n", 14628 "", 14629 {0, 14630 BIT(14)}, 14631 2, 14632 /* 14633 * Pointer to a function to call after symbolic parameter 14634 * has been accepted. 14635 */ 14636 (VAL_PROC_PTR)NULL 14637 }, 14638 { 14639 PARAM_FAP10M_SET_QUEUE_LABELING_ID, 14640 "set_queue_labeling", 14641 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14642 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14643 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14644 0,0,0,0,0,0,0, 14645 "Set the labeling type of packets destined to target device.\r\n", 14646 "Examples:\r\n" 14647 " fap10m in_queue set_queue_labeling 0 target_fap 10 base_queue 1001 label_type destination_mapping \r\n" 14648 "Results in setting on device 0 for packet destained to fap 10,\n\r" 14649 "the base queue 1001, with destination_mapping labeling\r\n", 14650 "", 14651 {0, 14652 BIT(13)}, 14653 2, 14654 /* 14655 * Pointer to a function to call after symbolic parameter 14656 * has been accepted. 14657 */ 14658 (VAL_PROC_PTR)NULL 14659 }, 14660 { 14661 PARAM_FAP10M_TARGET_FAP_ID_ID, 14662 "target_fap", 14663 (PARAM_VAL_RULES *)&Fap10m_fap_id[0], 14664 (sizeof(Fap10m_fap_id) / sizeof(Fap10m_fap_id[0])) - 1, 14665 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14666 0,0,0,0,0,0,0, 14667 "Target FAP identifier.\r\n", 14668 "Examples:\r\n" 14669 " fap10m in_queue set_queue_labeling 0 target_fap 10 base_queue 1001 label_type destination_mapping \r\n" 14670 "Results in setting on device 0 for packet destained to fap 10,\n\r" 14671 "the base queue 1001, with destination_mapping labeling\r\n", 14672 "", 14673 {0, 14674 BIT(13) | BIT(14)}, 14675 3, 14676 /* 14677 * Pointer to a function to call after symbolic parameter 14678 * has been accepted. 14679 */ 14680 (VAL_PROC_PTR)NULL 14681 }, 14682 { 14683 PARAM_FAP10M_BASE_QUEUE_ID_ID, 14684 "base_queue", 14685 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 14686 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 14687 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14688 0,0,0,0,0,0,0, 14689 "Base queue identifier to use with the target FAP.\r\n", 14690 "Examples:\r\n" 14691 " fap10m in_queue set_queue_labeling 0 target_fap 10 base_queue 1001 label_type destination_mapping \r\n" 14692 "Results in setting on device 0 for packet destained to fap 10,\n\r" 14693 "the base queue 1001, with destination_mapping labeling\r\n", 14694 "", 14695 {0, 14696 BIT(13)}, 14697 4, 14698 /* 14699 * Pointer to a function to call after symbolic parameter 14700 * has been accepted. 14701 */ 14702 (VAL_PROC_PTR)NULL 14703 }, 14704 { 14705 PARAM_FAP10M_QUEUE_LABEL_TYPE_ID, 14706 "label_type", 14707 (PARAM_VAL_RULES *)&Fap10m_queue_base_label[0], 14708 (sizeof(Fap10m_queue_base_label) / sizeof(Fap10m_queue_base_label[0])) - 1, 14709 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_queue_label_type_default, 14710 0,0,0,0,0,0,0, 14711 "Which labeling to use: flow mapping or mapping .\r\n", 14712 "Examples:\r\n" 14713 " fap10m in_queue set_queue_labeling 0 target_fap 10 base_queue 1001 label_type destination_mapping \r\n" 14714 "Results in setting on device 0 for packet destained to fap 10,\n\r" 14715 "the base queue 1001, with destination_mapping labeling\r\n", 14716 "", 14717 {0, 14718 BIT(13)}, 14719 5, 14720 /* 14721 * Pointer to a function to call after symbolic parameter 14722 * has been accepted. 14723 */ 14724 (VAL_PROC_PTR)NULL 14725 }, 14726 /* END fap10m_api_ingress_queue.h interface }*/ 14727 /* { fap10m_api_queue_id_allocator.h interface */ 14728 { 14729 PARAM_FAP10M_ALLOCATOR_API_ID, 14730 "allocator", 14731 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 14732 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 14733 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14734 0,0,0,0,0,0,0, 14735 "interface to fap10m driver ingress-queue-id/scheduler-flow-id allocator\r\n" 14736 " module services. This module is a management aid of queue identifiers.\r\n" 14737 " All of this services DO NOT read/write the device but rather\r\n" 14738 " effect driver private structure.", 14739 "Examples:\r\n" 14740 " fap10m allocator queue set_range 1 min 12 max 1000\r\n" 14741 "Results in setting on device 1 queue idetifier range to look from to [12 - 1000]\r\n", 14742 "", 14743 {0, 14744 BIT(10) | BIT(11) | BIT(12)| BIT(27) | BIT(7) | BIT(8) | BIT(9) }, 14745 1, 14746 /* 14747 * Pointer to a function to call after symbolic parameter 14748 * has been accepted. 14749 */ 14750 (VAL_PROC_PTR)NULL 14751 }, 14752 { 14753 PARAM_FAP10M_QUEUE_ID_ALLOCATOR_API_ID, 14754 "queue", 14755 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 14756 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 14757 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14758 0,0,0,0,0,0,0, 14759 "interface to fap10m driver ingress queue id allocator module services.\r\n" 14760 " This module is a management aid of queue identifiers. All of this\r\n" 14761 " services DO NOT read/write the device but rather effect driver\r\n" 14762 " private structure.", 14763 "Examples:\r\n" 14764 " fap10m allocator queue set_range 1 min 12 max 1000\r\n" 14765 "Results in setting on device 1 queue idetifier range to look from to [12 - 1000]\r\n", 14766 "", 14767 {0, 14768 BIT(10) | BIT(11) | BIT(12)| BIT(27) }, 14769 2, 14770 /* 14771 * Pointer to a function to call after symbolic parameter 14772 * has been accepted. 14773 */ 14774 (VAL_PROC_PTR)NULL 14775 }, 14776 { 14777 PARAM_FAP10M_PRINT_ALLOC_QUEUE_ID, 14778 "display_allocator", 14779 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14780 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14781 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14782 0,0,0,0,0,0,0, 14783 "Display the driver queue-id allocator.\r\n", 14784 "Examples:\r\n" 14785 " fap10m allocator queue display_allocator 1\r\n" 14786 "Results in displaying, on device 1, queue identifier allocator\r\n", 14787 "", 14788 {0, 14789 BIT(27)}, 14790 3, 14791 /* 14792 * Pointer to a function to call after symbolic parameter 14793 * has been accepted. 14794 */ 14795 (VAL_PROC_PTR)NULL 14796 }, 14797 { 14798 PARAM_FAP10M_SET_QUEUE_ID_RANGE_ID, 14799 "set_range", 14800 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14801 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14802 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14803 0,0,0,0,0,0,0, 14804 "Set the range, out of [0-8191], to search queue identifier from.\r\n", 14805 "Examples:\r\n" 14806 " fap10m allocator queue set_range 1 min 12 max 1000\r\n" 14807 "Results in setting on device 1 queue idetifier range to look from to [12 - 1000]\r\n", 14808 "", 14809 {0, 14810 BIT(10)}, 14811 3, 14812 /* 14813 * Pointer to a function to call after symbolic parameter 14814 * has been accepted. 14815 */ 14816 (VAL_PROC_PTR)NULL 14817 }, 14818 { 14819 PARAM_FAP10M_MIN_QUEUE_ID_ID, 14820 "min", 14821 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 14822 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 14823 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14824 0,0,0,0,0,0,0, 14825 "Minimum queue id to search from.\r\n", 14826 "Examples:\r\n" 14827 " fap10m allocator queue set_range 1 min 12 max 1000\r\n" 14828 "Results in setting on device 1 queue idetifier range to look from to [12 - 1000]\r\n", 14829 "", 14830 {0, 14831 BIT(10)}, 14832 4, 14833 /* 14834 * Pointer to a function to call after symbolic parameter 14835 * has been accepted. 14836 */ 14837 (VAL_PROC_PTR)NULL 14838 }, 14839 { 14840 PARAM_FAP10M_MAX_QUEUE_ID_ID, 14841 "max", 14842 (PARAM_VAL_RULES *)&Fap10m_queue_id[0], 14843 (sizeof(Fap10m_queue_id) / sizeof(Fap10m_queue_id[0])) - 1, 14844 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14845 0,0,0,0,0,0,0, 14846 "Maximal queue id to search from (this number id is included in the search).\r\n", 14847 "Examples:\r\n" 14848 " fap10m allocator queue set_range 1 min 12 max 1000\r\n" 14849 "Results in setting on device 1 queue idetifier range to look from to [12 - 1000]\r\n", 14850 "", 14851 {0, 14852 BIT(10)}, 14853 5, 14854 /* 14855 * Pointer to a function to call after symbolic parameter 14856 * has been accepted. 14857 */ 14858 (VAL_PROC_PTR)NULL 14859 }, 14860 { 14861 PARAM_FAP10M_ALLOC_QUEUE_ID_BLOCK_ID, 14862 "alloc", 14863 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14864 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14865 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14866 0,0,0,0,0,0,0, 14867 "Get free queue identifier within the specified range.\r\n" 14868 " Mark that queues identifiers as 'taken'.\r\n", 14869 "Examples:\r\n" 14870 " fap10m allocator queue alloc 1\r\n" 14871 "Results in allocating on device 1, block of consecutive queue idetifiers.\r\n" 14872 "The base queue is given back. The block size is taken from the device class.\n\r" 14873 "class_a: 1 queue block, class_b: 2, class_c: 4 and class_a: 8 queues block.\n\r", 14874 "", 14875 {0, 14876 BIT(11)}, 14877 3, 14878 /* 14879 * Pointer to a function to call after symbolic parameter 14880 * has been accepted. 14881 */ 14882 (VAL_PROC_PTR)NULL 14883 }, 14884 { 14885 PARAM_FAP10M_FREE_QUEUE_ID_ID, 14886 "free", 14887 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14888 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14889 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14890 0,0,0,0,0,0,0, 14891 "Free the queue identifiers block of identifiers.\r\n", 14892 "Examples:\r\n" 14893 " fap10m allocator queue free 0 base_queue 11\r\n" 14894 "Results in freeing on device 0, block of consecutive queue idetifiers,\r\n" 14895 "starting from base queue 11. The block size is taken from the device class.\n\r" 14896 "class_a: 1 queue block, class_b: 2, class_c: 4 and class_a: 8 queues block.\n\r", 14897 "", 14898 {0, 14899 BIT(12)}, 14900 3, 14901 /* 14902 * Pointer to a function to call after symbolic parameter 14903 * has been accepted. 14904 */ 14905 (VAL_PROC_PTR)NULL 14906 }, 14907 { 14908 PARAM_FAP10M_QUEUE_BASE_ID_ID, 14909 "base_queue", 14910 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 14911 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 14912 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14913 0,0,0,0,0,0,0, 14914 "queue base identifier to free.\r\n", 14915 "Examples:\r\n" 14916 " fap10m allocator queue free 0 base_queue 11\r\n" 14917 "Results in freeing on device 0, block of consecutive queue idetifiers,\r\n" 14918 "starting from base queue 11. The block size is taken from the device class.\n\r" 14919 "class_a: 1 queue block, class_b: 2, class_c: 4 and class_a: 8 queues block.\n\r", 14920 "", 14921 {0, 14922 BIT(12)}, 14923 5, 14924 /* 14925 * Pointer to a function to call after symbolic parameter 14926 * has been accepted. 14927 */ 14928 (VAL_PROC_PTR)NULL 14929 }, 14930 14931 /* END fap10m_api_queue_id_allocator.h interface }*/ 14932 /* { fap10m_api_flow_id_allocator.h interface */ 14933 { 14934 PARAM_FAP10M_FLOW_ID_ALLOCATOR_API_ID, 14935 "flow", 14936 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 14937 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 14938 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14939 0,0,0,0,0,0,0, 14940 "interface to fap10m driver scheduler-flow/queue id allocator module services.\r\n" 14941 " This module is a management aid of flow identifiers. All of this\r\n" 14942 " services DO NOT read/write the device but rather effect driver\r\n" 14943 " private structure.", 14944 "Examples:\r\n" 14945 " fap10m allocator flow set_range 0 min 12 max 1000\r\n" 14946 "Results in setting on device 1 flow idetifier range to look from to: [12 - 1000]\r\n", 14947 "", 14948 {0, 14949 BIT(7) | BIT(8) | BIT(9) }, 14950 2, 14951 /* 14952 * Pointer to a function to call after symbolic parameter 14953 * has been accepted. 14954 */ 14955 (VAL_PROC_PTR)NULL 14956 }, 14957 { 14958 PARAM_FAP10M_PRINT_ALLOC_FLOW_ID, 14959 "display_allocator", 14960 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14961 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14962 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14963 0,0,0,0,0,0,0, 14964 "Display the driver flow-id allocator.\r\n", 14965 "Examples:\r\n" 14966 " fap10m allocator flow display_allocator 1\r\n" 14967 "Results in displaying, on device 1, flow identifier allocator\r\n", 14968 "", 14969 {0, 14970 BIT(8)}, 14971 3, 14972 /* 14973 * Pointer to a function to call after symbolic parameter 14974 * has been accepted. 14975 */ 14976 (VAL_PROC_PTR)NULL 14977 }, 14978 { 14979 PARAM_FAP10M_SET_SCHEDULER_FLOW_ID_RANGE_ID, 14980 "set_range", 14981 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 14982 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 14983 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 14984 0,0,0,0,0,0,0, 14985 "Set the range, out of [0-8191], to search flow identifier from.\r\n", 14986 "Examples:\r\n" 14987 " fap10m allocator flow set_range 0 min 12 max 1000\r\n" 14988 "Results in setting on device 1 flow idetifier range to look from to: [12 - 1000]\r\n", 14989 "", 14990 {0, 14991 BIT(7)}, 14992 3, 14993 /* 14994 * Pointer to a function to call after symbolic parameter 14995 * has been accepted. 14996 */ 14997 (VAL_PROC_PTR)NULL 14998 }, 14999 { 15000 PARAM_FAP10M_MIN_FLOW_ID_ID, 15001 "min", 15002 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 15003 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 15004 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15005 0,0,0,0,0,0,0, 15006 "Minimum flow id to search from.\r\n", 15007 "Examples:\r\n" 15008 " fap10m allocator flow set_range 0 min 12 max 1000\r\n" 15009 "Results in setting on device 1 flow idetifier range to look from to: [12 - 1000]\r\n", 15010 "", 15011 {0, 15012 BIT(7)}, 15013 4, 15014 /* 15015 * Pointer to a function to call after symbolic parameter 15016 * has been accepted. 15017 */ 15018 (VAL_PROC_PTR)NULL 15019 }, 15020 { 15021 PARAM_FAP10M_MAX_FLOW_ID_ID, 15022 "max", 15023 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 15024 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 15025 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15026 0,0,0,0,0,0,0, 15027 "Maximal flow id to search from (this number id is.\r\n" 15028 " included in the search).\r\n", 15029 "Examples:\r\n" 15030 " fap10m allocator flow set_range 0 min 12 max 1000\r\n" 15031 "Results in setting on device 1 flow idetifier range to look from to: [12 - 1000]\r\n", 15032 "", 15033 {0, 15034 BIT(7)}, 15035 5, 15036 /* 15037 * Pointer to a function to call after symbolic parameter 15038 * has been accepted. 15039 */ 15040 (VAL_PROC_PTR)NULL 15041 }, 15042 { 15043 PARAM_FAP10M_ALLOC_SCHEDULER_FLOW_ID_ID, 15044 "alloc", 15045 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15046 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15047 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15048 0,0,0,0,0,0,0, 15049 "Get free flow identifier within the specified range.\r\n" 15050 " Mark that flows identifiers as 'taken'\r\n", 15051 "Examples:\r\n" 15052 " fap10m allocator flow set_range 0 min 12 max 1000\r\n" 15053 "Results in setting on device 1 flow idetifier range to look from to: [12 - 1000]\r\n", 15054 "", 15055 {0, 15056 BIT(8)}, 15057 3, 15058 /* 15059 * Pointer to a function to call after symbolic parameter 15060 * has been accepted. 15061 */ 15062 (VAL_PROC_PTR)NULL 15063 }, 15064 { 15065 PARAM_FAP10M_FREE_SCHEDULER_FLOW_ID_ID, 15066 "free", 15067 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15068 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15069 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15070 0,0,0,0,0,0,0, 15071 "Free the flow identifier id.\r\n", 15072 "Examples:\r\n" 15073 " fap10m allocator flow free 0 flow_id 11\r\n" 15074 "Results in setting on device 0, that flow id 11 is free for allocation again.\r\n", 15075 "", 15076 {0, 15077 BIT(9)}, 15078 3, 15079 /* 15080 * Pointer to a function to call after symbolic parameter 15081 * has been accepted. 15082 */ 15083 (VAL_PROC_PTR)NULL 15084 }, 15085 { 15086 PARAM_FAP10M_FLOW_ID_ID, 15087 "flow_id", 15088 (PARAM_VAL_RULES *)&Fap10m_flow_id[0], 15089 (sizeof(Fap10m_flow_id) / sizeof(Fap10m_flow_id[0])) - 1, 15090 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15091 0,0,0,0,0,0,0, 15092 "flow identifier to free.\r\n", 15093 "Examples:\r\n" 15094 " fap10m allocator flow free 0 flow_id 11\r\n" 15095 "Results in setting on device 0, that flow id 11 is free for allocation again.\r\n", 15096 "", 15097 {0, 15098 BIT(9)}, 15099 4, 15100 /* 15101 * Pointer to a function to call after symbolic parameter 15102 * has been accepted. 15103 */ 15104 (VAL_PROC_PTR)NULL 15105 }, 15106 /* END fap10m_api_flow_id_allocator.h interface }*/ 15107 /* { fap10m_api_scheduler_ports.h interface */ 15108 { 15109 PARAM_FAP10M_SCHEDULER_API_ID, 15110 "scheduler", 15111 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 15112 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 15113 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15114 0,0,0,0,0,0,0, 15115 "interface to fap10m driver scheduler ports/flows services.", 15116 "Examples:\r\n" 15117 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15118 "Results in setting on device 1 scheduler port 10 to:\r\n" 15119 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15120 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15121 "", 15122 {0, 15123 BIT(0) | BIT(1) | BIT(2) | BIT(24) | BIT(25) | BIT(26) | BIT(28) | BIT(29), 15124 0, 15125 BIT(0) | BIT(1), 15126 BIT(0) 15127 }, 15128 1, 15129 /* 15130 * Pointer to a function to call after symbolic parameter 15131 * has been accepted. 15132 */ 15133 (VAL_PROC_PTR)NULL 15134 }, 15135 { 15136 PARAM_FAP10M_SCHEDULER_PORT_API_ID, 15137 "port", 15138 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 15139 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 15140 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15141 0,0,0,0,0,0,0, 15142 "interface to fap10m driver scheduler ports services.", 15143 "Examples:\r\n" 15144 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15145 "Results in setting on device 1 scheduler port 10 to:\r\n" 15146 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15147 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15148 "", 15149 {0, 15150 BIT(0) | BIT(1) | BIT(2) | BIT(28)}, 15151 2, 15152 /* 15153 * Pointer to a function to call after symbolic parameter 15154 * has been accepted. 15155 */ 15156 (VAL_PROC_PTR)NULL 15157 }, 15158 { 15159 PARAM_FAP10M_CLOSE_SCHEDULER_PORT_ID, 15160 "close_scheduler_port", 15161 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15162 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15163 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15164 0,0,0,0,0,0,0, 15165 "close the scheduler port on the device.\r\n", 15166 "Examples:\r\n" 15167 " fap10m scheduler port close_scheduler_port 0x1 port_id 10\r\n" 15168 "Results in closing on device 1 scheduler port 10.\r\n", 15169 "", 15170 {0, 15171 BIT(2)}, 15172 3, 15173 /* 15174 * Pointer to a function to call after symbolic parameter 15175 * has been accepted. 15176 */ 15177 (VAL_PROC_PTR)NULL 15178 }, 15179 { 15180 PARAM_FAP10M_GET_SCHEDULER_PORT_ID, 15181 "get_scheduler_port", 15182 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15183 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15184 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15185 0,0,0,0,0,0,0, 15186 "gets the scheduler port parameters.\r\n", 15187 "Examples:\r\n" 15188 " fap10m scheduler port get_scheduler_port 0x1 port_id 10\r\n" 15189 "Results in getting on device 1 scheduler port 10 parameters.\r\n", 15190 "", 15191 {0, 15192 BIT(1)}, 15193 3, 15194 /* 15195 * Pointer to a function to call after symbolic parameter 15196 * has been accepted. 15197 */ 15198 (VAL_PROC_PTR)NULL 15199 }, 15200 { 15201 PARAM_FAP10M_SET_SCHEDULER_RECYCLE_PORT_ID, 15202 "set_scheduler_recycle_port", 15203 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15204 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15205 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15206 0,0,0,0,0,0,0, 15207 "sets the scheduler port parameters.\r\n", 15208 "Examples:\r\n" 15209 " fap10m scheduler port set_scheduler_recycle_port 0x1 credit_bandwidth 100\r\n" 15210 "Results in setting on device 1 scheduler port 64 (recycle) to:\r\n" 15211 " 100 MegbitSec credit.\r\n", 15212 "", 15213 {0, 15214 BIT(28)}, 15215 3, 15216 /* 15217 * Pointer to a function to call after symbolic parameter 15218 * has been accepted. 15219 */ 15220 (VAL_PROC_PTR)NULL 15221 }, 15222 { 15223 PARAM_FAP10M_SET_SCHEDULER_PORT_ID, 15224 "set_scheduler_port", 15225 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15226 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15227 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15228 0,0,0,0,0,0,0, 15229 "sets the scheduler port parameters.\r\n", 15230 "Examples:\r\n" 15231 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15232 "Results in setting on device 1 scheduler port 10 to:\r\n" 15233 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15234 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15235 "", 15236 {0, 15237 BIT(0)}, 15238 3, 15239 /* 15240 * Pointer to a function to call after symbolic parameter 15241 * has been accepted. 15242 */ 15243 (VAL_PROC_PTR)NULL 15244 }, 15245 { 15246 PARAM_FAP10M_SCHEDULER_PORT_ID_ID, 15247 "port_id", 15248 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_vals[0], 15249 (sizeof(Fap10m_scheduler_port_id_vals) / sizeof(Fap10m_scheduler_port_id_vals[0])) - 1, 15250 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15251 0,0,0,0,0,0,0, 15252 "Scheduler port to add. Range: 0-64.\r\n", 15253 "Examples:\r\n" 15254 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15255 "Results in setting on device 1 scheduler port 10 to:\r\n" 15256 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15257 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15258 "", 15259 {0, 15260 BIT(1) | BIT(2)}, 15261 4, 15262 /* 15263 * Pointer to a function to call after symbolic parameter 15264 * has been accepted. 15265 */ 15266 (VAL_PROC_PTR)NULL 15267 }, 15268 { 15269 PARAM_FAP10M_SCHEDULER_PORT_ID_ID, 15270 "port_id", 15271 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_no_recyle_vals[0], 15272 (sizeof(Fap10m_scheduler_port_id_no_recyle_vals) / sizeof(Fap10m_scheduler_port_id_no_recyle_vals[0])) - 1, 15273 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15274 0,0,0,0,0,0,0, 15275 "Scheduler port to add. Range: 0-64.\r\n", 15276 "Examples:\r\n" 15277 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15278 "Results in setting on device 1 scheduler port 10 to:\r\n" 15279 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15280 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15281 "", 15282 {0, 15283 BIT(0)}, 15284 4, 15285 /* 15286 * Pointer to a function to call after symbolic parameter 15287 * has been accepted. 15288 */ 15289 (VAL_PROC_PTR)NULL 15290 }, 15291 { 15292 PARAM_FAP10M_CREDIT_BANDWIDTH_ID, 15293 "credit_bandwidth", 15294 (PARAM_VAL_RULES *)&Fap10m_credit_bandwidth_vals[0], 15295 (sizeof(Fap10m_credit_bandwidth_vals) / sizeof(Fap10m_credit_bandwidth_vals[0])) - 1, 15296 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15297 0,0,0,0,0,0,0, 15298 "Bandwidth which the port is to generate credit to (Megabits-Second).\r\n", 15299 "Examples:\r\n" 15300 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15301 "Results in setting on device 1 scheduler port 10 to:\r\n" 15302 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15303 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15304 "", 15305 {0, 15306 BIT(0) | BIT(28) }, 15307 5, 15308 /* 15309 * Pointer to a function to call after symbolic parameter 15310 * has been accepted. 15311 */ 15312 (VAL_PROC_PTR)NULL 15313 }, 15314 { 15315 PARAM_FAP10M_NOMINAL_BANDWIDTH_ID, 15316 "nominal_bandwidth", 15317 (PARAM_VAL_RULES *)&Fap10m_nominal_bandwidth_vals[0], 15318 (sizeof(Fap10m_nominal_bandwidth_vals) / sizeof(Fap10m_nominal_bandwidth_vals[0])) - 1, 15319 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15320 0,0,0,0,0,0,0, 15321 "The physical bandwidth the port has (Megabits-Second).\r\n" 15322 " Not meaningful in recycling port.\r\n", 15323 "Examples:\r\n" 15324 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15325 "Results in setting on device 1 scheduler port 10 to:\r\n" 15326 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15327 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15328 "", 15329 {0, 15330 BIT(0)}, 15331 6, 15332 /* 15333 * Pointer to a function to call after symbolic parameter 15334 * has been accepted. 15335 */ 15336 (VAL_PROC_PTR)NULL 15337 }, 15338 { 15339 PARAM_FAP10M_WFQ0_WEIGHT_ID, 15340 "wfq0_weight", 15341 (PARAM_VAL_RULES *)&Fap10m_percent[0], 15342 (sizeof(Fap10m_percent) / sizeof(Fap10m_percent[0])) - 1, 15343 HAS_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)&Fap10m_wfq0_weight_default, 15344 0,0,0,0,0,0,0, 15345 "The weight of the WFQ0 wheel - EDF-WFQ Arbiter.\r\n" 15346 " 1 : mean 1% for WFQ1 and 99% EDF1\r\n" 15347 " 20: mean 20% for WFQ1 and 80% EDF1\r\n" 15348 " Not meaningful in recycling port.\r\n", 15349 "Examples:\r\n" 15350 " fap10m scheduler port set_scheduler_port 0x1 port_id 10 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2\r\n" 15351 "Results in setting on device 1 scheduler port 10 to:\r\n" 15352 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15353 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15354 "", 15355 {0, 15356 BIT(0)}, 15357 LAST_ORDINAL, 15358 /* 15359 * Pointer to a function to call after symbolic parameter 15360 * has been accepted. 15361 */ 15362 (VAL_PROC_PTR)NULL 15363 }, 15364 { 15365 PARAM_FAP10M_END_PORT_ID_ID, 15366 "end_port_id", 15367 (PARAM_VAL_RULES *)&Fap10m_scheduler_port_id_no_recyle_vals[0], 15368 (sizeof(Fap10m_scheduler_port_id_no_recyle_vals) / sizeof(Fap10m_scheduler_port_id_no_recyle_vals[0])) - 1, 15369 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 15370 0,0,0,0,0,0,0, 15371 "If appears, initiailze from 'port_id' to 'end_port_id' with the same parameters.\r\n" 15372 " This command is usefull when all ports have the same configuration.", 15373 "Examples:\r\n" 15374 " fap10m scheduler port set_scheduler_port 0x1 port_id 0 credit_bandwidth 100 nominal_bandwidth 90 wfq0_weight 2 end_port_id 11\r\n" 15375 "Results in setting on device 1 scheduler ports 0-11 to:\r\n" 15376 " 100 MegbitSec credit, 90 MegbitSec nominal bandwidth,\r\n" 15377 " and with wfq0 weight of 2% for WFQ1 (98% for EDF1).\r\n", 15378 "", 15379 {0, 15380 BIT(0)}, 15381 LAST_ORDINAL, 15382 /* 15383 * Pointer to a function to call after symbolic parameter 15384 * has been accepted. 15385 */ 15386 (VAL_PROC_PTR)NULL 15387 }, 15388 15389 /* END fap10m_api_scheduler_ports.h interface } */ 15390 /* { fap10m_api_spatial_multicast.h interface */ 15391 { 15392 PARAM_FAP10M_MULTICAST_API_ID, 15393 "multicast", 15394 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 15395 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 15396 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15397 0,0,0,0,0,0,0, 15398 "interface to fap10m driver spatial multicast services.", 15399 "Examples:\r\n" 15400 " fap10m multicast spatial set_sms_conf 0x1 max_bandwidth 100 max_sm_percent 2\r\n" 15401 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15402 "100 MegbitSec credit - Maximal bandwidth to assign to spatial\r\n" 15403 "multicast packets, and with 2% maximal Spatial multicast traffic percentage\r\n" 15404 "from rate assigned to all ingress queues.\r\n", 15405 "", 15406 {0, 15407 BIT(3) | BIT(4) | BIT(5) | BIT(6) | BIT(17) | BIT(18) | BIT(19) | BIT(20) | BIT(21), 15408 BIT(20), 15409 BIT(8) | BIT(6)}, 15410 1, 15411 /* 15412 * Pointer to a function to call after symbolic parameter 15413 * has been accepted. 15414 */ 15415 (VAL_PROC_PTR)NULL 15416 }, 15417 { 15418 PARAM_FAP10M_SPATIAL_MULTICAST_API_ID, 15419 "spatial", 15420 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 15421 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 15422 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15423 0,0,0,0,0,0,0, 15424 "interface to fap10m driver spatial multicast services.", 15425 "Examples:\r\n" 15426 " fap10m multicast spatial set_sms_conf 0x1 max_bandwidth 100 max_sm_percent 2\r\n" 15427 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15428 "100 MegbitSec credit - Maximal bandwidth to assign to spatial\r\n" 15429 "multicast packets, and with 2% maximal Spatial multicast traffic percentage\r\n" 15430 "from rate assigned to all ingress queues.\r\n", 15431 "", 15432 {0, 15433 BIT(3) | BIT(4) | BIT(5) | BIT(6), 15434 BIT(20), 15435 BIT(8) | BIT(6) }, 15436 2, 15437 /* 15438 * Pointer to a function to call after symbolic parameter 15439 * has been accepted. 15440 */ 15441 (VAL_PROC_PTR)NULL 15442 }, 15443 { 15444 PARAM_FAP10M_SPATIAL_SET_IGNORE_BIT7_ID, 15445 "set_ignore_bit7", 15446 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15447 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15448 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15449 0,0,0,0,0,0,0, 15450 "set ignore_bit7 flag.\r\n", 15451 "Examples:\r\n" 15452 " fap10m multicast spatial set_ignore_bit7 0x1 flag_val 0 \r\n" 15453 "Results in setting the IGNORE_BIT7 flag", 15454 "", 15455 {0, 15456 0, 15457 BIT(20)}, 15458 3, 15459 /* 15460 * Pointer to a function to call after symbolic parameter 15461 * has been accepted. 15462 */ 15463 (VAL_PROC_PTR)NULL 15464 }, 15465 { 15466 PARAM_FAP10M_SPATIAL_IGNORE_BIT7_FLAG_VAL_ID, 15467 "flag_val", 15468 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15469 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15470 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15471 0,0,0,0,0,0,0, 15472 "set ignore_bit7 flag.\r\n", 15473 "Examples:\r\n" 15474 " fap10m multicast spatial set_ignore_bit7 0x1 flag_val 0 \r\n" 15475 "Results in setting the IGNORE_BIT7 flag", 15476 "", 15477 {0, 15478 0, 15479 BIT(20)}, 15480 4, 15481 /* 15482 * Pointer to a function to call after symbolic parameter 15483 * has been accepted. 15484 */ 15485 (VAL_PROC_PTR)NULL 15486 }, 15487 { 15488 PARAM_FAP10M_CLOSE_SPATIAL_MULTICAST_FLOW_ID, 15489 "close_flow", 15490 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15491 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15492 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15493 0,0,0,0,0,0,0, 15494 "close spatial multicast flow at the ingress FAP.\r\n", 15495 "Examples:\r\n" 15496 " fap10m multicast spatial close_flow 0x1 multicast_group_id 1500 \r\n" 15497 "Results in closing on device 1 spatial multicast group 1500.", 15498 "", 15499 {0, 15500 BIT(6)}, 15501 3, 15502 /* 15503 * Pointer to a function to call after symbolic parameter 15504 * has been accepted. 15505 */ 15506 (VAL_PROC_PTR)NULL 15507 }, 15508 { 15509 PARAM_FAP10M_GET_SPATIAL_MULTICAST_FLOW_PARAMS_ID, 15510 "get_flow_params", 15511 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15512 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15513 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15514 0,0,0,0,0,0,0, 15515 "get spatial multicast flow parameters at the ingress FAP.\r\n", 15516 "Examples:\r\n" 15517 " fap10m multicast spatial get_flow_params 0x1 multicast_group_id 1500 \r\n" 15518 "Results in getting on device 1 spatial multicast group parameters.", 15519 "", 15520 {0, 15521 BIT(6)}, 15522 3, 15523 /* 15524 * Pointer to a function to call after symbolic parameter 15525 * has been accepted. 15526 */ 15527 (VAL_PROC_PTR)NULL 15528 }, 15529 { 15530 PARAM_FAP10M_OPEN_SPATIAL_MULTICAST_FLOW_ID, 15531 "open_flow", 15532 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15533 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15534 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15535 0,0,0,0,0,0,0, 15536 "open spatial multicast flow at the ingress FAP.\r\n", 15537 "Examples:\r\n" 15538 " fap10m multicast spatial open_flow 0x1 multicast_group_id 1500 spatial_queue 2\r\n" 15539 "Results in opening on device 1 spatial multicast flow with parameters:\r\n" 15540 "spatial multicast identifier 1500 and queue 2.", 15541 "", 15542 {0, 15543 BIT(5)}, 15544 3, 15545 /* 15546 * Pointer to a function to call after symbolic parameter 15547 * has been accepted. 15548 */ 15549 (VAL_PROC_PTR)NULL 15550 }, 15551 { 15552 PARAM_FAP10M_UPDATE_SPATIAL_MULTICAST_FLOW_ID, 15553 "update_flow", 15554 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15555 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15556 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15557 0,0,0,0,0,0,0, 15558 "update spatial multicast flow at the ingress FAP.\r\n", 15559 "Examples:\r\n" 15560 " fap10m multicast spatial update_flow 0x1 multicast_group_id 1500 spatial_queue 2\r\n" 15561 "Results in updating on device 1 spatial multicast flow to parameters:\r\n" 15562 "spatial multicast identifier 1500 and queue 2.", 15563 "", 15564 {0, 15565 BIT(5)}, 15566 3, 15567 /* 15568 * Pointer to a function to call after symbolic parameter 15569 * has been accepted. 15570 */ 15571 (VAL_PROC_PTR)NULL 15572 }, 15573 { 15574 PARAM_FAP10M_SPATIAL_MULTICAST_NUM_ID, 15575 "multicast_group_id", 15576 (PARAM_VAL_RULES *)&Fap10m_spatial_multicast_id[0], 15577 (sizeof(Fap10m_spatial_multicast_id) / sizeof(Fap10m_spatial_multicast_id[0])) - 1, 15578 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15579 0,0,0,0,0,0,0, 15580 "spatial multicast group identifier.\r\n", 15581 "Examples:\r\n" 15582 " fap10m multicast spatial open_flow 0x1 multicast_group_id 1500 spatial_queue 2\r\n" 15583 "Results in opening on device 1 spatial multicast flow with parameters:\r\n" 15584 "spatial multicast identifier 1500 and queue 2.", 15585 "", 15586 {0, 15587 BIT(5) | BIT(6)}, 15588 4, 15589 /* 15590 * Pointer to a function to call after symbolic parameter 15591 * has been accepted. 15592 */ 15593 (VAL_PROC_PTR)NULL 15594 }, 15595 { 15596 PARAM_FAP10M_SPATIAL_TYPE_ID, 15597 "spatial_queue", 15598 (PARAM_VAL_RULES *)&Fap10m_spatial_multicast_queue[0], 15599 (sizeof(Fap10m_spatial_multicast_queue) / sizeof(Fap10m_spatial_multicast_queue[0])) - 1, 15600 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15601 0,0,0,0,0,0,0, 15602 "Spatial multicast queue. One of 4 spatial queues, to store flow packets.\n\r" 15603 " Packet destinate to queue number 3 have absolute priority for credit.\r\n", 15604 "Examples:\r\n" 15605 " fap10m multicast spatial open_sm_flow 0x1 multicast_group_id 1500 spatial_queue 2\r\n" 15606 "Results in opening on device 1 spatial multicast flow with parameters:\r\n" 15607 "spatial multicast identifier 1500 and queue 2.", 15608 "", 15609 {0, 15610 BIT(5)}, 15611 5, 15612 /* 15613 * Pointer to a function to call after symbolic parameter 15614 * has been accepted. 15615 */ 15616 (VAL_PROC_PTR)NULL 15617 }, 15618 { 15619 PARAM_FAP10M_SM_USE_MAP_CLS_ID, 15620 "use_preset_class", 15621 (PARAM_VAL_RULES *)&Fap10m_empty_vals[0], 15622 (sizeof(Fap10m_empty_vals) / sizeof(Fap10m_empty_vals[0])) - 1, 15623 HAS_NO_DEFAULT | MAY_NOT_APPEAR,(PARAM_VAL *)0, 15624 0,0,0,0,0,0,0, 15625 "Spatial multicast Use Preset Class. When on, the spatial queue\n\r" 15626 " would be determined by the queue number. the class in the packet\n\r" 15627 " descriptor is ignored.\r\n", 15628 "Examples:\r\n" 15629 " fap10m multicast spatial open_sm_flow 0x1 multicast_group_id 1500 spatial_queue 2 use_preset_class\r\n" 15630 "Results in opening on device 1 spatial multicast flow with parameters:\r\n" 15631 "spatial multicast identifier 1500 and queue 2.\n\r" 15632 "All the packets with multicast ID 1500 would be inserted to queue 2.", 15633 "", 15634 {0, 15635 BIT(5)}, 15636 6, 15637 /* 15638 * Pointer to a function to call after symbolic parameter 15639 * has been accepted. 15640 */ 15641 (VAL_PROC_PTR)NULL 15642 }, 15643 { 15644 PARAM_FAP10M_GET_SMS_CONFIGURATION_ID, 15645 "get_sms_conf", 15646 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15647 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15648 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15649 0,0,0,0,0,0,0, 15650 "gets Spatial Multicast Scheduler parameters from the device.\r\n", 15651 "Examples:\r\n" 15652 " fap10m multicast spatial get_sms_conf 0x1 \r\n" 15653 "Results in getting on device 1 spatial multicast scheduler parameters.\r\n", 15654 "", 15655 {0, 15656 BIT(4)}, 15657 3, 15658 /* 15659 * Pointer to a function to call after symbolic parameter 15660 * has been accepted. 15661 */ 15662 (VAL_PROC_PTR)NULL 15663 }, 15664 { 15665 PARAM_FAP10M_SET_SMS_CONFIGURATION_ID, 15666 "set_sms_conf_rev_a", 15667 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15668 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15669 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15670 0,0,0,0,0,0,0, 15671 "sets Spatial Multicast Scheduler parameters at the device.\r\n", 15672 "Examples:\r\n" 15673 " fap10m multicast spatial set_sms_conf_rev_a 0x1 max_bandwidth 100 max_sm_percent 2\r\n" 15674 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15675 "100 MegbitSec credit - Maximal bandwidth to assign to spatial\r\n" 15676 "multicast packets, and with 2% maximal Spatial multicast traffic percentage\r\n" 15677 "from rate assigned to all ingress queues.\r\n", 15678 "", 15679 {0, 15680 BIT(3)}, 15681 3, 15682 /* 15683 * Pointer to a function to call after symbolic parameter 15684 * has been accepted. 15685 */ 15686 (VAL_PROC_PTR)NULL 15687 }, 15688 { 15689 PARAM_FAP10M_MAX_BANDWIDTH_ID, 15690 "max_bandwidth", 15691 (PARAM_VAL_RULES *)&Fap10m_sms_max_bandwidth[0], 15692 (sizeof(Fap10m_sms_max_bandwidth) / sizeof(Fap10m_sms_max_bandwidth[0])) - 1, 15693 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15694 0,0,0,0,0,0,0, 15695 "Max bandwidth parameter in the SMS parameters.\r\n" 15696 " Resolution of MegbitSec.\n\r", 15697 " fap10m scheduler port set_sms_conf_rev_a 0x1 max_bandwidth 100 max_sm_percent 2\r\n" 15698 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15699 "100 MegbitSec credit - Maximal bandwidth to assign to spatial\r\n" 15700 "multicast packets, and with 2% maximal Spatial multicast traffic percentage\r\n" 15701 "from rate assigned to all ingress queues.\r\n", 15702 "", 15703 {0, 15704 BIT(3)}, 15705 4, 15706 /* 15707 * Pointer to a function to call after symbolic parameter 15708 * has been accepted. 15709 */ 15710 (VAL_PROC_PTR)NULL 15711 }, 15712 { 15713 PARAM_FAP10M_SM_PERCENT_ID, 15714 "max_sm_percent", 15715 (PARAM_VAL_RULES *)&Fap10m_percent[0], 15716 (sizeof(Fap10m_percent) / sizeof(Fap10m_percent[0])) - 1, 15717 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15718 0,0,0,0,0,0,0, 15719 "Max bandwidth parameter in the SMS parameters.\r\n", 15720 "Examples:\r\n" 15721 " fap10m scheduler port set_sms_conf_rev_a 0x1 max_bandwidth 100 max_sm_percent 2\r\n" 15722 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15723 "100 MegbitSec credit - Maximal bandwidth to assign to spatial\r\n" 15724 "multicast packets, and with 2% maximal Spatial multicast traffic percentage\r\n" 15725 "from rate assigned to all ingress queues.\r\n", 15726 "", 15727 {0, 15728 BIT(3)}, 15729 5, 15730 /* 15731 * Pointer to a function to call after symbolic parameter 15732 * has been accepted. 15733 */ 15734 (VAL_PROC_PTR)NULL 15735 }, 15736 { 15737 PARAM_FAP10M_B_SET_SMS_CONFIGURATION_ID, 15738 "set_sms_conf_rev_b", 15739 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15740 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15741 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15742 0,0,0,0,0,0,0, 15743 "sets Spatial Multicast Scheduler parameters at the device.\r\n", 15744 "Examples:\r\n" 15745 " fap10m multicast spatial set_sms_conf_rev_b 0x1 guaranteed_rate 50\r\n" 15746 " guaranteed_burst_size 200 best_effort_rate 100 best_effort_burst_size 70\n\r" 15747 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15748 "50 MegbitSec credit - Maximal bandwidth to assign to spatial queue no. 3.\r\n" 15749 "spatial queue no.3 has higher priority than the unicast traffic and therefore\n\r" 15750 "the traffic assigned to that queue is guaranteed.\n\r" 15751 "100 MegbitSec credit - Maximal bandwidth to assign to spatial queues no. 0-2.\r\n" 15752 "spatial queues no.0-2 has lower priority than the unicast traffic and therefore\n\r" 15753 "the traffic assigned to that queue is only best effort.\n\r" 15754 "200 Kilobytes credit can be accumulate to queue 3\r\n" 15755 "70 Kilobytes credit can be accumulate to queues 0-2.\r\n", 15756 "", 15757 {0,0,0, BIT(6)}, 15758 3, 15759 /* 15760 * Pointer to a function to call after symbolic parameter 15761 * has been accepted. 15762 */ 15763 (VAL_PROC_PTR)NULL 15764 }, 15765 { 15766 PARAM_FAP10M_MAX_GR_BANDWIDTH_ID, 15767 "guaranteed_rate", 15768 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15769 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15770 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15771 0,0,0,0,0,0,0, 15772 "Max bandwidth for spatial queue no.3 parameter in the SMS parameters.\r\n" 15773 " Resolution of MegbitSec.\n\r", 15774 "Examples:\r\n" 15775 " fap10m multicast spatial set_sms_conf_rev_b 0x1 guaranteed_rate 50\r\n" 15776 " guaranteed_burst_size 200 best_effort_rate 100 best_effort_burst_size 70\n\r" 15777 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15778 "50 MegbitSec credit - Maximal bandwidth to assign to spatial queue no. 3.\r\n" 15779 "spatial queue no.3 has higher priority than the unicast traffic and therefore\n\r" 15780 "the traffic assigned to that queue is guaranteed.\n\r" 15781 "100 MegbitSec credit - Maximal bandwidth to assign to spatial queues no. 0-2.\r\n" 15782 "spatial queues no.0-2 has lower priority than the unicast traffic and therefore\n\r" 15783 "the traffic assigned to that queue is only best effort.\n\r" 15784 "200 Kilobytes credit can be accumulate to queue 3\r\n" 15785 "70 Kilobytes credit can be accumulate to queues 0-2.\r\n", 15786 "", 15787 {0,0,0, BIT(6)}, 15788 4, 15789 /* 15790 * Pointer to a function to call after symbolic parameter 15791 * has been accepted. 15792 */ 15793 (VAL_PROC_PTR)NULL 15794 }, 15795 { 15796 PARAM_FAP10M_MAX_BE_BANDWIDTH_ID, 15797 "best_effort_rate", 15798 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15799 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15800 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15801 0,0,0,0,0,0,0, 15802 "Max bandwidth for spatial queues no.0-2 parameter in the SMS parameters.\r\n" 15803 " Resolution of MegbitSec.\n\r", 15804 "Examples:\r\n" 15805 " fap10m multicast spatial set_sms_conf_rev_b 0x1 guaranteed_rate 50\r\n" 15806 " guaranteed_burst_size 200 best_effort_rate 100 best_effort_burst_size 70\n\r" 15807 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15808 "50 MegbitSec credit - Maximal bandwidth to assign to spatial queue no. 3.\r\n" 15809 "spatial queue no.3 has higher priority than the unicast traffic and therefore\n\r" 15810 "the traffic assigned to that queue is guaranteed.\n\r" 15811 "100 MegbitSec credit - Maximal bandwidth to assign to spatial queues no. 0-2.\r\n" 15812 "spatial queues no.0-2 has lower priority than the unicast traffic and therefore\n\r" 15813 "the traffic assigned to that queue is only best effort.\n\r" 15814 "200 Kilobytes credit can be accumulate to queue 3\r\n" 15815 "70 Kilobytes credit can be accumulate to queues 0-2.\r\n", 15816 "", 15817 {0,0,0, BIT(6)}, 15818 5, 15819 /* 15820 * Pointer to a function to call after symbolic parameter 15821 * has been accepted. 15822 */ 15823 (VAL_PROC_PTR)NULL 15824 }, 15825 { 15826 PARAM_FAP10M_MAX_GR_BURST_ID, 15827 "guaranteed_burst_size", 15828 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15829 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15830 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15831 0,0,0,0,0,0,0, 15832 "Max burst size for spatial queue no.3 parameter in the SMS parameters.\r\n" 15833 " Resolution of Kilobytes.\n\r", 15834 "Examples:\r\n" 15835 " fap10m multicast spatial set_sms_conf_rev_b 0x1 guaranteed_rate 50\r\n" 15836 " guaranteed_burst_size 200 best_effort_rate 100 best_effort_burst_size 70\n\r" 15837 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15838 "50 MegbitSec credit - Maximal bandwidth to assign to spatial queue no. 3.\r\n" 15839 "spatial queue no.3 has higher priority than the unicast traffic and therefore\n\r" 15840 "the traffic assigned to that queue is guaranteed.\n\r" 15841 "100 MegbitSec credit - Maximal bandwidth to assign to spatial queues no. 0-2.\r\n" 15842 "spatial queues no.0-2 has lower priority than the unicast traffic and therefore\n\r" 15843 "the traffic assigned to that queue is only best effort.\n\r" 15844 "200 Kilobytes credit can be accumulate to queue 3\r\n" 15845 "70 Kilobytes credit can be accumulate to queues 0-2.\r\n", 15846 "", 15847 {0,0,0, BIT(6)}, 15848 6, 15849 /* 15850 * Pointer to a function to call after symbolic parameter 15851 * has been accepted. 15852 */ 15853 (VAL_PROC_PTR)NULL 15854 }, 15855 { 15856 PARAM_FAP10M_MAX_BE_BURST_ID, 15857 "best_effort_burst_size", 15858 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15859 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15860 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15861 0,0,0,0,0,0,0, 15862 "Max burst size for spatial queue no.3 parameter in the SMS parameters.\r\n" 15863 " Resolution of Kilobytes.\n\r", 15864 "Examples:\r\n" 15865 " fap10m multicast spatial set_sms_conf_rev_b 0x1 guaranteed_rate 50\r\n" 15866 " guaranteed_burst_size 200 best_effort_rate 100 best_effort_burst_size 70\n\r" 15867 "Results in setting on device 1 spatial multicast scheduler to:\r\n" 15868 "50 MegbitSec credit - Maximal bandwidth to assign to spatial queue no. 3.\r\n" 15869 "spatial queue no.3 has higher priority than the unicast traffic and therefore\n\r" 15870 "the traffic assigned to that queue is guaranteed.\n\r" 15871 "100 MegbitSec credit - Maximal bandwidth to assign to spatial queues no. 0-2.\r\n" 15872 "spatial queues no.0-2 has lower priority than the unicast traffic and therefore\n\r" 15873 "the traffic assigned to that queue is only best effort.\n\r" 15874 "200 Kilobytes credit can be accumulate to queue 3\r\n" 15875 "70 Kilobytes credit can be accumulate to queues 0-2.\r\n", 15876 "", 15877 {0,0,0, BIT(6)}, 15878 7, 15879 /* 15880 * Pointer to a function to call after symbolic parameter 15881 * has been accepted. 15882 */ 15883 (VAL_PROC_PTR)NULL 15884 }, 15885 { 15886 PARAM_FAP10M_SPATIAL_ACTIVE_LINKS_GET_ID, 15887 "get_active_links", 15888 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15889 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15890 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15891 0,0,0,0,0,0,0, 15892 "gets spatial multicast active links from the device.\r\n", 15893 "Examples:\r\n" 15894 " fap10m multicast spatial get_active_links 0x1 \r\n" 15895 "Results in getting on device 1 spatial multicast active links.\r\n", 15896 "", 15897 {0, 15898 BIT(4)}, 15899 3, 15900 /* 15901 * Pointer to a function to call after symbolic parameter 15902 * has been accepted. 15903 */ 15904 (VAL_PROC_PTR)NULL 15905 }, 15906 { 15907 PARAM_FAP10M_SPATIAL_ACTIVE_LINKS_SET_ID, 15908 "set_active_links", 15909 (PARAM_VAL_RULES *)&Fap10m_indefinite_num_vals[0], 15910 (sizeof(Fap10m_indefinite_num_vals) / sizeof(Fap10m_indefinite_num_vals[0])) - 1, 15911 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15912 0,0,0,0,0,0,0, 15913 "sets spatial multicast active links from to device.\r\n", 15914 "Examples:\r\n" 15915 " fap10m multicast spatial set_active_links 0x1 0x14F\r\n" 15916 "Results in setting on device 1 spatial multicast active links\r\n" 15917 "to be 0,1,2,3,6,8.\r\n", 15918 "", 15919 {0, 15920 0, 15921 0, 15922 BIT(8)}, 15923 3, 15924 /* 15925 * Pointer to a function to call after symbolic parameter 15926 * has been accepted. 15927 */ 15928 (VAL_PROC_PTR)NULL 15929 }, 15930 { 15931 PARAM_FAP10M_SPATIAL_ACTIVE_LINKS_ID, 15932 "links_bitmap", 15933 (PARAM_VAL_RULES *)&Fap10m_sp_active_links[0], 15934 (sizeof(Fap10m_sp_active_links) / sizeof(Fap10m_sp_active_links[0])) - 1, 15935 HAS_NO_DEFAULT | MUST_APPEAR,(PARAM_VAL *)0, 15936 0,0,0,0,0,0,0, 15937 "sets spatial multicast active links to the device.\r\n", 15938 "Examples:\r\n" 15939 " fap10m multicast spatial set_active_links 0x1 0x14F\r\n" 15940 "Results in setting on device 1 spatial multicast active links\r\n" 15941 "to be 0,1,2,3,6,8.\r\n", 15942 "", 15943 {0, 15944 0, 15945 0, 15946 BIT(8)}, 15947 4, 15948 /* 15949 * Pointer to a function to call after symbolic parameter 15950 * has been accepted. 15951 */ 15952 (VAL_PROC_PTR)NULL 15953 }, 15954 /* END fap10m_api_spatial_multicast.h interface } */ 15955 /* 15956 * Last element. Do not remove. 15957 */ 15958 { 15959 PARAM_END_OF_LIST 15960 } 15961 } 15962 #endif 15963 ; 15964 15965 /* 15966 * } 15967 */ 15968 15969 /* 15970 * { Definitions for ChipSim 15971 */ 15972 /******************************************************** 15973 *NAME 15974 * Fap10m_all_regs_group_str 15975 *TYPE: BUFFER 15976 *DATE: 07/MAY/2002 15977 *FUNCTION: 15978 * ARRAY CONTAINING INFORMATION REGARDING STRUCTURE OF 15979 * all SOC_SAND_FAP10M registers. 15980 *ORGANIZATION: 15981 * ARRAY OF STRUCTURES OF TYPE 'ELEMENT_OF_GROUP': 15982 * See definition in dune_chips.h 15983 *USAGE: 15984 * SEE dune_chips.h. 15985 *REMARKS: 15986 * NONE. 15987 *SEE ALSO: 15988 */ 15989 EXTERN CONST 15990 ELEMENT_OF_GROUP 15991 Fap10m_all_regs_group_str[] 15992 #ifdef INIT 15993 = 15994 { 15995 { 15996 sizeof(FAP10M_REGS)/4,0, 15997 0x0 15998 15999 }, 16000 /* 16001 * End of array indicator. Do not remove. 16002 */ 16003 {0} 16004 } 16005 #endif 16006 ; 16007 /******************************************************** 16008 *NAME 16009 * Desc_fap10m_reg 16010 *TYPE: BUFFER 16011 *DATE: 24/APR/2002 16012 *FUNCTION: 16013 * ARRAY CONTAINING INFORMATION REGARDING MEMORY MAP OF 16014 * REGISTERS WITHIN THE SOC_SAND_FAP10M CHIP. 16015 *ORGANIZATION: 16016 * ARRAY OF STRUCTURES OF TYPE 'DESC_FE_REG': 16017 * See definition in dune_chips.h 16018 *USAGE: 16019 * SEE dune_chips.h. 16020 *REMARKS: 16021 * NONE. 16022 *SEE ALSO: 16023 */ 16024 EXTERN CONST 16025 DESC_FE_REG 16026 Desc_fap10m_reg[] 16027 #ifdef INIT 16028 = 16029 { 16030 { 16031 0x0, 16032 0x0, 16033 0x0, 16034 0x0, 16035 SOC_SAND_OFFSETOF(FAP10M_REGS, eci_int_regs.detail.interrupt[0]), 16036 0xFFFFFFFF, 16037 0, 16038 "FAP10M_REGS, eci_int_regs.detail.interrupt[0]", 16039 "0:31 - interrupt bits - one per source\n\r" 16040 "", 16041 "", 16042 "", 16043 "", 16044 "", 16045 "ECI-INT - Status", 16046 "", 16047 DISPLAY_HEX, 16048 ACCESS_READ | ACCESS_CLEAR | ACCESS_WRITE, 16049 (VAL_TO_TEXT *)0, 16050 (ELEMENT_OF_GROUP *)NULL, 16051 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16052 0,0 16053 }, 16054 { 16055 0x0, 16056 0x0, 16057 0x0, 16058 0x0, 16059 SOC_SAND_OFFSETOF(FAP10M_REGS, eci_int_regs.detail.interrupt[1]), 16060 0xFFFFFFFF, 16061 0, 16062 "FAP10M_REGS, eci_int_regs.detail.interrupt[1]", 16063 "0:31 - interrupt bits - one per source\n\r" 16064 "", 16065 "", 16066 "", 16067 "", 16068 "", 16069 "ECI-INT - Status", 16070 "", 16071 DISPLAY_HEX, 16072 ACCESS_READ | ACCESS_CLEAR | ACCESS_WRITE, 16073 (VAL_TO_TEXT *)0, 16074 (ELEMENT_OF_GROUP *)NULL, 16075 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16076 0,0 16077 }, 16078 { 16079 0x0, 16080 0x0, 16081 0x0, 16082 0x0, 16083 SOC_SAND_OFFSETOF(FAP10M_REGS, eci_int_regs.detail.interrupt[2]), 16084 0xFFFFFFFF, 16085 0, 16086 "FAP10M_REGS, eci_int_regs.detail.interrupt[2]", 16087 "0:31 - interrupt bits - one per source\n\r" 16088 "", 16089 "", 16090 "", 16091 "", 16092 "", 16093 "ECI-INT - Status", 16094 "", 16095 DISPLAY_HEX, 16096 ACCESS_READ | ACCESS_CLEAR | ACCESS_WRITE, 16097 (VAL_TO_TEXT *)0, 16098 (ELEMENT_OF_GROUP *)NULL, 16099 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16100 0,0 16101 }, 16102 { 16103 0x0, 16104 0x0, 16105 0x0, 16106 0x0, 16107 SOC_SAND_OFFSETOF(FAP10M_REGS, fdr_status_regs.detail.overflow_and_fifo_statuses), 16108 0xFFFFFFFF, 16109 0, 16110 "FAP10M_REGS, fdr_status_regs.detail.overflow_and_fifo_statuses", 16111 "Various statuses\n\r" 16112 "bit 3 - CPUDataCellFNE", 16113 "", 16114 "", 16115 "", 16116 "", 16117 "FDR - Status", 16118 "", 16119 DISPLAY_HEX, 16120 ACCESS_READ | ACCESS_CLEAR | ACCESS_WRITE, 16121 (VAL_TO_TEXT *)0, 16122 (ELEMENT_OF_GROUP *)NULL, 16123 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16124 0,0 16125 }, 16126 { 16127 0x0, 16128 0x0, 16129 0x0, 16130 0x0, 16131 SOC_SAND_OFFSETOF(FAP10M_REGS, fdt_status_regs.detail.unreachable_destination), 16132 0xFFFFFFFF, 16133 0, 16134 "FAP10M_REGS, fdt_status_regs.detail.unreachable_destination", 16135 "0:12 - unreachable information\n\r" 16136 "13 - the interrupt source", 16137 "", 16138 "", 16139 "", 16140 "", 16141 "FDT - Status", 16142 "", 16143 DISPLAY_HEX, 16144 ACCESS_READ | ACCESS_CLEAR | ACCESS_WRITE, 16145 (VAL_TO_TEXT *)0, 16146 (ELEMENT_OF_GROUP *)NULL, 16147 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16148 0,0 16149 }, 16150 { 16151 0x0, 16152 0x0, 16153 0x0, 16154 0x0, 16155 SOC_SAND_OFFSETOF(FAP10M_REGS, mac9_status_regs.detail.ber_counters), 16156 0xFFFFFFFF, 16157 0, 16158 "FAP10M_REGS, mac9_status_regs.detail.ber_counters", 16159 "0:31-bit counter holds the PRBS errors detected by\n\r" 16160 "the PRBS checker.\n\r" 16161 "31-bit BERvlid", 16162 "", 16163 "", 16164 "", 16165 "", 16166 "MAC9 - Status", 16167 "", 16168 DISPLAY_HEX, 16169 ACCESS_READ | ACCESS_CLEAR, 16170 (VAL_TO_TEXT *)0, 16171 (ELEMENT_OF_GROUP *)NULL, 16172 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16173 0,0 16174 }, 16175 { 16176 0x0, 16177 0x0, 16178 0x0, 16179 0x0, 16180 SOC_SAND_OFFSETOF(FAP10M_REGS,qdp_status_regs.detail.add_pkt_cnt), 16181 0xFFFFFFFF, 16182 0, 16183 "FAP10M_REGS,qdp_status_regs.detail.add_pkt_cnt", 16184 "", 16185 "", 16186 "", 16187 "", 16188 "", 16189 "QDP - Status", 16190 "", 16191 DISPLAY_HEX, 16192 ACCESS_READ | ACCESS_CLEAR, 16193 (VAL_TO_TEXT *)0, 16194 (ELEMENT_OF_GROUP *)NULL, 16195 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16196 0,0 16197 }, 16198 { 16199 0x0, 16200 0x0, 16201 0x0, 16202 0x0, 16203 SOC_SAND_OFFSETOF(FAP10M_REGS,qdp_status_regs.detail.head_del_pkt_cnt), 16204 0xFFFFFFFF, 16205 0, 16206 "FAP10M_REGS,qdp_status_regs.detail.head_del_pkt_cnt", 16207 "", 16208 "", 16209 "", 16210 "", 16211 "", 16212 "QDP - Status", 16213 "", 16214 DISPLAY_HEX, 16215 ACCESS_READ | ACCESS_CLEAR, 16216 (VAL_TO_TEXT *)0, 16217 (ELEMENT_OF_GROUP *)NULL, 16218 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16219 0,0 16220 }, 16221 { 16222 0x0, 16223 0x0, 16224 0x0, 16225 0x0, 16226 SOC_SAND_OFFSETOF(FAP10M_REGS,qdp_status_regs.detail.tail_del_pkt_cnt), 16227 0xFFFFFFFF, 16228 0, 16229 "FAP10M_REGS,qdp_status_regs.detail.tail_del_pkt_cnt", 16230 "", 16231 "", 16232 "", 16233 "", 16234 "", 16235 "QDP - Status", 16236 "", 16237 DISPLAY_HEX, 16238 ACCESS_READ | ACCESS_CLEAR, 16239 (VAL_TO_TEXT *)0, 16240 (ELEMENT_OF_GROUP *)NULL, 16241 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16242 0,0 16243 }, 16244 { 16245 0x0, 16246 0x0, 16247 0x0, 16248 0x0, 16249 SOC_SAND_OFFSETOF(FAP10M_REGS,dme_status_regs.detail.err_pkt_cnt), 16250 0xFFFFFFFF, 16251 0, 16252 "FAP10M_REGS,dme_status_regs.detail.err_pkt_cnt", 16253 "", 16254 "", 16255 "", 16256 "", 16257 "", 16258 "DME - Status", 16259 "", 16260 DISPLAY_HEX, 16261 ACCESS_READ | ACCESS_CLEAR, 16262 (VAL_TO_TEXT *)0, 16263 (ELEMENT_OF_GROUP *)NULL, 16264 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16265 0,0 16266 }, 16267 { 16268 0x0, 16269 0x0, 16270 0x0, 16271 0x0, 16272 SOC_SAND_OFFSETOF(FAP10M_REGS,dme_status_regs.detail.good_pkt_cnt), 16273 0xFFFFFFFF, 16274 0, 16275 "FAP10M_REGS,dme_status_regs.detail.good_pkt_cnt", 16276 "", 16277 "", 16278 "", 16279 "", 16280 "", 16281 "DME - Status", 16282 "", 16283 DISPLAY_HEX, 16284 ACCESS_READ | ACCESS_CLEAR, 16285 (VAL_TO_TEXT *)0, 16286 (ELEMENT_OF_GROUP *)NULL, 16287 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16288 0,0 16289 }, 16290 { 16291 0x0, 16292 0x0, 16293 0x0, 16294 0x0, 16295 0xFFFFFFFF, 16296 0x0, 16297 0x0, 16298 "ALL SOC_SAND_FAP10M registers", 16299 "ALL SOC_SAND_FAP10M registers", 16300 "ALL SOC_SAND_FAP10M registers", 16301 "ALL SOC_SAND_FAP10M registers", 16302 "ALL SOC_SAND_FAP10M registers", 16303 "ALL SOC_SAND_FAP10M registers", 16304 "ALL SOC_SAND_FAP10M registers", 16305 "ALL SOC_SAND_FAP10M registers", 16306 DISPLAY_HEX, 16307 ACCESS_READ | ACCESS_WRITE | ACCESS_INDIRECT, 16308 (VAL_TO_TEXT *)0, 16309 (ELEMENT_OF_GROUP *)Fap10m_all_regs_group_str, 16310 HAS_NO_MIN_VALUE | HAS_NO_MAX_VALUE, 16311 0,0 16312 }, 16313 /* 16314 * Last element. Do not remove. 16315 */ 16316 { 16317 FE_LAST_FIELD 16318 } 16319 } 16320 #endif 16321 ; 16322 /* 16323 * } 16324 */ 16325 16326 /* } */ 16327 #endif